wined3d: Implement OpenGL image UAV clears using ARB_clear_texture.
[wine.git] / configure
blob9acc579ca11d58f7867b1268ebc07ae71f6441de
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.10.
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.10'
584 PACKAGE_STRING='Wine 6.10'
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_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnlobby
1287 enable_dpvoice
1288 enable_dpwsockx
1289 enable_drmclien
1290 enable_dsdmo
1291 enable_dsound
1292 enable_dsquery
1293 enable_dssenh
1294 enable_dsuiext
1295 enable_dswave
1296 enable_dwmapi
1297 enable_dwrite
1298 enable_dx8vb
1299 enable_dxdiagn
1300 enable_dxerr8
1301 enable_dxerr9
1302 enable_dxgi
1303 enable_dxguid
1304 enable_dxva2
1305 enable_esent
1306 enable_evr
1307 enable_explorerframe
1308 enable_ext_ms_win_authz_context_l1_1_0
1309 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1310 enable_ext_ms_win_dwmapi_ext_l1_1_0
1311 enable_ext_ms_win_gdi_dc_create_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_1
1313 enable_ext_ms_win_gdi_dc_l1_2_0
1314 enable_ext_ms_win_gdi_devcaps_l1_1_0
1315 enable_ext_ms_win_gdi_draw_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_1
1317 enable_ext_ms_win_gdi_font_l1_1_0
1318 enable_ext_ms_win_gdi_font_l1_1_1
1319 enable_ext_ms_win_gdi_render_l1_1_0
1320 enable_ext_ms_win_kernel32_package_current_l1_1_0
1321 enable_ext_ms_win_kernel32_package_l1_1_1
1322 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1323 enable_ext_ms_win_ntuser_draw_l1_1_0
1324 enable_ext_ms_win_ntuser_gui_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_3_0
1326 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1327 enable_ext_ms_win_ntuser_message_l1_1_0
1328 enable_ext_ms_win_ntuser_message_l1_1_1
1329 enable_ext_ms_win_ntuser_misc_l1_1_0
1330 enable_ext_ms_win_ntuser_misc_l1_2_0
1331 enable_ext_ms_win_ntuser_misc_l1_5_1
1332 enable_ext_ms_win_ntuser_mouse_l1_1_0
1333 enable_ext_ms_win_ntuser_private_l1_1_1
1334 enable_ext_ms_win_ntuser_private_l1_3_1
1335 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1336 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_window_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_1
1339 enable_ext_ms_win_ntuser_window_l1_1_4
1340 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1342 enable_ext_ms_win_oleacc_l1_1_0
1343 enable_ext_ms_win_ras_rasapi32_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1351 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1354 enable_ext_ms_win_security_credui_l1_1_0
1355 enable_ext_ms_win_security_cryptui_l1_1_0
1356 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1357 enable_ext_ms_win_shell_comdlg32_l1_1_0
1358 enable_ext_ms_win_shell_shell32_l1_2_0
1359 enable_ext_ms_win_uxtheme_themes_l1_1_0
1360 enable_faultrep
1361 enable_feclient
1362 enable_fltlib
1363 enable_fltmgr_sys
1364 enable_fntcache
1365 enable_fontsub
1366 enable_fusion
1367 enable_fwpuclnt
1368 enable_gameux
1369 enable_gamingtcui
1370 enable_gdi32
1371 enable_gdiplus
1372 enable_glu32
1373 enable_gphoto2_ds
1374 enable_gpkcsp
1375 enable_hal
1376 enable_hhctrl_ocx
1377 enable_hid
1378 enable_hidclass_sys
1379 enable_hlink
1380 enable_hnetcfg
1381 enable_http_sys
1382 enable_httpapi
1383 enable_iccvid
1384 enable_icmp
1385 enable_ieframe
1386 enable_ieproxy
1387 enable_imaadp32_acm
1388 enable_imagehlp
1389 enable_imm32
1390 enable_inetcomm
1391 enable_inetcpl_cpl
1392 enable_inetmib1
1393 enable_infosoft
1394 enable_initpki
1395 enable_inkobj
1396 enable_inseng
1397 enable_iphlpapi
1398 enable_iprop
1399 enable_irprops_cpl
1400 enable_itircl
1401 enable_itss
1402 enable_joy_cpl
1403 enable_jscript
1404 enable_jsproxy
1405 enable_kerberos
1406 enable_kernel32
1407 enable_kernelbase
1408 enable_ksecdd_sys
1409 enable_ksproxy_ax
1410 enable_ksuser
1411 enable_ktmw32
1412 enable_l3codeca_acm
1413 enable_loadperf
1414 enable_localspl
1415 enable_localui
1416 enable_lz32
1417 enable_mapi32
1418 enable_mapistub
1419 enable_mciavi32
1420 enable_mcicda
1421 enable_mciqtz32
1422 enable_mciseq
1423 enable_mciwave
1424 enable_mf
1425 enable_mf3216
1426 enable_mferror
1427 enable_mfmediaengine
1428 enable_mfplat
1429 enable_mfplay
1430 enable_mfreadwrite
1431 enable_mfuuid
1432 enable_mgmtapi
1433 enable_midimap
1434 enable_mlang
1435 enable_mmcndmgr
1436 enable_mmdevapi
1437 enable_mountmgr_sys
1438 enable_mp3dmod
1439 enable_mpr
1440 enable_mprapi
1441 enable_msacm32_drv
1442 enable_msacm32
1443 enable_msado15
1444 enable_msadp32_acm
1445 enable_msasn1
1446 enable_mscat32
1447 enable_mscms
1448 enable_mscoree
1449 enable_mscorwks
1450 enable_msctf
1451 enable_msctfp
1452 enable_msdaps
1453 enable_msdelta
1454 enable_msdmo
1455 enable_msdrm
1456 enable_msftedit
1457 enable_msg711_acm
1458 enable_msgsm32_acm
1459 enable_mshtml_tlb
1460 enable_mshtml
1461 enable_msi
1462 enable_msident
1463 enable_msimg32
1464 enable_msimsg
1465 enable_msimtf
1466 enable_msisip
1467 enable_msisys_ocx
1468 enable_msls31
1469 enable_msnet32
1470 enable_mspatcha
1471 enable_msports
1472 enable_msrle32
1473 enable_msscript_ocx
1474 enable_mssign32
1475 enable_mssip32
1476 enable_mstask
1477 enable_msv1_0
1478 enable_msvcirt
1479 enable_msvcm80
1480 enable_msvcm90
1481 enable_msvcp100
1482 enable_msvcp110
1483 enable_msvcp120
1484 enable_msvcp120_app
1485 enable_msvcp140
1486 enable_msvcp140_1
1487 enable_msvcp60
1488 enable_msvcp70
1489 enable_msvcp71
1490 enable_msvcp80
1491 enable_msvcp90
1492 enable_msvcr100
1493 enable_msvcr110
1494 enable_msvcr120
1495 enable_msvcr120_app
1496 enable_msvcr70
1497 enable_msvcr71
1498 enable_msvcr80
1499 enable_msvcr90
1500 enable_msvcrt
1501 enable_msvcrt20
1502 enable_msvcrt40
1503 enable_msvcrtd
1504 enable_msvfw32
1505 enable_msvidc32
1506 enable_mswsock
1507 enable_msxml
1508 enable_msxml2
1509 enable_msxml3
1510 enable_msxml4
1511 enable_msxml6
1512 enable_mtxdm
1513 enable_ncrypt
1514 enable_nddeapi
1515 enable_ndis_sys
1516 enable_netapi32
1517 enable_netcfgx
1518 enable_netio_sys
1519 enable_netprofm
1520 enable_netutils
1521 enable_newdev
1522 enable_ninput
1523 enable_normaliz
1524 enable_npmshtml
1525 enable_npptools
1526 enable_ntdll
1527 enable_ntdsapi
1528 enable_ntoskrnl_exe
1529 enable_ntprint
1530 enable_objsel
1531 enable_odbc32
1532 enable_odbcbcp
1533 enable_odbccp32
1534 enable_odbccu32
1535 enable_ole32
1536 enable_oleacc
1537 enable_oleaut32
1538 enable_olecli32
1539 enable_oledb32
1540 enable_oledlg
1541 enable_olepro32
1542 enable_olesvr32
1543 enable_olethk32
1544 enable_opcservices
1545 enable_openal32
1546 enable_opencl
1547 enable_opengl32
1548 enable_packager
1549 enable_pdh
1550 enable_photometadatahandler
1551 enable_pidgen
1552 enable_powrprof
1553 enable_printui
1554 enable_prntvpt
1555 enable_propsys
1556 enable_psapi
1557 enable_pstorec
1558 enable_pwrshplugin
1559 enable_qasf
1560 enable_qcap
1561 enable_qdvd
1562 enable_qedit
1563 enable_qmgr
1564 enable_qmgrprxy
1565 enable_quartz
1566 enable_query
1567 enable_qwave
1568 enable_rasapi32
1569 enable_rasdlg
1570 enable_regapi
1571 enable_resutils
1572 enable_riched20
1573 enable_riched32
1574 enable_rpcrt4
1575 enable_rsabase
1576 enable_rsaenh
1577 enable_rstrtmgr
1578 enable_rtutils
1579 enable_rtworkq
1580 enable_samlib
1581 enable_sane_ds
1582 enable_sapi
1583 enable_sas
1584 enable_scarddlg
1585 enable_sccbase
1586 enable_schannel
1587 enable_schedsvc
1588 enable_scrobj
1589 enable_scrrun
1590 enable_scsiport_sys
1591 enable_sechost
1592 enable_secur32
1593 enable_security
1594 enable_sensapi
1595 enable_serialui
1596 enable_setupapi
1597 enable_sfc
1598 enable_sfc_os
1599 enable_shcore
1600 enable_shdoclc
1601 enable_shdocvw
1602 enable_shell32
1603 enable_shfolder
1604 enable_shlwapi
1605 enable_slbcsp
1606 enable_slc
1607 enable_snmpapi
1608 enable_softpub
1609 enable_spoolss
1610 enable_sppc
1611 enable_srclient
1612 enable_srvcli
1613 enable_sspicli
1614 enable_stdole2_tlb
1615 enable_stdole32_tlb
1616 enable_sti
1617 enable_strmbase
1618 enable_strmdll
1619 enable_strmiids
1620 enable_svrapi
1621 enable_sxs
1622 enable_t2embed
1623 enable_tapi32
1624 enable_taskschd
1625 enable_tdh
1626 enable_tdi_sys
1627 enable_traffic
1628 enable_twain_32
1629 enable_tzres
1630 enable_ucrtbase
1631 enable_uianimation
1632 enable_uiautomationcore
1633 enable_uiribbon
1634 enable_unicows
1635 enable_updspapi
1636 enable_url
1637 enable_urlmon
1638 enable_usbd_sys
1639 enable_user32
1640 enable_userenv
1641 enable_usp10
1642 enable_utildll
1643 enable_uuid
1644 enable_uxtheme
1645 enable_vbscript
1646 enable_vcomp
1647 enable_vcomp100
1648 enable_vcomp110
1649 enable_vcomp120
1650 enable_vcomp140
1651 enable_vcomp90
1652 enable_vcruntime140
1653 enable_vcruntime140_1
1654 enable_vdmdbg
1655 enable_version
1656 enable_vga
1657 enable_virtdisk
1658 enable_vssapi
1659 enable_vulkan_1
1660 enable_wbemdisp
1661 enable_wbemprox
1662 enable_wbemuuid
1663 enable_wdscore
1664 enable_webservices
1665 enable_websocket
1666 enable_wer
1667 enable_wevtapi
1668 enable_wevtsvc
1669 enable_wiaservc
1670 enable_wimgapi
1671 enable_windows_gaming_input
1672 enable_windows_globalization
1673 enable_windows_media_devices
1674 enable_windows_media_speech
1675 enable_windowscodecs
1676 enable_windowscodecsext
1677 enable_winealsa_drv
1678 enable_wineandroid_drv
1679 enable_winebus_sys
1680 enable_winecoreaudio_drv
1681 enable_winecrt0
1682 enable_wined3d
1683 enable_winegstreamer
1684 enable_winehid_sys
1685 enable_winejoystick_drv
1686 enable_winemac_drv
1687 enable_winemapi
1688 enable_wineoss_drv
1689 enable_wineps_drv
1690 enable_winepulse_drv
1691 enable_wineqtdecoder
1692 enable_wineusb_sys
1693 enable_winevulkan
1694 enable_winex11_drv
1695 enable_wing32
1696 enable_winhttp
1697 enable_wininet
1698 enable_winmm
1699 enable_winnls32
1700 enable_winscard
1701 enable_winspool_drv
1702 enable_winsta
1703 enable_wintab32
1704 enable_wintrust
1705 enable_winusb
1706 enable_wlanapi
1707 enable_wlanui
1708 enable_wldap32
1709 enable_wmasf
1710 enable_wmcodecdspuuid
1711 enable_wmi
1712 enable_wmiutils
1713 enable_wmp
1714 enable_wmphoto
1715 enable_wmvcore
1716 enable_wnaspi32
1717 enable_wow64cpu
1718 enable_wpc
1719 enable_wpcap
1720 enable_ws2_32
1721 enable_wsdapi
1722 enable_wshom_ocx
1723 enable_wsnmp32
1724 enable_wsock32
1725 enable_wtsapi32
1726 enable_wuapi
1727 enable_wuaueng
1728 enable_x3daudio1_0
1729 enable_x3daudio1_1
1730 enable_x3daudio1_2
1731 enable_x3daudio1_3
1732 enable_x3daudio1_4
1733 enable_x3daudio1_5
1734 enable_x3daudio1_6
1735 enable_x3daudio1_7
1736 enable_xactengine2_0
1737 enable_xactengine2_4
1738 enable_xactengine2_7
1739 enable_xactengine2_9
1740 enable_xactengine3_0
1741 enable_xactengine3_1
1742 enable_xactengine3_2
1743 enable_xactengine3_3
1744 enable_xactengine3_4
1745 enable_xactengine3_5
1746 enable_xactengine3_6
1747 enable_xactengine3_7
1748 enable_xapofx1_1
1749 enable_xapofx1_2
1750 enable_xapofx1_3
1751 enable_xapofx1_4
1752 enable_xapofx1_5
1753 enable_xaudio2_0
1754 enable_xaudio2_1
1755 enable_xaudio2_2
1756 enable_xaudio2_3
1757 enable_xaudio2_4
1758 enable_xaudio2_5
1759 enable_xaudio2_6
1760 enable_xaudio2_7
1761 enable_xaudio2_8
1762 enable_xaudio2_9
1763 enable_xinput1_1
1764 enable_xinput1_2
1765 enable_xinput1_3
1766 enable_xinput1_4
1767 enable_xinput9_1_0
1768 enable_xmllite
1769 enable_xolehlp
1770 enable_xpsprint
1771 enable_xpssvcs
1772 enable_fonts
1773 enable_include
1774 enable_port
1775 enable_wine
1776 enable_wpp
1777 enable_loader
1778 enable_nls
1779 enable_po
1780 enable_arp
1781 enable_aspnet_regiis
1782 enable_attrib
1783 enable_cabarc
1784 enable_cacls
1785 enable_chcp_com
1786 enable_clock
1787 enable_cmd
1788 enable_conhost
1789 enable_control
1790 enable_cscript
1791 enable_dism
1792 enable_dplaysvr
1793 enable_dpnsvr
1794 enable_dpvsetup
1795 enable_dxdiag
1796 enable_eject
1797 enable_expand
1798 enable_explorer
1799 enable_extrac32
1800 enable_fc
1801 enable_find
1802 enable_findstr
1803 enable_fsutil
1804 enable_hh
1805 enable_hostname
1806 enable_icacls
1807 enable_icinfo
1808 enable_iexplore
1809 enable_ipconfig
1810 enable_lodctr
1811 enable_mofcomp
1812 enable_mshta
1813 enable_msidb
1814 enable_msiexec
1815 enable_msinfo32
1816 enable_net
1817 enable_netsh
1818 enable_netstat
1819 enable_ngen
1820 enable_notepad
1821 enable_oleview
1822 enable_ping
1823 enable_plugplay
1824 enable_powershell
1825 enable_presentationfontcache
1826 enable_progman
1827 enable_reg
1828 enable_regasm
1829 enable_regedit
1830 enable_regini
1831 enable_regsvcs
1832 enable_regsvr32
1833 enable_rpcss
1834 enable_rundll32
1835 enable_sc
1836 enable_schtasks
1837 enable_sdbinst
1838 enable_secedit
1839 enable_servicemodelreg
1840 enable_services
1841 enable_shutdown
1842 enable_spoolsv
1843 enable_start
1844 enable_subst
1845 enable_svchost
1846 enable_systeminfo
1847 enable_taskkill
1848 enable_tasklist
1849 enable_taskmgr
1850 enable_termsv
1851 enable_uninstaller
1852 enable_unlodctr
1853 enable_view
1854 enable_wevtutil
1855 enable_where
1856 enable_whoami
1857 enable_wineboot
1858 enable_winebrowser
1859 enable_winecfg
1860 enable_wineconsole
1861 enable_winedbg
1862 enable_winedevice
1863 enable_winefile
1864 enable_winemenubuilder
1865 enable_winemine
1866 enable_winemsibuilder
1867 enable_winepath
1868 enable_winetest
1869 enable_winhlp32
1870 enable_winmgmt
1871 enable_winver
1872 enable_wmic
1873 enable_wmplayer
1874 enable_wordpad
1875 enable_write
1876 enable_wscript
1877 enable_wuauserv
1878 enable_wusa
1879 enable_xcopy
1880 enable_server
1881 enable_tools
1882 enable_sfnt2fon
1883 enable_widl
1884 enable_winebuild
1885 enable_winedump
1886 enable_winegcc
1887 enable_winemaker
1888 enable_wmc
1889 enable_wrc
1891 ac_precious_vars='build_alias
1892 host_alias
1893 target_alias
1895 CFLAGS
1896 LDFLAGS
1897 LIBS
1898 CPPFLAGS
1900 CXXFLAGS
1903 OBJC
1904 OBJCFLAGS
1905 OBJCPP
1906 XMKMF
1907 XML2_CFLAGS
1908 XML2_LIBS
1909 XSLT_CFLAGS
1910 XSLT_LIBS
1911 INOTIFY_CFLAGS
1912 INOTIFY_LIBS
1913 DBUS_CFLAGS
1914 DBUS_LIBS
1915 HAL_CFLAGS
1916 HAL_LIBS
1917 GNUTLS_CFLAGS
1918 GNUTLS_LIBS
1919 SANE_CFLAGS
1920 SANE_LIBS
1921 USB_CFLAGS
1922 USB_LIBS
1923 GPHOTO2_CFLAGS
1924 GPHOTO2_LIBS
1925 GPHOTO2_PORT_CFLAGS
1926 GPHOTO2_PORT_LIBS
1927 LCMS2_CFLAGS
1928 LCMS2_LIBS
1929 FREETYPE_CFLAGS
1930 FREETYPE_LIBS
1931 PULSE_CFLAGS
1932 PULSE_LIBS
1933 GSTREAMER_CFLAGS
1934 GSTREAMER_LIBS
1935 UDEV_CFLAGS
1936 UDEV_LIBS
1937 UNWIND_CFLAGS
1938 UNWIND_LIBS
1939 SDL2_CFLAGS
1940 SDL2_LIBS
1941 FAUDIO_CFLAGS
1942 FAUDIO_LIBS
1943 CAPI20_CFLAGS
1944 CAPI20_LIBS
1945 CUPS_CFLAGS
1946 CUPS_LIBS
1947 FONTCONFIG_CFLAGS
1948 FONTCONFIG_LIBS
1949 KRB5_CFLAGS
1950 KRB5_LIBS
1951 GSSAPI_CFLAGS
1952 GSSAPI_LIBS
1953 JPEG_CFLAGS
1954 JPEG_LIBS
1955 JXRLIB_CFLAGS
1956 JXRLIB_LIBS
1957 PNG_CFLAGS
1958 PNG_LIBS
1959 TIFF_CFLAGS
1960 TIFF_LIBS
1961 MPG123_CFLAGS
1962 MPG123_LIBS
1963 NETAPI_CFLAGS
1964 NETAPI_LIBS
1965 VKD3D_CFLAGS
1966 VKD3D_LIBS
1967 VKD3D_SHADER_CFLAGS
1968 VKD3D_SHADER_LIBS
1969 LDAP_CFLAGS
1970 LDAP_LIBS'
1973 # Initialize some variables set by options.
1974 ac_init_help=
1975 ac_init_version=false
1976 ac_unrecognized_opts=
1977 ac_unrecognized_sep=
1978 # The variables have the same names as the options, with
1979 # dashes changed to underlines.
1980 cache_file=/dev/null
1981 exec_prefix=NONE
1982 no_create=
1983 no_recursion=
1984 prefix=NONE
1985 program_prefix=NONE
1986 program_suffix=NONE
1987 program_transform_name=s,x,x,
1988 silent=
1989 site=
1990 srcdir=
1991 verbose=
1992 x_includes=NONE
1993 x_libraries=NONE
1995 # Installation directory options.
1996 # These are left unexpanded so users can "make install exec_prefix=/foo"
1997 # and all the variables that are supposed to be based on exec_prefix
1998 # by default will actually change.
1999 # Use braces instead of parens because sh, perl, etc. also accept them.
2000 # (The list follows the same order as the GNU Coding Standards.)
2001 bindir='${exec_prefix}/bin'
2002 sbindir='${exec_prefix}/sbin'
2003 libexecdir='${exec_prefix}/libexec'
2004 datarootdir='${prefix}/share'
2005 datadir='${datarootdir}'
2006 sysconfdir='${prefix}/etc'
2007 sharedstatedir='${prefix}/com'
2008 localstatedir='${prefix}/var'
2009 runstatedir='${localstatedir}/run'
2010 includedir='${prefix}/include'
2011 oldincludedir='/usr/include'
2012 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2013 infodir='${datarootdir}/info'
2014 htmldir='${docdir}'
2015 dvidir='${docdir}'
2016 pdfdir='${docdir}'
2017 psdir='${docdir}'
2018 libdir='${exec_prefix}/lib'
2019 localedir='${datarootdir}/locale'
2020 mandir='${datarootdir}/man'
2022 ac_prev=
2023 ac_dashdash=
2024 for ac_option
2026 # If the previous option needs an argument, assign it.
2027 if test -n "$ac_prev"; then
2028 eval $ac_prev=\$ac_option
2029 ac_prev=
2030 continue
2033 case $ac_option in
2034 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2035 *=) ac_optarg= ;;
2036 *) ac_optarg=yes ;;
2037 esac
2039 # Accept the important Cygnus configure options, so we can diagnose typos.
2041 case $ac_dashdash$ac_option in
2043 ac_dashdash=yes ;;
2045 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2046 ac_prev=bindir ;;
2047 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2048 bindir=$ac_optarg ;;
2050 -build | --build | --buil | --bui | --bu)
2051 ac_prev=build_alias ;;
2052 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2053 build_alias=$ac_optarg ;;
2055 -cache-file | --cache-file | --cache-fil | --cache-fi \
2056 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2057 ac_prev=cache_file ;;
2058 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2059 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2060 cache_file=$ac_optarg ;;
2062 --config-cache | -C)
2063 cache_file=config.cache ;;
2065 -datadir | --datadir | --datadi | --datad)
2066 ac_prev=datadir ;;
2067 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2068 datadir=$ac_optarg ;;
2070 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2071 | --dataroo | --dataro | --datar)
2072 ac_prev=datarootdir ;;
2073 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2074 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2075 datarootdir=$ac_optarg ;;
2077 -disable-* | --disable-*)
2078 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2079 # Reject names that are not valid shell variable names.
2080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2081 as_fn_error $? "invalid feature name: $ac_useropt"
2082 ac_useropt_orig=$ac_useropt
2083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2084 case $ac_user_opts in
2086 "enable_$ac_useropt"
2087 "*) ;;
2088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2089 ac_unrecognized_sep=', ';;
2090 esac
2091 eval enable_$ac_useropt=no ;;
2093 -docdir | --docdir | --docdi | --doc | --do)
2094 ac_prev=docdir ;;
2095 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2096 docdir=$ac_optarg ;;
2098 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2099 ac_prev=dvidir ;;
2100 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2101 dvidir=$ac_optarg ;;
2103 -enable-* | --enable-*)
2104 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2105 # Reject names that are not valid shell variable names.
2106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2107 as_fn_error $? "invalid feature name: $ac_useropt"
2108 ac_useropt_orig=$ac_useropt
2109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2110 case $ac_user_opts in
2112 "enable_$ac_useropt"
2113 "*) ;;
2114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2115 ac_unrecognized_sep=', ';;
2116 esac
2117 eval enable_$ac_useropt=\$ac_optarg ;;
2119 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2120 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2121 | --exec | --exe | --ex)
2122 ac_prev=exec_prefix ;;
2123 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2124 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2125 | --exec=* | --exe=* | --ex=*)
2126 exec_prefix=$ac_optarg ;;
2128 -gas | --gas | --ga | --g)
2129 # Obsolete; use --with-gas.
2130 with_gas=yes ;;
2132 -help | --help | --hel | --he | -h)
2133 ac_init_help=long ;;
2134 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2135 ac_init_help=recursive ;;
2136 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2137 ac_init_help=short ;;
2139 -host | --host | --hos | --ho)
2140 ac_prev=host_alias ;;
2141 -host=* | --host=* | --hos=* | --ho=*)
2142 host_alias=$ac_optarg ;;
2144 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2145 ac_prev=htmldir ;;
2146 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2147 | --ht=*)
2148 htmldir=$ac_optarg ;;
2150 -includedir | --includedir | --includedi | --included | --include \
2151 | --includ | --inclu | --incl | --inc)
2152 ac_prev=includedir ;;
2153 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2154 | --includ=* | --inclu=* | --incl=* | --inc=*)
2155 includedir=$ac_optarg ;;
2157 -infodir | --infodir | --infodi | --infod | --info | --inf)
2158 ac_prev=infodir ;;
2159 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2160 infodir=$ac_optarg ;;
2162 -libdir | --libdir | --libdi | --libd)
2163 ac_prev=libdir ;;
2164 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2165 libdir=$ac_optarg ;;
2167 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2168 | --libexe | --libex | --libe)
2169 ac_prev=libexecdir ;;
2170 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2171 | --libexe=* | --libex=* | --libe=*)
2172 libexecdir=$ac_optarg ;;
2174 -localedir | --localedir | --localedi | --localed | --locale)
2175 ac_prev=localedir ;;
2176 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2177 localedir=$ac_optarg ;;
2179 -localstatedir | --localstatedir | --localstatedi | --localstated \
2180 | --localstate | --localstat | --localsta | --localst | --locals)
2181 ac_prev=localstatedir ;;
2182 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2183 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2184 localstatedir=$ac_optarg ;;
2186 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2187 ac_prev=mandir ;;
2188 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2189 mandir=$ac_optarg ;;
2191 -nfp | --nfp | --nf)
2192 # Obsolete; use --without-fp.
2193 with_fp=no ;;
2195 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2196 | --no-cr | --no-c | -n)
2197 no_create=yes ;;
2199 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2200 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2201 no_recursion=yes ;;
2203 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2204 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2205 | --oldin | --oldi | --old | --ol | --o)
2206 ac_prev=oldincludedir ;;
2207 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2208 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2209 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2210 oldincludedir=$ac_optarg ;;
2212 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2213 ac_prev=prefix ;;
2214 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2215 prefix=$ac_optarg ;;
2217 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2218 | --program-pre | --program-pr | --program-p)
2219 ac_prev=program_prefix ;;
2220 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2221 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2222 program_prefix=$ac_optarg ;;
2224 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2225 | --program-suf | --program-su | --program-s)
2226 ac_prev=program_suffix ;;
2227 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2228 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2229 program_suffix=$ac_optarg ;;
2231 -program-transform-name | --program-transform-name \
2232 | --program-transform-nam | --program-transform-na \
2233 | --program-transform-n | --program-transform- \
2234 | --program-transform | --program-transfor \
2235 | --program-transfo | --program-transf \
2236 | --program-trans | --program-tran \
2237 | --progr-tra | --program-tr | --program-t)
2238 ac_prev=program_transform_name ;;
2239 -program-transform-name=* | --program-transform-name=* \
2240 | --program-transform-nam=* | --program-transform-na=* \
2241 | --program-transform-n=* | --program-transform-=* \
2242 | --program-transform=* | --program-transfor=* \
2243 | --program-transfo=* | --program-transf=* \
2244 | --program-trans=* | --program-tran=* \
2245 | --progr-tra=* | --program-tr=* | --program-t=*)
2246 program_transform_name=$ac_optarg ;;
2248 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2249 ac_prev=pdfdir ;;
2250 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2251 pdfdir=$ac_optarg ;;
2253 -psdir | --psdir | --psdi | --psd | --ps)
2254 ac_prev=psdir ;;
2255 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2256 psdir=$ac_optarg ;;
2258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2259 | -silent | --silent | --silen | --sile | --sil)
2260 silent=yes ;;
2262 -runstatedir | --runstatedir | --runstatedi | --runstated \
2263 | --runstate | --runstat | --runsta | --runst | --runs \
2264 | --run | --ru | --r)
2265 ac_prev=runstatedir ;;
2266 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2267 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2268 | --run=* | --ru=* | --r=*)
2269 runstatedir=$ac_optarg ;;
2271 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2272 ac_prev=sbindir ;;
2273 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2274 | --sbi=* | --sb=*)
2275 sbindir=$ac_optarg ;;
2277 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2278 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2279 | --sharedst | --shareds | --shared | --share | --shar \
2280 | --sha | --sh)
2281 ac_prev=sharedstatedir ;;
2282 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2283 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2284 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2285 | --sha=* | --sh=*)
2286 sharedstatedir=$ac_optarg ;;
2288 -site | --site | --sit)
2289 ac_prev=site ;;
2290 -site=* | --site=* | --sit=*)
2291 site=$ac_optarg ;;
2293 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2294 ac_prev=srcdir ;;
2295 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2296 srcdir=$ac_optarg ;;
2298 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2299 | --syscon | --sysco | --sysc | --sys | --sy)
2300 ac_prev=sysconfdir ;;
2301 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2302 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2303 sysconfdir=$ac_optarg ;;
2305 -target | --target | --targe | --targ | --tar | --ta | --t)
2306 ac_prev=target_alias ;;
2307 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2308 target_alias=$ac_optarg ;;
2310 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2311 verbose=yes ;;
2313 -version | --version | --versio | --versi | --vers | -V)
2314 ac_init_version=: ;;
2316 -with-* | --with-*)
2317 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2318 # Reject names that are not valid shell variable names.
2319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2320 as_fn_error $? "invalid package name: $ac_useropt"
2321 ac_useropt_orig=$ac_useropt
2322 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2323 case $ac_user_opts in
2325 "with_$ac_useropt"
2326 "*) ;;
2327 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2328 ac_unrecognized_sep=', ';;
2329 esac
2330 eval with_$ac_useropt=\$ac_optarg ;;
2332 -without-* | --without-*)
2333 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2334 # Reject names that are not valid shell variable names.
2335 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2336 as_fn_error $? "invalid package name: $ac_useropt"
2337 ac_useropt_orig=$ac_useropt
2338 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2339 case $ac_user_opts in
2341 "with_$ac_useropt"
2342 "*) ;;
2343 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2344 ac_unrecognized_sep=', ';;
2345 esac
2346 eval with_$ac_useropt=no ;;
2348 --x)
2349 # Obsolete; use --with-x.
2350 with_x=yes ;;
2352 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2353 | --x-incl | --x-inc | --x-in | --x-i)
2354 ac_prev=x_includes ;;
2355 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2356 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2357 x_includes=$ac_optarg ;;
2359 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2360 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2361 ac_prev=x_libraries ;;
2362 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2363 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2364 x_libraries=$ac_optarg ;;
2366 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2367 Try \`$0 --help' for more information"
2370 *=*)
2371 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2372 # Reject names that are not valid shell variable names.
2373 case $ac_envvar in #(
2374 '' | [0-9]* | *[!_$as_cr_alnum]* )
2375 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2376 esac
2377 eval $ac_envvar=\$ac_optarg
2378 export $ac_envvar ;;
2381 # FIXME: should be removed in autoconf 3.0.
2382 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2383 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2384 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2385 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2388 esac
2389 done
2391 if test -n "$ac_prev"; then
2392 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2393 as_fn_error $? "missing argument to $ac_option"
2396 if test -n "$ac_unrecognized_opts"; then
2397 case $enable_option_checking in
2398 no) ;;
2399 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2400 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2401 esac
2404 # Check all directory arguments for consistency.
2405 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2406 datadir sysconfdir sharedstatedir localstatedir includedir \
2407 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2408 libdir localedir mandir runstatedir
2410 eval ac_val=\$$ac_var
2411 # Remove trailing slashes.
2412 case $ac_val in
2413 */ )
2414 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2415 eval $ac_var=\$ac_val;;
2416 esac
2417 # Be sure to have absolute directory names.
2418 case $ac_val in
2419 [\\/$]* | ?:[\\/]* ) continue;;
2420 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2421 esac
2422 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2423 done
2425 # There might be people who depend on the old broken behavior: `$host'
2426 # used to hold the argument of --host etc.
2427 # FIXME: To remove some day.
2428 build=$build_alias
2429 host=$host_alias
2430 target=$target_alias
2432 # FIXME: To remove some day.
2433 if test "x$host_alias" != x; then
2434 if test "x$build_alias" = x; then
2435 cross_compiling=maybe
2436 elif test "x$build_alias" != "x$host_alias"; then
2437 cross_compiling=yes
2441 ac_tool_prefix=
2442 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2444 test "$silent" = yes && exec 6>/dev/null
2447 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2448 ac_ls_di=`ls -di .` &&
2449 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2450 as_fn_error $? "working directory cannot be determined"
2451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2452 as_fn_error $? "pwd does not report name of working directory"
2455 # Find the source files, if location was not specified.
2456 if test -z "$srcdir"; then
2457 ac_srcdir_defaulted=yes
2458 # Try the directory containing this script, then the parent directory.
2459 ac_confdir=`$as_dirname -- "$as_myself" ||
2460 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2461 X"$as_myself" : 'X\(//\)[^/]' \| \
2462 X"$as_myself" : 'X\(//\)$' \| \
2463 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2464 $as_echo X"$as_myself" |
2465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2466 s//\1/
2469 /^X\(\/\/\)[^/].*/{
2470 s//\1/
2473 /^X\(\/\/\)$/{
2474 s//\1/
2477 /^X\(\/\).*/{
2478 s//\1/
2481 s/.*/./; q'`
2482 srcdir=$ac_confdir
2483 if test ! -r "$srcdir/$ac_unique_file"; then
2484 srcdir=..
2486 else
2487 ac_srcdir_defaulted=no
2489 if test ! -r "$srcdir/$ac_unique_file"; then
2490 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2491 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2493 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2494 ac_abs_confdir=`(
2495 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2496 pwd)`
2497 # When building in place, set srcdir=.
2498 if test "$ac_abs_confdir" = "$ac_pwd"; then
2499 srcdir=.
2501 # Remove unnecessary trailing slashes from srcdir.
2502 # Double slashes in file names in object file debugging info
2503 # mess up M-x gdb in Emacs.
2504 case $srcdir in
2505 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2506 esac
2507 for ac_var in $ac_precious_vars; do
2508 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2509 eval ac_env_${ac_var}_value=\$${ac_var}
2510 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2511 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2512 done
2515 # Report the --help message.
2517 if test "$ac_init_help" = "long"; then
2518 # Omit some internal or obsolete options to make the list less imposing.
2519 # This message is too long to be a string in the A/UX 3.1 sh.
2520 cat <<_ACEOF
2521 \`configure' configures Wine 6.10 to adapt to many kinds of systems.
2523 Usage: $0 [OPTION]... [VAR=VALUE]...
2525 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2526 VAR=VALUE. See below for descriptions of some of the useful variables.
2528 Defaults for the options are specified in brackets.
2530 Configuration:
2531 -h, --help display this help and exit
2532 --help=short display options specific to this package
2533 --help=recursive display the short help of all the included packages
2534 -V, --version display version information and exit
2535 -q, --quiet, --silent do not print \`checking ...' messages
2536 --cache-file=FILE cache test results in FILE [disabled]
2537 -C, --config-cache alias for \`--cache-file=config.cache'
2538 -n, --no-create do not create output files
2539 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2541 Installation directories:
2542 --prefix=PREFIX install architecture-independent files in PREFIX
2543 [$ac_default_prefix]
2544 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2545 [PREFIX]
2547 By default, \`make install' will install all the files in
2548 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2549 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2550 for instance \`--prefix=\$HOME'.
2552 For better control, use the options below.
2554 Fine tuning of the installation directories:
2555 --bindir=DIR user executables [EPREFIX/bin]
2556 --sbindir=DIR system admin executables [EPREFIX/sbin]
2557 --libexecdir=DIR program executables [EPREFIX/libexec]
2558 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2559 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2560 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2561 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2562 --libdir=DIR object code libraries [EPREFIX/lib]
2563 --includedir=DIR C header files [PREFIX/include]
2564 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2565 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2566 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2567 --infodir=DIR info documentation [DATAROOTDIR/info]
2568 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2569 --mandir=DIR man documentation [DATAROOTDIR/man]
2570 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2571 --htmldir=DIR html documentation [DOCDIR]
2572 --dvidir=DIR dvi documentation [DOCDIR]
2573 --pdfdir=DIR pdf documentation [DOCDIR]
2574 --psdir=DIR ps documentation [DOCDIR]
2575 _ACEOF
2577 cat <<\_ACEOF
2579 X features:
2580 --x-includes=DIR X include files are in DIR
2581 --x-libraries=DIR X library files are in DIR
2583 System types:
2584 --build=BUILD configure for building on BUILD [guessed]
2585 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2586 _ACEOF
2589 if test -n "$ac_init_help"; then
2590 case $ac_init_help in
2591 short | recursive ) echo "Configuration of Wine 6.10:";;
2592 esac
2593 cat <<\_ACEOF
2595 Optional Features:
2596 --disable-option-checking ignore unrecognized --enable/--with options
2597 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2598 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2599 --disable-win16 do not include Win16 support
2600 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2601 binaries)
2602 --disable-tests do not build the regression tests
2603 --enable-build-id include .buildid section in output objects
2604 --enable-maintainer-mode
2605 enable maintainer-specific build rules
2606 --enable-silent-rules use silent build rules (override: "make V=1")
2607 --enable-werror treat compilation warnings as errors
2608 --disable-largefile omit support for large files
2610 Optional Packages:
2611 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2612 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2613 --without-alsa do not use the Alsa sound support
2614 --without-capi do not use CAPI (ISDN support)
2615 --without-cms do not use CMS (color management support)
2616 --without-coreaudio do not use the CoreAudio sound support
2617 --without-cups do not use CUPS
2618 --without-dbus do not use DBus (dynamic device support)
2619 --without-faudio do not use FAudio (XAudio2 support)
2620 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2621 --without-fontconfig do not use fontconfig
2622 --without-freetype do not use the FreeType library
2623 --without-gettext do not use gettext
2624 --with-gettextpo use the GetTextPO library to rebuild po files
2625 --without-gphoto do not use gphoto (Digital Camera support)
2626 --without-gnutls do not use GnuTLS (schannel support)
2627 --without-gsm do not use libgsm (GSM 06.10 codec support)
2628 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2629 --without-gstreamer do not use GStreamer (codecs support)
2630 --without-hal do not use HAL (dynamic device support)
2631 --without-inotify do not use inotify (filesystem change notifications)
2632 --without-jpeg do not use JPEG
2633 --without-jxrlib do not use JPEG-XR
2634 --without-krb5 do not use krb5 (Kerberos)
2635 --without-ldap do not use LDAP
2636 --without-mingw do not use the MinGW cross-compiler
2637 --without-mpg123 do not use the mpg123 library
2638 --without-netapi do not use the Samba NetAPI library
2639 --without-openal do not use OpenAL
2640 --without-opencl do not use OpenCL
2641 --without-opengl do not use OpenGL
2642 --without-osmesa do not use the OSMesa library
2643 --without-oss do not use the OSS sound support
2644 --without-pcap do not use the Packet Capture library
2645 --without-png do not use PNG
2646 --without-pthread do not use the pthread library
2647 --without-pulse do not use PulseAudio sound support
2648 --without-quicktime do not use QuickTime support
2649 --without-sane do not use SANE (scanner support)
2650 --without-sdl do not use SDL
2651 --without-tiff do not use TIFF
2652 --without-udev do not use udev (plug and play support)
2653 --without-unwind do not use the libunwind library (exception
2654 handling)
2655 --without-usb do not use the libusb library
2656 --without-v4l2 do not use v4l2 (video capture)
2657 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2658 --without-vulkan do not use Vulkan
2659 --without-xcomposite do not use the Xcomposite extension
2660 --without-xcursor do not use the Xcursor extension
2661 --without-xfixes do not use Xfixes for clipboard change notifications
2662 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2663 --without-xinput do not use the Xinput extension
2664 --without-xinput2 do not use the Xinput 2 extension
2665 --without-xml do not use XML
2666 --without-xrandr do not use Xrandr (multi-monitor support)
2667 --without-xrender do not use the Xrender extension
2668 --without-xshape do not use the Xshape extension
2669 --without-xshm do not use XShm (shared memory extension)
2670 --without-xslt do not use XSLT
2671 --without-xxf86vm do not use XFree video mode extension
2672 --with-wine-tools=DIR use Wine tools from directory DIR
2673 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2674 --with-x use the X Window System
2676 Some influential environment variables:
2677 CC C compiler command
2678 CFLAGS C compiler flags
2679 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2680 nonstandard directory <lib dir>
2681 LIBS libraries to pass to the linker, e.g. -l<library>
2682 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2683 you have headers in a nonstandard directory <include dir>
2684 CXX C++ compiler command
2685 CXXFLAGS C++ compiler flags
2686 CPP C preprocessor
2687 OBJC Objective C compiler command
2688 OBJCFLAGS Objective C compiler flags
2689 OBJCPP Objective C preprocessor
2690 XMKMF Path to xmkmf, Makefile generator for X Window System
2691 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2692 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2693 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2694 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2695 INOTIFY_CFLAGS
2696 C compiler flags for libinotify, overriding pkg-config
2697 INOTIFY_LIBS
2698 Linker flags for libinotify, overriding pkg-config
2699 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2700 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2701 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2702 HAL_LIBS Linker flags for hal, overriding pkg-config
2703 GNUTLS_CFLAGS
2704 C compiler flags for gnutls, overriding pkg-config
2705 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2706 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2707 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2708 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2709 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2710 GPHOTO2_CFLAGS
2711 C compiler flags for libgphoto2, overriding pkg-config
2712 GPHOTO2_LIBS
2713 Linker flags for libgphoto2, overriding pkg-config
2714 GPHOTO2_PORT_CFLAGS
2715 C compiler flags for libgphoto2_port, overriding pkg-config
2716 GPHOTO2_PORT_LIBS
2717 Linker flags for libgphoto2_port, overriding pkg-config
2718 LCMS2_CFLAGS
2719 C compiler flags for lcms2, overriding pkg-config
2720 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2721 FREETYPE_CFLAGS
2722 C compiler flags for freetype2, overriding pkg-config
2723 FREETYPE_LIBS
2724 Linker flags for freetype2, overriding pkg-config
2725 PULSE_CFLAGS
2726 C compiler flags for libpulse, overriding pkg-config
2727 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2728 GSTREAMER_CFLAGS
2729 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2730 gstreamer-audio-1.0, overriding pkg-config
2731 GSTREAMER_LIBS
2732 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2733 gstreamer-audio-1.0, overriding pkg-config
2734 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2735 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2736 UNWIND_CFLAGS
2737 C compiler flags for libunwind, overriding pkg-config
2738 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2739 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2740 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2741 FAUDIO_CFLAGS
2742 C compiler flags for FAudio, overriding pkg-config
2743 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2744 CAPI20_CFLAGS
2745 C compiler flags for capi20, overriding pkg-config
2746 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2747 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2748 CUPS_LIBS Linker flags for cups, overriding pkg-config
2749 FONTCONFIG_CFLAGS
2750 C compiler flags for fontconfig, overriding pkg-config
2751 FONTCONFIG_LIBS
2752 Linker flags for fontconfig, overriding pkg-config
2753 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2754 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2755 GSSAPI_CFLAGS
2756 C compiler flags for krb5-gssapi, overriding pkg-config
2757 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2758 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2759 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2760 JXRLIB_CFLAGS
2761 C compiler flags for jxrlib, overriding pkg-config
2762 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2763 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2764 PNG_LIBS Linker flags for libpng, overriding pkg-config
2765 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2766 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2767 MPG123_CFLAGS
2768 C compiler flags for libmpg123, overriding pkg-config
2769 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2770 NETAPI_CFLAGS
2771 C compiler flags for netapi, overriding pkg-config
2772 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2773 VKD3D_CFLAGS
2774 C compiler flags for libvkd3d, overriding pkg-config
2775 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2776 VKD3D_SHADER_CFLAGS
2777 C compiler flags for libvkd3d-shader, overriding pkg-config
2778 VKD3D_SHADER_LIBS
2779 Linker flags for libvkd3d-shader, overriding pkg-config
2780 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2781 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2783 Use these variables to override the choices made by `configure' or to help
2784 it to find libraries and programs with nonstandard names/locations.
2786 Report bugs to <wine-devel@winehq.org>.
2787 Wine home page: <https://www.winehq.org>.
2788 _ACEOF
2789 ac_status=$?
2792 if test "$ac_init_help" = "recursive"; then
2793 # If there are subdirs, report their specific --help.
2794 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2795 test -d "$ac_dir" ||
2796 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2797 continue
2798 ac_builddir=.
2800 case "$ac_dir" in
2801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2803 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2804 # A ".." for each directory in $ac_dir_suffix.
2805 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2806 case $ac_top_builddir_sub in
2807 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2808 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2809 esac ;;
2810 esac
2811 ac_abs_top_builddir=$ac_pwd
2812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2813 # for backward compatibility:
2814 ac_top_builddir=$ac_top_build_prefix
2816 case $srcdir in
2817 .) # We are building in place.
2818 ac_srcdir=.
2819 ac_top_srcdir=$ac_top_builddir_sub
2820 ac_abs_top_srcdir=$ac_pwd ;;
2821 [\\/]* | ?:[\\/]* ) # Absolute name.
2822 ac_srcdir=$srcdir$ac_dir_suffix;
2823 ac_top_srcdir=$srcdir
2824 ac_abs_top_srcdir=$srcdir ;;
2825 *) # Relative name.
2826 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2827 ac_top_srcdir=$ac_top_build_prefix$srcdir
2828 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2829 esac
2830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2832 cd "$ac_dir" || { ac_status=$?; continue; }
2833 # Check for guested configure.
2834 if test -f "$ac_srcdir/configure.gnu"; then
2835 echo &&
2836 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2837 elif test -f "$ac_srcdir/configure"; then
2838 echo &&
2839 $SHELL "$ac_srcdir/configure" --help=recursive
2840 else
2841 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2842 fi || ac_status=$?
2843 cd "$ac_pwd" || { ac_status=$?; break; }
2844 done
2847 test -n "$ac_init_help" && exit $ac_status
2848 if $ac_init_version; then
2849 cat <<\_ACEOF
2850 Wine configure 6.10
2851 generated by GNU Autoconf 2.69
2853 Copyright (C) 2012 Free Software Foundation, Inc.
2854 This configure script is free software; the Free Software Foundation
2855 gives unlimited permission to copy, distribute and modify it.
2856 _ACEOF
2857 exit
2860 ## ------------------------ ##
2861 ## Autoconf initialization. ##
2862 ## ------------------------ ##
2864 # ac_fn_c_try_compile LINENO
2865 # --------------------------
2866 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2867 ac_fn_c_try_compile ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 rm -f conftest.$ac_objext
2871 if { { ac_try="$ac_compile"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_compile") 2>conftest.err
2879 ac_status=$?
2880 if test -s conftest.err; then
2881 grep -v '^ *+' conftest.err >conftest.er1
2882 cat conftest.er1 >&5
2883 mv -f conftest.er1 conftest.err
2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2886 test $ac_status = 0; } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest.$ac_objext; then :
2890 ac_retval=0
2891 else
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_retval=1
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 as_fn_set_status $ac_retval
2900 } # ac_fn_c_try_compile
2902 # ac_fn_cxx_try_compile LINENO
2903 # ----------------------------
2904 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2905 ac_fn_cxx_try_compile ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 rm -f conftest.$ac_objext
2909 if { { ac_try="$ac_compile"
2910 case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_compile") 2>conftest.err
2917 ac_status=$?
2918 if test -s conftest.err; then
2919 grep -v '^ *+' conftest.err >conftest.er1
2920 cat conftest.er1 >&5
2921 mv -f conftest.er1 conftest.err
2923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2924 test $ac_status = 0; } && {
2925 test -z "$ac_cxx_werror_flag" ||
2926 test ! -s conftest.err
2927 } && test -s conftest.$ac_objext; then :
2928 ac_retval=0
2929 else
2930 $as_echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 ac_retval=1
2935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2936 as_fn_set_status $ac_retval
2938 } # ac_fn_cxx_try_compile
2940 # ac_fn_c_try_link LINENO
2941 # -----------------------
2942 # Try to link conftest.$ac_ext, and return whether this succeeded.
2943 ac_fn_c_try_link ()
2945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2946 rm -f conftest.$ac_objext conftest$ac_exeext
2947 if { { ac_try="$ac_link"
2948 case "(($ac_try" in
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2951 esac
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_link") 2>conftest.err
2955 ac_status=$?
2956 if test -s conftest.err; then
2957 grep -v '^ *+' conftest.err >conftest.er1
2958 cat conftest.er1 >&5
2959 mv -f conftest.er1 conftest.err
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest$ac_exeext && {
2966 test "$cross_compiling" = yes ||
2967 test -x conftest$ac_exeext
2968 }; then :
2969 ac_retval=0
2970 else
2971 $as_echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2974 ac_retval=1
2976 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2977 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2978 # interfere with the next link command; also delete a directory that is
2979 # left behind by Apple's compiler. We do this before executing the actions.
2980 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 as_fn_set_status $ac_retval
2984 } # ac_fn_c_try_link
2986 # ac_fn_c_try_cpp LINENO
2987 # ----------------------
2988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2989 ac_fn_c_try_cpp ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 if { { ac_try="$ac_cpp conftest.$ac_ext"
2993 case "(($ac_try" in
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2996 esac
2997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2998 $as_echo "$ac_try_echo"; } >&5
2999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3000 ac_status=$?
3001 if test -s conftest.err; then
3002 grep -v '^ *+' conftest.err >conftest.er1
3003 cat conftest.er1 >&5
3004 mv -f conftest.er1 conftest.err
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; } > conftest.i && {
3008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 }; then :
3011 ac_retval=0
3012 else
3013 $as_echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_retval=1
3018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3019 as_fn_set_status $ac_retval
3021 } # ac_fn_c_try_cpp
3023 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3024 # -------------------------------------------------------
3025 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3026 # the include files in INCLUDES and setting the cache variable VAR
3027 # accordingly.
3028 ac_fn_c_check_header_mongrel ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 if eval \${$3+:} false; then :
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3033 $as_echo_n "checking for $2... " >&6; }
3034 if eval \${$3+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 eval ac_res=\$$3
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3039 $as_echo "$ac_res" >&6; }
3040 else
3041 # Is the header compilable?
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3043 $as_echo_n "checking $2 usability... " >&6; }
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3047 #include <$2>
3048 _ACEOF
3049 if ac_fn_c_try_compile "$LINENO"; then :
3050 ac_header_compiler=yes
3051 else
3052 ac_header_compiler=no
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3056 $as_echo "$ac_header_compiler" >&6; }
3058 # Is the header present?
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3060 $as_echo_n "checking $2 presence... " >&6; }
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3063 #include <$2>
3064 _ACEOF
3065 if ac_fn_c_try_cpp "$LINENO"; then :
3066 ac_header_preproc=yes
3067 else
3068 ac_header_preproc=no
3070 rm -f conftest.err conftest.i conftest.$ac_ext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3072 $as_echo "$ac_header_preproc" >&6; }
3074 # So? What about this header?
3075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3076 yes:no: )
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3078 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3080 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3082 no:yes:* )
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3084 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3086 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3088 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3090 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3093 ( $as_echo "## ------------------------------------ ##
3094 ## Report this to wine-devel@winehq.org ##
3095 ## ------------------------------------ ##"
3096 ) | sed "s/^/$as_me: WARNING: /" >&2
3098 esac
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3100 $as_echo_n "checking for $2... " >&6; }
3101 if eval \${$3+:} false; then :
3102 $as_echo_n "(cached) " >&6
3103 else
3104 eval "$3=\$ac_header_compiler"
3106 eval ac_res=\$$3
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3108 $as_echo "$ac_res" >&6; }
3110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3112 } # ac_fn_c_check_header_mongrel
3114 # ac_fn_c_try_run LINENO
3115 # ----------------------
3116 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3117 # that executables *can* be run.
3118 ac_fn_c_try_run ()
3120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3121 if { { ac_try="$ac_link"
3122 case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3125 esac
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_link") 2>&5
3129 ac_status=$?
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3132 { { case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_try") 2>&5
3139 ac_status=$?
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; }; then :
3142 ac_retval=0
3143 else
3144 $as_echo "$as_me: program exited with status $ac_status" >&5
3145 $as_echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3148 ac_retval=$ac_status
3150 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3152 as_fn_set_status $ac_retval
3154 } # ac_fn_c_try_run
3156 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3157 # -------------------------------------------------------
3158 # Tests whether HEADER exists and can be compiled using the include files in
3159 # INCLUDES, setting the cache variable VAR accordingly.
3160 ac_fn_c_check_header_compile ()
3162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3164 $as_echo_n "checking for $2... " >&6; }
3165 if eval \${$3+:} false; then :
3166 $as_echo_n "(cached) " >&6
3167 else
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3171 #include <$2>
3172 _ACEOF
3173 if ac_fn_c_try_compile "$LINENO"; then :
3174 eval "$3=yes"
3175 else
3176 eval "$3=no"
3178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 eval ac_res=\$$3
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3182 $as_echo "$ac_res" >&6; }
3183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 } # ac_fn_c_check_header_compile
3187 # ac_fn_objc_try_compile LINENO
3188 # -----------------------------
3189 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3190 ac_fn_objc_try_compile ()
3192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3193 rm -f conftest.$ac_objext
3194 if { { ac_try="$ac_compile"
3195 case "(($ac_try" in
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3198 esac
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_compile") 2>conftest.err
3202 ac_status=$?
3203 if test -s conftest.err; then
3204 grep -v '^ *+' conftest.err >conftest.er1
3205 cat conftest.er1 >&5
3206 mv -f conftest.er1 conftest.err
3208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3209 test $ac_status = 0; } && {
3210 test -z "$ac_objc_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then :
3213 ac_retval=0
3214 else
3215 $as_echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_retval=1
3220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3221 as_fn_set_status $ac_retval
3223 } # ac_fn_objc_try_compile
3225 # ac_fn_objc_try_cpp LINENO
3226 # -------------------------
3227 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3228 ac_fn_objc_try_cpp ()
3230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3231 if { { ac_try="$ac_cpp conftest.$ac_ext"
3232 case "(($ac_try" in
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3235 esac
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3239 ac_status=$?
3240 if test -s conftest.err; then
3241 grep -v '^ *+' conftest.err >conftest.er1
3242 cat conftest.er1 >&5
3243 mv -f conftest.er1 conftest.err
3245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246 test $ac_status = 0; } > conftest.i && {
3247 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3248 test ! -s conftest.err
3249 }; then :
3250 ac_retval=0
3251 else
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 ac_retval=1
3257 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3258 as_fn_set_status $ac_retval
3260 } # ac_fn_objc_try_cpp
3262 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3263 # ----------------------------------------------------------
3264 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3265 # the include files in INCLUDES and setting the cache variable VAR
3266 # accordingly.
3267 ac_fn_objc_check_header_mongrel ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 if eval \${$3+:} false; then :
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3276 eval ac_res=\$$3
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3278 $as_echo "$ac_res" >&6; }
3279 else
3280 # Is the header compilable?
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3282 $as_echo_n "checking $2 usability... " >&6; }
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3286 #include <$2>
3287 _ACEOF
3288 if ac_fn_objc_try_compile "$LINENO"; then :
3289 ac_header_compiler=yes
3290 else
3291 ac_header_compiler=no
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3295 $as_echo "$ac_header_compiler" >&6; }
3297 # Is the header present?
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3299 $as_echo_n "checking $2 presence... " >&6; }
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3302 #include <$2>
3303 _ACEOF
3304 if ac_fn_objc_try_cpp "$LINENO"; then :
3305 ac_header_preproc=yes
3306 else
3307 ac_header_preproc=no
3309 rm -f conftest.err conftest.i conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3311 $as_echo "$ac_header_preproc" >&6; }
3313 # So? What about this header?
3314 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3315 yes:no: )
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3317 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3319 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3321 no:yes:* )
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3323 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3325 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3327 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3329 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3331 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3332 ( $as_echo "## ------------------------------------ ##
3333 ## Report this to wine-devel@winehq.org ##
3334 ## ------------------------------------ ##"
3335 ) | sed "s/^/$as_me: WARNING: /" >&2
3337 esac
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3339 $as_echo_n "checking for $2... " >&6; }
3340 if eval \${$3+:} false; then :
3341 $as_echo_n "(cached) " >&6
3342 else
3343 eval "$3=\$ac_header_compiler"
3345 eval ac_res=\$$3
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3347 $as_echo "$ac_res" >&6; }
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 } # ac_fn_objc_check_header_mongrel
3353 # ac_fn_c_check_func LINENO FUNC VAR
3354 # ----------------------------------
3355 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3356 ac_fn_c_check_func ()
3358 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3360 $as_echo_n "checking for $2... " >&6; }
3361 if eval \${$3+:} false; then :
3362 $as_echo_n "(cached) " >&6
3363 else
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3366 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3368 #define $2 innocuous_$2
3370 /* System header to define __stub macros and hopefully few prototypes,
3371 which can conflict with char $2 (); below.
3372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3373 <limits.h> exists even on freestanding compilers. */
3375 #ifdef __STDC__
3376 # include <limits.h>
3377 #else
3378 # include <assert.h>
3379 #endif
3381 #undef $2
3383 /* Override any GCC internal prototype to avoid an error.
3384 Use char because int might match the return type of a GCC
3385 builtin and then its argument prototype would still apply. */
3386 #ifdef __cplusplus
3387 extern "C"
3388 #endif
3389 char $2 ();
3390 /* The GNU C library defines this for functions which it implements
3391 to always fail with ENOSYS. Some functions are actually named
3392 something starting with __ and the normal name is an alias. */
3393 #if defined __stub_$2 || defined __stub___$2
3394 choke me
3395 #endif
3398 main ()
3400 return $2 ();
3402 return 0;
3404 _ACEOF
3405 if ac_fn_c_try_link "$LINENO"; then :
3406 eval "$3=yes"
3407 else
3408 eval "$3=no"
3410 rm -f core conftest.err conftest.$ac_objext \
3411 conftest$ac_exeext conftest.$ac_ext
3413 eval ac_res=\$$3
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3415 $as_echo "$ac_res" >&6; }
3416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3418 } # ac_fn_c_check_func
3420 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3421 # ----------------------------------------------------
3422 # Tries to find if the field MEMBER exists in type AGGR, after including
3423 # INCLUDES, setting cache variable VAR accordingly.
3424 ac_fn_c_check_member ()
3426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3428 $as_echo_n "checking for $2.$3... " >&6; }
3429 if eval \${$4+:} false; then :
3430 $as_echo_n "(cached) " >&6
3431 else
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3436 main ()
3438 static $2 ac_aggr;
3439 if (ac_aggr.$3)
3440 return 0;
3442 return 0;
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446 eval "$4=yes"
3447 else
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3452 main ()
3454 static $2 ac_aggr;
3455 if (sizeof ac_aggr.$3)
3456 return 0;
3458 return 0;
3460 _ACEOF
3461 if ac_fn_c_try_compile "$LINENO"; then :
3462 eval "$4=yes"
3463 else
3464 eval "$4=no"
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 eval ac_res=\$$4
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3472 $as_echo "$ac_res" >&6; }
3473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3475 } # ac_fn_c_check_member
3477 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3478 # -------------------------------------------
3479 # Tests whether TYPE exists after having included INCLUDES, setting cache
3480 # variable VAR accordingly.
3481 ac_fn_c_check_type ()
3483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3485 $as_echo_n "checking for $2... " >&6; }
3486 if eval \${$3+:} false; then :
3487 $as_echo_n "(cached) " >&6
3488 else
3489 eval "$3=no"
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3494 main ()
3496 if (sizeof ($2))
3497 return 0;
3499 return 0;
3501 _ACEOF
3502 if ac_fn_c_try_compile "$LINENO"; then :
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3507 main ()
3509 if (sizeof (($2)))
3510 return 0;
3512 return 0;
3514 _ACEOF
3515 if ac_fn_c_try_compile "$LINENO"; then :
3517 else
3518 eval "$3=yes"
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524 eval ac_res=\$$3
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3526 $as_echo "$ac_res" >&6; }
3527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3529 } # ac_fn_c_check_type
3530 cat >config.log <<_ACEOF
3531 This file contains any messages produced by compilers while
3532 running configure, to aid debugging if configure makes a mistake.
3534 It was created by Wine $as_me 6.10, which was
3535 generated by GNU Autoconf 2.69. Invocation command line was
3537 $ $0 $@
3539 _ACEOF
3540 exec 5>>config.log
3542 cat <<_ASUNAME
3543 ## --------- ##
3544 ## Platform. ##
3545 ## --------- ##
3547 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3548 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3549 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3550 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3551 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3553 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3554 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3556 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3557 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3558 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3559 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3560 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3561 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3562 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3564 _ASUNAME
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 $as_echo "PATH: $as_dir"
3572 done
3573 IFS=$as_save_IFS
3575 } >&5
3577 cat >&5 <<_ACEOF
3580 ## ----------- ##
3581 ## Core tests. ##
3582 ## ----------- ##
3584 _ACEOF
3587 # Keep a trace of the command line.
3588 # Strip out --no-create and --no-recursion so they do not pile up.
3589 # Strip out --silent because we don't want to record it for future runs.
3590 # Also quote any args containing shell meta-characters.
3591 # Make two passes to allow for proper duplicate-argument suppression.
3592 ac_configure_args=
3593 ac_configure_args0=
3594 ac_configure_args1=
3595 ac_must_keep_next=false
3596 for ac_pass in 1 2
3598 for ac_arg
3600 case $ac_arg in
3601 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3603 | -silent | --silent | --silen | --sile | --sil)
3604 continue ;;
3605 *\'*)
3606 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3607 esac
3608 case $ac_pass in
3609 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3611 as_fn_append ac_configure_args1 " '$ac_arg'"
3612 if test $ac_must_keep_next = true; then
3613 ac_must_keep_next=false # Got value, back to normal.
3614 else
3615 case $ac_arg in
3616 *=* | --config-cache | -C | -disable-* | --disable-* \
3617 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3618 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3619 | -with-* | --with-* | -without-* | --without-* | --x)
3620 case "$ac_configure_args0 " in
3621 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3622 esac
3624 -* ) ac_must_keep_next=true ;;
3625 esac
3627 as_fn_append ac_configure_args " '$ac_arg'"
3629 esac
3630 done
3631 done
3632 { ac_configure_args0=; unset ac_configure_args0;}
3633 { ac_configure_args1=; unset ac_configure_args1;}
3635 # When interrupted or exit'd, cleanup temporary files, and complete
3636 # config.log. We remove comments because anyway the quotes in there
3637 # would cause problems or look ugly.
3638 # WARNING: Use '\'' to represent an apostrophe within the trap.
3639 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3640 trap 'exit_status=$?
3641 # Save into config.log some information that might help in debugging.
3643 echo
3645 $as_echo "## ---------------- ##
3646 ## Cache variables. ##
3647 ## ---------------- ##"
3648 echo
3649 # The following way of writing the cache mishandles newlines in values,
3651 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3652 eval ac_val=\$$ac_var
3653 case $ac_val in #(
3654 *${as_nl}*)
3655 case $ac_var in #(
3656 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3657 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3658 esac
3659 case $ac_var in #(
3660 _ | IFS | as_nl) ;; #(
3661 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3662 *) { eval $ac_var=; unset $ac_var;} ;;
3663 esac ;;
3664 esac
3665 done
3666 (set) 2>&1 |
3667 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3668 *${as_nl}ac_space=\ *)
3669 sed -n \
3670 "s/'\''/'\''\\\\'\'''\''/g;
3671 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3672 ;; #(
3674 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3676 esac |
3677 sort
3679 echo
3681 $as_echo "## ----------------- ##
3682 ## Output variables. ##
3683 ## ----------------- ##"
3684 echo
3685 for ac_var in $ac_subst_vars
3687 eval ac_val=\$$ac_var
3688 case $ac_val in
3689 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3690 esac
3691 $as_echo "$ac_var='\''$ac_val'\''"
3692 done | sort
3693 echo
3695 if test -n "$ac_subst_files"; then
3696 $as_echo "## ------------------- ##
3697 ## File substitutions. ##
3698 ## ------------------- ##"
3699 echo
3700 for ac_var in $ac_subst_files
3702 eval ac_val=\$$ac_var
3703 case $ac_val in
3704 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3705 esac
3706 $as_echo "$ac_var='\''$ac_val'\''"
3707 done | sort
3708 echo
3711 if test -s confdefs.h; then
3712 $as_echo "## ----------- ##
3713 ## confdefs.h. ##
3714 ## ----------- ##"
3715 echo
3716 cat confdefs.h
3717 echo
3719 test "$ac_signal" != 0 &&
3720 $as_echo "$as_me: caught signal $ac_signal"
3721 $as_echo "$as_me: exit $exit_status"
3722 } >&5
3723 rm -f core *.core core.conftest.* &&
3724 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3725 exit $exit_status
3727 for ac_signal in 1 2 13 15; do
3728 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3729 done
3730 ac_signal=0
3732 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3733 rm -f -r conftest* confdefs.h
3735 $as_echo "/* confdefs.h */" > confdefs.h
3737 # Predefined preprocessor variables.
3739 cat >>confdefs.h <<_ACEOF
3740 #define PACKAGE_NAME "$PACKAGE_NAME"
3741 _ACEOF
3743 cat >>confdefs.h <<_ACEOF
3744 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3745 _ACEOF
3747 cat >>confdefs.h <<_ACEOF
3748 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3749 _ACEOF
3751 cat >>confdefs.h <<_ACEOF
3752 #define PACKAGE_STRING "$PACKAGE_STRING"
3753 _ACEOF
3755 cat >>confdefs.h <<_ACEOF
3756 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3757 _ACEOF
3759 cat >>confdefs.h <<_ACEOF
3760 #define PACKAGE_URL "$PACKAGE_URL"
3761 _ACEOF
3764 # Let the site file select an alternate cache file if it wants to.
3765 # Prefer an explicitly selected file to automatically selected ones.
3766 ac_site_file1=NONE
3767 ac_site_file2=NONE
3768 if test -n "$CONFIG_SITE"; then
3769 # We do not want a PATH search for config.site.
3770 case $CONFIG_SITE in #((
3771 -*) ac_site_file1=./$CONFIG_SITE;;
3772 */*) ac_site_file1=$CONFIG_SITE;;
3773 *) ac_site_file1=./$CONFIG_SITE;;
3774 esac
3775 elif test "x$prefix" != xNONE; then
3776 ac_site_file1=$prefix/share/config.site
3777 ac_site_file2=$prefix/etc/config.site
3778 else
3779 ac_site_file1=$ac_default_prefix/share/config.site
3780 ac_site_file2=$ac_default_prefix/etc/config.site
3782 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3784 test "x$ac_site_file" = xNONE && continue
3785 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3787 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3788 sed 's/^/| /' "$ac_site_file" >&5
3789 . "$ac_site_file" \
3790 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3792 as_fn_error $? "failed to load site script $ac_site_file
3793 See \`config.log' for more details" "$LINENO" 5; }
3795 done
3797 if test -r "$cache_file"; then
3798 # Some versions of bash will fail to source /dev/null (special files
3799 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3800 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3802 $as_echo "$as_me: loading cache $cache_file" >&6;}
3803 case $cache_file in
3804 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3805 *) . "./$cache_file";;
3806 esac
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3810 $as_echo "$as_me: creating cache $cache_file" >&6;}
3811 >$cache_file
3814 # Check that the precious variables saved in the cache have kept the same
3815 # value.
3816 ac_cache_corrupted=false
3817 for ac_var in $ac_precious_vars; do
3818 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3819 eval ac_new_set=\$ac_env_${ac_var}_set
3820 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3821 eval ac_new_val=\$ac_env_${ac_var}_value
3822 case $ac_old_set,$ac_new_set in
3823 set,)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3825 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3826 ac_cache_corrupted=: ;;
3827 ,set)
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3829 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3830 ac_cache_corrupted=: ;;
3831 ,);;
3833 if test "x$ac_old_val" != "x$ac_new_val"; then
3834 # differences in whitespace do not lead to failure.
3835 ac_old_val_w=`echo x $ac_old_val`
3836 ac_new_val_w=`echo x $ac_new_val`
3837 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3839 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3840 ac_cache_corrupted=:
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3843 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3844 eval $ac_var=\$ac_old_val
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3847 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3849 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3850 fi;;
3851 esac
3852 # Pass precious variables to config.status.
3853 if test "$ac_new_set" = set; then
3854 case $ac_new_val in
3855 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3856 *) ac_arg=$ac_var=$ac_new_val ;;
3857 esac
3858 case " $ac_configure_args " in
3859 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3860 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3861 esac
3863 done
3864 if $ac_cache_corrupted; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3868 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3869 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3871 ## -------------------- ##
3872 ## Main body of script. ##
3873 ## -------------------- ##
3875 ac_ext=c
3876 ac_cpp='$CPP $CPPFLAGS'
3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883 ac_config_headers="$ac_config_headers include/config.h"
3885 ac_aux_dir=
3886 for ac_dir in tools "$srcdir"/tools; do
3887 if test -f "$ac_dir/install-sh"; then
3888 ac_aux_dir=$ac_dir
3889 ac_install_sh="$ac_aux_dir/install-sh -c"
3890 break
3891 elif test -f "$ac_dir/install.sh"; then
3892 ac_aux_dir=$ac_dir
3893 ac_install_sh="$ac_aux_dir/install.sh -c"
3894 break
3895 elif test -f "$ac_dir/shtool"; then
3896 ac_aux_dir=$ac_dir
3897 ac_install_sh="$ac_aux_dir/shtool install -c"
3898 break
3900 done
3901 if test -z "$ac_aux_dir"; then
3902 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3905 # These three variables are undocumented and unsupported,
3906 # and are intended to be withdrawn in a future Autoconf release.
3907 # They can cause serious problems if a builder's source tree is in a directory
3908 # whose full name contains unusual characters.
3909 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3910 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3911 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3915 libwine_version="1.0"
3919 # Check whether --enable-win16 was given.
3920 if test "${enable_win16+set}" = set; then :
3921 enableval=$enable_win16;
3924 # Check whether --enable-win64 was given.
3925 if test "${enable_win64+set}" = set; then :
3926 enableval=$enable_win64;
3929 # Check whether --enable-tests was given.
3930 if test "${enable_tests+set}" = set; then :
3931 enableval=$enable_tests;
3934 # Check whether --enable-build-id was given.
3935 if test "${enable_build_id+set}" = set; then :
3936 enableval=$enable_build_id;
3939 # Check whether --enable-maintainer-mode was given.
3940 if test "${enable_maintainer_mode+set}" = set; then :
3941 enableval=$enable_maintainer_mode;
3944 # Check whether --enable-silent-rules was given.
3945 if test "${enable_silent_rules+set}" = set; then :
3946 enableval=$enable_silent_rules;
3949 # Check whether --enable-werror was given.
3950 if test "${enable_werror+set}" = set; then :
3951 enableval=$enable_werror;
3956 # Check whether --with-alsa was given.
3957 if test "${with_alsa+set}" = set; then :
3958 withval=$with_alsa;
3962 # Check whether --with-capi was given.
3963 if test "${with_capi+set}" = set; then :
3964 withval=$with_capi;
3968 # Check whether --with-cms was given.
3969 if test "${with_cms+set}" = set; then :
3970 withval=$with_cms;
3974 # Check whether --with-coreaudio was given.
3975 if test "${with_coreaudio+set}" = set; then :
3976 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3980 # Check whether --with-cups was given.
3981 if test "${with_cups+set}" = set; then :
3982 withval=$with_cups;
3986 # Check whether --with-dbus was given.
3987 if test "${with_dbus+set}" = set; then :
3988 withval=$with_dbus;
3992 # Check whether --with-faudio was given.
3993 if test "${with_faudio+set}" = set; then :
3994 withval=$with_faudio;
3998 # Check whether --with-float-abi was given.
3999 if test "${with_float_abi+set}" = set; then :
4000 withval=$with_float_abi;
4004 # Check whether --with-fontconfig was given.
4005 if test "${with_fontconfig+set}" = set; then :
4006 withval=$with_fontconfig;
4010 # Check whether --with-freetype was given.
4011 if test "${with_freetype+set}" = set; then :
4012 withval=$with_freetype;
4016 # Check whether --with-gettext was given.
4017 if test "${with_gettext+set}" = set; then :
4018 withval=$with_gettext;
4022 # Check whether --with-gettextpo was given.
4023 if test "${with_gettextpo+set}" = set; then :
4024 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4028 # Check whether --with-gphoto was given.
4029 if test "${with_gphoto+set}" = set; then :
4030 withval=$with_gphoto;
4034 # Check whether --with-gnutls was given.
4035 if test "${with_gnutls+set}" = set; then :
4036 withval=$with_gnutls;
4040 # Check whether --with-gsm was given.
4041 if test "${with_gsm+set}" = set; then :
4042 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4046 # Check whether --with-gssapi was given.
4047 if test "${with_gssapi+set}" = set; then :
4048 withval=$with_gssapi;
4052 # Check whether --with-gstreamer was given.
4053 if test "${with_gstreamer+set}" = set; then :
4054 withval=$with_gstreamer;
4058 # Check whether --with-hal was given.
4059 if test "${with_hal+set}" = set; then :
4060 withval=$with_hal;
4064 # Check whether --with-inotify was given.
4065 if test "${with_inotify+set}" = set; then :
4066 withval=$with_inotify;
4070 # Check whether --with-jpeg was given.
4071 if test "${with_jpeg+set}" = set; then :
4072 withval=$with_jpeg;
4076 # Check whether --with-jxrlib was given.
4077 if test "${with_jxrlib+set}" = set; then :
4078 withval=$with_jxrlib;
4082 # Check whether --with-krb5 was given.
4083 if test "${with_krb5+set}" = set; then :
4084 withval=$with_krb5;
4088 # Check whether --with-ldap was given.
4089 if test "${with_ldap+set}" = set; then :
4090 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4094 # Check whether --with-mingw was given.
4095 if test "${with_mingw+set}" = set; then :
4096 withval=$with_mingw;
4100 # Check whether --with-mpg123 was given.
4101 if test "${with_mpg123+set}" = set; then :
4102 withval=$with_mpg123;
4106 # Check whether --with-netapi was given.
4107 if test "${with_netapi+set}" = set; then :
4108 withval=$with_netapi;
4112 # Check whether --with-openal was given.
4113 if test "${with_openal+set}" = set; then :
4114 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4118 # Check whether --with-opencl was given.
4119 if test "${with_opencl+set}" = set; then :
4120 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4124 # Check whether --with-opengl was given.
4125 if test "${with_opengl+set}" = set; then :
4126 withval=$with_opengl;
4130 # Check whether --with-osmesa was given.
4131 if test "${with_osmesa+set}" = set; then :
4132 withval=$with_osmesa;
4136 # Check whether --with-oss was given.
4137 if test "${with_oss+set}" = set; then :
4138 withval=$with_oss;
4142 # Check whether --with-pcap was given.
4143 if test "${with_pcap+set}" = set; then :
4144 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4148 # Check whether --with-png was given.
4149 if test "${with_png+set}" = set; then :
4150 withval=$with_png;
4154 # Check whether --with-pthread was given.
4155 if test "${with_pthread+set}" = set; then :
4156 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4160 # Check whether --with-pulse was given.
4161 if test "${with_pulse+set}" = set; then :
4162 withval=$with_pulse;
4166 # Check whether --with-quicktime was given.
4167 if test "${with_quicktime+set}" = set; then :
4168 withval=$with_quicktime;
4172 # Check whether --with-sane was given.
4173 if test "${with_sane+set}" = set; then :
4174 withval=$with_sane;
4178 # Check whether --with-sdl was given.
4179 if test "${with_sdl+set}" = set; then :
4180 withval=$with_sdl;
4184 # Check whether --with-tiff was given.
4185 if test "${with_tiff+set}" = set; then :
4186 withval=$with_tiff;
4190 # Check whether --with-udev was given.
4191 if test "${with_udev+set}" = set; then :
4192 withval=$with_udev;
4196 # Check whether --with-unwind was given.
4197 if test "${with_unwind+set}" = set; then :
4198 withval=$with_unwind;
4202 # Check whether --with-usb was given.
4203 if test "${with_usb+set}" = set; then :
4204 withval=$with_usb;
4208 # Check whether --with-v4l2 was given.
4209 if test "${with_v4l2+set}" = set; then :
4210 withval=$with_v4l2;
4214 # Check whether --with-vkd3d was given.
4215 if test "${with_vkd3d+set}" = set; then :
4216 withval=$with_vkd3d;
4220 # Check whether --with-vulkan was given.
4221 if test "${with_vulkan+set}" = set; then :
4222 withval=$with_vulkan;
4226 # Check whether --with-xcomposite was given.
4227 if test "${with_xcomposite+set}" = set; then :
4228 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4232 # Check whether --with-xcursor was given.
4233 if test "${with_xcursor+set}" = set; then :
4234 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4238 # Check whether --with-xfixes was given.
4239 if test "${with_xfixes+set}" = set; then :
4240 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4244 # Check whether --with-xinerama was given.
4245 if test "${with_xinerama+set}" = set; then :
4246 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4250 # Check whether --with-xinput was given.
4251 if test "${with_xinput+set}" = set; then :
4252 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4256 # Check whether --with-xinput2 was given.
4257 if test "${with_xinput2+set}" = set; then :
4258 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4262 # Check whether --with-xml was given.
4263 if test "${with_xml+set}" = set; then :
4264 withval=$with_xml;
4268 # Check whether --with-xrandr was given.
4269 if test "${with_xrandr+set}" = set; then :
4270 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4274 # Check whether --with-xrender was given.
4275 if test "${with_xrender+set}" = set; then :
4276 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4280 # Check whether --with-xshape was given.
4281 if test "${with_xshape+set}" = set; then :
4282 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4286 # Check whether --with-xshm was given.
4287 if test "${with_xshm+set}" = set; then :
4288 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4292 # Check whether --with-xslt was given.
4293 if test "${with_xslt+set}" = set; then :
4294 withval=$with_xslt;
4298 # Check whether --with-xxf86vm was given.
4299 if test "${with_xxf86vm+set}" = set; then :
4300 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
4305 # Check whether --with-wine-tools was given.
4306 if test "${with_wine_tools+set}" = set; then :
4307 withval=$with_wine_tools;
4311 # Check whether --with-wine64 was given.
4312 if test "${with_wine64+set}" = set; then :
4313 withval=$with_wine64;
4317 # Make sure we can run config.sub.
4318 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4319 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4322 $as_echo_n "checking build system type... " >&6; }
4323 if ${ac_cv_build+:} false; then :
4324 $as_echo_n "(cached) " >&6
4325 else
4326 ac_build_alias=$build_alias
4327 test "x$ac_build_alias" = x &&
4328 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4329 test "x$ac_build_alias" = x &&
4330 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4331 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4332 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4336 $as_echo "$ac_cv_build" >&6; }
4337 case $ac_cv_build in
4338 *-*-*) ;;
4339 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4340 esac
4341 build=$ac_cv_build
4342 ac_save_IFS=$IFS; IFS='-'
4343 set x $ac_cv_build
4344 shift
4345 build_cpu=$1
4346 build_vendor=$2
4347 shift; shift
4348 # Remember, the first character of IFS is used to create $*,
4349 # except with old shells:
4350 build_os=$*
4351 IFS=$ac_save_IFS
4352 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4356 $as_echo_n "checking host system type... " >&6; }
4357 if ${ac_cv_host+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 if test "x$host_alias" = x; then
4361 ac_cv_host=$ac_cv_build
4362 else
4363 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4364 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4369 $as_echo "$ac_cv_host" >&6; }
4370 case $ac_cv_host in
4371 *-*-*) ;;
4372 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4373 esac
4374 host=$ac_cv_host
4375 ac_save_IFS=$IFS; IFS='-'
4376 set x $ac_cv_host
4377 shift
4378 host_cpu=$1
4379 host_vendor=$2
4380 shift; shift
4381 # Remember, the first character of IFS is used to create $*,
4382 # except with old shells:
4383 host_os=$*
4384 IFS=$ac_save_IFS
4385 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4391 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4392 set x ${MAKE-make}
4393 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4394 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 cat >conftest.make <<\_ACEOF
4398 SHELL = /bin/sh
4399 all:
4400 @echo '@@@%%%=$(MAKE)=@@@%%%'
4401 _ACEOF
4402 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4403 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4404 *@@@%%%=?*=@@@%%%*)
4405 eval ac_cv_prog_make_${ac_make}_set=yes;;
4407 eval ac_cv_prog_make_${ac_make}_set=no;;
4408 esac
4409 rm -f conftest.make
4411 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4413 $as_echo "yes" >&6; }
4414 SET_MAKE=
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4418 SET_MAKE="MAKE=${MAKE-make}"
4421 ac_ext=c
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4426 if test -n "$ac_tool_prefix"; then
4427 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4428 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_prog_CC+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 if test -n "$CC"; then
4435 ac_cv_prog_CC="$CC" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4440 IFS=$as_save_IFS
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 break 2
4448 done
4449 done
4450 IFS=$as_save_IFS
4454 CC=$ac_cv_prog_CC
4455 if test -n "$CC"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4457 $as_echo "$CC" >&6; }
4458 else
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4465 if test -z "$ac_cv_prog_CC"; then
4466 ac_ct_CC=$CC
4467 # Extract the first word of "gcc", so it can be a program name with args.
4468 set dummy gcc; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 if test -n "$ac_ct_CC"; then
4475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4476 else
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4480 IFS=$as_save_IFS
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_CC="gcc"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 break 2
4488 done
4489 done
4490 IFS=$as_save_IFS
4494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4495 if test -n "$ac_ct_CC"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4497 $as_echo "$ac_ct_CC" >&6; }
4498 else
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4503 if test "x$ac_ct_CC" = x; then
4504 CC=""
4505 else
4506 case $cross_compiling:$ac_tool_warned in
4507 yes:)
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4510 ac_tool_warned=yes ;;
4511 esac
4512 CC=$ac_ct_CC
4514 else
4515 CC="$ac_cv_prog_CC"
4518 if test -z "$CC"; then
4519 if test -n "$ac_tool_prefix"; then
4520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4521 set dummy ${ac_tool_prefix}cc; ac_word=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if ${ac_cv_prog_CC+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 if test -n "$CC"; then
4528 ac_cv_prog_CC="$CC" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4533 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_CC="${ac_tool_prefix}cc"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2
4541 done
4542 done
4543 IFS=$as_save_IFS
4547 CC=$ac_cv_prog_CC
4548 if test -n "$CC"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4550 $as_echo "$CC" >&6; }
4551 else
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553 $as_echo "no" >&6; }
4559 if test -z "$CC"; then
4560 # Extract the first word of "cc", so it can be a program name with args.
4561 set dummy cc; ac_word=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if ${ac_cv_prog_CC+:} false; then :
4565 $as_echo_n "(cached) " >&6
4566 else
4567 if test -n "$CC"; then
4568 ac_cv_prog_CC="$CC" # Let the user override the test.
4569 else
4570 ac_prog_rejected=no
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 for as_dir in $PATH
4574 IFS=$as_save_IFS
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4579 ac_prog_rejected=yes
4580 continue
4582 ac_cv_prog_CC="cc"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 break 2
4586 done
4587 done
4588 IFS=$as_save_IFS
4590 if test $ac_prog_rejected = yes; then
4591 # We found a bogon in the path, so make sure we never use it.
4592 set dummy $ac_cv_prog_CC
4593 shift
4594 if test $# != 0; then
4595 # We chose a different compiler from the bogus one.
4596 # However, it has the same basename, so the bogon will be chosen
4597 # first if we set CC to just the basename; use the full file name.
4598 shift
4599 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4604 CC=$ac_cv_prog_CC
4605 if test -n "$CC"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4607 $as_echo "$CC" >&6; }
4608 else
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4615 if test -z "$CC"; then
4616 if test -n "$ac_tool_prefix"; then
4617 for ac_prog in cl.exe
4619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_CC+:} false; then :
4624 $as_echo_n "(cached) " >&6
4625 else
4626 if test -n "$CC"; then
4627 ac_cv_prog_CC="$CC" # Let the user override the test.
4628 else
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH
4632 IFS=$as_save_IFS
4633 test -z "$as_dir" && as_dir=.
4634 for ac_exec_ext in '' $ac_executable_extensions; do
4635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 break 2
4640 done
4641 done
4642 IFS=$as_save_IFS
4646 CC=$ac_cv_prog_CC
4647 if test -n "$CC"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4649 $as_echo "$CC" >&6; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4656 test -n "$CC" && break
4657 done
4659 if test -z "$CC"; then
4660 ac_ct_CC=$CC
4661 for ac_prog in cl.exe
4663 # Extract the first word of "$ac_prog", so it can be a program name with args.
4664 set dummy $ac_prog; ac_word=$2
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 if test -n "$ac_ct_CC"; then
4671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 test -z "$as_dir" && as_dir=.
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CC="$ac_prog"
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 break 2
4684 done
4685 done
4686 IFS=$as_save_IFS
4690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4691 if test -n "$ac_ct_CC"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4693 $as_echo "$ac_ct_CC" >&6; }
4694 else
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4700 test -n "$ac_ct_CC" && break
4701 done
4703 if test "x$ac_ct_CC" = x; then
4704 CC=""
4705 else
4706 case $cross_compiling:$ac_tool_warned in
4707 yes:)
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned=yes ;;
4711 esac
4712 CC=$ac_ct_CC
4719 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error $? "no acceptable C compiler found in \$PATH
4722 See \`config.log' for more details" "$LINENO" 5; }
4724 # Provide some information about the compiler.
4725 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4726 set X $ac_compile
4727 ac_compiler=$2
4728 for ac_option in --version -v -V -qversion; do
4729 { { ac_try="$ac_compiler $ac_option >&5"
4730 case "(($ac_try" in
4731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4732 *) ac_try_echo=$ac_try;;
4733 esac
4734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4735 $as_echo "$ac_try_echo"; } >&5
4736 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4737 ac_status=$?
4738 if test -s conftest.err; then
4739 sed '10a\
4740 ... rest of stderr output deleted ...
4741 10q' conftest.err >conftest.er1
4742 cat conftest.er1 >&5
4744 rm -f conftest.er1 conftest.err
4745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4746 test $ac_status = 0; }
4747 done
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4753 main ()
4757 return 0;
4759 _ACEOF
4760 ac_clean_files_save=$ac_clean_files
4761 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4762 # Try to create an executable without -o first, disregard a.out.
4763 # It will help us diagnose broken compilers, and finding out an intuition
4764 # of exeext.
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4766 $as_echo_n "checking whether the C compiler works... " >&6; }
4767 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4769 # The possible output files:
4770 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4772 ac_rmfiles=
4773 for ac_file in $ac_files
4775 case $ac_file in
4776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4777 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4778 esac
4779 done
4780 rm -f $ac_rmfiles
4782 if { { ac_try="$ac_link_default"
4783 case "(($ac_try" in
4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4785 *) ac_try_echo=$ac_try;;
4786 esac
4787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4788 $as_echo "$ac_try_echo"; } >&5
4789 (eval "$ac_link_default") 2>&5
4790 ac_status=$?
4791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4792 test $ac_status = 0; }; then :
4793 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4794 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4795 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4796 # so that the user can short-circuit this test for compilers unknown to
4797 # Autoconf.
4798 for ac_file in $ac_files ''
4800 test -f "$ac_file" || continue
4801 case $ac_file in
4802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4804 [ab].out )
4805 # We found the default executable, but exeext='' is most
4806 # certainly right.
4807 break;;
4808 *.* )
4809 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4810 then :; else
4811 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4813 # We set ac_cv_exeext here because the later test for it is not
4814 # safe: cross compilers may not add the suffix if given an `-o'
4815 # argument, so we may need to know it at that point already.
4816 # Even if this section looks crufty: it has the advantage of
4817 # actually working.
4818 break;;
4820 break;;
4821 esac
4822 done
4823 test "$ac_cv_exeext" = no && ac_cv_exeext=
4825 else
4826 ac_file=''
4828 if test -z "$ac_file"; then :
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831 $as_echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4836 as_fn_error 77 "C compiler cannot create executables
4837 See \`config.log' for more details" "$LINENO" 5; }
4838 else
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4840 $as_echo "yes" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4843 $as_echo_n "checking for C compiler default output file name... " >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4845 $as_echo "$ac_file" >&6; }
4846 ac_exeext=$ac_cv_exeext
4848 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4849 ac_clean_files=$ac_clean_files_save
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4851 $as_echo_n "checking for suffix of executables... " >&6; }
4852 if { { ac_try="$ac_link"
4853 case "(($ac_try" in
4854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855 *) ac_try_echo=$ac_try;;
4856 esac
4857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4858 $as_echo "$ac_try_echo"; } >&5
4859 (eval "$ac_link") 2>&5
4860 ac_status=$?
4861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4862 test $ac_status = 0; }; then :
4863 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4864 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4865 # work properly (i.e., refer to `conftest.exe'), while it won't with
4866 # `rm'.
4867 for ac_file in conftest.exe conftest conftest.*; do
4868 test -f "$ac_file" || continue
4869 case $ac_file in
4870 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4871 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4872 break;;
4873 * ) break;;
4874 esac
4875 done
4876 else
4877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4879 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4880 See \`config.log' for more details" "$LINENO" 5; }
4882 rm -f conftest conftest$ac_cv_exeext
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4884 $as_echo "$ac_cv_exeext" >&6; }
4886 rm -f conftest.$ac_ext
4887 EXEEXT=$ac_cv_exeext
4888 ac_exeext=$EXEEXT
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4891 #include <stdio.h>
4893 main ()
4895 FILE *f = fopen ("conftest.out", "w");
4896 return ferror (f) || fclose (f) != 0;
4899 return 0;
4901 _ACEOF
4902 ac_clean_files="$ac_clean_files conftest.out"
4903 # Check that the compiler produces executables we can run. If not, either
4904 # the compiler is broken, or we cross compile.
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4906 $as_echo_n "checking whether we are cross compiling... " >&6; }
4907 if test "$cross_compiling" != yes; then
4908 { { ac_try="$ac_link"
4909 case "(($ac_try" in
4910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4912 esac
4913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4914 $as_echo "$ac_try_echo"; } >&5
4915 (eval "$ac_link") 2>&5
4916 ac_status=$?
4917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4918 test $ac_status = 0; }
4919 if { ac_try='./conftest$ac_cv_exeext'
4920 { { case "(($ac_try" in
4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922 *) ac_try_echo=$ac_try;;
4923 esac
4924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4925 $as_echo "$ac_try_echo"; } >&5
4926 (eval "$ac_try") 2>&5
4927 ac_status=$?
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }; }; then
4930 cross_compiling=no
4931 else
4932 if test "$cross_compiling" = maybe; then
4933 cross_compiling=yes
4934 else
4935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4937 as_fn_error $? "cannot run C compiled programs.
4938 If you meant to cross compile, use \`--host'.
4939 See \`config.log' for more details" "$LINENO" 5; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4944 $as_echo "$cross_compiling" >&6; }
4946 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4947 ac_clean_files=$ac_clean_files_save
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4949 $as_echo_n "checking for suffix of object files... " >&6; }
4950 if ${ac_cv_objext+:} false; then :
4951 $as_echo_n "(cached) " >&6
4952 else
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4957 main ()
4961 return 0;
4963 _ACEOF
4964 rm -f conftest.o conftest.obj
4965 if { { ac_try="$ac_compile"
4966 case "(($ac_try" in
4967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4968 *) ac_try_echo=$ac_try;;
4969 esac
4970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4971 $as_echo "$ac_try_echo"; } >&5
4972 (eval "$ac_compile") 2>&5
4973 ac_status=$?
4974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4975 test $ac_status = 0; }; then :
4976 for ac_file in conftest.o conftest.obj conftest.*; do
4977 test -f "$ac_file" || continue;
4978 case $ac_file in
4979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4980 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4981 break;;
4982 esac
4983 done
4984 else
4985 $as_echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.$ac_ext >&5
4988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4990 as_fn_error $? "cannot compute suffix of object files: cannot compile
4991 See \`config.log' for more details" "$LINENO" 5; }
4993 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4996 $as_echo "$ac_cv_objext" >&6; }
4997 OBJEXT=$ac_cv_objext
4998 ac_objext=$OBJEXT
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5000 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5001 if ${ac_cv_c_compiler_gnu+:} false; then :
5002 $as_echo_n "(cached) " >&6
5003 else
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005 /* end confdefs.h. */
5008 main ()
5010 #ifndef __GNUC__
5011 choke me
5012 #endif
5015 return 0;
5017 _ACEOF
5018 if ac_fn_c_try_compile "$LINENO"; then :
5019 ac_compiler_gnu=yes
5020 else
5021 ac_compiler_gnu=no
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5028 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5029 if test $ac_compiler_gnu = yes; then
5030 GCC=yes
5031 else
5032 GCC=
5034 ac_test_CFLAGS=${CFLAGS+set}
5035 ac_save_CFLAGS=$CFLAGS
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5037 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5038 if ${ac_cv_prog_cc_g+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 ac_save_c_werror_flag=$ac_c_werror_flag
5042 ac_c_werror_flag=yes
5043 ac_cv_prog_cc_g=no
5044 CFLAGS="-g"
5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5049 main ()
5053 return 0;
5055 _ACEOF
5056 if ac_fn_c_try_compile "$LINENO"; then :
5057 ac_cv_prog_cc_g=yes
5058 else
5059 CFLAGS=""
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main ()
5068 return 0;
5070 _ACEOF
5071 if ac_fn_c_try_compile "$LINENO"; then :
5073 else
5074 ac_c_werror_flag=$ac_save_c_werror_flag
5075 CFLAGS="-g"
5076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5077 /* end confdefs.h. */
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 ac_cv_prog_cc_g=yes
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 ac_c_werror_flag=$ac_save_c_werror_flag
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5098 $as_echo "$ac_cv_prog_cc_g" >&6; }
5099 if test "$ac_test_CFLAGS" = set; then
5100 CFLAGS=$ac_save_CFLAGS
5101 elif test $ac_cv_prog_cc_g = yes; then
5102 if test "$GCC" = yes; then
5103 CFLAGS="-g -O2"
5104 else
5105 CFLAGS="-g"
5107 else
5108 if test "$GCC" = yes; then
5109 CFLAGS="-O2"
5110 else
5111 CFLAGS=
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5115 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5116 if ${ac_cv_prog_cc_c89+:} false; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 ac_cv_prog_cc_c89=no
5120 ac_save_CC=$CC
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5123 #include <stdarg.h>
5124 #include <stdio.h>
5125 struct stat;
5126 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5127 struct buf { int x; };
5128 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5129 static char *e (p, i)
5130 char **p;
5131 int i;
5133 return p[i];
5135 static char *f (char * (*g) (char **, int), char **p, ...)
5137 char *s;
5138 va_list v;
5139 va_start (v,p);
5140 s = g (p, va_arg (v,int));
5141 va_end (v);
5142 return s;
5145 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5146 function prototypes and stuff, but not '\xHH' hex character constants.
5147 These don't provoke an error unfortunately, instead are silently treated
5148 as 'x'. The following induces an error, until -std is added to get
5149 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5150 array size at least. It's necessary to write '\x00'==0 to get something
5151 that's true only with -std. */
5152 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5154 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5155 inside strings and character constants. */
5156 #define FOO(x) 'x'
5157 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5159 int test (int i, double x);
5160 struct s1 {int (*f) (int a);};
5161 struct s2 {int (*f) (double a);};
5162 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5163 int argc;
5164 char **argv;
5166 main ()
5168 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5170 return 0;
5172 _ACEOF
5173 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5174 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5176 CC="$ac_save_CC $ac_arg"
5177 if ac_fn_c_try_compile "$LINENO"; then :
5178 ac_cv_prog_cc_c89=$ac_arg
5180 rm -f core conftest.err conftest.$ac_objext
5181 test "x$ac_cv_prog_cc_c89" != "xno" && break
5182 done
5183 rm -f conftest.$ac_ext
5184 CC=$ac_save_CC
5187 # AC_CACHE_VAL
5188 case "x$ac_cv_prog_cc_c89" in
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5191 $as_echo "none needed" >&6; } ;;
5192 xno)
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5194 $as_echo "unsupported" >&6; } ;;
5196 CC="$CC $ac_cv_prog_cc_c89"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5198 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5199 esac
5200 if test "x$ac_cv_prog_cc_c89" != xno; then :
5204 ac_ext=c
5205 ac_cpp='$CPP $CPPFLAGS'
5206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5210 ac_ext=cpp
5211 ac_cpp='$CXXCPP $CPPFLAGS'
5212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5215 if test -z "$CXX"; then
5216 if test -n "$CCC"; then
5217 CXX=$CCC
5218 else
5219 if test -n "$ac_tool_prefix"; then
5220 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_CXX+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 if test -n "$CXX"; then
5230 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5231 else
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5235 IFS=$as_save_IFS
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 break 2
5243 done
5244 done
5245 IFS=$as_save_IFS
5249 CXX=$ac_cv_prog_CXX
5250 if test -n "$CXX"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5252 $as_echo "$CXX" >&6; }
5253 else
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5259 test -n "$CXX" && break
5260 done
5262 if test -z "$CXX"; then
5263 ac_ct_CXX=$CXX
5264 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5266 # Extract the first word of "$ac_prog", so it can be a program name with args.
5267 set dummy $ac_prog; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5271 $as_echo_n "(cached) " >&6
5272 else
5273 if test -n "$ac_ct_CXX"; then
5274 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5275 else
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 for as_dir in $PATH
5279 IFS=$as_save_IFS
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_prog_ac_ct_CXX="$ac_prog"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 break 2
5287 done
5288 done
5289 IFS=$as_save_IFS
5293 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5294 if test -n "$ac_ct_CXX"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5296 $as_echo "$ac_ct_CXX" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5303 test -n "$ac_ct_CXX" && break
5304 done
5306 if test "x$ac_ct_CXX" = x; then
5307 CXX="g++"
5308 else
5309 case $cross_compiling:$ac_tool_warned in
5310 yes:)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5313 ac_tool_warned=yes ;;
5314 esac
5315 CXX=$ac_ct_CXX
5321 # Provide some information about the compiler.
5322 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5323 set X $ac_compile
5324 ac_compiler=$2
5325 for ac_option in --version -v -V -qversion; do
5326 { { ac_try="$ac_compiler $ac_option >&5"
5327 case "(($ac_try" in
5328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5329 *) ac_try_echo=$ac_try;;
5330 esac
5331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5332 $as_echo "$ac_try_echo"; } >&5
5333 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5334 ac_status=$?
5335 if test -s conftest.err; then
5336 sed '10a\
5337 ... rest of stderr output deleted ...
5338 10q' conftest.err >conftest.er1
5339 cat conftest.er1 >&5
5341 rm -f conftest.er1 conftest.err
5342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5343 test $ac_status = 0; }
5344 done
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5347 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5348 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5349 $as_echo_n "(cached) " >&6
5350 else
5351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5355 main ()
5357 #ifndef __GNUC__
5358 choke me
5359 #endif
5362 return 0;
5364 _ACEOF
5365 if ac_fn_cxx_try_compile "$LINENO"; then :
5366 ac_compiler_gnu=yes
5367 else
5368 ac_compiler_gnu=no
5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5371 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5375 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5376 if test $ac_compiler_gnu = yes; then
5377 GXX=yes
5378 else
5379 GXX=
5381 ac_test_CXXFLAGS=${CXXFLAGS+set}
5382 ac_save_CXXFLAGS=$CXXFLAGS
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5384 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5385 if ${ac_cv_prog_cxx_g+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5389 ac_cxx_werror_flag=yes
5390 ac_cv_prog_cxx_g=no
5391 CXXFLAGS="-g"
5392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5396 main ()
5400 return 0;
5402 _ACEOF
5403 if ac_fn_cxx_try_compile "$LINENO"; then :
5404 ac_cv_prog_cxx_g=yes
5405 else
5406 CXXFLAGS=""
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5411 main ()
5415 return 0;
5417 _ACEOF
5418 if ac_fn_cxx_try_compile "$LINENO"; then :
5420 else
5421 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5422 CXXFLAGS="-g"
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5427 main ()
5431 return 0;
5433 _ACEOF
5434 if ac_fn_cxx_try_compile "$LINENO"; then :
5435 ac_cv_prog_cxx_g=yes
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5445 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5446 if test "$ac_test_CXXFLAGS" = set; then
5447 CXXFLAGS=$ac_save_CXXFLAGS
5448 elif test $ac_cv_prog_cxx_g = yes; then
5449 if test "$GXX" = yes; then
5450 CXXFLAGS="-g -O2"
5451 else
5452 CXXFLAGS="-g"
5454 else
5455 if test "$GXX" = yes; then
5456 CXXFLAGS="-O2"
5457 else
5458 CXXFLAGS=
5461 ac_ext=c
5462 ac_cpp='$CPP $CPPFLAGS'
5463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_CPPBIN+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$CPPBIN"; then
5476 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 CPPBIN=$ac_cv_prog_CPPBIN
5496 if test -n "$CPPBIN"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5498 $as_echo "$CPPBIN" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_CPPBIN"; then
5507 ac_ct_CPPBIN=$CPPBIN
5508 # Extract the first word of "cpp", so it can be a program name with args.
5509 set dummy cpp; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_CPPBIN"; then
5516 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_CPPBIN="cpp"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5536 if test -n "$ac_ct_CPPBIN"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5538 $as_echo "$ac_ct_CPPBIN" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_CPPBIN" = x; then
5545 CPPBIN="cpp"
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 CPPBIN=$ac_ct_CPPBIN
5555 else
5556 CPPBIN="$ac_cv_prog_CPPBIN"
5560 cat >>confdefs.h <<_ACEOF
5561 #define EXEEXT "$ac_exeext"
5562 _ACEOF
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}ld; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_LD+:} false; then :
5570 $as_echo_n "(cached) " >&6
5571 else
5572 if test -n "$LD"; then
5573 ac_cv_prog_LD="$LD" # Let the user override the test.
5574 else
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $PATH
5578 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_LD="${ac_tool_prefix}ld"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2
5586 done
5587 done
5588 IFS=$as_save_IFS
5592 LD=$ac_cv_prog_LD
5593 if test -n "$LD"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5595 $as_echo "$LD" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test -z "$ac_cv_prog_LD"; then
5604 ac_ct_LD=$LD
5605 # Extract the first word of "ld", so it can be a program name with args.
5606 set dummy ld; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 if test -n "$ac_ct_LD"; then
5613 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_LD="ld"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5633 if test -n "$ac_ct_LD"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5635 $as_echo "$ac_ct_LD" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5641 if test "x$ac_ct_LD" = x; then
5642 LD=""
5643 else
5644 case $cross_compiling:$ac_tool_warned in
5645 yes:)
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned=yes ;;
5649 esac
5650 LD=$ac_ct_LD
5652 else
5653 LD="$ac_cv_prog_LD"
5657 case $host in
5658 *-darwin*)
5659 with_fontconfig=${with_fontconfig:-no}
5661 *-mingw32*|*-cygwin*)
5662 enable_win16=${enable_win16:-no}
5663 with_mingw=${with_mingw:-no}
5664 CFLAGS="$CFLAGS -D_WIN32"
5666 esac
5669 case $host in
5670 x86_64*|amd64*)
5671 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5672 then
5673 CC="$CC -m32"
5674 CXX="$CXX -m32"
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5677 $as_echo_n "checking whether $CC works... " >&6; }
5678 if ${wine_cv_cc_m32+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5685 main ()
5689 return 0;
5691 _ACEOF
5692 if ac_fn_c_try_link "$LINENO"; then :
5693 wine_cv_cc_m32=yes
5694 else
5695 wine_cv_cc_m32=no
5697 rm -f core conftest.err conftest.$ac_objext \
5698 conftest$ac_exeext conftest.$ac_ext
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5701 $as_echo "$wine_cv_cc_m32" >&6; }
5702 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
5703 host_cpu="i386"
5704 notice_platform="32-bit "
5705 TARGETFLAGS="$TARGETFLAGS -m32"
5706 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5707 export PKG_CONFIG_PATH
5708 enable_win16=${enable_win16:-yes}
5709 with_unwind=${with_unwind:-no}
5710 else
5711 if test "x${GCC}" = "xyes"
5712 then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5714 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5715 if ${wine_cv_builtin_ms_va_list+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5720 #include <stdarg.h>
5722 main ()
5724 void func(__builtin_ms_va_list *args);
5726 return 0;
5728 _ACEOF
5729 if ac_fn_c_try_compile "$LINENO"; then :
5730 wine_cv_builtin_ms_va_list=yes
5731 else
5732 wine_cv_builtin_ms_va_list=no
5734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5737 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5738 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
5740 CC="$CC -m64"
5741 CXX="$CXX -m64"
5742 host_cpu="x86_64"
5743 notice_platform="64-bit "
5744 TARGETFLAGS="$TARGETFLAGS -m64"
5745 enable_wow64cpu=${enable_wow64cpu:-yes}
5748 arm*)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5750 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5751 if ${wine_cv_thumb2+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5758 main ()
5760 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5762 return 0;
5764 _ACEOF
5765 if ac_fn_c_try_link "$LINENO"; then :
5766 wine_cv_thumb2=yes
5767 else
5768 wine_cv_thumb2=no
5770 rm -f core conftest.err conftest.$ac_objext \
5771 conftest$ac_exeext conftest.$ac_ext
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5774 $as_echo "$wine_cv_thumb2" >&6; }
5775 if test x"$wine_cv_thumb2" = xyes
5776 then
5777 CFLAGS="$CFLAGS -mthumb"
5778 TARGETFLAGS="$TARGETFLAGS -mthumb"
5779 else
5780 CFLAGS="$CFLAGS -marm"
5781 TARGETFLAGS="$TARGETFLAGS -marm"
5783 case $with_float_abi in
5784 soft|softfp|hard)
5785 float_abi=$with_float_abi ;;
5787 case $host_os in
5788 *eabihf)
5789 float_abi=hard ;;
5791 float_abi=softfp
5792 saved_CFLAGS=$CFLAGS
5793 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5795 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5796 if ${wine_cv_float_abi+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5803 main ()
5805 asm("vmrs r2,fpscr");
5807 return 0;
5809 _ACEOF
5810 if ac_fn_c_try_link "$LINENO"; then :
5811 wine_cv_float_abi=yes
5812 else
5813 wine_cv_float_abi=no
5815 rm -f core conftest.err conftest.$ac_objext \
5816 conftest$ac_exeext conftest.$ac_ext
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5819 $as_echo "$wine_cv_float_abi" >&6; }
5820 if test $wine_cv_float_abi = no
5821 then
5822 float_abi=soft
5823 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5825 CFLAGS=$saved_CFLAGS
5826 esac
5828 esac
5829 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5830 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5832 aarch64*)
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5834 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5835 if ${wine_cv_builtin_ms_va_list+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 #include <stdarg.h>
5842 main ()
5844 void func(__builtin_ms_va_list *args);
5846 return 0;
5848 _ACEOF
5849 if ac_fn_c_try_compile "$LINENO"; then :
5850 wine_cv_builtin_ms_va_list=yes
5851 else
5852 wine_cv_builtin_ms_va_list=no
5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5857 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5858 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5860 i[3456789]86*)
5861 enable_win16=${enable_win16:-yes}
5862 with_unwind=${with_unwind:-no}
5864 esac
5866 enable_win16=${enable_win16:-no}
5867 enable_win64=${enable_win64:-no}
5868 enable_wow64cpu=${enable_wow64cpu:-no}
5870 enable_winetest=${enable_winetest:-$enable_tests}
5872 if test "x$enable_win64" = "xyes"
5873 then
5874 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5875 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5878 case $host_cpu in
5879 *i[3456789]86*) ARCH="i386"
5881 *x86_64*) ARCH="x86_64"
5883 *aarch64*) ARCH="aarch64"
5885 *arm*) ARCH="arm"
5887 *) ARCH=""
5889 esac
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5892 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5893 if ${wine_cv_toolsdir+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 wine_cv_toolsdir="$with_wine_tools"
5897 if test -z "$with_wine_tools"; then
5898 if test "$cross_compiling" = "yes"; then
5899 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5900 elif test -n "$with_wine64"; then
5901 wine_cv_toolsdir="$with_wine64"
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5906 $as_echo "$wine_cv_toolsdir" >&6; }
5907 if test -z "$wine_cv_toolsdir"; then
5908 wine_makedep=tools/makedep
5909 TOOLSDIR="."
5911 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5912 wine_makedep=$wine_cv_toolsdir/tools/makedep
5913 TOOLSDIR=$wine_cv_toolsdir
5915 enable_tools=${enable_tools:-no}
5916 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5917 else
5918 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5920 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5921 then
5922 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5925 for ac_prog in flex
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_FLEX+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$FLEX"; then
5935 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_FLEX="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 FLEX=$ac_cv_prog_FLEX
5955 if test -n "$FLEX"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5957 $as_echo "$FLEX" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$FLEX" && break
5965 done
5966 test -n "$FLEX" || FLEX="none"
5968 if test "$FLEX" = "none"
5969 then
5970 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5973 $as_echo_n "checking whether flex is recent enough... " >&6; }
5974 if ${wine_cv_recent_flex+:} false; then :
5975 $as_echo_n "(cached) " >&6
5976 else
5977 cat >conftest.l <<EOF
5978 %top{
5979 #include "prediluvian.h"
5983 if $FLEX -t conftest.l >/dev/null 2>&5
5984 then
5985 wine_cv_recent_flex=yes
5986 else
5987 wine_cv_recent_flex=no
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5991 $as_echo "$wine_cv_recent_flex" >&6; }
5992 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
5994 for ac_prog in bison
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5999 $as_echo_n "checking for $ac_word... " >&6; }
6000 if ${ac_cv_prog_BISON+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 if test -n "$BISON"; then
6004 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6013 ac_cv_prog_BISON="$ac_prog"
6014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 BISON=$ac_cv_prog_BISON
6024 if test -n "$BISON"; then
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6026 $as_echo "$BISON" >&6; }
6027 else
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 $as_echo "no" >&6; }
6033 test -n "$BISON" && break
6034 done
6035 test -n "$BISON" || BISON="none"
6037 if test "$BISON" = "none"
6038 then
6039 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6042 $as_echo_n "checking whether bison is recent enough... " >&6; }
6043 if ${wine_cv_recent_bison+:} false; then :
6044 $as_echo_n "(cached) " >&6
6045 else
6046 cat >conftest.y <<EOF
6047 %define parse.error verbose
6049 empty: ;
6051 if $BISON conftest.y >/dev/null 2>&5
6052 then
6053 wine_cv_recent_bison=yes
6054 else
6055 wine_cv_recent_bison=no
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6059 $as_echo "$wine_cv_recent_bison" >&6; }
6060 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
6062 if test -n "$ac_tool_prefix"; then
6063 for ac_prog in ar gar
6065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 $as_echo_n "checking for $ac_word... " >&6; }
6069 if ${ac_cv_prog_AR+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 if test -n "$AR"; then
6073 ac_cv_prog_AR="$AR" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 AR=$ac_cv_prog_AR
6093 if test -n "$AR"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6095 $as_echo "$AR" >&6; }
6096 else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6102 test -n "$AR" && break
6103 done
6105 if test -z "$AR"; then
6106 ac_ct_AR=$AR
6107 for ac_prog in ar gar
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy $ac_prog; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -n "$ac_ct_AR"; then
6117 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_ac_ct_AR="$ac_prog"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6137 if test -n "$ac_ct_AR"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6139 $as_echo "$ac_ct_AR" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6146 test -n "$ac_ct_AR" && break
6147 done
6149 if test "x$ac_ct_AR" = x; then
6150 AR="ar"
6151 else
6152 case $cross_compiling:$ac_tool_warned in
6153 yes:)
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6156 ac_tool_warned=yes ;;
6157 esac
6158 AR=$ac_ct_AR
6162 if test -n "$ac_tool_prefix"; then
6163 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6164 set dummy ${ac_tool_prefix}strip; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_STRIP+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$STRIP"; then
6171 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 STRIP=$ac_cv_prog_STRIP
6191 if test -n "$STRIP"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6193 $as_echo "$STRIP" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6201 if test -z "$ac_cv_prog_STRIP"; then
6202 ac_ct_STRIP=$STRIP
6203 # Extract the first word of "strip", so it can be a program name with args.
6204 set dummy strip; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 if test -n "$ac_ct_STRIP"; then
6211 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6212 else
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH
6216 IFS=$as_save_IFS
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_ac_ct_STRIP="strip"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 break 2
6224 done
6225 done
6226 IFS=$as_save_IFS
6230 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6231 if test -n "$ac_ct_STRIP"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6233 $as_echo "$ac_ct_STRIP" >&6; }
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6239 if test "x$ac_ct_STRIP" = x; then
6240 STRIP="strip"
6241 else
6242 case $cross_compiling:$ac_tool_warned in
6243 yes:)
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6246 ac_tool_warned=yes ;;
6247 esac
6248 STRIP=$ac_ct_STRIP
6250 else
6251 STRIP="$ac_cv_prog_STRIP"
6254 if test -n "$ac_tool_prefix"; then
6255 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6256 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_RANLIB+:} false; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 if test -n "$RANLIB"; then
6263 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6268 IFS=$as_save_IFS
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6272 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 break 2
6276 done
6277 done
6278 IFS=$as_save_IFS
6282 RANLIB=$ac_cv_prog_RANLIB
6283 if test -n "$RANLIB"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6285 $as_echo "$RANLIB" >&6; }
6286 else
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6293 if test -z "$ac_cv_prog_RANLIB"; then
6294 ac_ct_RANLIB=$RANLIB
6295 # Extract the first word of "ranlib", so it can be a program name with args.
6296 set dummy ranlib; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 if test -n "$ac_ct_RANLIB"; then
6303 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6304 else
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 for as_dir in $PATH
6308 IFS=$as_save_IFS
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312 ac_cv_prog_ac_ct_RANLIB="ranlib"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 break 2
6316 done
6317 done
6318 IFS=$as_save_IFS
6322 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6323 if test -n "$ac_ct_RANLIB"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6325 $as_echo "$ac_ct_RANLIB" >&6; }
6326 else
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6331 if test "x$ac_ct_RANLIB" = x; then
6332 RANLIB=":"
6333 else
6334 case $cross_compiling:$ac_tool_warned in
6335 yes:)
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6338 ac_tool_warned=yes ;;
6339 esac
6340 RANLIB=$ac_ct_RANLIB
6342 else
6343 RANLIB="$ac_cv_prog_RANLIB"
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6347 $as_echo_n "checking whether ln -s works... " >&6; }
6348 LN_S=$as_ln_s
6349 if test "$LN_S" = "ln -s"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6351 $as_echo "yes" >&6; }
6352 else
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6354 $as_echo "no, using $LN_S" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6359 if ${ac_cv_path_GREP+:} false; then :
6360 $as_echo_n "(cached) " >&6
6361 else
6362 if test -z "$GREP"; then
6363 ac_path_GREP_found=false
6364 # Loop through the user's path and test for each of PROGNAME-LIST
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6368 IFS=$as_save_IFS
6369 test -z "$as_dir" && as_dir=.
6370 for ac_prog in grep ggrep; do
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6373 as_fn_executable_p "$ac_path_GREP" || continue
6374 # Check for GNU ac_path_GREP and select it if it is found.
6375 # Check for GNU $ac_path_GREP
6376 case `"$ac_path_GREP" --version 2>&1` in
6377 *GNU*)
6378 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6380 ac_count=0
6381 $as_echo_n 0123456789 >"conftest.in"
6382 while :
6384 cat "conftest.in" "conftest.in" >"conftest.tmp"
6385 mv "conftest.tmp" "conftest.in"
6386 cp "conftest.in" "conftest.nl"
6387 $as_echo 'GREP' >> "conftest.nl"
6388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390 as_fn_arith $ac_count + 1 && ac_count=$as_val
6391 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6392 # Best one so far, save it but keep looking for a better one
6393 ac_cv_path_GREP="$ac_path_GREP"
6394 ac_path_GREP_max=$ac_count
6396 # 10*(2^10) chars as input seems more than enough
6397 test $ac_count -gt 10 && break
6398 done
6399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6400 esac
6402 $ac_path_GREP_found && break 3
6403 done
6404 done
6405 done
6406 IFS=$as_save_IFS
6407 if test -z "$ac_cv_path_GREP"; then
6408 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6410 else
6411 ac_cv_path_GREP=$GREP
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6416 $as_echo "$ac_cv_path_GREP" >&6; }
6417 GREP="$ac_cv_path_GREP"
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6421 $as_echo_n "checking for egrep... " >&6; }
6422 if ${ac_cv_path_EGREP+:} false; then :
6423 $as_echo_n "(cached) " >&6
6424 else
6425 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6426 then ac_cv_path_EGREP="$GREP -E"
6427 else
6428 if test -z "$EGREP"; then
6429 ac_path_EGREP_found=false
6430 # Loop through the user's path and test for each of PROGNAME-LIST
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_prog in egrep; do
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6439 as_fn_executable_p "$ac_path_EGREP" || continue
6440 # Check for GNU ac_path_EGREP and select it if it is found.
6441 # Check for GNU $ac_path_EGREP
6442 case `"$ac_path_EGREP" --version 2>&1` in
6443 *GNU*)
6444 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6446 ac_count=0
6447 $as_echo_n 0123456789 >"conftest.in"
6448 while :
6450 cat "conftest.in" "conftest.in" >"conftest.tmp"
6451 mv "conftest.tmp" "conftest.in"
6452 cp "conftest.in" "conftest.nl"
6453 $as_echo 'EGREP' >> "conftest.nl"
6454 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6456 as_fn_arith $ac_count + 1 && ac_count=$as_val
6457 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6458 # Best one so far, save it but keep looking for a better one
6459 ac_cv_path_EGREP="$ac_path_EGREP"
6460 ac_path_EGREP_max=$ac_count
6462 # 10*(2^10) chars as input seems more than enough
6463 test $ac_count -gt 10 && break
6464 done
6465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6466 esac
6468 $ac_path_EGREP_found && break 3
6469 done
6470 done
6471 done
6472 IFS=$as_save_IFS
6473 if test -z "$ac_cv_path_EGREP"; then
6474 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6476 else
6477 ac_cv_path_EGREP=$EGREP
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6483 $as_echo "$ac_cv_path_EGREP" >&6; }
6484 EGREP="$ac_cv_path_EGREP"
6487 # Extract the first word of "ldconfig", so it can be a program name with args.
6488 set dummy ldconfig; ac_word=$2
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 $as_echo_n "checking for $ac_word... " >&6; }
6491 if ${ac_cv_path_LDCONFIG+:} false; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6494 case $LDCONFIG in
6495 [\\/]* | ?:[\\/]*)
6496 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 for as_dir in /sbin /usr/sbin $PATH
6502 IFS=$as_save_IFS
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 break 2
6510 done
6511 done
6512 IFS=$as_save_IFS
6514 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6516 esac
6518 LDCONFIG=$ac_cv_path_LDCONFIG
6519 if test -n "$LDCONFIG"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6521 $as_echo "$LDCONFIG" >&6; }
6522 else
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6528 for ac_prog in msgfmt
6530 # Extract the first word of "$ac_prog", so it can be a program name with args.
6531 set dummy $ac_prog; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if ${ac_cv_prog_MSGFMT+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$MSGFMT"; then
6538 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6547 ac_cv_prog_MSGFMT="$ac_prog"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 MSGFMT=$ac_cv_prog_MSGFMT
6558 if test -n "$MSGFMT"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6560 $as_echo "$MSGFMT" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6567 test -n "$MSGFMT" && break
6568 done
6569 test -n "$MSGFMT" || MSGFMT="false"
6571 if ${ac_tool_prefix+:} false; then :
6572 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6573 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6577 $as_echo_n "(cached) " >&6
6578 else
6579 if test -n "$PKG_CONFIG"; then
6580 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6581 else
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 for as_dir in $PATH
6585 IFS=$as_save_IFS
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6591 break 2
6593 done
6594 done
6595 IFS=$as_save_IFS
6599 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6600 if test -n "$PKG_CONFIG"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6602 $as_echo "$PKG_CONFIG" >&6; }
6603 else
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6610 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6611 if test "x$cross_compiling" = xyes; then :
6613 else
6614 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6615 # Extract the first word of "pkg-config", so it can be a program name with args.
6616 set dummy pkg-config; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6620 $as_echo_n "(cached) " >&6
6621 else
6622 if test -n "$PKG_CONFIG"; then
6623 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6624 else
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in $PATH
6628 IFS=$as_save_IFS
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_PKG_CONFIG="pkg-config"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6634 break 2
6636 done
6637 done
6638 IFS=$as_save_IFS
6642 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6643 if test -n "$PKG_CONFIG"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6645 $as_echo "$PKG_CONFIG" >&6; }
6646 else
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6653 else
6654 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6657 if test "x$enable_maintainer_mode" != "xyes"
6658 then
6659 FONTFORGE=""
6660 RSVG=""
6661 CONVERT=""
6662 ICOTOOL=""
6663 else
6664 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6665 for ac_prog in fontforge
6667 # Extract the first word of "$ac_prog", so it can be a program name with args.
6668 set dummy $ac_prog; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_FONTFORGE+:} false; then :
6672 $as_echo_n "(cached) " >&6
6673 else
6674 if test -n "$FONTFORGE"; then
6675 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6680 IFS=$as_save_IFS
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_FONTFORGE="$ac_prog"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 break 2
6688 done
6689 done
6690 IFS=$as_save_IFS
6694 FONTFORGE=$ac_cv_prog_FONTFORGE
6695 if test -n "$FONTFORGE"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6697 $as_echo "$FONTFORGE" >&6; }
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6704 test -n "$FONTFORGE" && break
6705 done
6706 test -n "$FONTFORGE" || FONTFORGE="false"
6708 for ac_prog in rsvg-convert rsvg
6710 # Extract the first word of "$ac_prog", so it can be a program name with args.
6711 set dummy $ac_prog; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_RSVG+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 if test -n "$RSVG"; then
6718 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6723 IFS=$as_save_IFS
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_RSVG="$ac_prog"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 break 2
6731 done
6732 done
6733 IFS=$as_save_IFS
6737 RSVG=$ac_cv_prog_RSVG
6738 if test -n "$RSVG"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6740 $as_echo "$RSVG" >&6; }
6741 else
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6747 test -n "$RSVG" && break
6748 done
6749 test -n "$RSVG" || RSVG="false"
6751 for ac_prog in convert
6753 # Extract the first word of "$ac_prog", so it can be a program name with args.
6754 set dummy $ac_prog; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_CONVERT+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$CONVERT"; then
6761 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_CONVERT="$ac_prog"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6774 done
6775 done
6776 IFS=$as_save_IFS
6780 CONVERT=$ac_cv_prog_CONVERT
6781 if test -n "$CONVERT"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6783 $as_echo "$CONVERT" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6790 test -n "$CONVERT" && break
6791 done
6792 test -n "$CONVERT" || CONVERT="false"
6794 for ac_prog in icotool
6796 # Extract the first word of "$ac_prog", so it can be a program name with args.
6797 set dummy $ac_prog; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6799 $as_echo_n "checking for $ac_word... " >&6; }
6800 if ${ac_cv_prog_ICOTOOL+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 if test -n "$ICOTOOL"; then
6804 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6805 else
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 for as_dir in $PATH
6809 IFS=$as_save_IFS
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_ICOTOOL="$ac_prog"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 break 2
6817 done
6818 done
6819 IFS=$as_save_IFS
6823 ICOTOOL=$ac_cv_prog_ICOTOOL
6824 if test -n "$ICOTOOL"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6826 $as_echo "$ICOTOOL" >&6; }
6827 else
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829 $as_echo "no" >&6; }
6833 test -n "$ICOTOOL" && break
6834 done
6835 test -n "$ICOTOOL" || ICOTOOL="false"
6837 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6838 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6840 if test "$CONVERT" = false
6841 then
6842 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6843 else
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6845 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6846 convert_version=`convert --version | head -n1`
6847 if test "x$convert_version" != "x"
6848 then
6849 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6850 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6851 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6852 then
6853 CONVERT=false
6856 if test "$CONVERT" = false
6857 then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6859 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6860 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6861 else
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6863 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6867 if test "$ICOTOOL" = false
6868 then
6869 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6870 else
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6872 $as_echo_n "checking for recent enough icotool... " >&6; }
6873 icotool_version=`icotool --version | head -n1`
6874 if test "x$icotool_version" != "x"
6875 then
6876 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6877 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6878 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6879 then
6880 ICOTOOL=false
6881 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6884 if test "$ICOTOOL" = false
6885 then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6887 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6888 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6889 else
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6891 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6895 with_gettext=yes
6896 with_gettextpo=yes
6898 enable_werror=yes
6901 test "x$with_gettext" != xno || MSGFMT=false
6902 if test "$MSGFMT" != "false"
6903 then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6905 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6906 if ${wine_cv_msgfmt_contexts+:} false; then :
6907 $as_echo_n "(cached) " >&6
6908 else
6909 cat >conftest.po <<EOF
6910 # comment
6911 msgctxt "ctxt"
6912 msgid "id"
6913 msgstr "str"
6915 if $MSGFMT -o /dev/null conftest.po 2>&5
6916 then
6917 wine_cv_msgfmt_contexts=yes
6918 else
6919 wine_cv_msgfmt_contexts=no
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6923 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6924 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6926 if test "$MSGFMT" = false; then :
6927 case "x$with_gettext" in
6928 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6929 xno) ;;
6930 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6931 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6932 esac
6933 enable_po=${enable_po:-no}
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6938 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6939 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6940 $as_echo_n "(cached) " >&6
6941 else
6942 ac_check_lib_save_LIBS=$LIBS
6943 LIBS="-li386 $LIBS"
6944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6947 /* Override any GCC internal prototype to avoid an error.
6948 Use char because int might match the return type of a GCC
6949 builtin and then its argument prototype would still apply. */
6950 #ifdef __cplusplus
6951 extern "C"
6952 #endif
6953 char i386_set_ldt ();
6955 main ()
6957 return i386_set_ldt ();
6959 return 0;
6961 _ACEOF
6962 if ac_fn_c_try_link "$LINENO"; then :
6963 ac_cv_lib_i386_i386_set_ldt=yes
6964 else
6965 ac_cv_lib_i386_i386_set_ldt=no
6967 rm -f core conftest.err conftest.$ac_objext \
6968 conftest$ac_exeext conftest.$ac_ext
6969 LIBS=$ac_check_lib_save_LIBS
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6972 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6973 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6974 I386_LIBS="-li386"
6979 OPENGL_LIBS=""
6983 # Check whether --enable-largefile was given.
6984 if test "${enable_largefile+set}" = set; then :
6985 enableval=$enable_largefile;
6988 if test "$enable_largefile" != no; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6991 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6992 if ${ac_cv_sys_largefile_CC+:} false; then :
6993 $as_echo_n "(cached) " >&6
6994 else
6995 ac_cv_sys_largefile_CC=no
6996 if test "$GCC" != yes; then
6997 ac_save_CC=$CC
6998 while :; do
6999 # IRIX 6.2 and later do not support large files by default,
7000 # so use the C compiler's -n32 option if that helps.
7001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7002 /* end confdefs.h. */
7003 #include <sys/types.h>
7004 /* Check that off_t can represent 2**63 - 1 correctly.
7005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7006 since some C++ compilers masquerading as C compilers
7007 incorrectly reject 9223372036854775807. */
7008 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7010 && LARGE_OFF_T % 2147483647 == 1)
7011 ? 1 : -1];
7013 main ()
7017 return 0;
7019 _ACEOF
7020 if ac_fn_c_try_compile "$LINENO"; then :
7021 break
7023 rm -f core conftest.err conftest.$ac_objext
7024 CC="$CC -n32"
7025 if ac_fn_c_try_compile "$LINENO"; then :
7026 ac_cv_sys_largefile_CC=' -n32'; break
7028 rm -f core conftest.err conftest.$ac_objext
7029 break
7030 done
7031 CC=$ac_save_CC
7032 rm -f conftest.$ac_ext
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7036 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7037 if test "$ac_cv_sys_largefile_CC" != no; then
7038 CC=$CC$ac_cv_sys_largefile_CC
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7042 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7043 if ${ac_cv_sys_file_offset_bits+:} false; then :
7044 $as_echo_n "(cached) " >&6
7045 else
7046 while :; do
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #include <sys/types.h>
7050 /* Check that off_t can represent 2**63 - 1 correctly.
7051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7052 since some C++ compilers masquerading as C compilers
7053 incorrectly reject 9223372036854775807. */
7054 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7056 && LARGE_OFF_T % 2147483647 == 1)
7057 ? 1 : -1];
7059 main ()
7063 return 0;
7065 _ACEOF
7066 if ac_fn_c_try_compile "$LINENO"; then :
7067 ac_cv_sys_file_offset_bits=no; break
7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7072 #define _FILE_OFFSET_BITS 64
7073 #include <sys/types.h>
7074 /* Check that off_t can represent 2**63 - 1 correctly.
7075 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7076 since some C++ compilers masquerading as C compilers
7077 incorrectly reject 9223372036854775807. */
7078 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7079 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7080 && LARGE_OFF_T % 2147483647 == 1)
7081 ? 1 : -1];
7083 main ()
7087 return 0;
7089 _ACEOF
7090 if ac_fn_c_try_compile "$LINENO"; then :
7091 ac_cv_sys_file_offset_bits=64; break
7093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7094 ac_cv_sys_file_offset_bits=unknown
7095 break
7096 done
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7099 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7100 case $ac_cv_sys_file_offset_bits in #(
7101 no | unknown) ;;
7103 cat >>confdefs.h <<_ACEOF
7104 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7105 _ACEOF
7107 esac
7108 rm -rf conftest*
7109 if test $ac_cv_sys_file_offset_bits = unknown; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7111 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7112 if ${ac_cv_sys_large_files+:} false; then :
7113 $as_echo_n "(cached) " >&6
7114 else
7115 while :; do
7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7118 #include <sys/types.h>
7119 /* Check that off_t can represent 2**63 - 1 correctly.
7120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7121 since some C++ compilers masquerading as C compilers
7122 incorrectly reject 9223372036854775807. */
7123 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7125 && LARGE_OFF_T % 2147483647 == 1)
7126 ? 1 : -1];
7128 main ()
7132 return 0;
7134 _ACEOF
7135 if ac_fn_c_try_compile "$LINENO"; then :
7136 ac_cv_sys_large_files=no; break
7138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #define _LARGE_FILES 1
7142 #include <sys/types.h>
7143 /* Check that off_t can represent 2**63 - 1 correctly.
7144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7145 since some C++ compilers masquerading as C compilers
7146 incorrectly reject 9223372036854775807. */
7147 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7149 && LARGE_OFF_T % 2147483647 == 1)
7150 ? 1 : -1];
7152 main ()
7156 return 0;
7158 _ACEOF
7159 if ac_fn_c_try_compile "$LINENO"; then :
7160 ac_cv_sys_large_files=1; break
7162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7163 ac_cv_sys_large_files=unknown
7164 break
7165 done
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7168 $as_echo "$ac_cv_sys_large_files" >&6; }
7169 case $ac_cv_sys_large_files in #(
7170 no | unknown) ;;
7172 cat >>confdefs.h <<_ACEOF
7173 #define _LARGE_FILES $ac_cv_sys_large_files
7174 _ACEOF
7176 esac
7177 rm -rf conftest*
7184 ac_ext=c
7185 ac_cpp='$CPP $CPPFLAGS'
7186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7190 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7191 # On Suns, sometimes $CPP names a directory.
7192 if test -n "$CPP" && test -d "$CPP"; then
7193 CPP=
7195 if test -z "$CPP"; then
7196 if ${ac_cv_prog_CPP+:} false; then :
7197 $as_echo_n "(cached) " >&6
7198 else
7199 # Double quotes because CPP needs to be expanded
7200 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7202 ac_preproc_ok=false
7203 for ac_c_preproc_warn_flag in '' yes
7205 # Use a header file that comes with gcc, so configuring glibc
7206 # with a fresh cross-compiler works.
7207 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7208 # <limits.h> exists even on freestanding compilers.
7209 # On the NeXT, cc -E runs the code through the compiler's parser,
7210 # not just through cpp. "Syntax error" is here to catch this case.
7211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212 /* end confdefs.h. */
7213 #ifdef __STDC__
7214 # include <limits.h>
7215 #else
7216 # include <assert.h>
7217 #endif
7218 Syntax error
7219 _ACEOF
7220 if ac_fn_c_try_cpp "$LINENO"; then :
7222 else
7223 # Broken: fails on valid input.
7224 continue
7226 rm -f conftest.err conftest.i conftest.$ac_ext
7228 # OK, works on sane cases. Now check whether nonexistent headers
7229 # can be detected and how.
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232 #include <ac_nonexistent.h>
7233 _ACEOF
7234 if ac_fn_c_try_cpp "$LINENO"; then :
7235 # Broken: success on invalid input.
7236 continue
7237 else
7238 # Passes both tests.
7239 ac_preproc_ok=:
7240 break
7242 rm -f conftest.err conftest.i conftest.$ac_ext
7244 done
7245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7246 rm -f conftest.i conftest.err conftest.$ac_ext
7247 if $ac_preproc_ok; then :
7248 break
7251 done
7252 ac_cv_prog_CPP=$CPP
7255 CPP=$ac_cv_prog_CPP
7256 else
7257 ac_cv_prog_CPP=$CPP
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7260 $as_echo "$CPP" >&6; }
7261 ac_preproc_ok=false
7262 for ac_c_preproc_warn_flag in '' yes
7264 # Use a header file that comes with gcc, so configuring glibc
7265 # with a fresh cross-compiler works.
7266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7267 # <limits.h> exists even on freestanding compilers.
7268 # On the NeXT, cc -E runs the code through the compiler's parser,
7269 # not just through cpp. "Syntax error" is here to catch this case.
7270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7271 /* end confdefs.h. */
7272 #ifdef __STDC__
7273 # include <limits.h>
7274 #else
7275 # include <assert.h>
7276 #endif
7277 Syntax error
7278 _ACEOF
7279 if ac_fn_c_try_cpp "$LINENO"; then :
7281 else
7282 # Broken: fails on valid input.
7283 continue
7285 rm -f conftest.err conftest.i conftest.$ac_ext
7287 # OK, works on sane cases. Now check whether nonexistent headers
7288 # can be detected and how.
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #include <ac_nonexistent.h>
7292 _ACEOF
7293 if ac_fn_c_try_cpp "$LINENO"; then :
7294 # Broken: success on invalid input.
7295 continue
7296 else
7297 # Passes both tests.
7298 ac_preproc_ok=:
7299 break
7301 rm -f conftest.err conftest.i conftest.$ac_ext
7303 done
7304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7305 rm -f conftest.i conftest.err conftest.$ac_ext
7306 if $ac_preproc_ok; then :
7308 else
7309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7311 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7312 See \`config.log' for more details" "$LINENO" 5; }
7315 ac_ext=c
7316 ac_cpp='$CPP $CPPFLAGS'
7317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7323 $as_echo_n "checking for ANSI C header files... " >&6; }
7324 if ${ac_cv_header_stdc+:} false; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7329 #include <stdlib.h>
7330 #include <stdarg.h>
7331 #include <string.h>
7332 #include <float.h>
7335 main ()
7339 return 0;
7341 _ACEOF
7342 if ac_fn_c_try_compile "$LINENO"; then :
7343 ac_cv_header_stdc=yes
7344 else
7345 ac_cv_header_stdc=no
7347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7349 if test $ac_cv_header_stdc = yes; then
7350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7352 /* end confdefs.h. */
7353 #include <string.h>
7355 _ACEOF
7356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7357 $EGREP "memchr" >/dev/null 2>&1; then :
7359 else
7360 ac_cv_header_stdc=no
7362 rm -f conftest*
7366 if test $ac_cv_header_stdc = yes; then
7367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7369 /* end confdefs.h. */
7370 #include <stdlib.h>
7372 _ACEOF
7373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7374 $EGREP "free" >/dev/null 2>&1; then :
7376 else
7377 ac_cv_header_stdc=no
7379 rm -f conftest*
7383 if test $ac_cv_header_stdc = yes; then
7384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7385 if test "$cross_compiling" = yes; then :
7387 else
7388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7389 /* end confdefs.h. */
7390 #include <ctype.h>
7391 #include <stdlib.h>
7392 #if ((' ' & 0x0FF) == 0x020)
7393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7395 #else
7396 # define ISLOWER(c) \
7397 (('a' <= (c) && (c) <= 'i') \
7398 || ('j' <= (c) && (c) <= 'r') \
7399 || ('s' <= (c) && (c) <= 'z'))
7400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7401 #endif
7403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7405 main ()
7407 int i;
7408 for (i = 0; i < 256; i++)
7409 if (XOR (islower (i), ISLOWER (i))
7410 || toupper (i) != TOUPPER (i))
7411 return 2;
7412 return 0;
7414 _ACEOF
7415 if ac_fn_c_try_run "$LINENO"; then :
7417 else
7418 ac_cv_header_stdc=no
7420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7421 conftest.$ac_objext conftest.beam conftest.$ac_ext
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7427 $as_echo "$ac_cv_header_stdc" >&6; }
7428 if test $ac_cv_header_stdc = yes; then
7430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7436 inttypes.h stdint.h unistd.h
7437 do :
7438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7439 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7442 cat >>confdefs.h <<_ACEOF
7443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7444 _ACEOF
7448 done
7451 for ac_header in \
7452 AL/al.h \
7453 ApplicationServices/ApplicationServices.h \
7454 AudioToolbox/AudioConverter.h \
7455 AudioUnit/AudioUnit.h \
7456 AudioUnit/AudioComponent.h \
7457 CL/cl.h \
7458 Carbon/Carbon.h \
7459 CommonCrypto/CommonCryptor.h \
7460 CoreAudio/CoreAudio.h \
7461 DiskArbitration/DiskArbitration.h \
7462 EGL/egl.h \
7463 IOKit/IOKitLib.h \
7464 IOKit/hid/IOHIDLib.h \
7465 OpenAL/al.h \
7466 OpenCL/opencl.h \
7467 QuickTime/ImageCompression.h \
7468 Security/Security.h \
7469 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7470 SystemConfiguration/SCNetworkConfiguration.h \
7471 alias.h \
7472 arpa/inet.h \
7473 arpa/nameser.h \
7474 asm/types.h \
7475 asm/user.h \
7476 dirent.h \
7477 dlfcn.h \
7478 elf.h \
7479 float.h \
7480 fnmatch.h \
7481 getopt.h \
7482 gettext-po.h \
7483 grp.h \
7484 gsm.h \
7485 gsm/gsm.h \
7486 ieeefp.h \
7487 inet/mib2.h \
7488 kstat.h \
7489 libproc.h \
7490 link.h \
7491 linux/cdrom.h \
7492 linux/filter.h \
7493 linux/hdreg.h \
7494 linux/hidraw.h \
7495 linux/input.h \
7496 linux/ioctl.h \
7497 linux/joystick.h \
7498 linux/major.h \
7499 linux/param.h \
7500 linux/serial.h \
7501 linux/types.h \
7502 linux/ucdrom.h \
7503 lwp.h \
7504 mach-o/loader.h \
7505 mach/mach.h \
7506 machine/cpu.h \
7507 machine/sysarch.h \
7508 mntent.h \
7509 netdb.h \
7510 netinet/in.h \
7511 netinet/in_systm.h \
7512 netinet/tcp.h \
7513 netinet/tcp_fsm.h \
7514 pcap/pcap.h \
7515 poll.h \
7516 port.h \
7517 pthread.h \
7518 pwd.h \
7519 sasl/sasl.h \
7520 sched.h \
7521 scsi/scsi.h \
7522 scsi/scsi_ioctl.h \
7523 scsi/sg.h \
7524 stdint.h \
7525 stropts.h \
7526 sys/attr.h \
7527 sys/auxv.h \
7528 sys/cdio.h \
7529 sys/epoll.h \
7530 sys/event.h \
7531 sys/filio.h \
7532 sys/ioctl.h \
7533 sys/ipc.h \
7534 sys/link.h \
7535 sys/mman.h \
7536 sys/modem.h \
7537 sys/msg.h \
7538 sys/mtio.h \
7539 sys/param.h \
7540 sys/poll.h \
7541 sys/prctl.h \
7542 sys/protosw.h \
7543 sys/ptrace.h \
7544 sys/queue.h \
7545 sys/random.h \
7546 sys/resource.h \
7547 sys/scsiio.h \
7548 sys/shm.h \
7549 sys/signal.h \
7550 sys/socket.h \
7551 sys/socketvar.h \
7552 sys/sockio.h \
7553 sys/statvfs.h \
7554 sys/strtio.h \
7555 sys/syscall.h \
7556 sys/sysinfo.h \
7557 sys/tihdr.h \
7558 sys/time.h \
7559 sys/timeout.h \
7560 sys/times.h \
7561 sys/uio.h \
7562 sys/user.h \
7563 sys/utsname.h \
7564 sys/vnode.h \
7565 sys/wait.h \
7566 syscall.h \
7567 termios.h \
7568 unistd.h \
7569 utime.h \
7570 valgrind/memcheck.h \
7571 valgrind/valgrind.h
7573 do :
7574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7575 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7577 cat >>confdefs.h <<_ACEOF
7578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7579 _ACEOF
7583 done
7585 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7586 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7588 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7593 if test $ac_cv_header_sys_mkdev_h = no; then
7594 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7595 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7597 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7604 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7605 if ${ac_cv_header_stat_broken+:} false; then :
7606 $as_echo_n "(cached) " >&6
7607 else
7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7610 #include <sys/types.h>
7611 #include <sys/stat.h>
7613 #if defined S_ISBLK && defined S_IFDIR
7614 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7615 #endif
7617 #if defined S_ISBLK && defined S_IFCHR
7618 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7619 #endif
7621 #if defined S_ISLNK && defined S_IFREG
7622 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7623 #endif
7625 #if defined S_ISSOCK && defined S_IFREG
7626 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7627 #endif
7629 _ACEOF
7630 if ac_fn_c_try_compile "$LINENO"; then :
7631 ac_cv_header_stat_broken=no
7632 else
7633 ac_cv_header_stat_broken=yes
7635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7638 $as_echo "$ac_cv_header_stat_broken" >&6; }
7639 if test $ac_cv_header_stat_broken = yes; then
7641 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7647 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7648 do :
7649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7651 #ifdef HAVE_SYS_PARAM_H
7652 # include <sys/param.h>
7653 #endif
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7665 saved_sysctl_h_CFLAGS=$CFLAGS
7666 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7667 for ac_header in sys/sysctl.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7670 #ifdef HAVE_SYS_PARAM_H
7671 # include <sys/param.h>
7672 #endif
7674 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define HAVE_SYS_SYSCTL_H 1
7677 _ACEOF
7681 done
7683 CFLAGS=$saved_sysctl_h_CFLAGS
7685 for ac_header in \
7686 netinet/ip.h \
7687 net/if.h \
7688 net/if_arp.h \
7689 net/if_dl.h \
7690 net/if_types.h \
7691 net/route.h \
7692 netinet/if_ether.h \
7693 netinet/if_inarp.h \
7694 netinet/in_pcb.h \
7695 netinet/ip_icmp.h \
7696 netinet/ip_var.h \
7697 netinet/udp.h \
7698 netipx/ipx.h \
7699 sys/un.h \
7701 do :
7702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7704 #ifdef HAVE_SYS_SOCKET_H
7705 # include <sys/socket.h>
7706 #endif
7707 #ifdef HAVE_SYS_SOCKETVAR_H
7708 # include <sys/socketvar.h>
7709 #endif
7710 #ifdef HAVE_NET_ROUTE_H
7711 # include <net/route.h>
7712 #endif
7713 #ifdef HAVE_NETINET_IN_H
7714 # include <netinet/in.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IN_SYSTM_H
7717 # include <netinet/in_systm.h>
7718 #endif
7719 #ifdef HAVE_NET_IF_H
7720 # include <net/if.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IP_H
7723 # include <netinet/ip.h>
7724 #endif
7726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7727 cat >>confdefs.h <<_ACEOF
7728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 _ACEOF
7733 done
7736 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7737 do :
7738 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7739 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7740 #ifdef HAVE_ALIAS_H
7741 # include <alias.h>
7742 #endif
7743 #ifdef HAVE_SYS_SOCKET_H
7744 # include <sys/socket.h>
7745 #endif
7746 #ifdef HAVE_SYS_SOCKETVAR_H
7747 # include <sys/socketvar.h>
7748 #endif
7749 #ifdef HAVE_SYS_TIMEOUT_H
7750 # include <sys/timeout.h>
7751 #endif
7752 #ifdef HAVE_NETINET_IN_H
7753 # include <netinet/in.h>
7754 #endif
7755 #ifdef HAVE_NETINET_IN_SYSTM_H
7756 # include <netinet/in_systm.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IP_H
7759 # include <netinet/ip.h>
7760 #endif
7761 #ifdef HAVE_NETINET_IP_VAR_H
7762 # include <netinet/ip_var.h>
7763 #endif
7764 #ifdef HAVE_NETINET_IP_ICMP_H
7765 # include <netinet/ip_icmp.h>
7766 #endif
7767 #ifdef HAVE_NETINET_UDP_H
7768 # include <netinet/udp.h>
7769 #endif
7770 #ifdef HAVE_NETINET_TCP_H
7771 # include <netinet/tcp.h>
7772 #endif
7773 #ifdef HAVE_NETINET_TCP_TIMER_H
7774 #include <netinet/tcp_timer.h>
7775 #endif
7777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 _ACEOF
7784 done
7787 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7788 do :
7789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7791 #ifdef HAVE_ASM_TYPES_H
7792 # include <asm/types.h>
7793 #endif
7794 #ifdef HAVE_SYS_SOCKET_H
7795 # include <sys/socket.h>
7796 #endif
7797 #ifdef HAVE_LINUX_TYPES_H
7798 # include <linux/types.h>
7799 #endif
7801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7804 _ACEOF
7808 done
7811 for ac_header in resolv.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7814 #ifdef HAVE_SYS_SOCKET_H
7815 # include <sys/socket.h>
7816 #endif
7817 #ifdef HAVE_NETINET_IN_H
7818 # include <netinet/in.h>
7819 #endif
7820 #ifdef HAVE_ARPA_NAMESER_H
7821 # include <arpa/nameser.h>
7822 #endif
7824 if test "x$ac_cv_header_resolv_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_RESOLV_H 1
7827 _ACEOF
7831 done
7834 for ac_header in ifaddrs.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7838 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_IFADDRS_H 1
7841 _ACEOF
7845 done
7848 for ac_header in sys/ucontext.h
7849 do :
7850 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7852 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define HAVE_SYS_UCONTEXT_H 1
7855 _ACEOF
7859 done
7862 for ac_header in sys/thr.h
7863 do :
7864 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7865 #ifdef HAVE_SYS_UCONTEXT_H
7866 #include <sys/ucontext.h>
7867 #endif
7869 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7870 cat >>confdefs.h <<_ACEOF
7871 #define HAVE_SYS_THR_H 1
7872 _ACEOF
7876 done
7879 for ac_header in pthread_np.h
7880 do :
7881 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7882 #include <pthread.h>
7883 #endif
7885 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7886 cat >>confdefs.h <<_ACEOF
7887 #define HAVE_PTHREAD_NP_H 1
7888 _ACEOF
7892 done
7895 for ac_header in linux/videodev2.h
7896 do :
7897 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7898 #include <sys/time.h>
7899 #endif
7900 #include <sys/types.h>
7901 #ifdef HAVE_ASM_TYPES_H
7902 #include <asm/types.h>
7903 #endif
7905 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_LINUX_VIDEODEV2_H 1
7908 _ACEOF
7912 done
7915 for ac_header in libprocstat.h
7916 do :
7917 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7918 #include <sys/param.h>
7919 #endif
7920 #ifdef HAVE_SYS_QUEUE_H
7921 #include <sys/queue.h>
7922 #endif
7923 #ifdef HAVE_SYS_SOCKET_H
7924 #include <sys/socket.h>
7925 #endif
7927 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_LIBPROCSTAT_H 1
7930 _ACEOF
7934 done
7938 DLLFLAGS="-D_REENTRANT"
7940 LDDLLFLAGS=""
7942 LDEXECFLAGS=""
7944 TOP_INSTALL_LIB=""
7946 TOP_INSTALL_DEV=""
7948 WINELOADER_LDFLAGS=""
7950 WINEPRELOADER_LDFLAGS=""
7952 LIBEXT="so"
7953 DLLEXT=".so"
7954 # Extract the first word of "ldd", so it can be a program name with args.
7955 set dummy ldd; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_path_LDD+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 case $LDD in
7962 [\\/]* | ?:[\\/]*)
7963 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 as_dummy="/sbin:/usr/sbin:$PATH"
7968 for as_dir in $as_dummy
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7982 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7984 esac
7986 LDD=$ac_cv_path_LDD
7987 if test -n "$LDD"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7989 $as_echo "$LDD" >&6; }
7990 else
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7996 if test -n "$ac_tool_prefix"; then
7997 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7998 set dummy ${ac_tool_prefix}otool; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000 $as_echo_n "checking for $ac_word... " >&6; }
8001 if ${ac_cv_prog_OTOOL+:} false; then :
8002 $as_echo_n "(cached) " >&6
8003 else
8004 if test -n "$OTOOL"; then
8005 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8006 else
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 for as_dir in $PATH
8010 IFS=$as_save_IFS
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 break 2
8018 done
8019 done
8020 IFS=$as_save_IFS
8024 OTOOL=$ac_cv_prog_OTOOL
8025 if test -n "$OTOOL"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8027 $as_echo "$OTOOL" >&6; }
8028 else
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030 $as_echo "no" >&6; }
8035 if test -z "$ac_cv_prog_OTOOL"; then
8036 ac_ct_OTOOL=$OTOOL
8037 # Extract the first word of "otool", so it can be a program name with args.
8038 set dummy otool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 if test -n "$ac_ct_OTOOL"; then
8045 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8046 else
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 for as_dir in $PATH
8050 IFS=$as_save_IFS
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_ac_ct_OTOOL="otool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 break 2
8058 done
8059 done
8060 IFS=$as_save_IFS
8064 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8065 if test -n "$ac_ct_OTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8067 $as_echo "$ac_ct_OTOOL" >&6; }
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8073 if test "x$ac_ct_OTOOL" = x; then
8074 OTOOL="otool"
8075 else
8076 case $cross_compiling:$ac_tool_warned in
8077 yes:)
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8080 ac_tool_warned=yes ;;
8081 esac
8082 OTOOL=$ac_ct_OTOOL
8084 else
8085 OTOOL="$ac_cv_prog_OTOOL"
8088 if test -n "$ac_tool_prefix"; then
8089 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8090 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 $as_echo_n "checking for $ac_word... " >&6; }
8093 if ${ac_cv_prog_READELF+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 if test -n "$READELF"; then
8097 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8098 else
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 for as_dir in $PATH
8102 IFS=$as_save_IFS
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8106 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 break 2
8110 done
8111 done
8112 IFS=$as_save_IFS
8116 READELF=$ac_cv_prog_READELF
8117 if test -n "$READELF"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8119 $as_echo "$READELF" >&6; }
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8127 if test -z "$ac_cv_prog_READELF"; then
8128 ac_ct_READELF=$READELF
8129 # Extract the first word of "readelf", so it can be a program name with args.
8130 set dummy readelf; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132 $as_echo_n "checking for $ac_word... " >&6; }
8133 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 if test -n "$ac_ct_READELF"; then
8137 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8138 else
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 for as_dir in $PATH
8142 IFS=$as_save_IFS
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8146 ac_cv_prog_ac_ct_READELF="readelf"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 break 2
8150 done
8151 done
8152 IFS=$as_save_IFS
8156 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8157 if test -n "$ac_ct_READELF"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8159 $as_echo "$ac_ct_READELF" >&6; }
8160 else
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162 $as_echo "no" >&6; }
8165 if test "x$ac_ct_READELF" = x; then
8166 READELF="true"
8167 else
8168 case $cross_compiling:$ac_tool_warned in
8169 yes:)
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8172 ac_tool_warned=yes ;;
8173 esac
8174 READELF=$ac_ct_READELF
8176 else
8177 READELF="$ac_cv_prog_READELF"
8180 wine_rules_file=conf$$rules.make
8181 rm -f $wine_rules_file
8182 SUBDIRS=""
8184 DISABLED_SUBDIRS=""
8186 CONFIGURE_TARGETS=""
8189 wine_fn_append_file ()
8191 as_fn_append $1 " \\$as_nl $2"
8194 wine_fn_append_rule ()
8196 $as_echo "$1" >>$wine_rules_file
8199 wine_fn_config_makefile ()
8201 wine_fn_append_file SUBDIRS $1
8202 if eval test \"x\$"$2"\" = x"no"; then :
8203 wine_fn_append_file DISABLED_SUBDIRS $1
8207 wine_fn_config_symlink ()
8209 ac_links=$@
8210 wine_fn_append_rule \
8211 "$ac_links:
8212 @./config.status \$@"
8213 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8216 wine_binary="wine"
8217 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8218 WINELOADER_PROGRAMS="$wine_binary"
8220 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8222 case $host_os in
8223 cygwin*|mingw32*)
8224 if test -n "$ac_tool_prefix"; then
8225 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8226 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_DLLTOOL+:} false; then :
8230 $as_echo_n "(cached) " >&6
8231 else
8232 if test -n "$DLLTOOL"; then
8233 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8238 IFS=$as_save_IFS
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 break 2
8246 done
8247 done
8248 IFS=$as_save_IFS
8252 DLLTOOL=$ac_cv_prog_DLLTOOL
8253 if test -n "$DLLTOOL"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8255 $as_echo "$DLLTOOL" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8263 if test -z "$ac_cv_prog_DLLTOOL"; then
8264 ac_ct_DLLTOOL=$DLLTOOL
8265 # Extract the first word of "dlltool", so it can be a program name with args.
8266 set dummy dlltool; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 if test -n "$ac_ct_DLLTOOL"; then
8273 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8274 else
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in $PATH
8278 IFS=$as_save_IFS
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 break 2
8286 done
8287 done
8288 IFS=$as_save_IFS
8292 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8293 if test -n "$ac_ct_DLLTOOL"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8295 $as_echo "$ac_ct_DLLTOOL" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8301 if test "x$ac_ct_DLLTOOL" = x; then
8302 DLLTOOL="false"
8303 else
8304 case $cross_compiling:$ac_tool_warned in
8305 yes:)
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8308 ac_tool_warned=yes ;;
8309 esac
8310 DLLTOOL=$ac_ct_DLLTOOL
8312 else
8313 DLLTOOL="$ac_cv_prog_DLLTOOL"
8316 LIBEXT="dll"
8317 DLLEXT=""
8318 case $host_cpu in
8319 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8320 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8321 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8329 _ACEOF
8330 if ac_fn_c_try_link "$LINENO"; then :
8331 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8332 else
8333 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 CFLAGS=$ac_wine_try_cflags_saved
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8340 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8341 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8342 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8343 fi ;;
8344 esac
8345 enable_iphlpapi=${enable_iphlpapi:-no}
8346 enable_ws2_32=${enable_ws2_32:-no}
8347 enable_loader=${enable_loader:-no}
8348 enable_server=${enable_server:-no}
8349 with_x=${with_x:-no}
8350 with_pthread=${with_pthread:-no}
8353 darwin*|macosx*)
8354 ac_ext=m
8355 ac_cpp='$OBJCPP $CPPFLAGS'
8356 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8360 ac_ext=m
8361 ac_cpp='$OBJCPP $CPPFLAGS'
8362 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8363 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8364 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8365 if test -n "$ac_tool_prefix"; then
8366 for ac_prog in gcc objcc objc cc CC
8368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8371 $as_echo_n "checking for $ac_word... " >&6; }
8372 if ${ac_cv_prog_OBJC+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 if test -n "$OBJC"; then
8376 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8377 else
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 for as_dir in $PATH
8381 IFS=$as_save_IFS
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8385 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 break 2
8389 done
8390 done
8391 IFS=$as_save_IFS
8395 OBJC=$ac_cv_prog_OBJC
8396 if test -n "$OBJC"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8398 $as_echo "$OBJC" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 test -n "$OBJC" && break
8406 done
8408 if test -z "$OBJC"; then
8409 ac_ct_OBJC=$OBJC
8410 for ac_prog in gcc objcc objc cc CC
8412 # Extract the first word of "$ac_prog", so it can be a program name with args.
8413 set dummy $ac_prog; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 if test -n "$ac_ct_OBJC"; then
8420 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8421 else
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 for as_dir in $PATH
8425 IFS=$as_save_IFS
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431 break 2
8433 done
8434 done
8435 IFS=$as_save_IFS
8439 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8440 if test -n "$ac_ct_OBJC"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8442 $as_echo "$ac_ct_OBJC" >&6; }
8443 else
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8449 test -n "$ac_ct_OBJC" && break
8450 done
8452 if test "x$ac_ct_OBJC" = x; then
8453 OBJC="gcc"
8454 else
8455 case $cross_compiling:$ac_tool_warned in
8456 yes:)
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8459 ac_tool_warned=yes ;;
8460 esac
8461 OBJC=$ac_ct_OBJC
8465 # Provide some information about the compiler.
8466 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8467 set X $ac_compile
8468 ac_compiler=$2
8469 for ac_option in --version -v -V -qversion; do
8470 { { ac_try="$ac_compiler $ac_option >&5"
8471 case "(($ac_try" in
8472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8473 *) ac_try_echo=$ac_try;;
8474 esac
8475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8476 $as_echo "$ac_try_echo"; } >&5
8477 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8478 ac_status=$?
8479 if test -s conftest.err; then
8480 sed '10a\
8481 ... rest of stderr output deleted ...
8482 10q' conftest.err >conftest.er1
8483 cat conftest.er1 >&5
8485 rm -f conftest.er1 conftest.err
8486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8487 test $ac_status = 0; }
8488 done
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8491 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8492 if ${ac_cv_objc_compiler_gnu+:} false; then :
8493 $as_echo_n "(cached) " >&6
8494 else
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8499 main ()
8501 #ifndef __GNUC__
8502 choke me
8503 #endif
8506 return 0;
8508 _ACEOF
8509 if ac_fn_objc_try_compile "$LINENO"; then :
8510 ac_compiler_gnu=yes
8511 else
8512 ac_compiler_gnu=no
8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8519 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8520 if test $ac_compiler_gnu = yes; then
8521 GOBJC=yes
8522 else
8523 GOBJC=
8525 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8526 ac_save_OBJCFLAGS=$OBJCFLAGS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8528 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8529 if ${ac_cv_prog_objc_g+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_save_objc_werror_flag=$ac_objc_werror_flag
8533 ac_objc_werror_flag=yes
8534 ac_cv_prog_objc_g=no
8535 OBJCFLAGS="-g"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8540 main ()
8544 return 0;
8546 _ACEOF
8547 if ac_fn_objc_try_compile "$LINENO"; then :
8548 ac_cv_prog_objc_g=yes
8549 else
8550 OBJCFLAGS=""
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8555 main ()
8559 return 0;
8561 _ACEOF
8562 if ac_fn_objc_try_compile "$LINENO"; then :
8564 else
8565 ac_objc_werror_flag=$ac_save_objc_werror_flag
8566 OBJCFLAGS="-g"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8571 main ()
8575 return 0;
8577 _ACEOF
8578 if ac_fn_objc_try_compile "$LINENO"; then :
8579 ac_cv_prog_objc_g=yes
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 ac_objc_werror_flag=$ac_save_objc_werror_flag
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8589 $as_echo "$ac_cv_prog_objc_g" >&6; }
8590 if test "$ac_test_OBJCFLAGS" = set; then
8591 OBJCFLAGS=$ac_save_OBJCFLAGS
8592 elif test $ac_cv_prog_objc_g = yes; then
8593 if test "$GOBJC" = yes; then
8594 OBJCFLAGS="-g -O2"
8595 else
8596 OBJCFLAGS="-g"
8598 else
8599 if test "$GOBJC" = yes; then
8600 OBJCFLAGS="-O2"
8601 else
8602 OBJCFLAGS=
8605 ac_ext=m
8606 ac_cpp='$OBJCPP $CPPFLAGS'
8607 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8612 ac_ext=m
8613 ac_cpp='$OBJCPP $CPPFLAGS'
8614 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8618 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8619 if test -z "$OBJCPP"; then
8620 if ${ac_cv_prog_OBJCPP+:} false; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 # Double quotes because OBJCPP needs to be expanded
8624 for OBJCPP in "$OBJC -E" "/lib/cpp"
8626 ac_preproc_ok=false
8627 for ac_objc_preproc_warn_flag in '' yes
8629 # Use a header file that comes with gcc, so configuring glibc
8630 # with a fresh cross-compiler works.
8631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8632 # <limits.h> exists even on freestanding compilers.
8633 # On the NeXT, cc -E runs the code through the compiler's parser,
8634 # not just through cpp. "Syntax error" is here to catch this case.
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 #ifdef __STDC__
8638 # include <limits.h>
8639 #else
8640 # include <assert.h>
8641 #endif
8642 Syntax error
8643 _ACEOF
8644 if ac_fn_objc_try_cpp "$LINENO"; then :
8646 else
8647 # Broken: fails on valid input.
8648 continue
8650 rm -f conftest.err conftest.i conftest.$ac_ext
8652 # OK, works on sane cases. Now check whether nonexistent headers
8653 # can be detected and how.
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 #include <ac_nonexistent.h>
8657 _ACEOF
8658 if ac_fn_objc_try_cpp "$LINENO"; then :
8659 # Broken: success on invalid input.
8660 continue
8661 else
8662 # Passes both tests.
8663 ac_preproc_ok=:
8664 break
8666 rm -f conftest.err conftest.i conftest.$ac_ext
8668 done
8669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8670 rm -f conftest.i conftest.err conftest.$ac_ext
8671 if $ac_preproc_ok; then :
8672 break
8675 done
8676 ac_cv_prog_OBJCPP=$OBJCPP
8679 OBJCPP=$ac_cv_prog_OBJCPP
8680 else
8681 ac_cv_prog_OBJCPP=$OBJCPP
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8684 $as_echo "$OBJCPP" >&6; }
8685 ac_preproc_ok=false
8686 for ac_objc_preproc_warn_flag in '' yes
8688 # Use a header file that comes with gcc, so configuring glibc
8689 # with a fresh cross-compiler works.
8690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8691 # <limits.h> exists even on freestanding compilers.
8692 # On the NeXT, cc -E runs the code through the compiler's parser,
8693 # not just through cpp. "Syntax error" is here to catch this case.
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 #ifdef __STDC__
8697 # include <limits.h>
8698 #else
8699 # include <assert.h>
8700 #endif
8701 Syntax error
8702 _ACEOF
8703 if ac_fn_objc_try_cpp "$LINENO"; then :
8705 else
8706 # Broken: fails on valid input.
8707 continue
8709 rm -f conftest.err conftest.i conftest.$ac_ext
8711 # OK, works on sane cases. Now check whether nonexistent headers
8712 # can be detected and how.
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 #include <ac_nonexistent.h>
8716 _ACEOF
8717 if ac_fn_objc_try_cpp "$LINENO"; then :
8718 # Broken: success on invalid input.
8719 continue
8720 else
8721 # Passes both tests.
8722 ac_preproc_ok=:
8723 break
8725 rm -f conftest.err conftest.i conftest.$ac_ext
8727 done
8728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8729 rm -f conftest.i conftest.err conftest.$ac_ext
8730 if $ac_preproc_ok; then :
8732 else
8733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8735 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8736 See \`config.log' for more details" "$LINENO" 5; }
8739 ac_ext=m
8740 ac_cpp='$OBJCPP $CPPFLAGS'
8741 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8742 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8743 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8746 for ac_header in Metal/Metal.h
8747 do :
8748 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8749 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8750 cat >>confdefs.h <<_ACEOF
8751 #define HAVE_METAL_METAL_H 1
8752 _ACEOF
8756 done
8758 ac_ext=c
8759 ac_cpp='$CPP $CPPFLAGS'
8760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8764 LIBEXT="dylib"
8765 DLLFLAGS="$DLLFLAGS -fPIC"
8766 LDDLLFLAGS="-fPIC"
8767 COREFOUNDATION_LIBS="-framework CoreFoundation"
8769 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8771 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8773 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8775 CORESERVICES_LIBS="-framework CoreServices"
8777 APPKIT_LIBS="-framework AppKit"
8779 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8782 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8784 wine_can_build_preloader=yes
8785 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"
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8788 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__no_new_main__e__main=yes
8799 else
8800 ac_cv_cflags__Wl__no_new_main__e__main=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8807 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8808 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8809 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8811 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8812 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_wine_try_cflags_saved=$CFLAGS
8816 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8820 _ACEOF
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8823 else
8824 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 CFLAGS=$ac_wine_try_cflags_saved
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8831 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8832 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8833 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8834 else
8835 { $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
8836 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8837 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8848 else
8849 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $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
8856 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8857 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8858 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8859 else
8860 wine_can_build_preloader=no
8863 else
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8865 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8866 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_wine_try_cflags_saved=$CFLAGS
8870 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 int main(int argc, char **argv) { return 0; }
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8877 else
8878 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8885 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8886 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8887 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8890 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8891 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 ac_wine_try_cflags_saved=$CFLAGS
8895 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8898 int main(int argc, char **argv) { return 0; }
8899 _ACEOF
8900 if ac_fn_c_try_link "$LINENO"; then :
8901 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8902 else
8903 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 CFLAGS=$ac_wine_try_cflags_saved
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8910 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8911 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8912 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8913 else
8914 wine_can_build_preloader=no
8918 if test "$wine_can_build_preloader" = "yes"
8919 then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8921 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8922 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 ac_wine_try_cflags_saved=$CFLAGS
8926 CFLAGS="$CFLAGS -Wl,-no_pie"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8929 int main(int argc, char **argv) { return 0; }
8930 _ACEOF
8931 if ac_fn_c_try_link "$LINENO"; then :
8932 ac_cv_cflags__Wl__no_pie=yes
8933 else
8934 ac_cv_cflags__Wl__no_pie=no
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 CFLAGS=$ac_wine_try_cflags_saved
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8941 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8942 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8943 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8945 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8946 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8947 else
8948 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8951 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8952 then
8953 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8956 if test "$ac_cv_header_Security_Security_h" = "yes"
8957 then
8958 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $SECURITY_LIBS"
8962 for ac_func in SSLCopyPeerCertificates
8963 do :
8964 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8965 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8968 _ACEOF
8971 done
8973 LIBS="$ac_save_LIBS"
8975 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8976 then
8977 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8978 then
8979 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8981 else
8982 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8985 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8986 ac_save_LIBS="$LIBS"
8987 LIBS="$LIBS $COREAUDIO_LIBS"
8988 for ac_func in AUGraphAddNode
8989 do :
8990 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8991 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8992 cat >>confdefs.h <<_ACEOF
8993 #define HAVE_AUGRAPHADDNODE 1
8994 _ACEOF
8997 done
8999 LIBS="$ac_save_LIBS"
9001 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9002 then
9003 OPENAL_LIBS="-framework OpenAL"
9006 cat >>confdefs.h <<_ACEOF
9007 #define HAVE_OPENAL 1
9008 _ACEOF
9010 ac_cv_lib_openal=yes
9012 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9013 then
9014 OPENCL_LIBS="-framework OpenCL"
9016 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9018 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9019 then
9020 ac_save_LIBS="$LIBS"
9021 LIBS="$LIBS $IOKIT_LIBS"
9022 for ac_func in IOHIDManagerCreate
9023 do :
9024 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9025 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9026 cat >>confdefs.h <<_ACEOF
9027 #define HAVE_IOHIDMANAGERCREATE 1
9028 _ACEOF
9031 done
9033 LIBS="$ac_save_LIBS"
9036 if test "x$with_quicktime" != "xno"
9037 then
9038 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9039 then
9040 ac_save_LIBS="$LIBS"
9041 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9043 $as_echo_n "checking for the QuickTime framework... " >&6; }
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <QuickTime/ImageCompression.h>
9048 main ()
9050 CodecManagerVersion(NULL);
9052 return 0;
9054 _ACEOF
9055 if ac_fn_c_try_link "$LINENO"; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9057 $as_echo "yes" >&6; }
9058 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9060 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9061 else
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9064 ac_cv_header_QuickTime_ImageCompression_h=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS="$ac_save_LIBS"
9071 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9072 case "x$with_quicktime" in
9073 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9074 xno) ;;
9075 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9076 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9077 esac
9081 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9082 then
9083 CARBON_LIBS="-framework Carbon"
9086 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9087 then
9088 METAL_LIBS="-framework Metal -framework QuartzCore"
9092 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9093 then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9095 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9096 ac_ext=m
9097 ac_cpp='$OBJCPP $CPPFLAGS'
9098 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9099 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9100 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9104 #include <Metal/Metal.h>
9106 main ()
9108 id<MTLDevice> device; device.registryID;
9110 return 0;
9112 _ACEOF
9113 if ac_fn_objc_try_compile "$LINENO"; then :
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9115 $as_echo "yes" >&6; }
9117 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9119 else
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9121 $as_echo "no" >&6; }
9123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9124 ac_ext=c
9125 ac_cpp='$CPP $CPPFLAGS'
9126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9132 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9133 then
9134 ac_save_LIBS="$LIBS"
9135 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9136 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9137 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9138 enable_winemac_drv=${enable_winemac_drv:-yes}
9141 LIBS="$ac_save_LIBS"
9144 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9146 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9148 WINELOADER_DEPENDS="wine_info.plist"
9150 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9153 linux-android*)
9154 DLLFLAGS="$DLLFLAGS -fPIC"
9155 LDDLLFLAGS="-fPIC"
9156 LDEXECFLAGS="-Wl,-pie"
9157 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9159 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9160 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9161 $as_echo_n "(cached) " >&6
9162 else
9163 ac_wine_try_cflags_saved=$CFLAGS
9164 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9167 int main(int argc, char **argv) { return 0; }
9168 _ACEOF
9169 if ac_fn_c_try_link "$LINENO"; then :
9170 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9171 else
9172 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9174 rm -f core conftest.err conftest.$ac_objext \
9175 conftest$ac_exeext conftest.$ac_ext
9176 CFLAGS=$ac_wine_try_cflags_saved
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9179 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9180 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9181 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9183 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9186 $as_echo_n "checking for -lEGL... " >&6; }
9187 if ${ac_cv_lib_soname_EGL+:} false; then :
9188 $as_echo_n "(cached) " >&6
9189 else
9190 ac_check_soname_save_LIBS=$LIBS
9191 LIBS="-lEGL $LIBS"
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char eglGetProcAddress ();
9203 main ()
9205 return eglGetProcAddress ();
9207 return 0;
9209 _ACEOF
9210 if ac_fn_c_try_link "$LINENO"; then :
9211 case "$LIBEXT" in
9212 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9213 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'` ;;
9214 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9215 if ${ac_cv_lib_soname_EGL:+false} :; then :
9216 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9217 fi ;;
9218 esac
9219 else
9220 ac_cv_lib_soname_EGL=
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9224 LIBS=$ac_check_soname_save_LIBS
9226 if ${ac_cv_lib_soname_EGL:+false} :; then :
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9228 $as_echo "not found" >&6; }
9230 else
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9232 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9234 cat >>confdefs.h <<_ACEOF
9235 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9236 _ACEOF
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9241 $as_echo_n "checking for -lGLESv2... " >&6; }
9242 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9243 $as_echo_n "(cached) " >&6
9244 else
9245 ac_check_soname_save_LIBS=$LIBS
9246 LIBS="-lGLESv2 $LIBS"
9247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9250 /* Override any GCC internal prototype to avoid an error.
9251 Use char because int might match the return type of a GCC
9252 builtin and then its argument prototype would still apply. */
9253 #ifdef __cplusplus
9254 extern "C"
9255 #endif
9256 char glFlush ();
9258 main ()
9260 return glFlush ();
9262 return 0;
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 case "$LIBEXT" in
9267 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9268 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'` ;;
9269 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9270 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9271 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9272 fi ;;
9273 esac
9274 else
9275 ac_cv_lib_soname_GLESv2=
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 LIBS=$ac_check_soname_save_LIBS
9281 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9283 $as_echo "not found" >&6; }
9285 else
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9287 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9289 cat >>confdefs.h <<_ACEOF
9290 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9291 _ACEOF
9296 if test "x$exec_prefix" = xNONE
9297 then
9298 case $host_cpu in
9299 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9300 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9301 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9302 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9303 esac
9308 case $host_cpu in
9309 *i[3456789]86*)
9310 DLLFLAGS="$DLLFLAGS -fno-PIC"
9311 LDDLLFLAGS="-fno-PIC"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9313 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9314 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_wine_try_cflags_saved=$CFLAGS
9318 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9321 int main(int argc, char **argv) { return 0; }
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9325 else
9326 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 CFLAGS=$ac_wine_try_cflags_saved
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9333 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9334 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9335 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9339 DLLFLAGS="$DLLFLAGS -fPIC"
9340 LDDLLFLAGS="-fPIC" ;;
9341 esac
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9343 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9344 if ${ac_cv_c_dll_gnuelf+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_wine_try_cflags_saved=$CFLAGS
9348 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9351 void myfunc() {}
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9355 else
9356 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 CFLAGS=$ac_wine_try_cflags_saved
9361 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9362 ac_cv_c_dll_gnuelf="yes"
9363 else
9364 ac_cv_c_dll_gnuelf="no"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9368 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9369 if test "$ac_cv_c_dll_gnuelf" = "yes"
9370 then
9371 LIBWINE_LDFLAGS="-shared"
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9373 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9374 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_wine_try_cflags_saved=$CFLAGS
9378 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9381 int main(int argc, char **argv) { return 0; }
9382 _ACEOF
9383 if ac_fn_c_try_link "$LINENO"; then :
9384 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9385 else
9386 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 CFLAGS=$ac_wine_try_cflags_saved
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9393 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9394 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9395 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9396 else
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9398 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9399 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9400 $as_echo_n "(cached) " >&6
9401 else
9402 ac_wine_try_cflags_saved=$CFLAGS
9403 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9406 int main(int argc, char **argv) { return 0; }
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9410 else
9411 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 CFLAGS=$ac_wine_try_cflags_saved
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9418 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9419 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9420 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9424 echo '{ global: *; };' >conftest.map
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9426 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9427 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9428 $as_echo_n "(cached) " >&6
9429 else
9430 ac_wine_try_cflags_saved=$CFLAGS
9431 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9434 int main(int argc, char **argv) { return 0; }
9435 _ACEOF
9436 if ac_fn_c_try_link "$LINENO"; then :
9437 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9438 else
9439 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 CFLAGS=$ac_wine_try_cflags_saved
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9446 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9447 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9448 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9450 rm -f conftest.map
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9453 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9454 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_wine_try_cflags_saved=$CFLAGS
9458 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9461 int main(int argc, char **argv) { return 0; }
9462 _ACEOF
9463 if ac_fn_c_try_link "$LINENO"; then :
9464 ac_cv_cflags__Wl___export_dynamic=yes
9465 else
9466 ac_cv_cflags__Wl___export_dynamic=no
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 CFLAGS=$ac_wine_try_cflags_saved
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9473 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9474 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9475 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9477 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9479 case $host_cpu in
9480 *i[3456789]86* | x86_64 | *aarch64*)
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9482 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9483 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_wine_try_cflags_saved=$CFLAGS
9487 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9490 int main(int argc, char **argv) { return 0; }
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9494 else
9495 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 CFLAGS=$ac_wine_try_cflags_saved
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9502 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9503 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9504 case $host_os in
9505 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9506 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9507 esac
9508 else
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9510 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9511 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 ac_wine_try_cflags_saved=$CFLAGS
9515 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9518 int main(int argc, char **argv) { return 0; }
9519 _ACEOF
9520 if ac_fn_c_try_link "$LINENO"; then :
9521 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9522 else
9523 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9525 rm -f core conftest.err conftest.$ac_objext \
9526 conftest$ac_exeext conftest.$ac_ext
9527 CFLAGS=$ac_wine_try_cflags_saved
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9530 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9531 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9532 case $host_os in
9533 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9534 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9535 esac
9537 # Extract the first word of "prelink", so it can be a program name with args.
9538 set dummy prelink; ac_word=$2
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9540 $as_echo_n "checking for $ac_word... " >&6; }
9541 if ${ac_cv_path_PRELINK+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543 else
9544 case $PRELINK in
9545 [\\/]* | ?:[\\/]*)
9546 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9550 for as_dir in /sbin /usr/sbin $PATH
9552 IFS=$as_save_IFS
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9556 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9558 break 2
9560 done
9561 done
9562 IFS=$as_save_IFS
9564 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9566 esac
9568 PRELINK=$ac_cv_path_PRELINK
9569 if test -n "$PRELINK"; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9571 $as_echo "$PRELINK" >&6; }
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9574 $as_echo "no" >&6; }
9578 if test "x$PRELINK" = xfalse
9579 then
9580 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9584 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9585 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 ac_wine_try_cflags_saved=$CFLAGS
9589 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9592 int main(int argc, char **argv) { return 0; }
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9596 else
9597 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 CFLAGS=$ac_wine_try_cflags_saved
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9604 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9605 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9606 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9609 esac
9611 else
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9613 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9614 if ${ac_cv_c_dll_unixware+:} false; then :
9615 $as_echo_n "(cached) " >&6
9616 else
9617 ac_wine_try_cflags_saved=$CFLAGS
9618 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9621 void myfunc() {}
9622 _ACEOF
9623 if ac_fn_c_try_link "$LINENO"; then :
9624 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9625 else
9626 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9628 rm -f core conftest.err conftest.$ac_objext \
9629 conftest$ac_exeext conftest.$ac_ext
9630 CFLAGS=$ac_wine_try_cflags_saved
9631 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9632 ac_cv_c_dll_unixware="yes"
9633 else
9634 ac_cv_c_dll_unixware="no"
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9638 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9639 if test "$ac_cv_c_dll_unixware" = "yes"
9640 then
9641 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9644 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9646 LIBWINE_DEPENDS="wine.map"
9648 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9650 esac
9652 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9653 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9654 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9655 enable_winemac_drv=${enable_winemac_drv:-no}
9656 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9659 if test "x$with_mingw" != xno
9660 then
9661 case "x$with_mingw" in
9662 x|xyes) case "$host_cpu" in
9663 aarch64*)
9664 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9665 arm*)
9666 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9667 i[3456789]86*)
9668 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
9669 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9670 mingw32-gcc clang" ;;
9671 x86_64)
9672 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
9673 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9675 ac_prefix_list="" ;;
9676 esac
9677 for ac_prog in $ac_prefix_list
9679 # Extract the first word of "$ac_prog", so it can be a program name with args.
9680 set dummy $ac_prog; ac_word=$2
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9682 $as_echo_n "checking for $ac_word... " >&6; }
9683 if ${ac_cv_prog_CROSSCC+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 if test -n "$CROSSCC"; then
9687 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9688 else
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9690 for as_dir in $PATH
9692 IFS=$as_save_IFS
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9696 ac_cv_prog_CROSSCC="$ac_prog"
9697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9698 break 2
9700 done
9701 done
9702 IFS=$as_save_IFS
9706 CROSSCC=$ac_cv_prog_CROSSCC
9707 if test -n "$CROSSCC"; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9709 $as_echo "$CROSSCC" >&6; }
9710 else
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 $as_echo "no" >&6; }
9716 test -n "$CROSSCC" && break
9717 done
9718 test -n "$CROSSCC" || CROSSCC="false"
9720 *) CROSSCC=$with_mingw ;;
9721 esac
9722 if test "$CROSSCC" != "false"
9723 then
9724 ac_save_CC="$CC"
9725 saved_CFLAGS=$CFLAGS
9726 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9728 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9732 CC="$CROSSCC"
9733 CFLAGS=$CROSSCFLAGS
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9735 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9736 if ${wine_cv_crosscc+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9743 main ()
9747 return 0;
9749 _ACEOF
9750 if ac_fn_c_try_compile "$LINENO"; then :
9751 wine_cv_crosscc=yes
9752 else
9753 wine_cv_crosscc=no
9755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9758 $as_echo "$wine_cv_crosscc" >&6; }
9759 if test $wine_cv_crosscc = yes
9760 then
9761 set x $CROSSCC
9762 shift
9763 while test $# -ge 1
9765 case "$1" in
9766 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9767 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9768 esac
9769 shift
9770 done
9772 llvm_target=$CROSSTARGET
9773 llvm_cflags="-fuse-ld=lld"
9774 if test -z "$llvm_target"
9775 then
9776 case $host_cpu in
9777 *i[3456789]86*) llvm_target=i686-windows ;;
9778 *) llvm_target=$host_cpu-windows ;;
9779 esac
9781 case $llvm_target in
9782 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9783 esac
9784 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9786 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9787 if eval \${$as_ac_var+:} false; then :
9788 $as_echo_n "(cached) " >&6
9789 else
9790 ac_wine_try_cflags_saved=$CFLAGS
9791 ac_wine_try_cflags_saved_cc=$CC
9792 ac_wine_try_cflags_saved_exeext=$ac_exeext
9793 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9794 CC="$CROSSCC"
9795 ac_exeext=".exe"
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9798 int __cdecl mainCRTStartup(void) { return 0; }
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 eval "$as_ac_var=yes"
9802 else
9803 eval "$as_ac_var=no"
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 CFLAGS=$ac_wine_try_cflags_saved
9808 CC=$ac_wine_try_cflags_saved_cc
9809 ac_exeext=$ac_wine_try_cflags_saved_exeext
9811 eval ac_res=\$$as_ac_var
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9813 $as_echo "$ac_res" >&6; }
9814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9815 CROSSTARGET=$llvm_target
9816 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9817 DELAYLOADFLAG="-Wl,-delayload,"
9819 CFLAGS="$CFLAGS $llvm_cflags"
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9823 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9824 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_wine_try_cflags_saved=$CFLAGS
9828 ac_wine_try_cflags_saved_cc=$CC
9829 ac_wine_try_cflags_saved_exeext=$ac_exeext
9830 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9831 CC="$CROSSCC"
9832 ac_exeext=".exe"
9833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9834 /* end confdefs.h. */
9835 int __cdecl mainCRTStartup(void) { return 0; }
9836 _ACEOF
9837 if ac_fn_c_try_link "$LINENO"; then :
9838 ac_cv_crosscflags__fno_strict_aliasing=yes
9839 else
9840 ac_cv_crosscflags__fno_strict_aliasing=no
9842 rm -f core conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 CFLAGS=$ac_wine_try_cflags_saved
9845 CC=$ac_wine_try_cflags_saved_cc
9846 ac_exeext=$ac_wine_try_cflags_saved_exeext
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9849 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9850 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9851 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9854 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9855 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9856 $as_echo_n "(cached) " >&6
9857 else
9858 ac_wine_try_cflags_saved=$CFLAGS
9859 ac_wine_try_cflags_saved_cc=$CC
9860 ac_wine_try_cflags_saved_exeext=$ac_exeext
9861 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9862 CC="$CROSSCC"
9863 ac_exeext=".exe"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9866 int __cdecl mainCRTStartup(void) { return 0; }
9867 _ACEOF
9868 if ac_fn_c_try_link "$LINENO"; then :
9869 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9870 else
9871 ac_cv_crosscflags__Werror_unknown_warning_option=no
9873 rm -f core conftest.err conftest.$ac_objext \
9874 conftest$ac_exeext conftest.$ac_ext
9875 CFLAGS=$ac_wine_try_cflags_saved
9876 CC=$ac_wine_try_cflags_saved_cc
9877 ac_exeext=$ac_wine_try_cflags_saved_exeext
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9880 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9881 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9882 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9885 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9886 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_wine_try_cflags_saved=$CFLAGS
9890 ac_wine_try_cflags_saved_cc=$CC
9891 ac_wine_try_cflags_saved_exeext=$ac_exeext
9892 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9893 CC="$CROSSCC"
9894 ac_exeext=".exe"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9897 int __cdecl mainCRTStartup(void) { return 0; }
9898 _ACEOF
9899 if ac_fn_c_try_link "$LINENO"; then :
9900 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9901 else
9902 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 CFLAGS=$ac_wine_try_cflags_saved
9907 CC=$ac_wine_try_cflags_saved_cc
9908 ac_exeext=$ac_wine_try_cflags_saved_exeext
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9911 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9912 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9913 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9916 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9917 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_wine_try_cflags_saved=$CFLAGS
9921 ac_wine_try_cflags_saved_cc=$CC
9922 ac_wine_try_cflags_saved_exeext=$ac_exeext
9923 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9924 CC="$CROSSCC"
9925 ac_exeext=".exe"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 int __cdecl mainCRTStartup(void) { return 0; }
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"; then :
9931 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9932 else
9933 ac_cv_crosscflags__Wdeclaration_after_statement=no
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 CFLAGS=$ac_wine_try_cflags_saved
9938 CC=$ac_wine_try_cflags_saved_cc
9939 ac_exeext=$ac_wine_try_cflags_saved_exeext
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9942 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9943 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9944 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9947 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9948 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9949 $as_echo_n "(cached) " >&6
9950 else
9951 ac_wine_try_cflags_saved=$CFLAGS
9952 ac_wine_try_cflags_saved_cc=$CC
9953 ac_wine_try_cflags_saved_exeext=$ac_exeext
9954 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9955 CC="$CROSSCC"
9956 ac_exeext=".exe"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9959 int __cdecl mainCRTStartup(void) { return 0; }
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 ac_cv_crosscflags__Wempty_body=yes
9963 else
9964 ac_cv_crosscflags__Wempty_body=no
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 CFLAGS=$ac_wine_try_cflags_saved
9969 CC=$ac_wine_try_cflags_saved_cc
9970 ac_exeext=$ac_wine_try_cflags_saved_exeext
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9973 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9974 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9975 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9978 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9979 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9980 $as_echo_n "(cached) " >&6
9981 else
9982 ac_wine_try_cflags_saved=$CFLAGS
9983 ac_wine_try_cflags_saved_cc=$CC
9984 ac_wine_try_cflags_saved_exeext=$ac_exeext
9985 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9986 CC="$CROSSCC"
9987 ac_exeext=".exe"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9990 int __cdecl mainCRTStartup(void) { return 0; }
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 ac_cv_crosscflags__Wignored_qualifiers=yes
9994 else
9995 ac_cv_crosscflags__Wignored_qualifiers=no
9997 rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999 CFLAGS=$ac_wine_try_cflags_saved
10000 CC=$ac_wine_try_cflags_saved_cc
10001 ac_exeext=$ac_wine_try_cflags_saved_exeext
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10004 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10005 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10006 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10009 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10010 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10011 $as_echo_n "(cached) " >&6
10012 else
10013 ac_wine_try_cflags_saved=$CFLAGS
10014 ac_wine_try_cflags_saved_cc=$CC
10015 ac_wine_try_cflags_saved_exeext=$ac_exeext
10016 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10017 CC="$CROSSCC"
10018 ac_exeext=".exe"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10021 int __cdecl mainCRTStartup(void) { return 0; }
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"; then :
10024 ac_cv_crosscflags__Winit_self=yes
10025 else
10026 ac_cv_crosscflags__Winit_self=no
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 CFLAGS=$ac_wine_try_cflags_saved
10031 CC=$ac_wine_try_cflags_saved_cc
10032 ac_exeext=$ac_wine_try_cflags_saved_exeext
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10035 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10036 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10037 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10040 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10041 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10042 $as_echo_n "(cached) " >&6
10043 else
10044 ac_wine_try_cflags_saved=$CFLAGS
10045 ac_wine_try_cflags_saved_cc=$CC
10046 ac_wine_try_cflags_saved_exeext=$ac_exeext
10047 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10048 CC="$CROSSCC"
10049 ac_exeext=".exe"
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10052 int __cdecl mainCRTStartup(void) { return 0; }
10053 _ACEOF
10054 if ac_fn_c_try_link "$LINENO"; then :
10055 ac_cv_crosscflags__Wpacked_not_aligned=yes
10056 else
10057 ac_cv_crosscflags__Wpacked_not_aligned=no
10059 rm -f core conftest.err conftest.$ac_objext \
10060 conftest$ac_exeext conftest.$ac_ext
10061 CFLAGS=$ac_wine_try_cflags_saved
10062 CC=$ac_wine_try_cflags_saved_cc
10063 ac_exeext=$ac_wine_try_cflags_saved_exeext
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10066 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10067 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10068 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10071 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10072 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10073 $as_echo_n "(cached) " >&6
10074 else
10075 ac_wine_try_cflags_saved=$CFLAGS
10076 ac_wine_try_cflags_saved_cc=$CC
10077 ac_wine_try_cflags_saved_exeext=$ac_exeext
10078 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10079 CC="$CROSSCC"
10080 ac_exeext=".exe"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 int __cdecl mainCRTStartup(void) { return 0; }
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"; then :
10086 ac_cv_crosscflags__Wpragma_pack=yes
10087 else
10088 ac_cv_crosscflags__Wpragma_pack=no
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 CFLAGS=$ac_wine_try_cflags_saved
10093 CC=$ac_wine_try_cflags_saved_cc
10094 ac_exeext=$ac_wine_try_cflags_saved_exeext
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10097 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10098 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10099 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10102 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10103 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10104 $as_echo_n "(cached) " >&6
10105 else
10106 ac_wine_try_cflags_saved=$CFLAGS
10107 ac_wine_try_cflags_saved_cc=$CC
10108 ac_wine_try_cflags_saved_exeext=$ac_exeext
10109 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10110 CC="$CROSSCC"
10111 ac_exeext=".exe"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10114 int __cdecl mainCRTStartup(void) { return 0; }
10115 _ACEOF
10116 if ac_fn_c_try_link "$LINENO"; then :
10117 ac_cv_crosscflags__Wshift_overflow_2=yes
10118 else
10119 ac_cv_crosscflags__Wshift_overflow_2=no
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 CFLAGS=$ac_wine_try_cflags_saved
10124 CC=$ac_wine_try_cflags_saved_cc
10125 ac_exeext=$ac_wine_try_cflags_saved_exeext
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10128 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10129 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10130 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10133 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10134 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 ac_wine_try_cflags_saved=$CFLAGS
10138 ac_wine_try_cflags_saved_cc=$CC
10139 ac_wine_try_cflags_saved_exeext=$ac_exeext
10140 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10141 CC="$CROSSCC"
10142 ac_exeext=".exe"
10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10145 int __cdecl mainCRTStartup(void) { return 0; }
10146 _ACEOF
10147 if ac_fn_c_try_link "$LINENO"; then :
10148 ac_cv_crosscflags__Wstrict_prototypes=yes
10149 else
10150 ac_cv_crosscflags__Wstrict_prototypes=no
10152 rm -f core conftest.err conftest.$ac_objext \
10153 conftest$ac_exeext conftest.$ac_ext
10154 CFLAGS=$ac_wine_try_cflags_saved
10155 CC=$ac_wine_try_cflags_saved_cc
10156 ac_exeext=$ac_wine_try_cflags_saved_exeext
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10159 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10160 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10161 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10164 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10165 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 ac_wine_try_cflags_saved=$CFLAGS
10169 ac_wine_try_cflags_saved_cc=$CC
10170 ac_wine_try_cflags_saved_exeext=$ac_exeext
10171 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10172 CC="$CROSSCC"
10173 ac_exeext=".exe"
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10176 int __cdecl mainCRTStartup(void) { return 0; }
10177 _ACEOF
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 ac_cv_crosscflags__Wtype_limits=yes
10180 else
10181 ac_cv_crosscflags__Wtype_limits=no
10183 rm -f core conftest.err conftest.$ac_objext \
10184 conftest$ac_exeext conftest.$ac_ext
10185 CFLAGS=$ac_wine_try_cflags_saved
10186 CC=$ac_wine_try_cflags_saved_cc
10187 ac_exeext=$ac_wine_try_cflags_saved_exeext
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10190 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10191 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10192 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10195 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10196 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_wine_try_cflags_saved=$CFLAGS
10200 ac_wine_try_cflags_saved_cc=$CC
10201 ac_wine_try_cflags_saved_exeext=$ac_exeext
10202 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10203 CC="$CROSSCC"
10204 ac_exeext=".exe"
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10207 int __cdecl mainCRTStartup(void) { return 0; }
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10211 else
10212 ac_cv_crosscflags__Wunused_but_set_parameter=no
10214 rm -f core conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10216 CFLAGS=$ac_wine_try_cflags_saved
10217 CC=$ac_wine_try_cflags_saved_cc
10218 ac_exeext=$ac_wine_try_cflags_saved_exeext
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10221 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10222 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10223 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10226 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10227 if ${ac_cv_crosscflags__Wvla+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_wine_try_cflags_saved=$CFLAGS
10231 ac_wine_try_cflags_saved_cc=$CC
10232 ac_wine_try_cflags_saved_exeext=$ac_exeext
10233 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10234 CC="$CROSSCC"
10235 ac_exeext=".exe"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10238 int __cdecl mainCRTStartup(void) { return 0; }
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"; then :
10241 ac_cv_crosscflags__Wvla=yes
10242 else
10243 ac_cv_crosscflags__Wvla=no
10245 rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 CFLAGS=$ac_wine_try_cflags_saved
10248 CC=$ac_wine_try_cflags_saved_cc
10249 ac_exeext=$ac_wine_try_cflags_saved_exeext
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10252 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10253 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10254 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10257 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10258 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260 else
10261 ac_wine_try_cflags_saved=$CFLAGS
10262 ac_wine_try_cflags_saved_cc=$CC
10263 ac_wine_try_cflags_saved_exeext=$ac_exeext
10264 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10265 CC="$CROSSCC"
10266 ac_exeext=".exe"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int __cdecl mainCRTStartup(void) { return 0; }
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"; then :
10272 ac_cv_crosscflags__Wwrite_strings=yes
10273 else
10274 ac_cv_crosscflags__Wwrite_strings=no
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 CFLAGS=$ac_wine_try_cflags_saved
10279 CC=$ac_wine_try_cflags_saved_cc
10280 ac_exeext=$ac_wine_try_cflags_saved_exeext
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10283 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10284 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10285 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10288 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10289 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10290 $as_echo_n "(cached) " >&6
10291 else
10292 ac_wine_try_cflags_saved=$CFLAGS
10293 ac_wine_try_cflags_saved_cc=$CC
10294 ac_wine_try_cflags_saved_exeext=$ac_exeext
10295 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10296 CC="$CROSSCC"
10297 ac_exeext=".exe"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10300 int __cdecl mainCRTStartup(void) { return 0; }
10301 _ACEOF
10302 if ac_fn_c_try_link "$LINENO"; then :
10303 ac_cv_crosscflags__Wpointer_arith=yes
10304 else
10305 ac_cv_crosscflags__Wpointer_arith=no
10307 rm -f core conftest.err conftest.$ac_objext \
10308 conftest$ac_exeext conftest.$ac_ext
10309 CFLAGS=$ac_wine_try_cflags_saved
10310 CC=$ac_wine_try_cflags_saved_cc
10311 ac_exeext=$ac_wine_try_cflags_saved_exeext
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10314 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10315 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10316 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10319 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10320 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_wine_try_cflags_saved=$CFLAGS
10324 ac_wine_try_cflags_saved_cc=$CC
10325 ac_wine_try_cflags_saved_exeext=$ac_exeext
10326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10327 CC="$CROSSCC"
10328 ac_exeext=".exe"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int __cdecl mainCRTStartup(void) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_crosscflags__Wlogical_op=yes
10335 else
10336 ac_cv_crosscflags__Wlogical_op=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10341 CC=$ac_wine_try_cflags_saved_cc
10342 ac_exeext=$ac_wine_try_cflags_saved_exeext
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10345 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10346 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10350 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10351 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10352 $as_echo_n "(cached) " >&6
10353 else
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 ac_wine_try_cflags_saved_cc=$CC
10356 ac_wine_try_cflags_saved_exeext=$ac_exeext
10357 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10358 CC="$CROSSCC"
10359 ac_exeext=".exe"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 int __cdecl mainCRTStartup(void) { return 0; }
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 ac_cv_crosscflags__Wabsolute_value=yes
10366 else
10367 ac_cv_crosscflags__Wabsolute_value=no
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10372 CC=$ac_wine_try_cflags_saved_cc
10373 ac_exeext=$ac_wine_try_cflags_saved_exeext
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10376 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10377 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10378 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10381 case $host_cpu in
10382 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10383 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10384 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10385 $as_echo_n "(cached) " >&6
10386 else
10387 ac_wine_try_cflags_saved=$CFLAGS
10388 ac_wine_try_cflags_saved_cc=$CC
10389 ac_wine_try_cflags_saved_exeext=$ac_exeext
10390 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10391 CC="$CROSSCC"
10392 ac_exeext=".exe"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 int __cdecl mainCRTStartup(void) { return 0; }
10396 _ACEOF
10397 if ac_fn_c_try_link "$LINENO"; then :
10398 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10399 else
10400 ac_cv_crosscflags__fno_omit_frame_pointer=no
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 CFLAGS=$ac_wine_try_cflags_saved
10405 CC=$ac_wine_try_cflags_saved_cc
10406 ac_exeext=$ac_wine_try_cflags_saved_exeext
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10409 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10410 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10411 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10412 fi ;;
10413 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10414 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10415 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10416 $as_echo_n "(cached) " >&6
10417 else
10418 ac_wine_try_cflags_saved=$CFLAGS
10419 ac_wine_try_cflags_saved_cc=$CC
10420 ac_wine_try_cflags_saved_exeext=$ac_exeext
10421 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10422 CC="$CROSSCC"
10423 ac_exeext=".exe"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 int __cdecl mainCRTStartup(void) { return 0; }
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 ac_cv_crosscflags__Wno_format=yes
10430 else
10431 ac_cv_crosscflags__Wno_format=no
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 CFLAGS=$ac_wine_try_cflags_saved
10436 CC=$ac_wine_try_cflags_saved_cc
10437 ac_exeext=$ac_wine_try_cflags_saved_exeext
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10440 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10441 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10442 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10445 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10446 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10447 $as_echo_n "(cached) " >&6
10448 else
10449 ac_wine_try_cflags_saved=$CFLAGS
10450 ac_wine_try_cflags_saved_cc=$CC
10451 ac_wine_try_cflags_saved_exeext=$ac_exeext
10452 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10453 CC="$CROSSCC"
10454 ac_exeext=".exe"
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10457 int __cdecl mainCRTStartup(void) { return 0; }
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 ac_cv_crosscflags__Wformat_overflow=yes
10461 else
10462 ac_cv_crosscflags__Wformat_overflow=no
10464 rm -f core conftest.err conftest.$ac_objext \
10465 conftest$ac_exeext conftest.$ac_ext
10466 CFLAGS=$ac_wine_try_cflags_saved
10467 CC=$ac_wine_try_cflags_saved_cc
10468 ac_exeext=$ac_wine_try_cflags_saved_exeext
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10471 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10472 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10473 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10476 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10477 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10478 $as_echo_n "(cached) " >&6
10479 else
10480 ac_wine_try_cflags_saved=$CFLAGS
10481 ac_wine_try_cflags_saved_cc=$CC
10482 ac_wine_try_cflags_saved_exeext=$ac_exeext
10483 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10484 CC="$CROSSCC"
10485 ac_exeext=".exe"
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10488 int __cdecl mainCRTStartup(void) { return 0; }
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 ac_cv_crosscflags__Wnonnull=yes
10492 else
10493 ac_cv_crosscflags__Wnonnull=no
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 CFLAGS=$ac_wine_try_cflags_saved
10498 CC=$ac_wine_try_cflags_saved_cc
10499 ac_exeext=$ac_wine_try_cflags_saved_exeext
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10502 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10503 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10504 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10507 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10508 if ${ac_cv_crosscflags__mcx16+:} false; then :
10509 $as_echo_n "(cached) " >&6
10510 else
10511 ac_wine_try_cflags_saved=$CFLAGS
10512 ac_wine_try_cflags_saved_cc=$CC
10513 ac_wine_try_cflags_saved_exeext=$ac_exeext
10514 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10515 CC="$CROSSCC"
10516 ac_exeext=".exe"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10519 int __cdecl mainCRTStartup(void) { return 0; }
10520 _ACEOF
10521 if ac_fn_c_try_link "$LINENO"; then :
10522 ac_cv_crosscflags__mcx16=yes
10523 else
10524 ac_cv_crosscflags__mcx16=no
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 CFLAGS=$ac_wine_try_cflags_saved
10529 CC=$ac_wine_try_cflags_saved_cc
10530 ac_exeext=$ac_wine_try_cflags_saved_exeext
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10533 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10534 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10535 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10536 fi ;;
10537 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10538 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10539 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10540 $as_echo_n "(cached) " >&6
10541 else
10542 ac_wine_try_cflags_saved=$CFLAGS
10543 ac_wine_try_cflags_saved_cc=$CC
10544 ac_wine_try_cflags_saved_exeext=$ac_exeext
10545 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10546 CC="$CROSSCC"
10547 ac_exeext=".exe"
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10550 int __cdecl mainCRTStartup(void) { return 0; }
10551 _ACEOF
10552 if ac_fn_c_try_link "$LINENO"; then :
10553 ac_cv_crosscflags__Wno_format=yes
10554 else
10555 ac_cv_crosscflags__Wno_format=no
10557 rm -f core conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 CFLAGS=$ac_wine_try_cflags_saved
10560 CC=$ac_wine_try_cflags_saved_cc
10561 ac_exeext=$ac_wine_try_cflags_saved_exeext
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10564 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10565 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10566 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10567 fi ;;
10568 esac
10571 if test -z "$CROSSDEBUG"
10572 then
10573 for ac_flag in $CROSSCFLAGS; do
10574 case $ac_flag in
10575 -gdwarf*) CROSSDEBUG=dwarf ;;
10576 -gcodeview) CROSSDEBUG=pdb ;;
10577 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10578 esac
10579 done
10581 case $CROSSDEBUG in
10582 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10583 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10584 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_wine_try_cflags_saved=$CFLAGS
10588 ac_wine_try_cflags_saved_cc=$CC
10589 ac_wine_try_cflags_saved_exeext=$ac_exeext
10590 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10591 CC="$CROSSCC"
10592 ac_exeext=".exe"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10595 int __cdecl mainCRTStartup(void) { return 0; }
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 ac_cv_crosscflags__gdwarf_2=yes
10599 else
10600 ac_cv_crosscflags__gdwarf_2=no
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 CFLAGS=$ac_wine_try_cflags_saved
10605 CC=$ac_wine_try_cflags_saved_cc
10606 ac_exeext=$ac_wine_try_cflags_saved_exeext
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10609 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10610 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10611 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10614 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10615 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_wine_try_cflags_saved=$CFLAGS
10619 ac_wine_try_cflags_saved_cc=$CC
10620 ac_wine_try_cflags_saved_exeext=$ac_exeext
10621 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10622 CC="$CROSSCC"
10623 ac_exeext=".exe"
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 int __cdecl mainCRTStartup(void) { return 0; }
10627 _ACEOF
10628 if ac_fn_c_try_link "$LINENO"; then :
10629 ac_cv_crosscflags__gstrict_dwarf=yes
10630 else
10631 ac_cv_crosscflags__gstrict_dwarf=no
10633 rm -f core conftest.err conftest.$ac_objext \
10634 conftest$ac_exeext conftest.$ac_ext
10635 CFLAGS=$ac_wine_try_cflags_saved
10636 CC=$ac_wine_try_cflags_saved_cc
10637 ac_exeext=$ac_wine_try_cflags_saved_exeext
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10640 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10641 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10642 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10643 fi ;;
10644 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10645 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10646 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10647 $as_echo_n "(cached) " >&6
10648 else
10649 ac_wine_try_cflags_saved=$CFLAGS
10650 ac_wine_try_cflags_saved_cc=$CC
10651 ac_wine_try_cflags_saved_exeext=$ac_exeext
10652 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10653 CC="$CROSSCC"
10654 ac_exeext=".exe"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10657 int __cdecl mainCRTStartup(void) { return 0; }
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 ac_cv_crosscflags__gcodeview=yes
10661 else
10662 ac_cv_crosscflags__gcodeview=no
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 CFLAGS=$ac_wine_try_cflags_saved
10667 CC=$ac_wine_try_cflags_saved_cc
10668 ac_exeext=$ac_wine_try_cflags_saved_exeext
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10671 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10672 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10673 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10674 fi ;;
10675 esac
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10678 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10679 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10680 $as_echo_n "(cached) " >&6
10681 else
10682 ac_wine_try_cflags_saved=$CFLAGS
10683 ac_wine_try_cflags_saved_cc=$CC
10684 ac_wine_try_cflags_saved_exeext=$ac_exeext
10685 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10686 CC="$CROSSCC"
10687 ac_exeext=".exe"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10690 int __cdecl mainCRTStartup(void) { return 0; }
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 ac_cv_crosscflags__fexcess_precision_standard=yes
10694 else
10695 ac_cv_crosscflags__fexcess_precision_standard=no
10697 rm -f core conftest.err conftest.$ac_objext \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10700 CC=$ac_wine_try_cflags_saved_cc
10701 ac_exeext=$ac_wine_try_cflags_saved_exeext
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10704 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10705 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10706 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10710 if test "x$enable_werror" = "xyes"
10711 then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10713 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10714 if ${ac_cv_crosscflags__Werror+:} false; then :
10715 $as_echo_n "(cached) " >&6
10716 else
10717 ac_wine_try_cflags_saved=$CFLAGS
10718 ac_wine_try_cflags_saved_cc=$CC
10719 ac_wine_try_cflags_saved_exeext=$ac_exeext
10720 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10721 CC="$CROSSCC"
10722 ac_exeext=".exe"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 int __cdecl mainCRTStartup(void) { return 0; }
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 ac_cv_crosscflags__Werror=yes
10729 else
10730 ac_cv_crosscflags__Werror=no
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 CFLAGS=$ac_wine_try_cflags_saved
10735 CC=$ac_wine_try_cflags_saved_cc
10736 ac_exeext=$ac_wine_try_cflags_saved_exeext
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10739 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10740 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10741 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10744 if test "x$enable_build_id" = "xyes"
10745 then
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10747 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10748 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_wine_try_cflags_saved=$CFLAGS
10752 ac_wine_try_cflags_saved_cc=$CC
10753 ac_wine_try_cflags_saved_exeext=$ac_exeext
10754 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10755 CC="$CROSSCC"
10756 ac_exeext=".exe"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10759 int __cdecl mainCRTStartup(void) { return 0; }
10760 _ACEOF
10761 if ac_fn_c_try_link "$LINENO"; then :
10762 ac_cv_crosscflags__Wl___build_id=yes
10763 else
10764 ac_cv_crosscflags__Wl___build_id=no
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 CFLAGS=$ac_wine_try_cflags_saved
10769 CC=$ac_wine_try_cflags_saved_cc
10770 ac_exeext=$ac_wine_try_cflags_saved_exeext
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10773 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10774 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10775 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10776 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10780 CFLAGS=$saved_CFLAGS
10781 CC="$ac_save_CC"
10784 if test "x$CROSSTARGET" = "x"; then :
10785 case "x$with_mingw" in
10786 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10789 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10790 esac
10795 if test "$ac_cv_header_pthread_h" = "yes"
10796 then
10797 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10798 if test "x$ac_cv_func_pthread_create" = xyes; then :
10800 else
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10802 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10803 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10804 $as_echo_n "(cached) " >&6
10805 else
10806 ac_check_lib_save_LIBS=$LIBS
10807 LIBS="-lpthread $LIBS"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10814 #ifdef __cplusplus
10815 extern "C"
10816 #endif
10817 char pthread_create ();
10819 main ()
10821 return pthread_create ();
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 ac_cv_lib_pthread_pthread_create=yes
10828 else
10829 ac_cv_lib_pthread_pthread_create=no
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_lib_save_LIBS
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10836 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10837 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10838 PTHREAD_LIBS="-lpthread"
10845 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10846 case "x$with_pthread" in
10847 xno) ;;
10848 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10849 Wine cannot support threads without libpthread.
10850 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10851 esac
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10857 $as_echo_n "checking for X... " >&6; }
10860 # Check whether --with-x was given.
10861 if test "${with_x+set}" = set; then :
10862 withval=$with_x;
10865 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10866 if test "x$with_x" = xno; then
10867 # The user explicitly disabled X.
10868 have_x=disabled
10869 else
10870 case $x_includes,$x_libraries in #(
10871 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10872 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 # One or both of the vars are not set, and there is no cached value.
10876 ac_x_includes=no ac_x_libraries=no
10877 rm -f -r conftest.dir
10878 if mkdir conftest.dir; then
10879 cd conftest.dir
10880 cat >Imakefile <<'_ACEOF'
10881 incroot:
10882 @echo incroot='${INCROOT}'
10883 usrlibdir:
10884 @echo usrlibdir='${USRLIBDIR}'
10885 libdir:
10886 @echo libdir='${LIBDIR}'
10887 _ACEOF
10888 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10889 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10890 for ac_var in incroot usrlibdir libdir; do
10891 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10892 done
10893 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10894 for ac_extension in a so sl dylib la dll; do
10895 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10896 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10897 ac_im_usrlibdir=$ac_im_libdir; break
10899 done
10900 # Screen out bogus values from the imake configuration. They are
10901 # bogus both because they are the default anyway, and because
10902 # using them would break gcc on systems where it needs fixed includes.
10903 case $ac_im_incroot in
10904 /usr/include) ac_x_includes= ;;
10905 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10906 esac
10907 case $ac_im_usrlibdir in
10908 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10909 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10910 esac
10912 cd ..
10913 rm -f -r conftest.dir
10916 # Standard set of common directories for X headers.
10917 # Check X11 before X11Rn because it is often a symlink to the current release.
10918 ac_x_header_dirs='
10919 /usr/X11/include
10920 /usr/X11R7/include
10921 /usr/X11R6/include
10922 /usr/X11R5/include
10923 /usr/X11R4/include
10925 /usr/include/X11
10926 /usr/include/X11R7
10927 /usr/include/X11R6
10928 /usr/include/X11R5
10929 /usr/include/X11R4
10931 /usr/local/X11/include
10932 /usr/local/X11R7/include
10933 /usr/local/X11R6/include
10934 /usr/local/X11R5/include
10935 /usr/local/X11R4/include
10937 /usr/local/include/X11
10938 /usr/local/include/X11R7
10939 /usr/local/include/X11R6
10940 /usr/local/include/X11R5
10941 /usr/local/include/X11R4
10943 /usr/X386/include
10944 /usr/x386/include
10945 /usr/XFree86/include/X11
10947 /usr/include
10948 /usr/local/include
10949 /usr/unsupported/include
10950 /usr/athena/include
10951 /usr/local/x11r5/include
10952 /usr/lpp/Xamples/include
10954 /usr/openwin/include
10955 /usr/openwin/share/include'
10957 if test "$ac_x_includes" = no; then
10958 # Guess where to find include files, by looking for Xlib.h.
10959 # First, try using that file with no special directory specified.
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 #include <X11/Xlib.h>
10963 _ACEOF
10964 if ac_fn_c_try_cpp "$LINENO"; then :
10965 # We can compile using X headers with no special include directory.
10966 ac_x_includes=
10967 else
10968 for ac_dir in $ac_x_header_dirs; do
10969 if test -r "$ac_dir/X11/Xlib.h"; then
10970 ac_x_includes=$ac_dir
10971 break
10973 done
10975 rm -f conftest.err conftest.i conftest.$ac_ext
10976 fi # $ac_x_includes = no
10978 if test "$ac_x_libraries" = no; then
10979 # Check for the libraries.
10980 # See if we find them without any special options.
10981 # Don't add to $LIBS permanently.
10982 ac_save_LIBS=$LIBS
10983 LIBS="-lX11 $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10986 #include <X11/Xlib.h>
10988 main ()
10990 XrmInitialize ()
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 LIBS=$ac_save_LIBS
10997 # We can link X programs with no special library path.
10998 ac_x_libraries=
10999 else
11000 LIBS=$ac_save_LIBS
11001 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11003 # Don't even attempt the hair of trying to link an X program!
11004 for ac_extension in a so sl dylib la dll; do
11005 if test -r "$ac_dir/libX11.$ac_extension"; then
11006 ac_x_libraries=$ac_dir
11007 break 2
11009 done
11010 done
11012 rm -f core conftest.err conftest.$ac_objext \
11013 conftest$ac_exeext conftest.$ac_ext
11014 fi # $ac_x_libraries = no
11016 case $ac_x_includes,$ac_x_libraries in #(
11017 no,* | *,no | *\'*)
11018 # Didn't find X, or a directory has "'" in its name.
11019 ac_cv_have_x="have_x=no";; #(
11021 # Record where we found X for the cache.
11022 ac_cv_have_x="have_x=yes\
11023 ac_x_includes='$ac_x_includes'\
11024 ac_x_libraries='$ac_x_libraries'"
11025 esac
11027 ;; #(
11028 *) have_x=yes;;
11029 esac
11030 eval "$ac_cv_have_x"
11031 fi # $with_x != no
11033 if test "$have_x" != yes; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11035 $as_echo "$have_x" >&6; }
11036 no_x=yes
11037 else
11038 # If each of the values was on the command line, it overrides each guess.
11039 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11040 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11041 # Update the cache value to reflect the command line values.
11042 ac_cv_have_x="have_x=yes\
11043 ac_x_includes='$x_includes'\
11044 ac_x_libraries='$x_libraries'"
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11046 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11049 if test "$no_x" = yes; then
11050 # Not all programs may use this symbol, but it does not hurt to define it.
11052 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11054 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11055 else
11056 if test -n "$x_includes"; then
11057 X_CFLAGS="$X_CFLAGS -I$x_includes"
11060 # It would also be nice to do this for all -L options, not just this one.
11061 if test -n "$x_libraries"; then
11062 X_LIBS="$X_LIBS -L$x_libraries"
11063 # For Solaris; some versions of Sun CC require a space after -R and
11064 # others require no space. Words are not sufficient . . . .
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11066 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11067 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11068 ac_xsave_c_werror_flag=$ac_c_werror_flag
11069 ac_c_werror_flag=yes
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11074 main ()
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11083 $as_echo "no" >&6; }
11084 X_LIBS="$X_LIBS -R$x_libraries"
11085 else
11086 LIBS="$ac_xsave_LIBS -R $x_libraries"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11091 main ()
11095 return 0;
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11100 $as_echo "yes" >&6; }
11101 X_LIBS="$X_LIBS -R $x_libraries"
11102 else
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11104 $as_echo "neither works" >&6; }
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11109 rm -f core conftest.err conftest.$ac_objext \
11110 conftest$ac_exeext conftest.$ac_ext
11111 ac_c_werror_flag=$ac_xsave_c_werror_flag
11112 LIBS=$ac_xsave_LIBS
11115 # Check for system-dependent libraries X programs must link with.
11116 # Do this before checking for the system-independent R6 libraries
11117 # (-lICE), since we may need -lsocket or whatever for X linking.
11119 if test "$ISC" = yes; then
11120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11121 else
11122 # Martyn Johnson says this is needed for Ultrix, if the X
11123 # libraries were built with DECnet support. And Karl Berry says
11124 # the Alpha needs dnet_stub (dnet does not exist).
11125 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char XOpenDisplay ();
11137 main ()
11139 return XOpenDisplay ();
11141 return 0;
11143 _ACEOF
11144 if ac_fn_c_try_link "$LINENO"; then :
11146 else
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11148 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11149 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11150 $as_echo_n "(cached) " >&6
11151 else
11152 ac_check_lib_save_LIBS=$LIBS
11153 LIBS="-ldnet $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11160 #ifdef __cplusplus
11161 extern "C"
11162 #endif
11163 char dnet_ntoa ();
11165 main ()
11167 return dnet_ntoa ();
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 ac_cv_lib_dnet_dnet_ntoa=yes
11174 else
11175 ac_cv_lib_dnet_dnet_ntoa=no
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_lib_save_LIBS
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11182 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11183 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11184 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11187 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11189 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11190 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11191 $as_echo_n "(cached) " >&6
11192 else
11193 ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-ldnet_stub $LIBS"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11201 #ifdef __cplusplus
11202 extern "C"
11203 #endif
11204 char dnet_ntoa ();
11206 main ()
11208 return dnet_ntoa ();
11210 return 0;
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"; then :
11214 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11215 else
11216 ac_cv_lib_dnet_stub_dnet_ntoa=no
11218 rm -f core conftest.err conftest.$ac_objext \
11219 conftest$ac_exeext conftest.$ac_ext
11220 LIBS=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11223 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11224 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11225 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11230 rm -f core conftest.err conftest.$ac_objext \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS="$ac_xsave_LIBS"
11234 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11235 # to get the SysV transport functions.
11236 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11237 # needs -lnsl.
11238 # The nsl library prevents programs from opening the X display
11239 # on Irix 5.2, according to T.E. Dickey.
11240 # The functions gethostbyname, getservbyname, and inet_addr are
11241 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11242 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11243 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11247 if test $ac_cv_func_gethostbyname = no; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11249 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11250 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 ac_check_lib_save_LIBS=$LIBS
11254 LIBS="-lnsl $LIBS"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11261 #ifdef __cplusplus
11262 extern "C"
11263 #endif
11264 char gethostbyname ();
11266 main ()
11268 return gethostbyname ();
11270 return 0;
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"; then :
11274 ac_cv_lib_nsl_gethostbyname=yes
11275 else
11276 ac_cv_lib_nsl_gethostbyname=no
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11283 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11284 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11288 if test $ac_cv_lib_nsl_gethostbyname = no; then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11290 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11291 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11292 $as_echo_n "(cached) " >&6
11293 else
11294 ac_check_lib_save_LIBS=$LIBS
11295 LIBS="-lbsd $LIBS"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 /* Override any GCC internal prototype to avoid an error.
11300 Use char because int might match the return type of a GCC
11301 builtin and then its argument prototype would still apply. */
11302 #ifdef __cplusplus
11303 extern "C"
11304 #endif
11305 char gethostbyname ();
11307 main ()
11309 return gethostbyname ();
11311 return 0;
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"; then :
11315 ac_cv_lib_bsd_gethostbyname=yes
11316 else
11317 ac_cv_lib_bsd_gethostbyname=no
11319 rm -f core conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_lib_save_LIBS
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11324 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11325 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11326 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11332 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11333 # socket/setsockopt and other routines are undefined under SCO ODT
11334 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11335 # on later versions), says Simon Leinen: it contains gethostby*
11336 # variants that don't use the name server (or something). -lsocket
11337 # must be given before -lnsl if both are needed. We assume that
11338 # if connect needs -lnsl, so does gethostbyname.
11339 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11340 if test "x$ac_cv_func_connect" = xyes; then :
11344 if test $ac_cv_func_connect = no; then
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11346 $as_echo_n "checking for connect in -lsocket... " >&6; }
11347 if ${ac_cv_lib_socket_connect+:} false; then :
11348 $as_echo_n "(cached) " >&6
11349 else
11350 ac_check_lib_save_LIBS=$LIBS
11351 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char connect ();
11363 main ()
11365 return connect ();
11367 return 0;
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 ac_cv_lib_socket_connect=yes
11372 else
11373 ac_cv_lib_socket_connect=no
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11380 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11381 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11382 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11387 # Guillermo Gomez says -lposix is necessary on A/UX.
11388 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11389 if test "x$ac_cv_func_remove" = xyes; then :
11393 if test $ac_cv_func_remove = no; then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11395 $as_echo_n "checking for remove in -lposix... " >&6; }
11396 if ${ac_cv_lib_posix_remove+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-lposix $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char remove ();
11412 main ()
11414 return remove ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_posix_remove=yes
11421 else
11422 ac_cv_lib_posix_remove=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11429 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11430 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11431 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11436 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11437 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11438 if test "x$ac_cv_func_shmat" = xyes; then :
11442 if test $ac_cv_func_shmat = no; then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11444 $as_echo_n "checking for shmat in -lipc... " >&6; }
11445 if ${ac_cv_lib_ipc_shmat+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_lib_save_LIBS=$LIBS
11449 LIBS="-lipc $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char shmat ();
11461 main ()
11463 return shmat ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_ipc_shmat=yes
11470 else
11471 ac_cv_lib_ipc_shmat=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11478 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11479 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11486 # Check for libraries that X11R6 Xt/Xaw programs need.
11487 ac_save_LDFLAGS=$LDFLAGS
11488 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11489 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11490 # check for ICE first), but we must link in the order -lSM -lICE or
11491 # we get undefined symbols. So assume we have SM if we have ICE.
11492 # These have to be linked with before -lX11, unlike the other
11493 # libraries we check for below, so use a different variable.
11494 # John Interrante, Karl Berry
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11496 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11497 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_lib_save_LIBS=$LIBS
11501 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char IceConnectionNumber ();
11513 main ()
11515 return IceConnectionNumber ();
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 ac_cv_lib_ICE_IceConnectionNumber=yes
11522 else
11523 ac_cv_lib_ICE_IceConnectionNumber=no
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_lib_save_LIBS
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11530 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11531 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11532 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11535 LDFLAGS=$ac_save_LDFLAGS
11540 if test "$have_x" = "yes"
11541 then
11542 ac_save_CPPFLAGS="$CPPFLAGS"
11543 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11546 $as_echo_n "checking for -lX11... " >&6; }
11547 if ${ac_cv_lib_soname_X11+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_soname_save_LIBS=$LIBS
11551 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char XCreateWindow ();
11563 main ()
11565 return XCreateWindow ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 case "$LIBEXT" in
11572 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11573 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'` ;;
11574 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11575 if ${ac_cv_lib_soname_X11:+false} :; then :
11576 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11577 fi ;;
11578 esac
11579 else
11580 ac_cv_lib_soname_X11=
11582 rm -f core conftest.err conftest.$ac_objext \
11583 conftest$ac_exeext conftest.$ac_ext
11584 LIBS=$ac_check_soname_save_LIBS
11586 if ${ac_cv_lib_soname_X11:+false} :; then :
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11588 $as_echo "not found" >&6; }
11590 else
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11592 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11594 cat >>confdefs.h <<_ACEOF
11595 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11596 _ACEOF
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11601 $as_echo_n "checking for -lXext... " >&6; }
11602 if ${ac_cv_lib_soname_Xext+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_soname_save_LIBS=$LIBS
11606 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char XextCreateExtension ();
11618 main ()
11620 return XextCreateExtension ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 case "$LIBEXT" in
11627 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11628 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'` ;;
11629 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11630 if ${ac_cv_lib_soname_Xext:+false} :; then :
11631 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11632 fi ;;
11633 esac
11634 else
11635 ac_cv_lib_soname_Xext=
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_soname_save_LIBS
11641 if ${ac_cv_lib_soname_Xext:+false} :; then :
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11643 $as_echo "not found" >&6; }
11645 else
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11647 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11649 cat >>confdefs.h <<_ACEOF
11650 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11651 _ACEOF
11653 X_LIBS="$X_LIBS -lXext"
11655 X_LIBS="$X_LIBS -lX11"
11657 for ac_header in X11/Xlib.h \
11658 X11/XKBlib.h \
11659 X11/Xutil.h \
11660 X11/Xcursor/Xcursor.h \
11661 X11/extensions/shape.h \
11662 X11/extensions/XInput.h \
11663 X11/extensions/XInput2.h \
11664 X11/extensions/XShm.h \
11665 X11/extensions/Xcomposite.h \
11666 X11/extensions/Xfixes.h \
11667 X11/extensions/Xinerama.h \
11668 X11/extensions/Xrandr.h \
11669 X11/extensions/Xrender.h \
11670 X11/extensions/xf86vmode.h \
11671 X11/extensions/xf86vmproto.h
11672 do :
11673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11675 # include <X11/Xlib.h>
11676 #endif
11677 #ifdef HAVE_X11_XUTIL_H
11678 # include <X11/Xutil.h>
11679 #endif
11681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11682 cat >>confdefs.h <<_ACEOF
11683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11684 _ACEOF
11688 done
11691 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11692 then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11694 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11695 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11696 $as_echo_n "(cached) " >&6
11697 else
11698 ac_check_lib_save_LIBS=$LIBS
11699 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11706 #ifdef __cplusplus
11707 extern "C"
11708 #endif
11709 char XkbQueryExtension ();
11711 main ()
11713 return XkbQueryExtension ();
11715 return 0;
11717 _ACEOF
11718 if ac_fn_c_try_link "$LINENO"; then :
11719 ac_cv_lib_X11_XkbQueryExtension=yes
11720 else
11721 ac_cv_lib_X11_XkbQueryExtension=no
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_lib_save_LIBS
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11728 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11729 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11731 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11737 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11738 then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11740 $as_echo_n "checking for -lXcursor... " >&6; }
11741 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11742 $as_echo_n "(cached) " >&6
11743 else
11744 ac_check_soname_save_LIBS=$LIBS
11745 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 char XcursorImageLoadCursor ();
11757 main ()
11759 return XcursorImageLoadCursor ();
11761 return 0;
11763 _ACEOF
11764 if ac_fn_c_try_link "$LINENO"; then :
11765 case "$LIBEXT" in
11766 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11767 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'` ;;
11768 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11769 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11770 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11771 fi ;;
11772 esac
11773 else
11774 ac_cv_lib_soname_Xcursor=
11776 rm -f core conftest.err conftest.$ac_objext \
11777 conftest$ac_exeext conftest.$ac_ext
11778 LIBS=$ac_check_soname_save_LIBS
11780 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11784 else
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11786 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11788 cat >>confdefs.h <<_ACEOF
11789 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11790 _ACEOF
11795 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11796 case "x$with_xcursor" in
11797 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11800 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11801 esac
11805 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11806 then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11808 $as_echo_n "checking for -lXi... " >&6; }
11809 if ${ac_cv_lib_soname_Xi+:} false; then :
11810 $as_echo_n "(cached) " >&6
11811 else
11812 ac_check_soname_save_LIBS=$LIBS
11813 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11820 #ifdef __cplusplus
11821 extern "C"
11822 #endif
11823 char XOpenDevice ();
11825 main ()
11827 return XOpenDevice ();
11829 return 0;
11831 _ACEOF
11832 if ac_fn_c_try_link "$LINENO"; then :
11833 case "$LIBEXT" in
11834 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11835 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'` ;;
11836 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11837 if ${ac_cv_lib_soname_Xi:+false} :; then :
11838 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11839 fi ;;
11840 esac
11841 else
11842 ac_cv_lib_soname_Xi=
11844 rm -f core conftest.err conftest.$ac_objext \
11845 conftest$ac_exeext conftest.$ac_ext
11846 LIBS=$ac_check_soname_save_LIBS
11848 if ${ac_cv_lib_soname_Xi:+false} :; then :
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11850 $as_echo "not found" >&6; }
11852 else
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11854 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11856 cat >>confdefs.h <<_ACEOF
11857 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11858 _ACEOF
11863 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11864 case "x$with_xinput" in
11865 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11866 xno) ;;
11867 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11868 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11869 esac
11873 if test "x$ac_cv_lib_soname_Xi" != x
11874 then
11875 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11876 case "x$with_xinput2" in
11877 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11878 xno) ;;
11879 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11880 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11881 esac
11886 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11887 then
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11889 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11890 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11891 $as_echo_n "(cached) " >&6
11892 else
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char XShmQueryExtension ();
11906 main ()
11908 return XShmQueryExtension ();
11910 return 0;
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"; then :
11914 ac_cv_lib_Xext_XShmQueryExtension=yes
11915 else
11916 ac_cv_lib_Xext_XShmQueryExtension=no
11918 rm -f core conftest.err conftest.$ac_objext \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_lib_save_LIBS
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11923 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11924 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11926 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11931 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11932 case "x$with_xshm" in
11933 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11934 xno) ;;
11935 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11936 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11937 esac
11941 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11942 then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11944 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11945 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 ac_check_lib_save_LIBS=$LIBS
11949 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11956 #ifdef __cplusplus
11957 extern "C"
11958 #endif
11959 char XShapeQueryExtension ();
11961 main ()
11963 return XShapeQueryExtension ();
11965 return 0;
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"; then :
11969 ac_cv_lib_Xext_XShapeQueryExtension=yes
11970 else
11971 ac_cv_lib_Xext_XShapeQueryExtension=no
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_lib_save_LIBS
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11978 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11979 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11981 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11986 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11987 case "x$with_xshape" in
11988 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11989 xno) ;;
11990 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11991 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11992 esac
11996 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11997 then
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11999 $as_echo_n "checking for -lXxf86vm... " >&6; }
12000 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_soname_save_LIBS=$LIBS
12004 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char XF86VidModeQueryExtension ();
12016 main ()
12018 return XF86VidModeQueryExtension ();
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"; then :
12024 case "$LIBEXT" in
12025 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12026 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'` ;;
12027 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12028 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12029 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12030 fi ;;
12031 esac
12032 else
12033 ac_cv_lib_soname_Xxf86vm=
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_soname_save_LIBS
12039 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12041 $as_echo "not found" >&6; }
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12045 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12047 cat >>confdefs.h <<_ACEOF
12048 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12049 _ACEOF
12054 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12055 case "x$with_xxf86vm" in
12056 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12059 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12060 esac
12064 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12065 then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12067 $as_echo_n "checking for -lXrender... " >&6; }
12068 if ${ac_cv_lib_soname_Xrender+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 ac_check_soname_save_LIBS=$LIBS
12072 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char XRenderQueryExtension ();
12084 main ()
12086 return XRenderQueryExtension ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 case "$LIBEXT" in
12093 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12094 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'` ;;
12095 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12096 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12097 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12098 fi ;;
12099 esac
12100 else
12101 ac_cv_lib_soname_Xrender=
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_soname_save_LIBS
12107 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12109 $as_echo "not found" >&6; }
12111 else
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12113 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12115 cat >>confdefs.h <<_ACEOF
12116 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12117 _ACEOF
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12120 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12121 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12122 $as_echo_n "(cached) " >&6
12123 else
12124 ac_check_lib_save_LIBS=$LIBS
12125 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12132 #ifdef __cplusplus
12133 extern "C"
12134 #endif
12135 char XRenderSetPictureTransform ();
12137 main ()
12139 return XRenderSetPictureTransform ();
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_link "$LINENO"; then :
12145 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12146 else
12147 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12149 rm -f core conftest.err conftest.$ac_objext \
12150 conftest$ac_exeext conftest.$ac_ext
12151 LIBS=$ac_check_lib_save_LIBS
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12154 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12155 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12157 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12162 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12163 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_lib_save_LIBS=$LIBS
12167 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char XRenderCreateLinearGradient ();
12179 main ()
12181 return XRenderCreateLinearGradient ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12188 else
12189 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12196 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12197 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12199 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12206 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12207 case "x$with_xrender" in
12208 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12209 xno) ;;
12210 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12211 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12212 esac
12216 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12217 then
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12220 #include <X11/Xlib.h>
12221 #include <X11/extensions/Xrandr.h>
12223 main ()
12225 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12227 return 0;
12229 _ACEOF
12230 if ac_fn_c_try_compile "$LINENO"; then :
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12232 $as_echo_n "checking for -lXrandr... " >&6; }
12233 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12234 $as_echo_n "(cached) " >&6
12235 else
12236 ac_check_soname_save_LIBS=$LIBS
12237 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12241 /* Override any GCC internal prototype to avoid an error.
12242 Use char because int might match the return type of a GCC
12243 builtin and then its argument prototype would still apply. */
12244 #ifdef __cplusplus
12245 extern "C"
12246 #endif
12247 char XRRQueryExtension ();
12249 main ()
12251 return XRRQueryExtension ();
12253 return 0;
12255 _ACEOF
12256 if ac_fn_c_try_link "$LINENO"; then :
12257 case "$LIBEXT" in
12258 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12259 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'` ;;
12260 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12261 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12262 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12263 fi ;;
12264 esac
12265 else
12266 ac_cv_lib_soname_Xrandr=
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LIBS=$ac_check_soname_save_LIBS
12272 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12274 $as_echo "not found" >&6; }
12276 else
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12278 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12280 cat >>confdefs.h <<_ACEOF
12281 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12282 _ACEOF
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 #include <X11/Xlib.h>
12287 #include <X11/extensions/Xrandr.h>
12289 main ()
12291 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12293 return 0;
12295 _ACEOF
12296 if ac_fn_c_try_compile "$LINENO"; then :
12298 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12300 else
12301 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12309 case "x$with_xrandr" in
12310 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12311 xno) ;;
12312 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12313 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12314 esac
12318 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12319 then
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12322 #include <X11/Xlib.h>
12323 #include <X11/extensions/Xfixes.h>
12325 main ()
12327 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12329 return 0;
12331 _ACEOF
12332 if ac_fn_c_try_compile "$LINENO"; then :
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12334 $as_echo_n "checking for -lXfixes... " >&6; }
12335 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 ac_check_soname_save_LIBS=$LIBS
12339 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 #ifdef __cplusplus
12347 extern "C"
12348 #endif
12349 char XFixesQueryVersion ();
12351 main ()
12353 return XFixesQueryVersion ();
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_link "$LINENO"; then :
12359 case "$LIBEXT" in
12360 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12361 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'` ;;
12362 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12363 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12364 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12365 fi ;;
12366 esac
12367 else
12368 ac_cv_lib_soname_Xfixes=
12370 rm -f core conftest.err conftest.$ac_objext \
12371 conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_soname_save_LIBS
12374 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12376 $as_echo "not found" >&6; }
12378 else
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12380 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12382 cat >>confdefs.h <<_ACEOF
12383 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12384 _ACEOF
12389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12391 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12392 case "x$with_xfixes" in
12393 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12394 xno) ;;
12395 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12396 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12397 esac
12401 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12402 then
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 #include <X11/Xlib.h>
12406 #include <X11/extensions/Xinerama.h>
12408 main ()
12410 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_compile "$LINENO"; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12417 $as_echo_n "checking for -lXinerama... " >&6; }
12418 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_soname_save_LIBS=$LIBS
12422 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char XineramaQueryScreens ();
12434 main ()
12436 return XineramaQueryScreens ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 case "$LIBEXT" in
12443 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12444 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'` ;;
12445 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12446 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12447 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12448 fi ;;
12449 esac
12450 else
12451 ac_cv_lib_soname_Xinerama=
12453 rm -f core conftest.err conftest.$ac_objext \
12454 conftest$ac_exeext conftest.$ac_ext
12455 LIBS=$ac_check_soname_save_LIBS
12457 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12459 $as_echo "not found" >&6; }
12461 else
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12463 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12465 cat >>confdefs.h <<_ACEOF
12466 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12467 _ACEOF
12472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12474 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12475 case "x$with_xinerama" in
12476 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12477 xno) ;;
12478 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12479 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12480 esac
12484 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12485 then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12487 $as_echo_n "checking for -lXcomposite... " >&6; }
12488 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12489 $as_echo_n "(cached) " >&6
12490 else
12491 ac_check_soname_save_LIBS=$LIBS
12492 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 #ifdef __cplusplus
12500 extern "C"
12501 #endif
12502 char XCompositeRedirectWindow ();
12504 main ()
12506 return XCompositeRedirectWindow ();
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 case "$LIBEXT" in
12513 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12514 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'` ;;
12515 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12516 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12517 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12518 fi ;;
12519 esac
12520 else
12521 ac_cv_lib_soname_Xcomposite=
12523 rm -f core conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12525 LIBS=$ac_check_soname_save_LIBS
12527 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12529 $as_echo "not found" >&6; }
12531 else
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12533 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12535 cat >>confdefs.h <<_ACEOF
12536 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12537 _ACEOF
12542 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12543 case "x$with_xcomposite" in
12544 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12545 xno) ;;
12546 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12547 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12548 esac
12552 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12553 #include <X11/Xlib.h>
12554 #endif
12556 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12558 cat >>confdefs.h <<_ACEOF
12559 #define HAVE_XICCALLBACK_CALLBACK 1
12560 _ACEOF
12564 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12565 #include <X11/Xlib.h>
12566 #endif
12568 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12570 cat >>confdefs.h <<_ACEOF
12571 #define HAVE_XEVENT_XCOOKIE 1
12572 _ACEOF
12579 opengl_msg=""
12580 if test "x$with_opengl" != "xno"
12581 then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12583 $as_echo_n "checking for -lGL... " >&6; }
12584 if ${ac_cv_lib_soname_GL+:} false; then :
12585 $as_echo_n "(cached) " >&6
12586 else
12587 ac_check_soname_save_LIBS=$LIBS
12588 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 /* Override any GCC internal prototype to avoid an error.
12593 Use char because int might match the return type of a GCC
12594 builtin and then its argument prototype would still apply. */
12595 #ifdef __cplusplus
12596 extern "C"
12597 #endif
12598 char glXCreateContext ();
12600 main ()
12602 return glXCreateContext ();
12604 return 0;
12606 _ACEOF
12607 if ac_fn_c_try_link "$LINENO"; then :
12608 case "$LIBEXT" in
12609 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12610 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'` ;;
12611 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12612 if ${ac_cv_lib_soname_GL:+false} :; then :
12613 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12614 fi ;;
12615 esac
12616 else
12617 ac_cv_lib_soname_GL=
12619 rm -f core conftest.err conftest.$ac_objext \
12620 conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_soname_save_LIBS
12623 if ${ac_cv_lib_soname_GL:+false} :; then :
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12625 $as_echo "not found" >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12627 $as_echo_n "checking for -lGL... " >&6; }
12628 if ${ac_cv_lib_soname_GL+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_soname_save_LIBS=$LIBS
12632 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"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char glXCreateContext ();
12644 main ()
12646 return glXCreateContext ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 case "$LIBEXT" in
12653 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12654 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'` ;;
12655 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12656 if ${ac_cv_lib_soname_GL:+false} :; then :
12657 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12658 fi ;;
12659 esac
12660 else
12661 ac_cv_lib_soname_GL=
12663 rm -f core conftest.err conftest.$ac_objext \
12664 conftest$ac_exeext conftest.$ac_ext
12665 LIBS=$ac_check_soname_save_LIBS
12667 if ${ac_cv_lib_soname_GL:+false} :; then :
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12669 $as_echo "not found" >&6; }
12670 if test -f /usr/X11R6/lib/libGL.a
12671 then
12672 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12673 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12674 else
12675 opengl_msg="No OpenGL library found on this system."
12677 else
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12679 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12681 cat >>confdefs.h <<_ACEOF
12682 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12683 _ACEOF
12685 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"
12687 else
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12689 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12691 cat >>confdefs.h <<_ACEOF
12692 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12693 _ACEOF
12695 OPENGL_LIBS="-lGL"
12697 if test "x$with_osmesa" != "xno"
12698 then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12700 $as_echo_n "checking for -lOSMesa... " >&6; }
12701 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12702 $as_echo_n "(cached) " >&6
12703 else
12704 ac_check_soname_save_LIBS=$LIBS
12705 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char OSMesaGetProcAddress ();
12717 main ()
12719 return OSMesaGetProcAddress ();
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725 case "$LIBEXT" in
12726 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12727 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'` ;;
12728 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12729 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12730 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12731 fi ;;
12732 esac
12733 else
12734 ac_cv_lib_soname_OSMesa=
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_soname_save_LIBS
12740 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12742 $as_echo "not found" >&6; }
12744 else
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12746 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12748 cat >>confdefs.h <<_ACEOF
12749 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12750 _ACEOF
12754 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12755 case "x$with_osmesa" in
12756 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12759 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12760 esac
12765 if test -n "$opengl_msg"; then :
12766 case "x$with_opengl" in
12767 x) as_fn_append wine_warnings "|$opengl_msg
12768 OpenGL and Direct3D won't be supported." ;;
12769 xno) ;;
12770 *) as_fn_error $? "$opengl_msg
12771 OpenGL and Direct3D won't be supported.
12772 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12773 esac
12777 CPPFLAGS="$ac_save_CPPFLAGS"
12778 else
12779 X_CFLAGS=""
12780 X_LIBS=""
12783 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12784 then
12785 if test "x$X_LIBS" = "x"; then :
12786 case "x$with_x" in
12787 xno) ;;
12788 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12789 without X support, which probably isn't what you want. You will need
12790 to install ${notice_platform}development packages of Xlib at the very least.
12791 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12792 esac
12793 enable_winex11_drv=${enable_winex11_drv:-no}
12795 else
12796 if test "x$X_LIBS" = "x"; then :
12797 case "x$with_x" in
12798 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12799 xno) ;;
12800 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12801 This is an error since --with-x was requested." "$LINENO" 5 ;;
12802 esac
12803 enable_winex11_drv=${enable_winex11_drv:-no}
12807 if test "$ac_cv_header_CL_cl_h" = "yes"
12808 then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12810 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12811 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12812 $as_echo_n "(cached) " >&6
12813 else
12814 ac_check_lib_save_LIBS=$LIBS
12815 LIBS="-lOpenCL $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 #ifdef __cplusplus
12823 extern "C"
12824 #endif
12825 char clGetPlatformInfo ();
12827 main ()
12829 return clGetPlatformInfo ();
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"; then :
12835 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12836 else
12837 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12839 rm -f core conftest.err conftest.$ac_objext \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_lib_save_LIBS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12844 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12845 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12846 OPENCL_LIBS="-lOpenCL"
12851 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12852 case "x$with_opencl" in
12853 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12854 xno) ;;
12855 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12856 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12857 esac
12858 enable_opencl=${enable_opencl:-no}
12861 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12862 then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12864 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12865 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 ac_check_lib_save_LIBS=$LIBS
12869 LIBS="-lpcap $LIBS"
12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12873 /* Override any GCC internal prototype to avoid an error.
12874 Use char because int might match the return type of a GCC
12875 builtin and then its argument prototype would still apply. */
12876 #ifdef __cplusplus
12877 extern "C"
12878 #endif
12879 char pcap_create ();
12881 main ()
12883 return pcap_create ();
12885 return 0;
12887 _ACEOF
12888 if ac_fn_c_try_link "$LINENO"; then :
12889 ac_cv_lib_pcap_pcap_create=yes
12890 else
12891 ac_cv_lib_pcap_pcap_create=no
12893 rm -f core conftest.err conftest.$ac_objext \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12898 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12899 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12900 PCAP_LIBS="-lpcap"
12905 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12906 case "x$with_pcap" in
12907 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12908 xno) ;;
12909 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12910 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12911 esac
12912 enable_wpcap=${enable_wpcap:-no}
12916 if test "x$with_xml" != "xno"
12917 then
12918 if ${XML2_CFLAGS:+false} :; then :
12919 if ${PKG_CONFIG+:} false; then :
12920 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12923 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12924 if ${XML2_LIBS:+false} :; then :
12925 if ${PKG_CONFIG+:} false; then :
12926 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12929 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12930 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12931 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12933 ac_save_CPPFLAGS=$CPPFLAGS
12934 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12935 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12936 do :
12937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12938 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12940 cat >>confdefs.h <<_ACEOF
12941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12942 _ACEOF
12946 done
12948 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"
12949 then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12951 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12952 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 ac_check_lib_save_LIBS=$LIBS
12956 LIBS="-lxml2 $XML2_LIBS $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12963 #ifdef __cplusplus
12964 extern "C"
12965 #endif
12966 char xmlParseMemory ();
12968 main ()
12970 return xmlParseMemory ();
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_link "$LINENO"; then :
12976 ac_cv_lib_xml2_xmlParseMemory=yes
12977 else
12978 ac_cv_lib_xml2_xmlParseMemory=no
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 LIBS=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12985 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12986 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12988 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12990 else
12991 XML2_LIBS=""
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12995 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12996 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12997 $as_echo_n "(cached) " >&6
12998 else
12999 ac_check_lib_save_LIBS=$LIBS
13000 LIBS="-lxml2 $XML2_LIBS $LIBS"
13001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13004 /* Override any GCC internal prototype to avoid an error.
13005 Use char because int might match the return type of a GCC
13006 builtin and then its argument prototype would still apply. */
13007 #ifdef __cplusplus
13008 extern "C"
13009 #endif
13010 char xmlReadMemory ();
13012 main ()
13014 return xmlReadMemory ();
13016 return 0;
13018 _ACEOF
13019 if ac_fn_c_try_link "$LINENO"; then :
13020 ac_cv_lib_xml2_xmlReadMemory=yes
13021 else
13022 ac_cv_lib_xml2_xmlReadMemory=no
13024 rm -f core conftest.err conftest.$ac_objext \
13025 conftest$ac_exeext conftest.$ac_ext
13026 LIBS=$ac_check_lib_save_LIBS
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13029 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13030 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13032 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13037 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13038 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 ac_check_lib_save_LIBS=$LIBS
13042 LIBS="-lxml2 $XML2_LIBS $LIBS"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 /* Override any GCC internal prototype to avoid an error.
13047 Use char because int might match the return type of a GCC
13048 builtin and then its argument prototype would still apply. */
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 char xmlNewDocPI ();
13054 main ()
13056 return xmlNewDocPI ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 ac_cv_lib_xml2_xmlNewDocPI=yes
13063 else
13064 ac_cv_lib_xml2_xmlNewDocPI=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_lib_save_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13071 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13072 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13074 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13079 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13080 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_lib_save_LIBS=$LIBS
13084 LIBS="-lxml2 $XML2_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char xmlSchemaSetParserStructuredErrors ();
13096 main ()
13098 return xmlSchemaSetParserStructuredErrors ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13105 else
13106 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13108 rm -f core conftest.err conftest.$ac_objext \
13109 conftest$ac_exeext conftest.$ac_ext
13110 LIBS=$ac_check_lib_save_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13113 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13114 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13116 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13121 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13122 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_lib_save_LIBS=$LIBS
13126 LIBS="-lxml2 $XML2_LIBS $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char xmlSchemaSetValidStructuredErrors ();
13138 main ()
13140 return xmlSchemaSetValidStructuredErrors ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13147 else
13148 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13150 rm -f core conftest.err conftest.$ac_objext \
13151 conftest$ac_exeext conftest.$ac_ext
13152 LIBS=$ac_check_lib_save_LIBS
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13155 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13156 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13158 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13163 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13164 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13165 $as_echo_n "(cached) " >&6
13166 else
13167 ac_check_lib_save_LIBS=$LIBS
13168 LIBS="-lxml2 $XML2_LIBS $LIBS"
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13175 #ifdef __cplusplus
13176 extern "C"
13177 #endif
13178 char xmlFirstElementChild ();
13180 main ()
13182 return xmlFirstElementChild ();
13184 return 0;
13186 _ACEOF
13187 if ac_fn_c_try_link "$LINENO"; then :
13188 ac_cv_lib_xml2_xmlFirstElementChild=yes
13189 else
13190 ac_cv_lib_xml2_xmlFirstElementChild=no
13192 rm -f core conftest.err conftest.$ac_objext \
13193 conftest$ac_exeext conftest.$ac_ext
13194 LIBS=$ac_check_lib_save_LIBS
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13197 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13198 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13200 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13204 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13206 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13208 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13212 else
13213 XML2_CFLAGS=""
13214 XML2_LIBS=""
13216 CPPFLAGS=$ac_save_CPPFLAGS
13219 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13220 case "x$with_xml" in
13221 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13222 xno) ;;
13223 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13224 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13225 esac
13229 if test "x$with_xslt" != "xno"
13230 then
13231 if ${XSLT_CFLAGS:+false} :; then :
13232 if ${PKG_CONFIG+:} false; then :
13233 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13236 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13237 if ${XSLT_LIBS:+false} :; then :
13238 if ${PKG_CONFIG+:} false; then :
13239 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13242 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13243 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13244 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13245 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13246 ac_save_CPPFLAGS=$CPPFLAGS
13247 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13248 for ac_header in libxslt/pattern.h libxslt/transform.h
13249 do :
13250 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13251 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13252 # include <libxslt/pattern.h>
13253 #endif
13255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13256 cat >>confdefs.h <<_ACEOF
13257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13258 _ACEOF
13262 done
13264 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13265 then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13267 $as_echo_n "checking for -lxslt... " >&6; }
13268 if ${ac_cv_lib_soname_xslt+:} false; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 ac_check_soname_save_LIBS=$LIBS
13272 LIBS="-lxslt $XSLT_LIBS $LIBS"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13279 #ifdef __cplusplus
13280 extern "C"
13281 #endif
13282 char xsltCompilePattern ();
13284 main ()
13286 return xsltCompilePattern ();
13288 return 0;
13290 _ACEOF
13291 if ac_fn_c_try_link "$LINENO"; then :
13292 case "$LIBEXT" in
13293 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13294 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'` ;;
13295 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13296 if ${ac_cv_lib_soname_xslt:+false} :; then :
13297 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13298 fi ;;
13299 esac
13300 else
13301 ac_cv_lib_soname_xslt=
13303 rm -f core conftest.err conftest.$ac_objext \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_soname_save_LIBS
13307 if ${ac_cv_lib_soname_xslt:+false} :; then :
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13309 $as_echo "not found" >&6; }
13311 else
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13313 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13315 cat >>confdefs.h <<_ACEOF
13316 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13317 _ACEOF
13321 else
13322 XSLT_CFLAGS=""
13324 CPPFLAGS=$ac_save_CPPFLAGS
13327 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13328 case "x$with_xslt" in
13329 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13330 xno) ;;
13331 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13332 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13333 esac
13337 if test "x$with_inotify" != "xno"
13338 then
13339 if ${INOTIFY_CFLAGS:+false} :; then :
13340 if ${PKG_CONFIG+:} false; then :
13341 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13345 if ${INOTIFY_LIBS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13352 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13353 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13354 ac_save_CPPFLAGS=$CPPFLAGS
13355 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13356 for ac_header in sys/inotify.h
13357 do :
13358 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13359 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13360 cat >>confdefs.h <<_ACEOF
13361 #define HAVE_SYS_INOTIFY_H 1
13362 _ACEOF
13366 done
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13369 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13370 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_lib_save_LIBS=$LIBS
13374 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char inotify_add_watch ();
13386 main ()
13388 return inotify_add_watch ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_lib_inotify_inotify_add_watch=yes
13395 else
13396 ac_cv_lib_inotify_inotify_add_watch=no
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13403 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13404 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13406 else
13407 INOTIFY_LIBS=""
13410 CPPFLAGS=$ac_save_CPPFLAGS
13413 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13414 case "x$with_inotify" in
13415 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13416 xno) ;;
13417 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13418 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13419 esac
13423 if test "x$with_dbus" != "xno"
13424 then
13425 if ${DBUS_CFLAGS:+false} :; then :
13426 if ${PKG_CONFIG+:} false; then :
13427 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13431 if ${DBUS_LIBS:+false} :; then :
13432 if ${PKG_CONFIG+:} false; then :
13433 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13438 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13439 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13440 ac_save_CPPFLAGS=$CPPFLAGS
13441 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13442 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13443 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13445 $as_echo_n "checking for -ldbus-1... " >&6; }
13446 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13447 $as_echo_n "(cached) " >&6
13448 else
13449 ac_check_soname_save_LIBS=$LIBS
13450 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13457 #ifdef __cplusplus
13458 extern "C"
13459 #endif
13460 char dbus_connection_close ();
13462 main ()
13464 return dbus_connection_close ();
13466 return 0;
13468 _ACEOF
13469 if ac_fn_c_try_link "$LINENO"; then :
13470 case "$LIBEXT" in
13471 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 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'` ;;
13473 *) 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'`
13474 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13475 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13476 fi ;;
13477 esac
13478 else
13479 ac_cv_lib_soname_dbus_1=
13481 rm -f core conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_soname_save_LIBS
13485 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13487 $as_echo "not found" >&6; }
13488 DBUS_CFLAGS=""
13489 else
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13491 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13493 cat >>confdefs.h <<_ACEOF
13494 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13495 _ACEOF
13499 else
13500 DBUS_CFLAGS=""
13504 CPPFLAGS=$ac_save_CPPFLAGS
13507 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13508 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13509 case "x$with_dbus" in
13510 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13511 xno) ;;
13512 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13513 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13514 esac
13518 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13519 then
13520 if ${HAL_CFLAGS:+false} :; then :
13521 if ${PKG_CONFIG+:} false; then :
13522 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13526 if ${HAL_LIBS:+false} :; then :
13527 if ${PKG_CONFIG+:} false; then :
13528 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13532 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13533 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13534 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13535 ac_save_CPPFLAGS=$CPPFLAGS
13536 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13537 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13538 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13540 $as_echo_n "checking for -lhal... " >&6; }
13541 if ${ac_cv_lib_soname_hal+:} false; then :
13542 $as_echo_n "(cached) " >&6
13543 else
13544 ac_check_soname_save_LIBS=$LIBS
13545 LIBS="-lhal $HAL_LIBS $LIBS"
13546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13549 /* Override any GCC internal prototype to avoid an error.
13550 Use char because int might match the return type of a GCC
13551 builtin and then its argument prototype would still apply. */
13552 #ifdef __cplusplus
13553 extern "C"
13554 #endif
13555 char libhal_ctx_new ();
13557 main ()
13559 return libhal_ctx_new ();
13561 return 0;
13563 _ACEOF
13564 if ac_fn_c_try_link "$LINENO"; then :
13565 case "$LIBEXT" in
13566 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13567 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'` ;;
13568 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13569 if ${ac_cv_lib_soname_hal:+false} :; then :
13570 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13571 fi ;;
13572 esac
13573 else
13574 ac_cv_lib_soname_hal=
13576 rm -f core conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext conftest.$ac_ext
13578 LIBS=$ac_check_soname_save_LIBS
13580 if ${ac_cv_lib_soname_hal:+false} :; then :
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13582 $as_echo "not found" >&6; }
13583 HAL_CFLAGS=""
13584 else
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13586 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13588 cat >>confdefs.h <<_ACEOF
13589 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13590 _ACEOF
13594 else
13595 HAL_CFLAGS=""
13599 CPPFLAGS=$ac_save_CPPFLAGS
13601 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13602 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13603 case "x$with_hal" in
13604 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13605 xno) ;;
13606 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13607 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13608 esac
13613 if test "x$with_gnutls" != "xno"
13614 then
13615 if ${GNUTLS_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false; then :
13617 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13621 if ${GNUTLS_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13627 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13628 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13630 ac_save_CPPFLAGS=$CPPFLAGS
13631 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13632 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13633 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <gnutls/gnutls.h>
13637 #include <gnutls/crypto.h>
13639 main ()
13641 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13643 return 0;
13645 _ACEOF
13646 if ac_fn_c_try_compile "$LINENO"; then :
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13648 $as_echo_n "checking for -lgnutls... " >&6; }
13649 if ${ac_cv_lib_soname_gnutls+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_soname_save_LIBS=$LIBS
13653 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char gnutls_global_init ();
13665 main ()
13667 return gnutls_global_init ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 case "$LIBEXT" in
13674 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13675 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'` ;;
13676 *) 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'`
13677 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13678 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'`
13679 fi ;;
13680 esac
13681 else
13682 ac_cv_lib_soname_gnutls=
13684 rm -f core conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LIBS=$ac_check_soname_save_LIBS
13688 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13690 $as_echo "not found" >&6; }
13691 GNUTLS_CFLAGS=""
13692 else
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13694 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13696 cat >>confdefs.h <<_ACEOF
13697 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13698 _ACEOF
13702 ac_wine_check_funcs_save_LIBS="$LIBS"
13703 LIBS="$LIBS $GNUTLS_LIBS"
13704 for ac_func in gnutls_cipher_init
13705 do :
13706 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13707 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13708 cat >>confdefs.h <<_ACEOF
13709 #define HAVE_GNUTLS_CIPHER_INIT 1
13710 _ACEOF
13712 else
13713 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13715 done
13717 LIBS="$ac_wine_check_funcs_save_LIBS"
13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13720 else
13721 GNUTLS_CFLAGS=""
13725 CPPFLAGS=$ac_save_CPPFLAGS
13728 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13729 case "x$with_gnutls" in
13730 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13731 xno) ;;
13732 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13733 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13734 esac
13738 if test "x$with_sane" != "xno"
13739 then
13740 if ${SANE_CFLAGS:+false} :; then :
13741 if ${PKG_CONFIG+:} false; then :
13742 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13745 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13746 if ${SANE_LIBS:+false} :; then :
13747 if ${PKG_CONFIG+:} false; then :
13748 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13751 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13753 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13754 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13755 ac_save_CPPFLAGS=$CPPFLAGS
13756 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13757 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13758 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13760 $as_echo_n "checking for -lsane... " >&6; }
13761 if ${ac_cv_lib_soname_sane+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_check_soname_save_LIBS=$LIBS
13765 LIBS="-lsane $SANE_LIBS $LIBS"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13772 #ifdef __cplusplus
13773 extern "C"
13774 #endif
13775 char sane_init ();
13777 main ()
13779 return sane_init ();
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 case "$LIBEXT" in
13786 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13787 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'` ;;
13788 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13789 if ${ac_cv_lib_soname_sane:+false} :; then :
13790 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13791 fi ;;
13792 esac
13793 else
13794 ac_cv_lib_soname_sane=
13796 rm -f core conftest.err conftest.$ac_objext \
13797 conftest$ac_exeext conftest.$ac_ext
13798 LIBS=$ac_check_soname_save_LIBS
13800 if ${ac_cv_lib_soname_sane:+false} :; then :
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13802 $as_echo "not found" >&6; }
13803 SANE_CFLAGS=""
13804 else
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13806 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13808 cat >>confdefs.h <<_ACEOF
13809 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13810 _ACEOF
13814 else
13815 SANE_CFLAGS=""
13819 CPPFLAGS=$ac_save_CPPFLAGS
13822 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13823 case "x$with_sane" in
13824 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13825 xno) ;;
13826 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13827 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13828 esac
13832 if test "x$with_usb" != "xno"
13833 then
13834 if ${USB_CFLAGS:+false} :; then :
13835 if ${PKG_CONFIG+:} false; then :
13836 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13840 if ${USB_LIBS:+false} :; then :
13841 if ${PKG_CONFIG+:} false; then :
13842 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13846 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13847 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13848 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13849 ac_save_CPPFLAGS=$CPPFLAGS
13850 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13851 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13852 if test "x$ac_cv_header_libusb_h" = xyes; then :
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13854 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13855 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13856 $as_echo_n "(cached) " >&6
13857 else
13858 ac_check_lib_save_LIBS=$LIBS
13859 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13866 #ifdef __cplusplus
13867 extern "C"
13868 #endif
13869 char libusb_interrupt_event_handler ();
13871 main ()
13873 return libusb_interrupt_event_handler ();
13875 return 0;
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13880 else
13881 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 LIBS=$ac_check_lib_save_LIBS
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13888 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13889 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13891 else
13892 USB_LIBS=""
13895 else
13896 USB_LIBS=""
13900 CPPFLAGS=$ac_save_CPPFLAGS
13903 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13904 case "x$with_usb" in
13905 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13906 xno) ;;
13907 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13908 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13909 esac
13910 enable_wineusb_sys=${enable_wineusb_sys:-no}
13913 if test "x$with_v4l2" != "xno"
13914 then
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13916 $as_echo_n "checking for -lv4l2... " >&6; }
13917 if ${ac_cv_lib_soname_v4l2+:} false; then :
13918 $as_echo_n "(cached) " >&6
13919 else
13920 ac_check_soname_save_LIBS=$LIBS
13921 LIBS="-lv4l2 $LIBS"
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13925 /* Override any GCC internal prototype to avoid an error.
13926 Use char because int might match the return type of a GCC
13927 builtin and then its argument prototype would still apply. */
13928 #ifdef __cplusplus
13929 extern "C"
13930 #endif
13931 char v4l2_open ();
13933 main ()
13935 return v4l2_open ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"; then :
13941 case "$LIBEXT" in
13942 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13943 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'` ;;
13944 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13945 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13946 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13947 fi ;;
13948 esac
13949 else
13950 ac_cv_lib_soname_v4l2=
13952 rm -f core conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 LIBS=$ac_check_soname_save_LIBS
13956 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13958 $as_echo "not found" >&6; }
13960 else
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13962 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13964 cat >>confdefs.h <<_ACEOF
13965 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13966 _ACEOF
13971 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13972 case "x$with_v4l2" in
13973 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13974 xno) ;;
13975 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13976 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13977 esac
13981 if test "x$with_gphoto" != "xno"
13982 then
13983 if ${GPHOTO2_CFLAGS:+false} :; then :
13984 if ${PKG_CONFIG+:} false; then :
13985 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13988 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13989 if ${GPHOTO2_LIBS:+false} :; then :
13990 if ${PKG_CONFIG+:} false; then :
13991 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13994 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13995 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13997 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13998 ac_save_CPPFLAGS=$CPPFLAGS
13999 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14000 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14001 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14003 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14004 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_check_lib_save_LIBS=$LIBS
14008 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14012 /* Override any GCC internal prototype to avoid an error.
14013 Use char because int might match the return type of a GCC
14014 builtin and then its argument prototype would still apply. */
14015 #ifdef __cplusplus
14016 extern "C"
14017 #endif
14018 char gp_camera_new ();
14020 main ()
14022 return gp_camera_new ();
14024 return 0;
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 ac_cv_lib_gphoto2_gp_camera_new=yes
14029 else
14030 ac_cv_lib_gphoto2_gp_camera_new=no
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS=$ac_check_lib_save_LIBS
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14037 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14038 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14040 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14042 else
14043 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14046 else
14047 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14051 CPPFLAGS=$ac_save_CPPFLAGS
14053 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14054 if ${PKG_CONFIG+:} false; then :
14055 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14058 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14059 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14060 if ${PKG_CONFIG+:} false; then :
14061 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14064 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14065 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14066 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14068 ac_save_CPPFLAGS=$CPPFLAGS
14069 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14070 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14071 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14073 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14074 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_check_lib_save_LIBS=$LIBS
14078 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14085 #ifdef __cplusplus
14086 extern "C"
14087 #endif
14088 char gp_port_info_list_new ();
14090 main ()
14092 return gp_port_info_list_new ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14099 else
14100 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14107 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14108 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14110 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14112 else
14113 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14116 else
14117 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14121 CPPFLAGS=$ac_save_CPPFLAGS
14124 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14125 case "x$with_gphoto" in
14126 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14127 xno) ;;
14128 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14129 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14130 esac
14133 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14134 case "x$with_gphoto" in
14135 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14136 xno) ;;
14137 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14138 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14139 esac
14144 if test "$ac_cv_header_resolv_h" = "yes"
14145 then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14147 $as_echo_n "checking for resolver library... " >&6; }
14148 if ${ac_cv_have_resolv+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_save_LIBS="$LIBS"
14152 for lib in '' -lresolv
14154 LIBS="$lib $ac_save_LIBS"
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14157 #ifdef HAVE_NETINET_IN_H
14158 #include <netinet/in.h>
14159 #endif
14160 #include <resolv.h>
14162 main ()
14164 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_have_resolv=${lib:-"none required"}
14171 else
14172 ac_cv_have_resolv="not found"
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 test "x$ac_cv_have_resolv" = "xnot found" || break
14177 done
14178 LIBS="$ac_save_LIBS"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14181 $as_echo "$ac_cv_have_resolv" >&6; }
14183 case "$ac_cv_have_resolv" in
14184 "not found") ;;
14185 "none required")
14187 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14190 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14192 RESOLV_LIBS=$ac_cv_have_resolv
14194 esac
14196 if test "x$ac_cv_have_resolv" != "xnot found"
14197 then
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14199 $as_echo_n "checking for res_getservers... " >&6; }
14200 if ${ac_cv_have_res_getservers+:} false; then :
14201 $as_echo_n "(cached) " >&6
14202 else
14203 ac_save_LIBS="$LIBS"
14204 LIBS="$RESOLV_LIBS $LIBS"
14205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14207 #include <resolv.h>
14209 main ()
14211 res_getservers(NULL, NULL, 0);
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_have_res_getservers=yes
14218 else
14219 ac_cv_have_res_getservers=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 LIBS="$ac_save_LIBS"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14226 $as_echo "$ac_cv_have_res_getservers" >&6; }
14227 if test "$ac_cv_have_res_getservers" = "yes"
14228 then
14230 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14236 if test "x$with_cms" != "xno"
14237 then
14238 if ${LCMS2_CFLAGS:+false} :; then :
14239 if ${PKG_CONFIG+:} false; then :
14240 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14244 if ${LCMS2_LIBS:+false} :; then :
14245 if ${PKG_CONFIG+:} false; then :
14246 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14250 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14251 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14252 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14253 ac_save_CPPFLAGS=$CPPFLAGS
14254 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14255 for ac_header in lcms2.h
14256 do :
14257 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14258 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14259 cat >>confdefs.h <<_ACEOF
14260 #define HAVE_LCMS2_H 1
14261 _ACEOF
14265 done
14267 if test "$ac_cv_header_lcms2_h" = "yes"
14268 then
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14270 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14271 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 ac_check_lib_save_LIBS=$LIBS
14275 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14279 /* Override any GCC internal prototype to avoid an error.
14280 Use char because int might match the return type of a GCC
14281 builtin and then its argument prototype would still apply. */
14282 #ifdef __cplusplus
14283 extern "C"
14284 #endif
14285 char cmsOpenProfileFromFile ();
14287 main ()
14289 return cmsOpenProfileFromFile ();
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"; then :
14295 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14296 else
14297 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14299 rm -f core conftest.err conftest.$ac_objext \
14300 conftest$ac_exeext conftest.$ac_ext
14301 LIBS=$ac_check_lib_save_LIBS
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14304 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14305 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14307 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14309 else
14310 LCMS2_LIBS=""
14313 else
14314 LCMS2_CFLAGS=""
14315 LCMS2_LIBS=""
14317 CPPFLAGS=$ac_save_CPPFLAGS
14320 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14321 case "x$with_cms" in
14322 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14323 xno) ;;
14324 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14325 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14326 esac
14330 if test "x$with_freetype" != "xno"
14331 then
14332 if ${FREETYPE_CFLAGS:+false} :; then :
14333 if ${PKG_CONFIG+:} false; then :
14334 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14337 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14338 if ${FREETYPE_LIBS:+false} :; then :
14339 if ${PKG_CONFIG+:} false; then :
14340 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14343 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14344 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14345 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14346 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14347 ac_save_CPPFLAGS=$CPPFLAGS
14348 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14349 for ac_header in ft2build.h
14350 do :
14351 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14352 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14353 cat >>confdefs.h <<_ACEOF
14354 #define HAVE_FT2BUILD_H 1
14355 _ACEOF
14359 done
14361 if test "$ac_cv_header_ft2build_h" = "yes"
14362 then
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14364 $as_echo_n "checking for -lfreetype... " >&6; }
14365 if ${ac_cv_lib_soname_freetype+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 ac_check_soname_save_LIBS=$LIBS
14369 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14373 /* Override any GCC internal prototype to avoid an error.
14374 Use char because int might match the return type of a GCC
14375 builtin and then its argument prototype would still apply. */
14376 #ifdef __cplusplus
14377 extern "C"
14378 #endif
14379 char FT_Init_FreeType ();
14381 main ()
14383 return FT_Init_FreeType ();
14385 return 0;
14387 _ACEOF
14388 if ac_fn_c_try_link "$LINENO"; then :
14389 case "$LIBEXT" in
14390 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14391 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'` ;;
14392 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14393 if ${ac_cv_lib_soname_freetype:+false} :; then :
14394 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14395 fi ;;
14396 esac
14397 else
14398 ac_cv_lib_soname_freetype=
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_soname_save_LIBS
14404 if ${ac_cv_lib_soname_freetype:+false} :; then :
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14406 $as_echo "not found" >&6; }
14407 FREETYPE_LIBS=""
14408 else
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14410 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14412 cat >>confdefs.h <<_ACEOF
14413 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14414 _ACEOF
14417 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14419 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14420 #include FT_MODULE_H
14422 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14424 cat >>confdefs.h <<_ACEOF
14425 #define HAVE_FT_TRUETYPEENGINETYPE 1
14426 _ACEOF
14432 else
14433 FREETYPE_CFLAGS=""
14434 FREETYPE_LIBS=""
14436 CPPFLAGS=$ac_save_CPPFLAGS
14439 if test "x$ac_cv_lib_soname_freetype" = x; then :
14440 case "x$with_freetype" in
14441 xno) ;;
14442 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14443 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14444 esac
14445 enable_fonts=${enable_fonts:-no}
14448 ac_wine_check_funcs_save_LIBS="$LIBS"
14449 LIBS="$LIBS $PTHREAD_LIBS"
14450 for ac_func in \
14451 pthread_getthreadid_np
14452 do :
14453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14456 cat >>confdefs.h <<_ACEOF
14457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14458 _ACEOF
14461 done
14463 LIBS="$ac_wine_check_funcs_save_LIBS"
14465 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14466 then
14467 if test "$ac_cv_header_gettext_po_h" = "yes"
14468 then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14470 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14471 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14472 $as_echo_n "(cached) " >&6
14473 else
14474 ac_check_lib_save_LIBS=$LIBS
14475 LIBS="-lgettextpo $LIBS"
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14482 #ifdef __cplusplus
14483 extern "C"
14484 #endif
14485 char po_message_msgctxt ();
14487 main ()
14489 return po_message_msgctxt ();
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14496 else
14497 ac_cv_lib_gettextpo_po_message_msgctxt=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_lib_save_LIBS
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14504 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14505 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14507 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14509 GETTEXTPO_LIBS="-lgettextpo"
14514 if test "x$GETTEXTPO_LIBS" = "x"; then :
14515 case "x$with_gettextpo" in
14516 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14517 xno) ;;
14518 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14519 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14520 esac
14523 if test "$srcdir" != .; then :
14524 case "x$with_gettextpo" in
14525 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14526 xno) ;;
14527 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14528 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14529 esac
14534 if test "x$with_pulse" != "xno";
14535 then
14536 if ${PULSE_CFLAGS:+false} :; then :
14537 if ${PKG_CONFIG+:} false; then :
14538 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14542 if ${PULSE_LIBS:+false} :; then :
14543 if ${PKG_CONFIG+:} false; then :
14544 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14549 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14550 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14551 ac_save_CPPFLAGS=$CPPFLAGS
14552 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14553 for ac_header in pulse/pulseaudio.h
14554 do :
14555 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14556 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14557 cat >>confdefs.h <<_ACEOF
14558 #define HAVE_PULSE_PULSEAUDIO_H 1
14559 _ACEOF
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14561 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14562 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_check_lib_save_LIBS=$LIBS
14566 LIBS="-lpulse $PULSE_LIBS $LIBS"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14570 /* Override any GCC internal prototype to avoid an error.
14571 Use char because int might match the return type of a GCC
14572 builtin and then its argument prototype would still apply. */
14573 #ifdef __cplusplus
14574 extern "C"
14575 #endif
14576 char pa_stream_is_corked ();
14578 main ()
14580 return pa_stream_is_corked ();
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_link "$LINENO"; then :
14586 ac_cv_lib_pulse_pa_stream_is_corked=yes
14587 else
14588 ac_cv_lib_pulse_pa_stream_is_corked=no
14590 rm -f core conftest.err conftest.$ac_objext \
14591 conftest$ac_exeext conftest.$ac_ext
14592 LIBS=$ac_check_lib_save_LIBS
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14595 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14596 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14598 else
14599 PULSE_LIBS=""
14602 else
14603 PULSE_LIBS=""
14606 done
14608 CPPFLAGS=$ac_save_CPPFLAGS
14611 if test -z "$PULSE_LIBS"; then :
14612 case "x$with_pulse" in
14613 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14614 xno) ;;
14615 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14616 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14617 esac
14618 enable_winepulse_drv=${enable_winepulse_drv:-no}
14621 if test "x$with_gstreamer" != "xno"
14622 then
14623 if ${GSTREAMER_CFLAGS:+false} :; then :
14624 if ${PKG_CONFIG+:} false; then :
14625 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14629 if ${GSTREAMER_LIBS:+false} :; then :
14630 if ${PKG_CONFIG+:} false; then :
14631 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14636 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14637 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14638 ac_save_CPPFLAGS=$CPPFLAGS
14639 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14640 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14641 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14643 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 #include <gst/gst.h>
14648 main ()
14650 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_compile "$LINENO"; then :
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14657 $as_echo "yes" >&6; }
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14659 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14660 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 ac_check_lib_save_LIBS=$LIBS
14664 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14668 /* Override any GCC internal prototype to avoid an error.
14669 Use char because int might match the return type of a GCC
14670 builtin and then its argument prototype would still apply. */
14671 #ifdef __cplusplus
14672 extern "C"
14673 #endif
14674 char gst_pad_new ();
14676 main ()
14678 return gst_pad_new ();
14680 return 0;
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"; then :
14684 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14685 else
14686 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14688 rm -f core conftest.err conftest.$ac_objext \
14689 conftest$ac_exeext conftest.$ac_ext
14690 LIBS=$ac_check_lib_save_LIBS
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14693 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14694 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14698 else
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14700 $as_echo "no" >&6; }
14701 ac_glib2_broken=yes
14702 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 CPPFLAGS=$ac_save_CPPFLAGS
14711 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14712 then
14713 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14714 case "x$with_gstreamer" in
14715 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14716 xno) ;;
14717 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14718 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14719 esac
14723 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14725 ALSA_LIBS=""
14727 if test "x$with_alsa" != "xno"
14728 then
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14730 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14731 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14732 $as_echo_n "(cached) " >&6
14733 else
14734 ac_check_lib_save_LIBS=$LIBS
14735 LIBS="-lasound $LIBS"
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14742 #ifdef __cplusplus
14743 extern "C"
14744 #endif
14745 char snd_pcm_hw_params_get_access_mask ();
14747 main ()
14749 return snd_pcm_hw_params_get_access_mask ();
14751 return 0;
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14756 else
14757 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14761 LIBS=$ac_check_lib_save_LIBS
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14764 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14765 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14768 #include <alsa/asoundlib.h>
14770 main ()
14772 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_compile "$LINENO"; then :
14778 ALSA_LIBS="-lasound"
14780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14784 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14786 if test "x$with_oss" != xno
14787 then
14788 ac_save_CPPFLAGS="$CPPFLAGS"
14789 if test -f /etc/oss.conf
14790 then
14791 . /etc/oss.conf
14793 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14794 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14795 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14796 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14797 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14799 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14801 cat >>confdefs.h <<_ACEOF
14802 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14803 _ACEOF
14805 OSS4_CFLAGS="$ac_oss_incl"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14808 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14809 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_check_lib_save_LIBS=$LIBS
14813 LIBS="-lossaudio $LIBS"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char _oss_ioctl ();
14825 main ()
14827 return _oss_ioctl ();
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_lib_ossaudio__oss_ioctl=yes
14834 else
14835 ac_cv_lib_ossaudio__oss_ioctl=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_lib_save_LIBS
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14842 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14843 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14844 OSS4_LIBS="-lossaudio"
14853 CPPFLAGS="$ac_save_CPPFLAGS"
14855 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14856 case "x$with_oss" in
14857 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14858 xno) ;;
14859 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14860 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14861 esac
14862 enable_wineoss_drv=${enable_wineoss_drv:-no}
14865 if test "x$with_udev" != "xno"
14866 then
14867 if ${UDEV_CFLAGS:+false} :; then :
14868 if ${PKG_CONFIG+:} false; then :
14869 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14873 if ${UDEV_LIBS:+false} :; then :
14874 if ${PKG_CONFIG+:} false; then :
14875 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14879 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14880 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14881 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14882 ac_save_CPPFLAGS=$CPPFLAGS
14883 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14884 for ac_header in libudev.h
14885 do :
14886 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14887 if test "x$ac_cv_header_libudev_h" = xyes; then :
14888 cat >>confdefs.h <<_ACEOF
14889 #define HAVE_LIBUDEV_H 1
14890 _ACEOF
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14892 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14893 if ${ac_cv_lib_udev_udev_new+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 ac_check_lib_save_LIBS=$LIBS
14897 LIBS="-ludev $UDEV_LIBS $LIBS"
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14904 #ifdef __cplusplus
14905 extern "C"
14906 #endif
14907 char udev_new ();
14909 main ()
14911 return udev_new ();
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_lib_udev_udev_new=yes
14918 else
14919 ac_cv_lib_udev_udev_new=no
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 LIBS=$ac_check_lib_save_LIBS
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14926 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14927 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14929 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14931 else
14932 UDEV_LIBS=""
14935 else
14936 UDEV_LIBS=""
14939 done
14941 CPPFLAGS=$ac_save_CPPFLAGS
14944 if test "x$UDEV_LIBS" = "x"; then :
14945 case "x$with_udev" in
14946 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14947 xno) ;;
14948 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14949 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14950 esac
14954 if test "x$with_unwind" != xno
14955 then
14956 if ${UNWIND_CFLAGS:+false} :; then :
14957 if ${PKG_CONFIG+:} false; then :
14958 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14962 if ${UNWIND_LIBS:+false} :; then :
14963 if ${PKG_CONFIG+:} false; then :
14964 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14968 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14969 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14970 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14971 ac_save_CPPFLAGS=$CPPFLAGS
14972 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14974 $as_echo_n "checking for unw_step... " >&6; }
14975 if ${wine_cv_have_unw_step+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 #define UNW_LOCAL_ONLY
14981 #include <libunwind.h>
14983 main ()
14985 unw_cursor_t cursor; unw_step( &cursor );
14987 return 0;
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"; then :
14991 wine_cv_have_unw_step="yes"
14992 else
14993 wine_cv_have_unw_step="no"
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext conftest.$ac_ext
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14999 $as_echo "$wine_cv_have_unw_step" >&6; }
15000 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15001 then
15002 save_libs=$LIBS
15003 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15004 LIBS="$UNWIND_LIBS $LIBS"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15006 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15007 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15012 #define UNW_LOCAL_ONLY
15013 #include <libunwind.h>
15015 main ()
15017 unw_cursor_t cursor; unw_step( &cursor );
15019 return 0;
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"; then :
15023 wine_cv_have_libunwind_unw_step="yes"
15024 else
15025 wine_cv_have_libunwind_unw_step="no"
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15031 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15032 LIBS=$save_libs
15034 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15035 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15036 then
15038 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15041 CPPFLAGS=$ac_save_CPPFLAGS
15044 case $host in
15045 aarch64*|*-darwin*)
15046 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15047 case "x$with_unwind" in
15048 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15049 xno) ;;
15050 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15051 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15052 esac
15054 fi ;;
15055 esac
15057 if test "x$with_sdl" != "xno"
15058 then
15059 if ${SDL2_CFLAGS:+false} :; then :
15060 if ${PKG_CONFIG+:} false; then :
15061 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15065 if ${SDL2_LIBS:+false} :; then :
15066 if ${PKG_CONFIG+:} false; then :
15067 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15071 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15072 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15073 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15074 ac_save_CPPFLAGS=$CPPFLAGS
15075 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15076 for ac_header in SDL.h
15077 do :
15078 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15079 if test "x$ac_cv_header_SDL_h" = xyes; then :
15080 cat >>confdefs.h <<_ACEOF
15081 #define HAVE_SDL_H 1
15082 _ACEOF
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15084 $as_echo_n "checking for -lSDL2... " >&6; }
15085 if ${ac_cv_lib_soname_SDL2+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_check_soname_save_LIBS=$LIBS
15089 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15093 /* Override any GCC internal prototype to avoid an error.
15094 Use char because int might match the return type of a GCC
15095 builtin and then its argument prototype would still apply. */
15096 #ifdef __cplusplus
15097 extern "C"
15098 #endif
15099 char SDL_Init ();
15101 main ()
15103 return SDL_Init ();
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"; then :
15109 case "$LIBEXT" in
15110 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15111 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'` ;;
15112 *) 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'`
15113 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15114 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15115 fi ;;
15116 esac
15117 else
15118 ac_cv_lib_soname_SDL2=
15120 rm -f core conftest.err conftest.$ac_objext \
15121 conftest$ac_exeext conftest.$ac_ext
15122 LIBS=$ac_check_soname_save_LIBS
15124 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15126 $as_echo "not found" >&6; }
15128 else
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15130 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15132 cat >>confdefs.h <<_ACEOF
15133 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15134 _ACEOF
15140 done
15142 CPPFLAGS=$ac_save_CPPFLAGS
15145 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15146 case "x$with_sdl" in
15147 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15148 xno) ;;
15149 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15150 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15151 esac
15155 if test "x$with_faudio" != "xno"
15156 then
15157 if ${FAUDIO_CFLAGS:+false} :; then :
15158 if ${PKG_CONFIG+:} false; then :
15159 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15163 if ${FAUDIO_LIBS:+false} :; then :
15164 if ${PKG_CONFIG+:} false; then :
15165 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15169 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15170 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15171 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15172 ac_save_CPPFLAGS=$CPPFLAGS
15173 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15174 for ac_header in FAudio.h
15175 do :
15176 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15177 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15178 cat >>confdefs.h <<_ACEOF
15179 #define HAVE_FAUDIO_H 1
15180 _ACEOF
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15182 $as_echo_n "checking for -lFAudio... " >&6; }
15183 if ${ac_cv_lib_soname_FAudio+:} false; then :
15184 $as_echo_n "(cached) " >&6
15185 else
15186 ac_check_soname_save_LIBS=$LIBS
15187 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15191 /* Override any GCC internal prototype to avoid an error.
15192 Use char because int might match the return type of a GCC
15193 builtin and then its argument prototype would still apply. */
15194 #ifdef __cplusplus
15195 extern "C"
15196 #endif
15197 char FAudioCreate ();
15199 main ()
15201 return FAudioCreate ();
15203 return 0;
15205 _ACEOF
15206 if ac_fn_c_try_link "$LINENO"; then :
15207 case "$LIBEXT" in
15208 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15209 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'` ;;
15210 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15211 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15212 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15213 fi ;;
15214 esac
15215 else
15216 ac_cv_lib_soname_FAudio=
15218 rm -f core conftest.err conftest.$ac_objext \
15219 conftest$ac_exeext conftest.$ac_ext
15220 LIBS=$ac_check_soname_save_LIBS
15222 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15224 $as_echo "not found" >&6; }
15226 else
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15228 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15230 cat >>confdefs.h <<_ACEOF
15231 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15232 _ACEOF
15238 done
15240 ac_wine_check_funcs_save_LIBS="$LIBS"
15241 LIBS="$LIBS $FAUDIO_LIBS"
15242 for ac_func in FAudio_CommitOperationSet \
15243 F3DAudioInitialize8 \
15244 FAudioLinkedVersion \
15245 FAudioCreateReverb9WithCustomAllocatorEXT
15246 do :
15247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15249 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15250 cat >>confdefs.h <<_ACEOF
15251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15252 _ACEOF
15255 done
15257 LIBS="$ac_wine_check_funcs_save_LIBS"
15259 CPPFLAGS=$ac_save_CPPFLAGS
15262 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15263 case "x$with_faudio" in
15264 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15265 xno) ;;
15266 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15267 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15268 esac
15272 if test "x$with_capi" != "xno"
15273 then
15274 if ${CAPI20_CFLAGS:+false} :; then :
15275 if ${PKG_CONFIG+:} false; then :
15276 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15280 if ${CAPI20_LIBS:+false} :; then :
15281 if ${PKG_CONFIG+:} false; then :
15282 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15287 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15288 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15289 ac_save_CPPFLAGS=$CPPFLAGS
15290 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15291 for ac_header in capi20.h linux/capi.h
15292 do :
15293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15294 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15296 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15297 cat >>confdefs.h <<_ACEOF
15298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15299 _ACEOF
15303 done
15305 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15306 then
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15308 $as_echo_n "checking for -lcapi20... " >&6; }
15309 if ${ac_cv_lib_soname_capi20+:} false; then :
15310 $as_echo_n "(cached) " >&6
15311 else
15312 ac_check_soname_save_LIBS=$LIBS
15313 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15317 /* Override any GCC internal prototype to avoid an error.
15318 Use char because int might match the return type of a GCC
15319 builtin and then its argument prototype would still apply. */
15320 #ifdef __cplusplus
15321 extern "C"
15322 #endif
15323 char capi20_register ();
15325 main ()
15327 return capi20_register ();
15329 return 0;
15331 _ACEOF
15332 if ac_fn_c_try_link "$LINENO"; then :
15333 case "$LIBEXT" in
15334 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15335 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'` ;;
15336 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15337 if ${ac_cv_lib_soname_capi20:+false} :; then :
15338 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15339 fi ;;
15340 esac
15341 else
15342 ac_cv_lib_soname_capi20=
15344 rm -f core conftest.err conftest.$ac_objext \
15345 conftest$ac_exeext conftest.$ac_ext
15346 LIBS=$ac_check_soname_save_LIBS
15348 if ${ac_cv_lib_soname_capi20:+false} :; then :
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15350 $as_echo "not found" >&6; }
15352 else
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15354 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15356 cat >>confdefs.h <<_ACEOF
15357 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15358 _ACEOF
15363 CPPFLAGS=$ac_save_CPPFLAGS
15366 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15367 case "x$with_capi" in
15368 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15369 xno) ;;
15370 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15371 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15372 esac
15376 if test "x$with_cups" != "xno"
15377 then
15378 if ${CUPS_CFLAGS:+false} :; then :
15379 if ${PKG_CONFIG+:} false; then :
15380 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15383 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15384 if ${CUPS_LIBS:+false} :; then :
15385 if ${PKG_CONFIG+:} false; then :
15386 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15389 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15390 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15391 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15392 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15393 ac_save_CPPFLAGS=$CPPFLAGS
15394 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15395 for ac_header in cups/cups.h cups/ppd.h
15396 do :
15397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15398 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15399 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15400 cat >>confdefs.h <<_ACEOF
15401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15402 _ACEOF
15406 done
15408 if test "$ac_cv_header_cups_cups_h" = "yes"
15409 then
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15411 $as_echo_n "checking for -lcups... " >&6; }
15412 if ${ac_cv_lib_soname_cups+:} false; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 ac_check_soname_save_LIBS=$LIBS
15416 LIBS="-lcups $CUPS_LIBS $LIBS"
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15420 /* Override any GCC internal prototype to avoid an error.
15421 Use char because int might match the return type of a GCC
15422 builtin and then its argument prototype would still apply. */
15423 #ifdef __cplusplus
15424 extern "C"
15425 #endif
15426 char cupsGetDefault ();
15428 main ()
15430 return cupsGetDefault ();
15432 return 0;
15434 _ACEOF
15435 if ac_fn_c_try_link "$LINENO"; then :
15436 case "$LIBEXT" in
15437 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15438 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'` ;;
15439 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15440 if ${ac_cv_lib_soname_cups:+false} :; then :
15441 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15442 fi ;;
15443 esac
15444 else
15445 ac_cv_lib_soname_cups=
15447 rm -f core conftest.err conftest.$ac_objext \
15448 conftest$ac_exeext conftest.$ac_ext
15449 LIBS=$ac_check_soname_save_LIBS
15451 if ${ac_cv_lib_soname_cups:+false} :; then :
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15453 $as_echo "not found" >&6; }
15454 CUPS_LIBS=""
15455 else
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15457 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15459 cat >>confdefs.h <<_ACEOF
15460 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15461 _ACEOF
15465 else
15466 CUPS_CFLAGS=""
15467 CUPS_LIBS=""
15469 CPPFLAGS=$ac_save_CPPFLAGS
15472 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15473 case "x$with_cups" in
15474 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15475 xno) ;;
15476 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15477 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15478 esac
15482 if test "x$with_fontconfig" != "xno"
15483 then
15484 if ${FONTCONFIG_CFLAGS:+false} :; then :
15485 if ${PKG_CONFIG+:} false; then :
15486 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15489 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15490 if ${FONTCONFIG_LIBS:+false} :; then :
15491 if ${PKG_CONFIG+:} false; then :
15492 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15495 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15497 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15498 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15499 ac_save_CPPFLAGS=$CPPFLAGS
15500 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15501 for ac_header in fontconfig/fontconfig.h
15502 do :
15503 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15504 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15505 cat >>confdefs.h <<_ACEOF
15506 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15507 _ACEOF
15511 done
15513 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15514 then
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15516 $as_echo_n "checking for -lfontconfig... " >&6; }
15517 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15518 $as_echo_n "(cached) " >&6
15519 else
15520 ac_check_soname_save_LIBS=$LIBS
15521 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15525 /* Override any GCC internal prototype to avoid an error.
15526 Use char because int might match the return type of a GCC
15527 builtin and then its argument prototype would still apply. */
15528 #ifdef __cplusplus
15529 extern "C"
15530 #endif
15531 char FcInit ();
15533 main ()
15535 return FcInit ();
15537 return 0;
15539 _ACEOF
15540 if ac_fn_c_try_link "$LINENO"; then :
15541 case "$LIBEXT" in
15542 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15543 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'` ;;
15544 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15545 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15546 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15547 fi ;;
15548 esac
15549 else
15550 ac_cv_lib_soname_fontconfig=
15552 rm -f core conftest.err conftest.$ac_objext \
15553 conftest$ac_exeext conftest.$ac_ext
15554 LIBS=$ac_check_soname_save_LIBS
15556 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15558 $as_echo "not found" >&6; }
15559 FONTCONFIG_CFLAGS=""
15560 else
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15562 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15564 cat >>confdefs.h <<_ACEOF
15565 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15566 _ACEOF
15570 else
15571 FONTCONFIG_CFLAGS=""
15573 CPPFLAGS=$ac_save_CPPFLAGS
15576 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15577 case "x$with_fontconfig" in
15578 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15579 xno) ;;
15580 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15581 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15582 esac
15586 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15587 then
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15589 $as_echo_n "checking for -lgsm... " >&6; }
15590 if ${ac_cv_lib_soname_gsm+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 ac_check_soname_save_LIBS=$LIBS
15594 LIBS="-lgsm $LIBS"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 #ifdef __cplusplus
15602 extern "C"
15603 #endif
15604 char gsm_create ();
15606 main ()
15608 return gsm_create ();
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 case "$LIBEXT" in
15615 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15616 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'` ;;
15617 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15618 if ${ac_cv_lib_soname_gsm:+false} :; then :
15619 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15620 fi ;;
15621 esac
15622 else
15623 ac_cv_lib_soname_gsm=
15625 rm -f core conftest.err conftest.$ac_objext \
15626 conftest$ac_exeext conftest.$ac_ext
15627 LIBS=$ac_check_soname_save_LIBS
15629 if ${ac_cv_lib_soname_gsm:+false} :; then :
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15631 $as_echo "not found" >&6; }
15633 else
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15635 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15637 cat >>confdefs.h <<_ACEOF
15638 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15639 _ACEOF
15644 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15645 case "x$with_gsm" in
15646 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15647 xno) ;;
15648 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15649 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15650 esac
15654 if test "x$with_krb5" != "xno"
15655 then
15656 if ${KRB5_CFLAGS:+false} :; then :
15657 if ${PKG_CONFIG+:} false; then :
15658 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15661 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15662 if ${KRB5_LIBS:+false} :; then :
15663 if ${PKG_CONFIG+:} false; then :
15664 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15667 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15669 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15670 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15671 ac_save_CPPFLAGS=$CPPFLAGS
15672 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15673 for ac_header in krb5/krb5.h
15674 do :
15675 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15676 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_KRB5_KRB5_H 1
15679 _ACEOF
15683 done
15685 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15686 then
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15688 $as_echo_n "checking for -lkrb5... " >&6; }
15689 if ${ac_cv_lib_soname_krb5+:} false; then :
15690 $as_echo_n "(cached) " >&6
15691 else
15692 ac_check_soname_save_LIBS=$LIBS
15693 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15700 #ifdef __cplusplus
15701 extern "C"
15702 #endif
15703 char krb5_is_config_principal ();
15705 main ()
15707 return krb5_is_config_principal ();
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 case "$LIBEXT" in
15714 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15715 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'` ;;
15716 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15717 if ${ac_cv_lib_soname_krb5:+false} :; then :
15718 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15719 fi ;;
15720 esac
15721 else
15722 ac_cv_lib_soname_krb5=
15724 rm -f core conftest.err conftest.$ac_objext \
15725 conftest$ac_exeext conftest.$ac_ext
15726 LIBS=$ac_check_soname_save_LIBS
15728 if ${ac_cv_lib_soname_krb5:+false} :; then :
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15730 $as_echo "not found" >&6; }
15731 KRB5_CFLAGS=""
15732 else
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15734 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15736 cat >>confdefs.h <<_ACEOF
15737 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15738 _ACEOF
15742 else
15743 KRB5_CFLAGS=""
15745 CPPFLAGS=$ac_save_CPPFLAGS
15748 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15749 case "x$with_krb5" in
15750 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15751 xno) ;;
15752 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15753 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15754 esac
15757 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15759 if test "x$with_gssapi" != "xno"
15760 then
15761 if ${GSSAPI_CFLAGS:+false} :; then :
15762 if ${PKG_CONFIG+:} false; then :
15763 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15766 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15767 if ${GSSAPI_LIBS:+false} :; then :
15768 if ${PKG_CONFIG+:} false; then :
15769 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15772 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15774 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15775 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15776 ac_save_CPPFLAGS=$CPPFLAGS
15777 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15778 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15779 do :
15780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15781 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15785 _ACEOF
15789 done
15791 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15792 then
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15794 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15795 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15796 $as_echo_n "(cached) " >&6
15797 else
15798 ac_check_soname_save_LIBS=$LIBS
15799 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15803 /* Override any GCC internal prototype to avoid an error.
15804 Use char because int might match the return type of a GCC
15805 builtin and then its argument prototype would still apply. */
15806 #ifdef __cplusplus
15807 extern "C"
15808 #endif
15809 char gss_init_sec_context ();
15811 main ()
15813 return gss_init_sec_context ();
15815 return 0;
15817 _ACEOF
15818 if ac_fn_c_try_link "$LINENO"; then :
15819 case "$LIBEXT" in
15820 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15821 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'` ;;
15822 *) 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'`
15823 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15824 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15825 fi ;;
15826 esac
15827 else
15828 ac_cv_lib_soname_gssapi_krb5=
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832 LIBS=$ac_check_soname_save_LIBS
15834 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15836 $as_echo "not found" >&6; }
15837 GSSAPI_CFLAGS=""
15838 else
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15840 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15842 cat >>confdefs.h <<_ACEOF
15843 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15844 _ACEOF
15848 else
15849 GSSAPI_CFLAGS=""
15851 CPPFLAGS=$ac_save_CPPFLAGS
15854 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15855 case "x$with_gssapi" in
15856 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15857 xno) ;;
15858 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15859 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15860 esac
15864 if test "x$with_jpeg" != "xno"
15865 then
15866 if ${JPEG_CFLAGS:+false} :; then :
15867 if ${PKG_CONFIG+:} false; then :
15868 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15872 if ${JPEG_LIBS:+false} :; then :
15873 if ${PKG_CONFIG+:} false; then :
15874 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15879 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15880 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15881 ac_save_CPPFLAGS=$CPPFLAGS
15882 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15883 for ac_header in jpeglib.h
15884 do :
15885 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15886 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_JPEGLIB_H 1
15889 _ACEOF
15893 done
15895 if test "$ac_cv_header_jpeglib_h" = "yes"
15896 then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15898 $as_echo_n "checking for -ljpeg... " >&6; }
15899 if ${ac_cv_lib_soname_jpeg+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_check_soname_save_LIBS=$LIBS
15903 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 char jpeg_start_decompress ();
15915 main ()
15917 return jpeg_start_decompress ();
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"; then :
15923 case "$LIBEXT" in
15924 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15925 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'` ;;
15926 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15927 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15928 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15929 fi ;;
15930 esac
15931 else
15932 ac_cv_lib_soname_jpeg=
15934 rm -f core conftest.err conftest.$ac_objext \
15935 conftest$ac_exeext conftest.$ac_ext
15936 LIBS=$ac_check_soname_save_LIBS
15938 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15940 $as_echo "not found" >&6; }
15941 JPEG_CFLAGS=""
15942 else
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15944 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15946 cat >>confdefs.h <<_ACEOF
15947 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15948 _ACEOF
15952 else
15953 JPEG_CFLAGS=""
15955 CPPFLAGS=$ac_save_CPPFLAGS
15958 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15959 case "x$with_jpeg" in
15960 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15961 xno) ;;
15962 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15963 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15964 esac
15968 if test "x$with_jxrlib" != "xno"
15969 then
15970 if ${JXRLIB_CFLAGS:+false} :; then :
15971 if ${PKG_CONFIG+:} false; then :
15972 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15975 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15976 if ${JXRLIB_LIBS:+false} :; then :
15977 if ${PKG_CONFIG+:} false; then :
15978 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15983 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15984 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15985 ac_save_CPPFLAGS=$CPPFLAGS
15986 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15987 for ac_header in JXRGlue.h
15988 do :
15989 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15991 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_JXRGLUE_H 1
15994 _ACEOF
15998 done
16000 if test "$ac_cv_header_JXRGlue_h" = "yes"
16001 then
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
16003 $as_echo_n "checking for -ljxrglue... " >&6; }
16004 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006 else
16007 ac_check_soname_save_LIBS=$LIBS
16008 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16012 /* Override any GCC internal prototype to avoid an error.
16013 Use char because int might match the return type of a GCC
16014 builtin and then its argument prototype would still apply. */
16015 #ifdef __cplusplus
16016 extern "C"
16017 #endif
16018 char PKImageDecode_Create_WMP ();
16020 main ()
16022 return PKImageDecode_Create_WMP ();
16024 return 0;
16026 _ACEOF
16027 if ac_fn_c_try_link "$LINENO"; then :
16028 case "$LIBEXT" in
16029 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16030 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'` ;;
16031 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16032 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16033 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16034 fi ;;
16035 esac
16036 else
16037 ac_cv_lib_soname_jxrglue=
16039 rm -f core conftest.err conftest.$ac_objext \
16040 conftest$ac_exeext conftest.$ac_ext
16041 LIBS=$ac_check_soname_save_LIBS
16043 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16045 $as_echo "not found" >&6; }
16046 JXRLIB_CFLAGS=""
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16049 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16051 cat >>confdefs.h <<_ACEOF
16052 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16053 _ACEOF
16057 else
16058 JXRLIB_CFLAGS=""
16060 CPPFLAGS=$ac_save_CPPFLAGS
16063 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16064 case "x$with_jxrlib" in
16065 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16066 xno) ;;
16067 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16068 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16069 esac
16073 if test "x$with_png" != "xno"
16074 then
16075 if ${PNG_CFLAGS:+false} :; then :
16076 if ${PKG_CONFIG+:} false; then :
16077 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16080 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16081 if ${PNG_LIBS:+false} :; then :
16082 if ${PKG_CONFIG+:} false; then :
16083 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16086 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16088 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16089 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16090 ac_save_CPPFLAGS=$CPPFLAGS
16091 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16092 for ac_header in png.h
16093 do :
16094 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16095 if test "x$ac_cv_header_png_h" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_PNG_H 1
16098 _ACEOF
16102 done
16104 if test "$ac_cv_header_png_h" = "yes"
16105 then
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16107 $as_echo_n "checking for -lpng... " >&6; }
16108 if ${ac_cv_lib_soname_png+:} false; then :
16109 $as_echo_n "(cached) " >&6
16110 else
16111 ac_check_soname_save_LIBS=$LIBS
16112 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16116 /* Override any GCC internal prototype to avoid an error.
16117 Use char because int might match the return type of a GCC
16118 builtin and then its argument prototype would still apply. */
16119 #ifdef __cplusplus
16120 extern "C"
16121 #endif
16122 char png_create_read_struct ();
16124 main ()
16126 return png_create_read_struct ();
16128 return 0;
16130 _ACEOF
16131 if ac_fn_c_try_link "$LINENO"; then :
16132 case "$LIBEXT" in
16133 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16134 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'` ;;
16135 *) 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'`
16136 if ${ac_cv_lib_soname_png:+false} :; then :
16137 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16138 fi ;;
16139 esac
16140 else
16141 ac_cv_lib_soname_png=
16143 rm -f core conftest.err conftest.$ac_objext \
16144 conftest$ac_exeext conftest.$ac_ext
16145 LIBS=$ac_check_soname_save_LIBS
16147 if ${ac_cv_lib_soname_png:+false} :; then :
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16149 $as_echo "not found" >&6; }
16150 PNG_CFLAGS=""
16151 else
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16153 $as_echo "$ac_cv_lib_soname_png" >&6; }
16155 cat >>confdefs.h <<_ACEOF
16156 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16157 _ACEOF
16161 else
16162 PNG_CFLAGS=""
16164 CPPFLAGS=$ac_save_CPPFLAGS
16167 if test "x$ac_cv_lib_soname_png" = "x"; then :
16168 case "x$with_png" in
16169 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16170 xno) ;;
16171 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16172 This is an error since --with-png was requested." "$LINENO" 5 ;;
16173 esac
16177 if test "x$with_tiff" != "xno"
16178 then
16179 if ${TIFF_CFLAGS:+false} :; then :
16180 if ${PKG_CONFIG+:} false; then :
16181 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16185 if ${TIFF_LIBS:+false} :; then :
16186 if ${PKG_CONFIG+:} false; then :
16187 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16192 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16193 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16194 ac_save_CPPFLAGS=$CPPFLAGS
16195 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16196 for ac_header in tiffio.h
16197 do :
16198 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16199 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16200 cat >>confdefs.h <<_ACEOF
16201 #define HAVE_TIFFIO_H 1
16202 _ACEOF
16206 done
16208 if test "$ac_cv_header_tiffio_h" = "yes"
16209 then
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16211 $as_echo_n "checking for -ltiff... " >&6; }
16212 if ${ac_cv_lib_soname_tiff+:} false; then :
16213 $as_echo_n "(cached) " >&6
16214 else
16215 ac_check_soname_save_LIBS=$LIBS
16216 LIBS="-ltiff $TIFF_LIBS $LIBS"
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 #ifdef __cplusplus
16224 extern "C"
16225 #endif
16226 char TIFFClientOpen ();
16228 main ()
16230 return TIFFClientOpen ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"; then :
16236 case "$LIBEXT" in
16237 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16238 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'` ;;
16239 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16240 if ${ac_cv_lib_soname_tiff:+false} :; then :
16241 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16242 fi ;;
16243 esac
16244 else
16245 ac_cv_lib_soname_tiff=
16247 rm -f core conftest.err conftest.$ac_objext \
16248 conftest$ac_exeext conftest.$ac_ext
16249 LIBS=$ac_check_soname_save_LIBS
16251 if ${ac_cv_lib_soname_tiff:+false} :; then :
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16253 $as_echo "not found" >&6; }
16255 else
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16257 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16259 cat >>confdefs.h <<_ACEOF
16260 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16261 _ACEOF
16266 CPPFLAGS=$ac_save_CPPFLAGS
16269 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16270 case "x$with_tiff" in
16271 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16272 xno) ;;
16273 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16274 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16275 esac
16279 if test "x$with_mpg123" != "xno"
16280 then
16281 if ${MPG123_CFLAGS:+false} :; then :
16282 if ${PKG_CONFIG+:} false; then :
16283 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16287 if ${MPG123_LIBS:+false} :; then :
16288 if ${PKG_CONFIG+:} false; then :
16289 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16293 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16294 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16295 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16296 ac_save_CPPFLAGS=$CPPFLAGS
16297 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16298 for ac_header in mpg123.h
16299 do :
16300 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16301 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16302 cat >>confdefs.h <<_ACEOF
16303 #define HAVE_MPG123_H 1
16304 _ACEOF
16308 done
16310 if test "$ac_cv_header_mpg123_h" = "yes"
16311 then
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16313 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16314 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16315 $as_echo_n "(cached) " >&6
16316 else
16317 ac_check_lib_save_LIBS=$LIBS
16318 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16322 /* Override any GCC internal prototype to avoid an error.
16323 Use char because int might match the return type of a GCC
16324 builtin and then its argument prototype would still apply. */
16325 #ifdef __cplusplus
16326 extern "C"
16327 #endif
16328 char mpg123_feed ();
16330 main ()
16332 return mpg123_feed ();
16334 return 0;
16336 _ACEOF
16337 if ac_fn_c_try_link "$LINENO"; then :
16338 ac_cv_lib_mpg123_mpg123_feed=yes
16339 else
16340 ac_cv_lib_mpg123_mpg123_feed=no
16342 rm -f core conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16344 LIBS=$ac_check_lib_save_LIBS
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16347 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16348 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16350 else
16351 MPG123_LIBS=""
16354 else
16355 MPG123_CFLAGS=""
16356 MPG123_LIBS=""
16358 CPPFLAGS=$ac_save_CPPFLAGS
16361 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16362 case "x$with_mpg123" in
16363 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16364 xno) ;;
16365 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16366 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16367 esac
16368 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16370 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16372 if test "$ac_cv_header_AL_al_h" = "yes"
16373 then
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16375 $as_echo_n "checking for -lopenal... " >&6; }
16376 if ${ac_cv_lib_soname_openal+:} false; then :
16377 $as_echo_n "(cached) " >&6
16378 else
16379 ac_check_soname_save_LIBS=$LIBS
16380 LIBS="-lopenal $LIBS"
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16384 /* Override any GCC internal prototype to avoid an error.
16385 Use char because int might match the return type of a GCC
16386 builtin and then its argument prototype would still apply. */
16387 #ifdef __cplusplus
16388 extern "C"
16389 #endif
16390 char alGetSource3i ();
16392 main ()
16394 return alGetSource3i ();
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_link "$LINENO"; then :
16400 case "$LIBEXT" in
16401 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16402 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'` ;;
16403 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16404 if ${ac_cv_lib_soname_openal:+false} :; then :
16405 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16406 fi ;;
16407 esac
16408 else
16409 ac_cv_lib_soname_openal=
16411 rm -f core conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16413 LIBS=$ac_check_soname_save_LIBS
16415 if ${ac_cv_lib_soname_openal:+false} :; then :
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16417 $as_echo "not found" >&6; }
16419 else
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16421 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16423 cat >>confdefs.h <<_ACEOF
16424 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16425 _ACEOF
16427 OPENAL_LIBS="-lopenal"
16429 ac_cv_lib_openal=yes
16431 cat >>confdefs.h <<_ACEOF
16432 #define HAVE_OPENAL 1
16433 _ACEOF
16437 if test "x$ac_cv_lib_openal" != xyes; then :
16438 case "x$with_openal" in
16439 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16440 xno) ;;
16441 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16442 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16443 esac
16444 enable_openal32=${enable_openal32:-no}
16447 if test "x$ac_cv_lib_soname_FAudio" = "x"
16448 then
16449 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16450 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16451 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16452 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16453 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16454 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16455 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16456 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16457 enable_xactengine2_0=${enable_xactengine2_0:-no}
16458 enable_xactengine2_4=${enable_xactengine2_4:-no}
16459 enable_xactengine2_7=${enable_xactengine2_7:-no}
16460 enable_xactengine2_9=${enable_xactengine2_9:-no}
16461 enable_xactengine3_0=${enable_xactengine3_0:-no}
16462 enable_xactengine3_1=${enable_xactengine3_1:-no}
16463 enable_xactengine3_2=${enable_xactengine3_2:-no}
16464 enable_xactengine3_3=${enable_xactengine3_3:-no}
16465 enable_xactengine3_4=${enable_xactengine3_4:-no}
16466 enable_xactengine3_5=${enable_xactengine3_5:-no}
16467 enable_xactengine3_6=${enable_xactengine3_6:-no}
16468 enable_xactengine3_7=${enable_xactengine3_7:-no}
16469 enable_xapofx1_1=${enable_xapofx1_1:-no}
16470 enable_xapofx1_2=${enable_xapofx1_2:-no}
16471 enable_xapofx1_3=${enable_xapofx1_3:-no}
16472 enable_xapofx1_4=${enable_xapofx1_4:-no}
16473 enable_xapofx1_5=${enable_xapofx1_5:-no}
16474 enable_xaudio2_0=${enable_xaudio2_0:-no}
16475 enable_xaudio2_1=${enable_xaudio2_1:-no}
16476 enable_xaudio2_2=${enable_xaudio2_2:-no}
16477 enable_xaudio2_3=${enable_xaudio2_3:-no}
16478 enable_xaudio2_4=${enable_xaudio2_4:-no}
16479 enable_xaudio2_5=${enable_xaudio2_5:-no}
16480 enable_xaudio2_6=${enable_xaudio2_6:-no}
16481 enable_xaudio2_7=${enable_xaudio2_7:-no}
16482 enable_xaudio2_8=${enable_xaudio2_8:-no}
16483 enable_xaudio2_9=${enable_xaudio2_9:-no}
16486 if test "$ac_cv_header_kstat_h" = "yes"
16487 then
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16489 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16490 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 ac_check_lib_save_LIBS=$LIBS
16494 LIBS="-lkstat $LIBS"
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16498 /* Override any GCC internal prototype to avoid an error.
16499 Use char because int might match the return type of a GCC
16500 builtin and then its argument prototype would still apply. */
16501 #ifdef __cplusplus
16502 extern "C"
16503 #endif
16504 char kstat_open ();
16506 main ()
16508 return kstat_open ();
16510 return 0;
16512 _ACEOF
16513 if ac_fn_c_try_link "$LINENO"; then :
16514 ac_cv_lib_kstat_kstat_open=yes
16515 else
16516 ac_cv_lib_kstat_kstat_open=no
16518 rm -f core conftest.err conftest.$ac_objext \
16519 conftest$ac_exeext conftest.$ac_ext
16520 LIBS=$ac_check_lib_save_LIBS
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16523 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16524 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16526 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16528 KSTAT_LIBS="-lkstat"
16534 if test "$ac_cv_header_libprocstat_h" = "yes"
16535 then
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16537 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16538 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16539 $as_echo_n "(cached) " >&6
16540 else
16541 ac_check_lib_save_LIBS=$LIBS
16542 LIBS="-lprocstat $LIBS"
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16546 /* Override any GCC internal prototype to avoid an error.
16547 Use char because int might match the return type of a GCC
16548 builtin and then its argument prototype would still apply. */
16549 #ifdef __cplusplus
16550 extern "C"
16551 #endif
16552 char procstat_open_sysctl ();
16554 main ()
16556 return procstat_open_sysctl ();
16558 return 0;
16560 _ACEOF
16561 if ac_fn_c_try_link "$LINENO"; then :
16562 ac_cv_lib_procstat_procstat_open_sysctl=yes
16563 else
16564 ac_cv_lib_procstat_procstat_open_sysctl=no
16566 rm -f core conftest.err conftest.$ac_objext \
16567 conftest$ac_exeext conftest.$ac_ext
16568 LIBS=$ac_check_lib_save_LIBS
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16571 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16572 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16574 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16576 PROCSTAT_LIBS="-lprocstat"
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16583 $as_echo_n "checking for -lodbc... " >&6; }
16584 if ${ac_cv_lib_soname_odbc+:} false; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 ac_check_soname_save_LIBS=$LIBS
16588 LIBS="-lodbc $LIBS"
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16592 /* Override any GCC internal prototype to avoid an error.
16593 Use char because int might match the return type of a GCC
16594 builtin and then its argument prototype would still apply. */
16595 #ifdef __cplusplus
16596 extern "C"
16597 #endif
16598 char SQLConnect ();
16600 main ()
16602 return SQLConnect ();
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 case "$LIBEXT" in
16609 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16610 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'` ;;
16611 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16612 if ${ac_cv_lib_soname_odbc:+false} :; then :
16613 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16614 fi ;;
16615 esac
16616 else
16617 ac_cv_lib_soname_odbc=
16619 rm -f core conftest.err conftest.$ac_objext \
16620 conftest$ac_exeext conftest.$ac_ext
16621 LIBS=$ac_check_soname_save_LIBS
16623 if ${ac_cv_lib_soname_odbc:+false} :; then :
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16625 $as_echo "not found" >&6; }
16626 cat >>confdefs.h <<_ACEOF
16627 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16628 _ACEOF
16630 else
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16632 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16634 cat >>confdefs.h <<_ACEOF
16635 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16636 _ACEOF
16641 if test "x$with_netapi" != "xno"
16642 then
16643 if ${NETAPI_CFLAGS:+false} :; then :
16644 if ${PKG_CONFIG+:} false; then :
16645 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16649 if ${NETAPI_LIBS:+false} :; then :
16650 if ${PKG_CONFIG+:} false; then :
16651 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16656 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16657 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16658 ac_save_CPPFLAGS=$CPPFLAGS
16659 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16661 $as_echo_n "checking for -lnetapi... " >&6; }
16662 if ${ac_cv_lib_soname_netapi+:} false; then :
16663 $as_echo_n "(cached) " >&6
16664 else
16665 ac_check_soname_save_LIBS=$LIBS
16666 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16673 #ifdef __cplusplus
16674 extern "C"
16675 #endif
16676 char libnetapi_init ();
16678 main ()
16680 return libnetapi_init ();
16682 return 0;
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 case "$LIBEXT" in
16687 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16688 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'` ;;
16689 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16690 if ${ac_cv_lib_soname_netapi:+false} :; then :
16691 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16692 fi ;;
16693 esac
16694 else
16695 ac_cv_lib_soname_netapi=
16697 rm -f core conftest.err conftest.$ac_objext \
16698 conftest$ac_exeext conftest.$ac_ext
16699 LIBS=$ac_check_soname_save_LIBS
16701 if ${ac_cv_lib_soname_netapi:+false} :; then :
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16703 $as_echo "not found" >&6; }
16704 cat >>confdefs.h <<_ACEOF
16705 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16706 _ACEOF
16708 else
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16710 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16712 cat >>confdefs.h <<_ACEOF
16713 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16714 _ACEOF
16718 CPPFLAGS=$ac_save_CPPFLAGS
16722 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16723 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16724 then
16725 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16728 if test "x$with_vulkan" != "xno"
16729 then
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16731 $as_echo_n "checking for -lvulkan... " >&6; }
16732 if ${ac_cv_lib_soname_vulkan+:} false; then :
16733 $as_echo_n "(cached) " >&6
16734 else
16735 ac_check_soname_save_LIBS=$LIBS
16736 LIBS="-lvulkan $LIBS"
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16740 /* Override any GCC internal prototype to avoid an error.
16741 Use char because int might match the return type of a GCC
16742 builtin and then its argument prototype would still apply. */
16743 #ifdef __cplusplus
16744 extern "C"
16745 #endif
16746 char vkGetInstanceProcAddr ();
16748 main ()
16750 return vkGetInstanceProcAddr ();
16752 return 0;
16754 _ACEOF
16755 if ac_fn_c_try_link "$LINENO"; then :
16756 case "$LIBEXT" in
16757 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16758 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'` ;;
16759 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16760 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16761 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16762 fi ;;
16763 esac
16764 else
16765 ac_cv_lib_soname_vulkan=
16767 rm -f core conftest.err conftest.$ac_objext \
16768 conftest$ac_exeext conftest.$ac_ext
16769 LIBS=$ac_check_soname_save_LIBS
16771 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16773 $as_echo "not found" >&6; }
16775 else
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16777 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16779 cat >>confdefs.h <<_ACEOF
16780 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16781 _ACEOF
16785 if test "x$ac_cv_lib_soname_vulkan" = "x"
16786 then
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16788 $as_echo_n "checking for -lMoltenVK... " >&6; }
16789 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16790 $as_echo_n "(cached) " >&6
16791 else
16792 ac_check_soname_save_LIBS=$LIBS
16793 LIBS="-lMoltenVK $LIBS"
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16797 /* Override any GCC internal prototype to avoid an error.
16798 Use char because int might match the return type of a GCC
16799 builtin and then its argument prototype would still apply. */
16800 #ifdef __cplusplus
16801 extern "C"
16802 #endif
16803 char vkGetInstanceProcAddr ();
16805 main ()
16807 return vkGetInstanceProcAddr ();
16809 return 0;
16811 _ACEOF
16812 if ac_fn_c_try_link "$LINENO"; then :
16813 case "$LIBEXT" in
16814 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16815 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'` ;;
16816 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16817 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16818 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16819 fi ;;
16820 esac
16821 else
16822 ac_cv_lib_soname_MoltenVK=
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16826 LIBS=$ac_check_soname_save_LIBS
16828 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16830 $as_echo "not found" >&6; }
16832 else
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16834 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16836 cat >>confdefs.h <<_ACEOF
16837 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16838 _ACEOF
16844 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16845 case "x$with_vulkan" in
16846 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16847 xno) ;;
16848 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16849 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16850 esac
16854 if test "x$with_vkd3d" != "xno"
16855 then
16856 if ${VKD3D_CFLAGS:+false} :; then :
16857 if ${PKG_CONFIG+:} false; then :
16858 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16862 if ${VKD3D_LIBS:+false} :; then :
16863 if ${PKG_CONFIG+:} false; then :
16864 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16869 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16870 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16871 ac_save_CPPFLAGS=$CPPFLAGS
16872 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16874 $as_echo_n "checking for -lvkd3d... " >&6; }
16875 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 ac_check_soname_save_LIBS=$LIBS
16879 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h. */
16883 /* Override any GCC internal prototype to avoid an error.
16884 Use char because int might match the return type of a GCC
16885 builtin and then its argument prototype would still apply. */
16886 #ifdef __cplusplus
16887 extern "C"
16888 #endif
16889 char vkd3d_serialize_versioned_root_signature ();
16891 main ()
16893 return vkd3d_serialize_versioned_root_signature ();
16895 return 0;
16897 _ACEOF
16898 if ac_fn_c_try_link "$LINENO"; then :
16899 case "$LIBEXT" in
16900 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16901 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'` ;;
16902 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16903 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16904 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16905 fi ;;
16906 esac
16907 else
16908 ac_cv_lib_soname_vkd3d=
16910 rm -f core conftest.err conftest.$ac_objext \
16911 conftest$ac_exeext conftest.$ac_ext
16912 LIBS=$ac_check_soname_save_LIBS
16914 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16916 $as_echo "not found" >&6; }
16918 else
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16920 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16922 cat >>confdefs.h <<_ACEOF
16923 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16924 _ACEOF
16928 CPPFLAGS=$ac_save_CPPFLAGS
16930 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16931 if ${PKG_CONFIG+:} false; then :
16932 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16936 if ${VKD3D_SHADER_LIBS:+false} :; then :
16937 if ${PKG_CONFIG+:} false; then :
16938 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16943 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16944 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16945 ac_save_CPPFLAGS=$CPPFLAGS
16946 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16948 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16949 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 ac_check_soname_save_LIBS=$LIBS
16953 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16957 /* Override any GCC internal prototype to avoid an error.
16958 Use char because int might match the return type of a GCC
16959 builtin and then its argument prototype would still apply. */
16960 #ifdef __cplusplus
16961 extern "C"
16962 #endif
16963 char vkd3d_shader_compile ();
16965 main ()
16967 return vkd3d_shader_compile ();
16969 return 0;
16971 _ACEOF
16972 if ac_fn_c_try_link "$LINENO"; then :
16973 case "$LIBEXT" in
16974 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16975 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'` ;;
16976 *) 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'`
16977 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16978 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16979 fi ;;
16980 esac
16981 else
16982 ac_cv_lib_soname_vkd3d_shader=
16984 rm -f core conftest.err conftest.$ac_objext \
16985 conftest$ac_exeext conftest.$ac_ext
16986 LIBS=$ac_check_soname_save_LIBS
16988 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16990 $as_echo "not found" >&6; }
16992 else
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16994 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16996 cat >>confdefs.h <<_ACEOF
16997 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16998 _ACEOF
17002 CPPFLAGS=$ac_save_CPPFLAGS
17005 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17006 case "x$with_vkd3d" in
17007 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17008 xno) ;;
17009 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17010 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17011 esac
17014 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17017 EXTRACFLAGS=""
17019 if test "x${GCC}" = "xyes"
17020 then
17021 EXTRACFLAGS="-Wall -pipe"
17023 saved_CFLAGS=$CFLAGS
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17025 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17026 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_wine_try_cflags_saved=$CFLAGS
17030 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 int main(int argc, char **argv) { return 0; }
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 ac_cv_cflags__Werror_unknown_warning_option=yes
17037 else
17038 ac_cv_cflags__Werror_unknown_warning_option=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17042 CFLAGS=$ac_wine_try_cflags_saved
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17045 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17046 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17047 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17050 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17051 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 ac_wine_try_cflags_saved=$CFLAGS
17055 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 int main(int argc, char **argv) { return 0; }
17059 _ACEOF
17060 if ac_fn_c_try_link "$LINENO"; then :
17061 ac_cv_cflags__Werror_unused_command_line_argument=yes
17062 else
17063 ac_cv_cflags__Werror_unused_command_line_argument=no
17065 rm -f core conftest.err conftest.$ac_objext \
17066 conftest$ac_exeext conftest.$ac_ext
17067 CFLAGS=$ac_wine_try_cflags_saved
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17070 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17071 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17072 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17075 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17076 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17077 $as_echo_n "(cached) " >&6
17078 else
17079 ac_wine_try_cflags_saved=$CFLAGS
17080 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083 int main(int argc, char **argv) { return 0; }
17084 _ACEOF
17085 if ac_fn_c_try_link "$LINENO"; then :
17086 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17087 else
17088 ac_cv_cflags__Werror_ignored_optimization_argument=no
17090 rm -f core conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17092 CFLAGS=$ac_wine_try_cflags_saved
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17095 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17096 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17097 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17100 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17101 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 ac_wine_try_cflags_saved=$CFLAGS
17105 CFLAGS="$CFLAGS -fcf-protection=none"
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 int main(int argc, char **argv) { return 0; }
17109 _ACEOF
17110 if ac_fn_c_try_link "$LINENO"; then :
17111 ac_cv_cflags__fcf_protection_none=yes
17112 else
17113 ac_cv_cflags__fcf_protection_none=no
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17117 CFLAGS=$ac_wine_try_cflags_saved
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17120 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17121 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17122 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17125 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17126 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 ac_wine_try_cflags_saved=$CFLAGS
17130 CFLAGS="$CFLAGS -fno-stack-protector"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 int main(int argc, char **argv) { return 0; }
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_cflags__fno_stack_protector=yes
17137 else
17138 ac_cv_cflags__fno_stack_protector=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 CFLAGS=$ac_wine_try_cflags_saved
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17145 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17146 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17147 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17150 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17151 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 ac_wine_try_cflags_saved=$CFLAGS
17155 CFLAGS="$CFLAGS -fno-strict-aliasing"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 int main(int argc, char **argv) { return 0; }
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_cflags__fno_strict_aliasing=yes
17162 else
17163 ac_cv_cflags__fno_strict_aliasing=no
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17167 CFLAGS=$ac_wine_try_cflags_saved
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17170 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17171 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17172 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17175 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17176 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17177 $as_echo_n "(cached) " >&6
17178 else
17179 ac_wine_try_cflags_saved=$CFLAGS
17180 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 int main(int argc, char **argv) { return 0; }
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_cflags__Wdeclaration_after_statement=yes
17187 else
17188 ac_cv_cflags__Wdeclaration_after_statement=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 CFLAGS=$ac_wine_try_cflags_saved
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17195 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17196 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17197 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17200 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17201 if ${ac_cv_cflags__Wempty_body+:} false; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 ac_wine_try_cflags_saved=$CFLAGS
17205 CFLAGS="$CFLAGS -Wempty-body"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 int main(int argc, char **argv) { return 0; }
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_cflags__Wempty_body=yes
17212 else
17213 ac_cv_cflags__Wempty_body=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17217 CFLAGS=$ac_wine_try_cflags_saved
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17220 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17221 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17222 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17225 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17226 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_wine_try_cflags_saved=$CFLAGS
17230 CFLAGS="$CFLAGS -Wignored-qualifiers"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 int main(int argc, char **argv) { return 0; }
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 ac_cv_cflags__Wignored_qualifiers=yes
17237 else
17238 ac_cv_cflags__Wignored_qualifiers=no
17240 rm -f core conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17242 CFLAGS=$ac_wine_try_cflags_saved
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17245 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17246 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17247 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17250 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17251 if ${ac_cv_cflags__Winit_self+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 ac_wine_try_cflags_saved=$CFLAGS
17255 CFLAGS="$CFLAGS -Winit-self"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 int main(int argc, char **argv) { return 0; }
17259 _ACEOF
17260 if ac_fn_c_try_link "$LINENO"; then :
17261 ac_cv_cflags__Winit_self=yes
17262 else
17263 ac_cv_cflags__Winit_self=no
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 CFLAGS=$ac_wine_try_cflags_saved
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17270 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17271 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17272 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17275 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17276 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 ac_wine_try_cflags_saved=$CFLAGS
17280 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17283 int main(int argc, char **argv) { return 0; }
17284 _ACEOF
17285 if ac_fn_c_try_link "$LINENO"; then :
17286 ac_cv_cflags__Wpacked_not_aligned=yes
17287 else
17288 ac_cv_cflags__Wpacked_not_aligned=no
17290 rm -f core conftest.err conftest.$ac_objext \
17291 conftest$ac_exeext conftest.$ac_ext
17292 CFLAGS=$ac_wine_try_cflags_saved
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17295 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17296 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17297 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17300 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17301 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304 ac_wine_try_cflags_saved=$CFLAGS
17305 CFLAGS="$CFLAGS -Wpragma-pack"
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 int main(int argc, char **argv) { return 0; }
17309 _ACEOF
17310 if ac_fn_c_try_link "$LINENO"; then :
17311 ac_cv_cflags__Wpragma_pack=yes
17312 else
17313 ac_cv_cflags__Wpragma_pack=no
17315 rm -f core conftest.err conftest.$ac_objext \
17316 conftest$ac_exeext conftest.$ac_ext
17317 CFLAGS=$ac_wine_try_cflags_saved
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17320 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17321 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17322 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17325 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17326 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 ac_wine_try_cflags_saved=$CFLAGS
17330 CFLAGS="$CFLAGS -Wshift-overflow=2"
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 int main(int argc, char **argv) { return 0; }
17334 _ACEOF
17335 if ac_fn_c_try_link "$LINENO"; then :
17336 ac_cv_cflags__Wshift_overflow_2=yes
17337 else
17338 ac_cv_cflags__Wshift_overflow_2=no
17340 rm -f core conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17342 CFLAGS=$ac_wine_try_cflags_saved
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17345 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17346 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17347 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17350 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17351 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 ac_wine_try_cflags_saved=$CFLAGS
17355 CFLAGS="$CFLAGS -Wstrict-prototypes"
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 int main(int argc, char **argv) { return 0; }
17359 _ACEOF
17360 if ac_fn_c_try_link "$LINENO"; then :
17361 ac_cv_cflags__Wstrict_prototypes=yes
17362 else
17363 ac_cv_cflags__Wstrict_prototypes=no
17365 rm -f core conftest.err conftest.$ac_objext \
17366 conftest$ac_exeext conftest.$ac_ext
17367 CFLAGS=$ac_wine_try_cflags_saved
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17370 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17371 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17372 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17375 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17376 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17377 $as_echo_n "(cached) " >&6
17378 else
17379 ac_wine_try_cflags_saved=$CFLAGS
17380 CFLAGS="$CFLAGS -Wtype-limits"
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 int main(int argc, char **argv) { return 0; }
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"; then :
17386 ac_cv_cflags__Wtype_limits=yes
17387 else
17388 ac_cv_cflags__Wtype_limits=no
17390 rm -f core conftest.err conftest.$ac_objext \
17391 conftest$ac_exeext conftest.$ac_ext
17392 CFLAGS=$ac_wine_try_cflags_saved
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17395 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17396 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17397 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17400 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17401 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 ac_wine_try_cflags_saved=$CFLAGS
17405 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 int main(int argc, char **argv) { return 0; }
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 ac_cv_cflags__Wunused_but_set_parameter=yes
17412 else
17413 ac_cv_cflags__Wunused_but_set_parameter=no
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17417 CFLAGS=$ac_wine_try_cflags_saved
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17420 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17421 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17422 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17425 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17426 if ${ac_cv_cflags__Wvla+:} false; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429 ac_wine_try_cflags_saved=$CFLAGS
17430 CFLAGS="$CFLAGS -Wvla"
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 int main(int argc, char **argv) { return 0; }
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 ac_cv_cflags__Wvla=yes
17437 else
17438 ac_cv_cflags__Wvla=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17442 CFLAGS=$ac_wine_try_cflags_saved
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17445 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17446 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17447 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17450 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17451 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 ac_wine_try_cflags_saved=$CFLAGS
17455 CFLAGS="$CFLAGS -Wwrite-strings"
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 int main(int argc, char **argv) { return 0; }
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"; then :
17461 ac_cv_cflags__Wwrite_strings=yes
17462 else
17463 ac_cv_cflags__Wwrite_strings=no
17465 rm -f core conftest.err conftest.$ac_objext \
17466 conftest$ac_exeext conftest.$ac_ext
17467 CFLAGS=$ac_wine_try_cflags_saved
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17470 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17471 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17472 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17475 if test -z "$CROSSTARGET"
17476 then
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17478 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17479 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17482 ac_wine_try_cflags_saved=$CFLAGS
17483 CFLAGS="$CFLAGS -fexcess-precision=standard"
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 int main(int argc, char **argv) { return 0; }
17487 _ACEOF
17488 if ac_fn_c_try_link "$LINENO"; then :
17489 ac_cv_cflags__fexcess_precision_standard=yes
17490 else
17491 ac_cv_cflags__fexcess_precision_standard=no
17493 rm -f core conftest.err conftest.$ac_objext \
17494 conftest$ac_exeext conftest.$ac_ext
17495 CFLAGS=$ac_wine_try_cflags_saved
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17498 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17499 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17500 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17506 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17507 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17508 $as_echo_n "(cached) " >&6
17509 else
17510 ac_wine_try_cflags_saved=$CFLAGS
17511 CFLAGS="$CFLAGS -Wpointer-arith"
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 int main(int argc, char **argv) { return 0; }
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"; then :
17517 ac_cv_cflags__Wpointer_arith=yes
17518 else
17519 ac_cv_cflags__Wpointer_arith=no
17521 rm -f core conftest.err conftest.$ac_objext \
17522 conftest$ac_exeext conftest.$ac_ext
17523 CFLAGS=$ac_wine_try_cflags_saved
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17526 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17527 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17528 saved_string_h_CFLAGS=$CFLAGS
17529 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17531 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17532 if ${ac_cv_c_string_h_warnings+:} false; then :
17533 $as_echo_n "(cached) " >&6
17534 else
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 #include <string.h>
17539 main ()
17543 return 0;
17545 _ACEOF
17546 if ac_fn_c_try_compile "$LINENO"; then :
17547 ac_cv_c_string_h_warnings=no
17548 else
17549 ac_cv_c_string_h_warnings=yes
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17554 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17555 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17556 CFLAGS=$saved_string_h_CFLAGS
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17560 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17561 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -Wlogical-op"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 int main(int argc, char **argv) { return 0; }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_cflags__Wlogical_op=yes
17572 else
17573 ac_cv_cflags__Wlogical_op=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 CFLAGS=$ac_wine_try_cflags_saved
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17580 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17581 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17582 saved_string_h_CFLAGS=$CFLAGS
17583 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17585 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17586 if ${ac_cv_c_logicalop_noisy+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <string.h>
17592 char*f(const char *h,char n) {return strchr(h,n);}
17594 main ()
17598 return 0;
17600 _ACEOF
17601 if ac_fn_c_try_compile "$LINENO"; then :
17602 ac_cv_c_logicalop_noisy=no
17603 else
17604 ac_cv_c_logicalop_noisy=yes
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17609 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17610 CFLAGS=$saved_string_h_CFLAGS
17611 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17615 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17616 if ${wine_cv_64bit_compare_swap+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17622 #error no
17623 #endif
17625 main ()
17629 return 0;
17631 _ACEOF
17632 if ac_fn_c_try_compile "$LINENO"; then :
17633 wine_cv_64bit_compare_swap="none needed"
17634 else
17635 case $host_cpu in
17636 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17637 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17638 *) wine_cv_64bit_compare_swap="unknown" ;;
17639 esac
17640 if test "x$wine_cv_64bit_compare_swap" != xunknown
17641 then
17642 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17646 #error no
17647 #endif
17649 main ()
17653 return 0;
17655 _ACEOF
17656 if ac_fn_c_try_compile "$LINENO"; then :
17658 else
17659 wine_cv_64bit_compare_swap="unknown"
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 CFLAGS=$saved_CFLAGS
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17668 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17669 case "$wine_cv_64bit_compare_swap" in
17670 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17671 "none needed") ;;
17672 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17673 esac
17675 for ac_flag in $CFLAGS; do
17676 case $ac_flag in
17677 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17678 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17679 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17680 $as_echo_n "(cached) " >&6
17681 else
17682 ac_wine_try_cflags_saved=$CFLAGS
17683 CFLAGS="$CFLAGS -gdwarf-2"
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17686 int main(int argc, char **argv) { return 0; }
17687 _ACEOF
17688 if ac_fn_c_try_link "$LINENO"; then :
17689 ac_cv_cflags__gdwarf_2=yes
17690 else
17691 ac_cv_cflags__gdwarf_2=no
17693 rm -f core conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17695 CFLAGS=$ac_wine_try_cflags_saved
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17698 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17699 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17700 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17703 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17704 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17705 $as_echo_n "(cached) " >&6
17706 else
17707 ac_wine_try_cflags_saved=$CFLAGS
17708 CFLAGS="$CFLAGS -gstrict-dwarf"
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 int main(int argc, char **argv) { return 0; }
17712 _ACEOF
17713 if ac_fn_c_try_link "$LINENO"; then :
17714 ac_cv_cflags__gstrict_dwarf=yes
17715 else
17716 ac_cv_cflags__gstrict_dwarf=no
17718 rm -f core conftest.err conftest.$ac_objext \
17719 conftest$ac_exeext conftest.$ac_ext
17720 CFLAGS=$ac_wine_try_cflags_saved
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17723 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17724 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17725 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17726 fi ;;
17727 esac
17728 done
17730 MSVCRTFLAGS=""
17732 case $host_os in
17733 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17734 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17735 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738 ac_wine_try_cflags_saved=$CFLAGS
17739 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 int main(int argc, char **argv) { return 0; }
17743 _ACEOF
17744 if ac_fn_c_try_link "$LINENO"; then :
17745 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17746 else
17747 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17749 rm -f core conftest.err conftest.$ac_objext \
17750 conftest$ac_exeext conftest.$ac_ext
17751 CFLAGS=$ac_wine_try_cflags_saved
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17754 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17755 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17756 DELAYLOADFLAG="-Wl,-delayload,"
17758 fi ;;
17759 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17760 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17761 if ${ac_cv_cflags__fno_builtin+:} false; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17764 ac_wine_try_cflags_saved=$CFLAGS
17765 CFLAGS="$CFLAGS -fno-builtin"
17766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17768 int main(int argc, char **argv) { return 0; }
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"; then :
17771 ac_cv_cflags__fno_builtin=yes
17772 else
17773 ac_cv_cflags__fno_builtin=no
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17777 CFLAGS=$ac_wine_try_cflags_saved
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17780 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17781 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17782 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17785 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17786 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17789 ac_wine_try_cflags_saved=$CFLAGS
17790 CFLAGS="$CFLAGS -fshort-wchar"
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17793 int main(int argc, char **argv) { return 0; }
17794 _ACEOF
17795 if ac_fn_c_try_link "$LINENO"; then :
17796 ac_cv_cflags__fshort_wchar=yes
17797 else
17798 ac_cv_cflags__fshort_wchar=no
17800 rm -f core conftest.err conftest.$ac_objext \
17801 conftest$ac_exeext conftest.$ac_ext
17802 CFLAGS=$ac_wine_try_cflags_saved
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17805 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17806 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17807 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17808 fi ;;
17809 esac
17811 case $host_cpu in
17812 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17813 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17814 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817 ac_wine_try_cflags_saved=$CFLAGS
17818 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 int main(int argc, char **argv) { return 0; }
17822 _ACEOF
17823 if ac_fn_c_try_link "$LINENO"; then :
17824 ac_cv_cflags__fno_omit_frame_pointer=yes
17825 else
17826 ac_cv_cflags__fno_omit_frame_pointer=no
17828 rm -f core conftest.err conftest.$ac_objext \
17829 conftest$ac_exeext conftest.$ac_ext
17830 CFLAGS=$ac_wine_try_cflags_saved
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17833 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17834 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17835 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17836 fi ;;
17837 *x86_64*)
17838 case $host_os in
17839 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17840 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17841 if ${ac_cv_cflags__Wno_format+:} false; then :
17842 $as_echo_n "(cached) " >&6
17843 else
17844 ac_wine_try_cflags_saved=$CFLAGS
17845 CFLAGS="$CFLAGS -Wno-format"
17846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h. */
17848 int main(int argc, char **argv) { return 0; }
17849 _ACEOF
17850 if ac_fn_c_try_link "$LINENO"; then :
17851 ac_cv_cflags__Wno_format=yes
17852 else
17853 ac_cv_cflags__Wno_format=no
17855 rm -f core conftest.err conftest.$ac_objext \
17856 conftest$ac_exeext conftest.$ac_ext
17857 CFLAGS=$ac_wine_try_cflags_saved
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17860 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17861 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17862 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17863 fi ;;
17864 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17865 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17866 if ${ac_cv_cflags__mabi_ms+:} false; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869 ac_wine_try_cflags_saved=$CFLAGS
17870 CFLAGS="$CFLAGS -mabi=ms"
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17873 int main(int argc, char **argv) { return 0; }
17874 _ACEOF
17875 if ac_fn_c_try_link "$LINENO"; then :
17876 ac_cv_cflags__mabi_ms=yes
17877 else
17878 ac_cv_cflags__mabi_ms=no
17880 rm -f core conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17882 CFLAGS=$ac_wine_try_cflags_saved
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17885 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17886 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17887 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17888 fi ;;
17889 esac ;;
17890 esac
17892 CFLAGS=$saved_CFLAGS
17894 if test "x$enable_werror" = "xyes"
17895 then
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17897 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17898 if ${ac_cv_cflags__Werror+:} false; then :
17899 $as_echo_n "(cached) " >&6
17900 else
17901 ac_wine_try_cflags_saved=$CFLAGS
17902 CFLAGS="$CFLAGS -Werror"
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 int main(int argc, char **argv) { return 0; }
17906 _ACEOF
17907 if ac_fn_c_try_link "$LINENO"; then :
17908 ac_cv_cflags__Werror=yes
17909 else
17910 ac_cv_cflags__Werror=no
17912 rm -f core conftest.err conftest.$ac_objext \
17913 conftest$ac_exeext conftest.$ac_ext
17914 CFLAGS=$ac_wine_try_cflags_saved
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17917 $as_echo "$ac_cv_cflags__Werror" >&6; }
17918 if test "x$ac_cv_cflags__Werror" = xyes; then :
17919 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17922 if test "x$enable_build_id" = "xyes"
17923 then
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17925 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17926 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17927 $as_echo_n "(cached) " >&6
17928 else
17929 ac_wine_try_cflags_saved=$CFLAGS
17930 CFLAGS="$CFLAGS -Wl,--build-id"
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 int main(int argc, char **argv) { return 0; }
17934 _ACEOF
17935 if ac_fn_c_try_link "$LINENO"; then :
17936 ac_cv_cflags__Wl___build_id=yes
17937 else
17938 ac_cv_cflags__Wl___build_id=no
17940 rm -f core conftest.err conftest.$ac_objext \
17941 conftest$ac_exeext conftest.$ac_ext
17942 CFLAGS=$ac_wine_try_cflags_saved
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17945 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17946 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17947 CFLAGS="$CFLAGS -Wl,--build-id"
17948 LDFLAGS="$LDFLAGS -Wl,--build-id"
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17955 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17956 if ${ac_cv_c_fortify_enabled+:} false; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17961 #include <string.h>
17963 main ()
17965 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17966 #error Fortify enabled
17967 #endif
17969 return 0;
17971 _ACEOF
17972 if ac_fn_c_try_compile "$LINENO"; then :
17973 ac_cv_c_fortify_enabled=no
17974 else
17975 ac_cv_c_fortify_enabled=yes
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17980 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17981 if test "$ac_cv_c_fortify_enabled" = yes
17982 then
17983 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17988 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17989 if ${ac_cv_c_cfi_support+:} false; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17994 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17996 main ()
18000 return 0;
18002 _ACEOF
18003 if ac_fn_c_try_compile "$LINENO"; then :
18004 ac_cv_c_cfi_support="yes"
18005 else
18006 ac_cv_c_cfi_support="no"
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18011 $as_echo "$ac_cv_c_cfi_support" >&6; }
18012 if test "$ac_cv_c_cfi_support" = "yes"
18013 then
18014 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18015 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18016 else
18017 if test "x$enable_win64" = "xyes"
18018 then
18019 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18024 case $build_os in
18025 cygwin*|mingw32*) TOOLSEXT=".exe"
18027 esac
18029 case $host_os in
18030 linux*)
18031 case $host_cpu in
18032 *i[3456789]86*|x86_64*|*aarch64*)
18033 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18034 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18036 esac
18038 esac
18041 ac_save_CFLAGS="$CFLAGS"
18042 CFLAGS="$CFLAGS $BUILTINFLAG"
18043 for ac_func in \
18044 __res_get_state \
18045 __res_getservers \
18046 _spawnvp \
18047 epoll_create \
18048 fnmatch \
18049 fork \
18050 fstatfs \
18051 futimens \
18052 futimes \
18053 futimesat \
18054 getattrlist \
18055 getauxval \
18056 getifaddrs \
18057 getopt_long_only \
18058 getrandom \
18059 kqueue \
18060 lstat \
18061 mach_continuous_time \
18062 pipe2 \
18063 poll \
18064 port_create \
18065 prctl \
18066 pread \
18067 proc_pidinfo \
18068 pwrite \
18069 readlink \
18070 sched_yield \
18071 setproctitle \
18072 setprogname \
18073 sigprocmask \
18074 symlink \
18075 tcdrain \
18076 thr_kill2
18078 do :
18079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18081 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18082 cat >>confdefs.h <<_ACEOF
18083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18084 _ACEOF
18087 done
18089 CFLAGS="$ac_save_CFLAGS"
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18092 $as_echo_n "checking for library containing dlopen... " >&6; }
18093 if ${ac_cv_search_dlopen+:} false; then :
18094 $as_echo_n "(cached) " >&6
18095 else
18096 ac_func_search_save_LIBS=$LIBS
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 /* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
18103 #ifdef __cplusplus
18104 extern "C"
18105 #endif
18106 char dlopen ();
18108 main ()
18110 return dlopen ();
18112 return 0;
18114 _ACEOF
18115 for ac_lib in '' dl; do
18116 if test -z "$ac_lib"; then
18117 ac_res="none required"
18118 else
18119 ac_res=-l$ac_lib
18120 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18122 if ac_fn_c_try_link "$LINENO"; then :
18123 ac_cv_search_dlopen=$ac_res
18125 rm -f core conftest.err conftest.$ac_objext \
18126 conftest$ac_exeext
18127 if ${ac_cv_search_dlopen+:} false; then :
18128 break
18130 done
18131 if ${ac_cv_search_dlopen+:} false; then :
18133 else
18134 ac_cv_search_dlopen=no
18136 rm conftest.$ac_ext
18137 LIBS=$ac_func_search_save_LIBS
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18140 $as_echo "$ac_cv_search_dlopen" >&6; }
18141 ac_res=$ac_cv_search_dlopen
18142 if test "$ac_res" != no; then :
18143 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18147 ac_wine_check_funcs_save_LIBS="$LIBS"
18148 LIBS="$LIBS $DL_LIBS"
18149 for ac_func in dladdr dlinfo
18150 do :
18151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18153 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18154 cat >>confdefs.h <<_ACEOF
18155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18156 _ACEOF
18159 done
18161 LIBS="$ac_wine_check_funcs_save_LIBS"
18163 if test "$ac_cv_func_poll" = no
18164 then
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18166 $as_echo_n "checking for poll in -lpoll... " >&6; }
18167 if ${ac_cv_lib_poll_poll+:} false; then :
18168 $as_echo_n "(cached) " >&6
18169 else
18170 ac_check_lib_save_LIBS=$LIBS
18171 LIBS="-lpoll $LIBS"
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18175 /* Override any GCC internal prototype to avoid an error.
18176 Use char because int might match the return type of a GCC
18177 builtin and then its argument prototype would still apply. */
18178 #ifdef __cplusplus
18179 extern "C"
18180 #endif
18181 char poll ();
18183 main ()
18185 return poll ();
18187 return 0;
18189 _ACEOF
18190 if ac_fn_c_try_link "$LINENO"; then :
18191 ac_cv_lib_poll_poll=yes
18192 else
18193 ac_cv_lib_poll_poll=no
18195 rm -f core conftest.err conftest.$ac_objext \
18196 conftest$ac_exeext conftest.$ac_ext
18197 LIBS=$ac_check_lib_save_LIBS
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18200 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18201 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18202 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18203 POLL_LIBS="-lpoll"
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18210 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18211 if ${ac_cv_search_gethostbyname+:} false; then :
18212 $as_echo_n "(cached) " >&6
18213 else
18214 ac_func_search_save_LIBS=$LIBS
18215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 /* Override any GCC internal prototype to avoid an error.
18219 Use char because int might match the return type of a GCC
18220 builtin and then its argument prototype would still apply. */
18221 #ifdef __cplusplus
18222 extern "C"
18223 #endif
18224 char gethostbyname ();
18226 main ()
18228 return gethostbyname ();
18230 return 0;
18232 _ACEOF
18233 for ac_lib in '' nsl; do
18234 if test -z "$ac_lib"; then
18235 ac_res="none required"
18236 else
18237 ac_res=-l$ac_lib
18238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18240 if ac_fn_c_try_link "$LINENO"; then :
18241 ac_cv_search_gethostbyname=$ac_res
18243 rm -f core conftest.err conftest.$ac_objext \
18244 conftest$ac_exeext
18245 if ${ac_cv_search_gethostbyname+:} false; then :
18246 break
18248 done
18249 if ${ac_cv_search_gethostbyname+:} false; then :
18251 else
18252 ac_cv_search_gethostbyname=no
18254 rm conftest.$ac_ext
18255 LIBS=$ac_func_search_save_LIBS
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18258 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18259 ac_res=$ac_cv_search_gethostbyname
18260 if test "$ac_res" != no; then :
18261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18267 $as_echo_n "checking for library containing connect... " >&6; }
18268 if ${ac_cv_search_connect+:} false; then :
18269 $as_echo_n "(cached) " >&6
18270 else
18271 ac_func_search_save_LIBS=$LIBS
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18275 /* Override any GCC internal prototype to avoid an error.
18276 Use char because int might match the return type of a GCC
18277 builtin and then its argument prototype would still apply. */
18278 #ifdef __cplusplus
18279 extern "C"
18280 #endif
18281 char connect ();
18283 main ()
18285 return connect ();
18287 return 0;
18289 _ACEOF
18290 for ac_lib in '' socket; do
18291 if test -z "$ac_lib"; then
18292 ac_res="none required"
18293 else
18294 ac_res=-l$ac_lib
18295 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18297 if ac_fn_c_try_link "$LINENO"; then :
18298 ac_cv_search_connect=$ac_res
18300 rm -f core conftest.err conftest.$ac_objext \
18301 conftest$ac_exeext
18302 if ${ac_cv_search_connect+:} false; then :
18303 break
18305 done
18306 if ${ac_cv_search_connect+:} false; then :
18308 else
18309 ac_cv_search_connect=no
18311 rm conftest.$ac_ext
18312 LIBS=$ac_func_search_save_LIBS
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18315 $as_echo "$ac_cv_search_connect" >&6; }
18316 ac_res=$ac_cv_search_connect
18317 if test "$ac_res" != no; then :
18318 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18324 $as_echo_n "checking for library containing inet_aton... " >&6; }
18325 if ${ac_cv_search_inet_aton+:} false; then :
18326 $as_echo_n "(cached) " >&6
18327 else
18328 ac_func_search_save_LIBS=$LIBS
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18332 /* Override any GCC internal prototype to avoid an error.
18333 Use char because int might match the return type of a GCC
18334 builtin and then its argument prototype would still apply. */
18335 #ifdef __cplusplus
18336 extern "C"
18337 #endif
18338 char inet_aton ();
18340 main ()
18342 return inet_aton ();
18344 return 0;
18346 _ACEOF
18347 for ac_lib in '' resolv; do
18348 if test -z "$ac_lib"; then
18349 ac_res="none required"
18350 else
18351 ac_res=-l$ac_lib
18352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18354 if ac_fn_c_try_link "$LINENO"; then :
18355 ac_cv_search_inet_aton=$ac_res
18357 rm -f core conftest.err conftest.$ac_objext \
18358 conftest$ac_exeext
18359 if ${ac_cv_search_inet_aton+:} false; then :
18360 break
18362 done
18363 if ${ac_cv_search_inet_aton+:} false; then :
18365 else
18366 ac_cv_search_inet_aton=no
18368 rm conftest.$ac_ext
18369 LIBS=$ac_func_search_save_LIBS
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18372 $as_echo "$ac_cv_search_inet_aton" >&6; }
18373 ac_res=$ac_cv_search_inet_aton
18374 if test "$ac_res" != no; then :
18375 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18380 for ac_func in \
18381 getaddrinfo \
18382 getnameinfo \
18383 getservbyport \
18385 do :
18386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18389 cat >>confdefs.h <<_ACEOF
18390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18391 _ACEOF
18394 done
18397 case $host_os in
18398 darwin*|macosx*) ;;
18399 *) ac_save_LIBS=$LIBS
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18401 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18402 if ${ac_cv_search_clock_gettime+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 ac_func_search_save_LIBS=$LIBS
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18412 #ifdef __cplusplus
18413 extern "C"
18414 #endif
18415 char clock_gettime ();
18417 main ()
18419 return clock_gettime ();
18421 return 0;
18423 _ACEOF
18424 for ac_lib in '' rt; do
18425 if test -z "$ac_lib"; then
18426 ac_res="none required"
18427 else
18428 ac_res=-l$ac_lib
18429 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18431 if ac_fn_c_try_link "$LINENO"; then :
18432 ac_cv_search_clock_gettime=$ac_res
18434 rm -f core conftest.err conftest.$ac_objext \
18435 conftest$ac_exeext
18436 if ${ac_cv_search_clock_gettime+:} false; then :
18437 break
18439 done
18440 if ${ac_cv_search_clock_gettime+:} false; then :
18442 else
18443 ac_cv_search_clock_gettime=no
18445 rm conftest.$ac_ext
18446 LIBS=$ac_func_search_save_LIBS
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18449 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18450 ac_res=$ac_cv_search_clock_gettime
18451 if test "$ac_res" != no; then :
18452 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18454 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18456 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18460 LIBS=$ac_save_LIBS
18462 esac
18464 if test "x$with_ldap" != "xno"
18465 then
18466 if ${LDAP_CFLAGS:+false} :; then :
18467 if ${PKG_CONFIG+:} false; then :
18468 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18472 if ${LDAP_LIBS:+false} :; then :
18473 if ${PKG_CONFIG+:} false; then :
18474 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18478 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18479 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18480 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18481 ac_save_CPPFLAGS=$CPPFLAGS
18482 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18483 for ac_header in ldap.h lber.h
18484 do :
18485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18486 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18488 cat >>confdefs.h <<_ACEOF
18489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18490 _ACEOF
18494 done
18496 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18497 then
18498 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18500 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18502 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18503 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18504 $as_echo_n "(cached) " >&6
18505 else
18506 ac_check_lib_save_LIBS=$LIBS
18507 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h. */
18511 /* Override any GCC internal prototype to avoid an error.
18512 Use char because int might match the return type of a GCC
18513 builtin and then its argument prototype would still apply. */
18514 #ifdef __cplusplus
18515 extern "C"
18516 #endif
18517 char ldap_initialize ();
18519 main ()
18521 return ldap_initialize ();
18523 return 0;
18525 _ACEOF
18526 if ac_fn_c_try_link "$LINENO"; then :
18527 ac_cv_lib_ldap_r_ldap_initialize=yes
18528 else
18529 ac_cv_lib_ldap_r_ldap_initialize=no
18531 rm -f core conftest.err conftest.$ac_objext \
18532 conftest$ac_exeext conftest.$ac_ext
18533 LIBS=$ac_check_lib_save_LIBS
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18536 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18537 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18539 $as_echo_n "checking for ber_init in -llber... " >&6; }
18540 if ${ac_cv_lib_lber_ber_init+:} false; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18543 ac_check_lib_save_LIBS=$LIBS
18544 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18548 /* Override any GCC internal prototype to avoid an error.
18549 Use char because int might match the return type of a GCC
18550 builtin and then its argument prototype would still apply. */
18551 #ifdef __cplusplus
18552 extern "C"
18553 #endif
18554 char ber_init ();
18556 main ()
18558 return ber_init ();
18560 return 0;
18562 _ACEOF
18563 if ac_fn_c_try_link "$LINENO"; then :
18564 ac_cv_lib_lber_ber_init=yes
18565 else
18566 ac_cv_lib_lber_ber_init=no
18568 rm -f core conftest.err conftest.$ac_objext \
18569 conftest$ac_exeext conftest.$ac_ext
18570 LIBS=$ac_check_lib_save_LIBS
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18573 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18574 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18576 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18578 else
18579 LDAP_LIBS=""
18582 else
18583 LDAP_LIBS=""
18586 else
18587 LDAP_LIBS=""
18590 ac_wine_check_funcs_save_LIBS="$LIBS"
18591 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18592 for ac_func in \
18593 ldap_count_references \
18594 ldap_first_reference \
18595 ldap_next_reference \
18596 ldap_parse_reference \
18597 ldap_parse_sort_control \
18598 ldap_parse_sortresponse_control \
18599 ldap_parse_vlv_control \
18600 ldap_parse_vlvresponse_control
18601 do :
18602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18605 cat >>confdefs.h <<_ACEOF
18606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18607 _ACEOF
18610 done
18612 LIBS="$ac_wine_check_funcs_save_LIBS"
18613 else
18614 LDAP_LIBS=""
18616 CPPFLAGS=$ac_save_CPPFLAGS
18619 if test "x$LDAP_LIBS" = "x"; then :
18620 case "x$with_ldap" in
18621 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18622 xno) ;;
18623 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18624 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18625 esac
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18630 $as_echo_n "checking for sched_setaffinity... " >&6; }
18631 if ${wine_cv_have_sched_setaffinity+:} false; then :
18632 $as_echo_n "(cached) " >&6
18633 else
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #define _GNU_SOURCE
18637 #include <sched.h>
18639 main ()
18641 sched_setaffinity(0, 0, 0);
18643 return 0;
18645 _ACEOF
18646 if ac_fn_c_try_link "$LINENO"; then :
18647 wine_cv_have_sched_setaffinity=yes
18648 else
18649 wine_cv_have_sched_setaffinity=no
18651 rm -f core conftest.err conftest.$ac_objext \
18652 conftest$ac_exeext conftest.$ac_ext
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18655 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18656 if test "$wine_cv_have_sched_setaffinity" = "yes"
18657 then
18659 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18664 $as_echo_n "checking for fallocate... " >&6; }
18665 if ${wine_cv_have_fallocate+:} false; then :
18666 $as_echo_n "(cached) " >&6
18667 else
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 #define _GNU_SOURCE
18671 #include <fcntl.h>
18673 main ()
18675 fallocate(-1, 0, 0, 0);
18677 return 0;
18679 _ACEOF
18680 if ac_fn_c_try_link "$LINENO"; then :
18681 wine_cv_have_fallocate=yes
18682 else
18683 wine_cv_have_fallocate=no
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18689 $as_echo "$wine_cv_have_fallocate" >&6; }
18690 if test "$wine_cv_have_fallocate" = "yes"
18691 then
18693 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18699 $as_echo_n "checking for inline... " >&6; }
18700 if ${ac_cv_c_inline+:} false; then :
18701 $as_echo_n "(cached) " >&6
18702 else
18703 ac_cv_c_inline=no
18704 for ac_kw in inline __inline__ __inline; do
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 #ifndef __cplusplus
18708 typedef int foo_t;
18709 static $ac_kw foo_t static_foo () {return 0; }
18710 $ac_kw foo_t foo () {return 0; }
18711 #endif
18713 _ACEOF
18714 if ac_fn_c_try_compile "$LINENO"; then :
18715 ac_cv_c_inline=$ac_kw
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 test "$ac_cv_c_inline" != no && break
18719 done
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18723 $as_echo "$ac_cv_c_inline" >&6; }
18725 case $ac_cv_c_inline in
18726 inline | yes) ;;
18728 case $ac_cv_c_inline in
18729 no) ac_val=;;
18730 *) ac_val=$ac_cv_c_inline;;
18731 esac
18732 cat >>confdefs.h <<_ACEOF
18733 #ifndef __cplusplus
18734 #define inline $ac_val
18735 #endif
18736 _ACEOF
18738 esac
18740 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18741 #include <signal.h>
18743 if test "x$ac_cv_type_sigset_t" = xyes; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_SIGSET_T 1
18747 _ACEOF
18752 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18754 if test "x$ac_cv_type_request_sense" = xyes; then :
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_REQUEST_SENSE 1
18758 _ACEOF
18764 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18765 #ifdef HAVE_SYS_SOCKET_H
18766 #include <sys/socket.h>
18767 #endif
18768 #ifdef HAVE_SYS_SOCKETVAR_H
18769 #include <sys/socketvar.h>
18770 #endif
18771 #ifdef HAVE_NET_ROUTE_H
18772 #include <net/route.h>
18773 #endif
18774 #ifdef HAVE_NETINET_IN_H
18775 #include <netinet/in.h>
18776 #endif
18777 #ifdef HAVE_NETINET_IN_SYSTM_H
18778 #include <netinet/in_systm.h>
18779 #endif
18780 #ifdef HAVE_NETINET_IP_H
18781 #include <netinet/ip.h>
18782 #endif
18783 #ifdef HAVE_NETINET_IN_PCB_H
18784 #include <netinet/in_pcb.h>
18785 #endif
18787 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_STRUCT_XINPGEN 1
18791 _ACEOF
18797 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18798 #include <linux/input.h>
18799 #endif
18801 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18803 cat >>confdefs.h <<_ACEOF
18804 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18805 _ACEOF
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18812 $as_echo_n "checking for if_nameindex... " >&6; }
18813 if ${wine_cv_have_if_nameindex+:} false; then :
18814 $as_echo_n "(cached) " >&6
18815 else
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18818 #ifdef HAVE_SYS_TYPES_H
18819 #include <sys/types.h>
18820 #endif
18821 #ifdef HAVE_SYS_SOCKET_H
18822 #include <sys/socket.h>
18823 #endif
18824 #ifdef HAVE_NET_IF_H
18825 # include <net/if.h>
18826 #endif
18828 main ()
18830 struct if_nameindex *p = if_nameindex(); return p->if_index;
18832 return 0;
18834 _ACEOF
18835 if ac_fn_c_try_link "$LINENO"; then :
18836 wine_cv_have_if_nameindex=yes
18837 else
18838 wine_cv_have_if_nameindex=no
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18844 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18845 if test "$wine_cv_have_if_nameindex" = "yes"
18846 then
18848 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18853 $as_echo_n "checking for sigaddset... " >&6; }
18854 if ${wine_cv_have_sigaddset+:} false; then :
18855 $as_echo_n "(cached) " >&6
18856 else
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 #include <signal.h>
18861 main ()
18863 sigset_t set; sigaddset(&set,SIGTERM);
18865 return 0;
18867 _ACEOF
18868 if ac_fn_c_try_link "$LINENO"; then :
18869 wine_cv_have_sigaddset=yes
18870 else
18871 wine_cv_have_sigaddset=no
18873 rm -f core conftest.err conftest.$ac_objext \
18874 conftest$ac_exeext conftest.$ac_ext
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18877 $as_echo "$wine_cv_have_sigaddset" >&6; }
18878 if test "$wine_cv_have_sigaddset" = "yes"
18879 then
18881 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18887 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18888 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18889 $as_echo_n "(cached) " >&6
18890 else
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 #include <netdb.h>
18895 main ()
18898 char *name=0;
18899 struct hostent he;
18900 struct hostent *result;
18901 char *buf=0;
18902 int bufsize=0;
18903 int errnr;
18904 char *addr=0;
18905 int addrlen=0;
18906 int addrtype=0;
18907 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18908 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18911 return 0;
18913 _ACEOF
18914 if ac_fn_c_try_link "$LINENO"; then :
18915 wine_cv_linux_gethostbyname_r_6=yes
18916 else
18917 wine_cv_linux_gethostbyname_r_6=no
18920 rm -f core conftest.err conftest.$ac_objext \
18921 conftest$ac_exeext conftest.$ac_ext
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18925 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18926 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18927 then
18929 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18933 if test "$ac_cv_header_linux_joystick_h" = "yes"
18934 then
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18936 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18937 if ${wine_cv_linux_joystick_22_api+:} false; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18943 #include <sys/ioctl.h>
18944 #include <sys/types.h>
18945 #include <linux/joystick.h>
18947 struct js_event blub;
18948 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18949 #error "no 2.2 header"
18950 #endif
18953 main ()
18955 /*empty*/
18957 return 0;
18959 _ACEOF
18960 if ac_fn_c_try_compile "$LINENO"; then :
18961 wine_cv_linux_joystick_22_api=yes
18962 else
18963 wine_cv_linux_joystick_22_api=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18969 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18970 if test "$wine_cv_linux_joystick_22_api" = "yes"
18971 then
18973 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18978 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18979 #ifdef HAVE_SYS_SOCKET_H
18980 # include <sys/socket.h>
18981 #endif
18982 #ifdef HAVE_SYS_UN_H
18983 # include <sys/un.h>
18984 #endif
18986 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18988 cat >>confdefs.h <<_ACEOF
18989 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18990 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18995 #ifdef HAVE_SYS_SOCKET_H
18996 # include <sys/socket.h>
18997 #endif
18998 #ifdef HAVE_SYS_UN_H
18999 # include <sys/un.h>
19000 #endif
19002 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19006 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19011 #ifdef HAVE_SYS_SOCKET_H
19012 # include <sys/socket.h>
19013 #endif
19014 #ifdef HAVE_SYS_UN_H
19015 # include <sys/un.h>
19016 #endif
19018 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19022 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19029 #ifdef HAVE_SCSI_SG_H
19030 #include <scsi/sg.h>
19031 #endif
19033 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_SCSIREQ_T_CMD 1
19037 _ACEOF
19041 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>
19042 #ifdef HAVE_SCSI_SG_H
19043 #include <scsi/sg.h>
19044 #endif
19046 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19050 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19058 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_SIGINFO_T_SI_FD 1
19062 _ACEOF
19068 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19069 #ifdef HAVE_SYS_MTIO_H
19070 #include <sys/mtio.h>
19071 #endif
19073 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19077 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19082 #ifdef HAVE_SYS_MTIO_H
19083 #include <sys/mtio.h>
19084 #endif
19086 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19090 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19095 #ifdef HAVE_SYS_MTIO_H
19096 #include <sys/mtio.h>
19097 #endif
19099 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19103 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19110 #include <getopt.h>
19111 #endif
19113 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_STRUCT_OPTION_NAME 1
19117 _ACEOF
19123 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19124 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19128 _ACEOF
19132 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19133 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_STRUCT_STAT_ST_MTIM 1
19137 _ACEOF
19141 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19142 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19146 _ACEOF
19150 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19151 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_STRUCT_STAT_ST_CTIM 1
19155 _ACEOF
19159 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19160 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19164 _ACEOF
19168 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19169 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_STRUCT_STAT_ST_ATIM 1
19173 _ACEOF
19177 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19178 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19182 _ACEOF
19186 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19187 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19191 _ACEOF
19195 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19196 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19198 cat >>confdefs.h <<_ACEOF
19199 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19200 _ACEOF
19204 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19205 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19207 cat >>confdefs.h <<_ACEOF
19208 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19209 _ACEOF
19213 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19214 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19216 cat >>confdefs.h <<_ACEOF
19217 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19218 _ACEOF
19222 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19223 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19227 _ACEOF
19233 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
19234 #include <sys/types.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IN_H
19237 #include <netinet/in.h>
19238 #endif
19240 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19244 _ACEOF
19250 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19251 #include <sys/types.h>
19252 #endif
19253 #ifdef HAVE_NETINET_IN_H
19254 #include <netinet/in.h>
19255 #endif
19256 #ifdef HAVE_RESOLV_H
19257 #include <resolv.h>
19258 #endif
19260 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19262 cat >>confdefs.h <<_ACEOF
19263 #define HAVE_STRUCT___RES_STATE 1
19264 _ACEOF
19270 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
19271 #include <resolv.h>
19272 #endif
19274 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19278 _ACEOF
19284 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19285 #include <sys/types.h>
19286 #endif
19287 #ifdef HAVE_NETINET_IN_H
19288 # include <netinet/in.h>
19289 #endif
19290 #ifdef HAVE_ARPA_NAMESER_H
19291 # include <arpa/nameser.h>
19292 #endif
19294 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19296 cat >>confdefs.h <<_ACEOF
19297 #define HAVE_NS_MSG__MSG_PTR 1
19298 _ACEOF
19304 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19305 #include <sys/types.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IN_H
19308 #include <netinet/in.h>
19309 #endif
19310 #ifdef HAVE_NETINET_IP_H
19311 #include <netinet/ip.h>
19312 #endif
19313 #ifdef HAVE_NETINET_IP_ICMP_H
19314 #include <netinet/ip_icmp.h>
19315 #endif
19316 #ifdef HAVE_NETINET_ICMP_VAR_H
19317 #include <netinet/icmp_var.h>
19318 #endif
19320 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19322 cat >>confdefs.h <<_ACEOF
19323 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19324 _ACEOF
19330 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19331 #include <sys/types.h>
19332 #endif
19333 #ifdef HAVE_ALIAS_H
19334 #include <alias.h>
19335 #endif
19336 #ifdef HAVE_SYS_SOCKET_H
19337 #include <sys/socket.h>
19338 #endif
19339 #ifdef HAVE_SYS_SOCKETVAR_H
19340 #include <sys/socketvar.h>
19341 #endif
19342 #ifdef HAVE_SYS_TIMEOUT_H
19343 #include <sys/timeout.h>
19344 #endif
19345 #ifdef HAVE_NETINET_IN_H
19346 #include <netinet/in.h>
19347 #endif
19348 #ifdef HAVE_NETINET_IN_SYSTM_H
19349 #include <netinet/in_systm.h>
19350 #endif
19351 #ifdef HAVE_NETINET_IP_H
19352 #include <netinet/ip.h>
19353 #endif
19354 #ifdef HAVE_NETINET_IP_VAR_H
19355 #include <netinet/ip_var.h>
19356 #endif
19357 #ifdef HAVE_NETINET_IP_ICMP_H
19358 #include <netinet/ip_icmp.h>
19359 #endif
19360 #ifdef HAVE_NETINET_ICMP_VAR_H
19361 #include <netinet/icmp_var.h>
19362 #endif
19364 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19368 _ACEOF
19374 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19375 #include <sys/types.h>
19376 #endif
19377 #ifdef HAVE_SYS_SOCKETVAR_H
19378 #include <sys/socketvar.h>
19379 #endif
19380 #ifdef HAVE_NETINET_IN_H
19381 #include <netinet/in.h>
19382 #endif
19383 #ifdef HAVE_NETINET_IP_VAR_H
19384 #include <netinet/ip_var.h>
19385 #endif
19387 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19389 cat >>confdefs.h <<_ACEOF
19390 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19391 _ACEOF
19397 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
19398 #include <netinet/ip_var.h>
19399 #endif
19401 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19405 _ACEOF
19411 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19412 #include <sys/types.h>
19413 #endif
19414 #ifdef HAVE_SYS_SOCKETVAR_H
19415 #include <sys/socketvar.h>
19416 #endif
19417 #ifdef HAVE_NETINET_IN_H
19418 #include <netinet/in.h>
19419 #endif
19420 #ifdef HAVE_NETINET_TCP_H
19421 #include <netinet/tcp.h>
19422 #endif
19423 #ifdef HAVE_NETINET_TCP_VAR_H
19424 #include <netinet/tcp_var.h>
19425 #endif
19427 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19429 cat >>confdefs.h <<_ACEOF
19430 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19431 _ACEOF
19437 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
19438 #include <netinet/tcp_var.h>
19439 #endif
19441 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19443 cat >>confdefs.h <<_ACEOF
19444 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19445 _ACEOF
19451 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19452 #include <sys/types.h>
19453 #endif
19454 #ifdef HAVE_NETINET_IN_H
19455 #include <netinet/in.h>
19456 #endif
19457 #ifdef HAVE_NETINET_IP_VAR_H
19458 #include <netinet/ip_var.h>
19459 #endif
19460 #ifdef HAVE_NETINET_UDP_H
19461 #include <netinet/udp.h>
19462 #endif
19463 #ifdef HAVE_NETINET_UDP_VAR_H
19464 #include <netinet/udp_var.h>
19465 #endif
19467 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19469 cat >>confdefs.h <<_ACEOF
19470 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19471 _ACEOF
19477 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19478 #include <sys/types.h>
19479 #endif
19480 #ifdef HAVE_NET_IF_H
19481 # include <net/if.h>
19482 #endif
19484 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19488 _ACEOF
19494 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19495 # include <sys/sysinfo.h>
19496 #endif
19498 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19500 cat >>confdefs.h <<_ACEOF
19501 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19502 _ACEOF
19506 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19507 # include <sys/sysinfo.h>
19508 #endif
19510 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19512 cat >>confdefs.h <<_ACEOF
19513 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19514 _ACEOF
19520 ac_save_LIBS="$LIBS"
19521 LIBS="$LIBS -lm"
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19523 $as_echo_n "checking for isfinite... " >&6; }
19524 if ${ac_cv_have_isfinite+:} false; then :
19525 $as_echo_n "(cached) " >&6
19526 else
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19529 #define _GNU_SOURCE
19530 #include <math.h>
19532 main ()
19534 float f = 0.0; return isfinite(f)
19536 return 0;
19538 _ACEOF
19539 if ac_fn_c_try_link "$LINENO"; then :
19540 ac_cv_have_isfinite="yes"
19541 else
19542 ac_cv_have_isfinite="no"
19544 rm -f core conftest.err conftest.$ac_objext \
19545 conftest$ac_exeext conftest.$ac_ext
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19548 $as_echo "$ac_cv_have_isfinite" >&6; }
19549 if test "$ac_cv_have_isfinite" = "yes"
19550 then
19552 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19557 $as_echo_n "checking for isinf... " >&6; }
19558 if ${ac_cv_have_isinf+:} false; then :
19559 $as_echo_n "(cached) " >&6
19560 else
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563 #include <math.h>
19565 main ()
19567 float f = 0.0; return isinf(f)
19569 return 0;
19571 _ACEOF
19572 if ac_fn_c_try_link "$LINENO"; then :
19573 ac_cv_have_isinf="yes"
19574 else
19575 ac_cv_have_isinf="no"
19577 rm -f core conftest.err conftest.$ac_objext \
19578 conftest$ac_exeext conftest.$ac_ext
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19581 $as_echo "$ac_cv_have_isinf" >&6; }
19582 if test "$ac_cv_have_isinf" = "yes"
19583 then
19585 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19590 $as_echo_n "checking for isnan... " >&6; }
19591 if ${ac_cv_have_isnan+:} false; then :
19592 $as_echo_n "(cached) " >&6
19593 else
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19596 #include <math.h>
19598 main ()
19600 float f = 0.0; return isnan(f)
19602 return 0;
19604 _ACEOF
19605 if ac_fn_c_try_link "$LINENO"; then :
19606 ac_cv_have_isnan="yes"
19607 else
19608 ac_cv_have_isnan="no"
19610 rm -f core conftest.err conftest.$ac_objext \
19611 conftest$ac_exeext conftest.$ac_ext
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19614 $as_echo "$ac_cv_have_isnan" >&6; }
19615 if test "$ac_cv_have_isnan" = "yes"
19616 then
19618 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19622 for ac_func in \
19623 exp2 \
19624 exp2f \
19625 fmaf \
19626 tgamma \
19627 tgammaf
19629 do :
19630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19633 cat >>confdefs.h <<_ACEOF
19634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19635 _ACEOF
19638 done
19640 LIBS="$ac_save_LIBS"
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19643 $as_echo_n "checking for __builtin_popcount... " >&6; }
19644 if ${ac_cv_have___builtin_popcount+:} false; then :
19645 $as_echo_n "(cached) " >&6
19646 else
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19651 main ()
19653 return __builtin_popcount(1)
19655 return 0;
19657 _ACEOF
19658 if ac_fn_c_try_link "$LINENO"; then :
19659 ac_cv_have___builtin_popcount="yes"
19660 else
19661 ac_cv_have___builtin_popcount="no"
19663 rm -f core conftest.err conftest.$ac_objext \
19664 conftest$ac_exeext conftest.$ac_ext
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19667 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19668 if test "$ac_cv_have___builtin_popcount" = "yes"
19669 then
19671 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19676 $as_echo_n "checking for __clear_cache... " >&6; }
19677 if ${ac_cv_have___clear_cache+:} false; then :
19678 $as_echo_n "(cached) " >&6
19679 else
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19684 main ()
19686 __clear_cache((void*)0, (void*)0); return 0;
19688 return 0;
19690 _ACEOF
19691 if ac_fn_c_try_link "$LINENO"; then :
19692 ac_cv_have___clear_cache="yes"
19693 else
19694 ac_cv_have___clear_cache="no"
19696 rm -f core conftest.err conftest.$ac_objext \
19697 conftest$ac_exeext conftest.$ac_ext
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19700 $as_echo "$ac_cv_have___clear_cache" >&6; }
19701 if test "$ac_cv_have___clear_cache" = "yes"
19702 then
19704 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19709 case $host_cpu in
19710 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19711 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19712 if ${ac_cv_cpp_def___i386__+:} false; then :
19713 $as_echo_n "(cached) " >&6
19714 else
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19717 #ifndef __i386__
19719 #endif
19720 _ACEOF
19721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19722 $EGREP "yes" >/dev/null 2>&1; then :
19723 ac_cv_cpp_def___i386__=yes
19724 else
19725 ac_cv_cpp_def___i386__=no
19727 rm -f conftest*
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19731 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19732 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19733 CFLAGS="$CFLAGS -D__i386__"
19734 LINTFLAGS="$LINTFLAGS -D__i386__"
19735 fi ;;
19736 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19737 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19738 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #ifndef __x86_64__
19745 #endif
19746 _ACEOF
19747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19748 $EGREP "yes" >/dev/null 2>&1; then :
19749 ac_cv_cpp_def___x86_64__=yes
19750 else
19751 ac_cv_cpp_def___x86_64__=no
19753 rm -f conftest*
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19757 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19758 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19759 CFLAGS="$CFLAGS -D__x86_64__"
19760 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19761 fi ;;
19762 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19763 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19764 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19769 #ifndef __sparc64__
19771 #endif
19772 _ACEOF
19773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19774 $EGREP "yes" >/dev/null 2>&1; then :
19775 ac_cv_cpp_def___sparc64__=yes
19776 else
19777 ac_cv_cpp_def___sparc64__=no
19779 rm -f conftest*
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19783 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19784 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19785 CFLAGS="$CFLAGS -D__sparc64__"
19786 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19787 fi ;;
19788 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19789 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19790 if ${ac_cv_cpp_def___sparc__+:} false; then :
19791 $as_echo_n "(cached) " >&6
19792 else
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19795 #ifndef __sparc__
19797 #endif
19798 _ACEOF
19799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19800 $EGREP "yes" >/dev/null 2>&1; then :
19801 ac_cv_cpp_def___sparc__=yes
19802 else
19803 ac_cv_cpp_def___sparc__=no
19805 rm -f conftest*
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19809 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19810 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19811 CFLAGS="$CFLAGS -D__sparc__"
19812 LINTFLAGS="$LINTFLAGS -D__sparc__"
19813 fi ;;
19814 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19815 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19816 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19817 $as_echo_n "(cached) " >&6
19818 else
19819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19820 /* end confdefs.h. */
19821 #ifndef __powerpc64__
19823 #endif
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "yes" >/dev/null 2>&1; then :
19827 ac_cv_cpp_def___powerpc64__=yes
19828 else
19829 ac_cv_cpp_def___powerpc64__=no
19831 rm -f conftest*
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19835 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19836 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19837 CFLAGS="$CFLAGS -D__powerpc64__"
19838 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19839 fi ;;
19840 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19841 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19842 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19843 $as_echo_n "(cached) " >&6
19844 else
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #ifndef __powerpc__
19849 #endif
19850 _ACEOF
19851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19852 $EGREP "yes" >/dev/null 2>&1; then :
19853 ac_cv_cpp_def___powerpc__=yes
19854 else
19855 ac_cv_cpp_def___powerpc__=no
19857 rm -f conftest*
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19861 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19862 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19863 CFLAGS="$CFLAGS -D__powerpc__"
19864 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19865 fi ;;
19866 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19867 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19868 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19869 $as_echo_n "(cached) " >&6
19870 else
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #ifndef __aarch64__
19875 #endif
19876 _ACEOF
19877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19878 $EGREP "yes" >/dev/null 2>&1; then :
19879 ac_cv_cpp_def___aarch64__=yes
19880 else
19881 ac_cv_cpp_def___aarch64__=no
19883 rm -f conftest*
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19887 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19888 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19889 CFLAGS="$CFLAGS -D__aarch64__"
19890 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19891 fi ;;
19892 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19893 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19894 if ${ac_cv_cpp_def___arm__+:} false; then :
19895 $as_echo_n "(cached) " >&6
19896 else
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #ifndef __arm__
19901 #endif
19902 _ACEOF
19903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19904 $EGREP "yes" >/dev/null 2>&1; then :
19905 ac_cv_cpp_def___arm__=yes
19906 else
19907 ac_cv_cpp_def___arm__=no
19909 rm -f conftest*
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19913 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19914 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19915 CFLAGS="$CFLAGS -D__arm__"
19916 LINTFLAGS="$LINTFLAGS -D__arm__"
19917 fi ;;
19918 esac
19920 case $host_vendor in
19921 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19922 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19923 if ${ac_cv_cpp_def___sun__+:} false; then :
19924 $as_echo_n "(cached) " >&6
19925 else
19926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19927 /* end confdefs.h. */
19928 #ifndef __sun__
19930 #endif
19931 _ACEOF
19932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19933 $EGREP "yes" >/dev/null 2>&1; then :
19934 ac_cv_cpp_def___sun__=yes
19935 else
19936 ac_cv_cpp_def___sun__=no
19938 rm -f conftest*
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19942 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19943 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19944 CFLAGS="$CFLAGS -D__sun__"
19945 LINTFLAGS="$LINTFLAGS -D__sun__"
19946 fi ;;
19947 esac
19953 ac_config_commands="$ac_config_commands include/stamp-h"
19955 $as_echo_n "creating Makefile rules..." >&6
19957 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19958 OPENGL_LIBS = $OPENGL_LIBS
19959 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19960 IOKIT_LIBS = $IOKIT_LIBS
19961 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19962 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19963 CORESERVICES_LIBS = $CORESERVICES_LIBS
19964 APPKIT_LIBS = $APPKIT_LIBS
19965 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19966 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19967 SECURITY_LIBS = $SECURITY_LIBS
19968 COREAUDIO_LIBS = $COREAUDIO_LIBS
19969 OPENAL_LIBS = $OPENAL_LIBS
19970 OPENCL_LIBS = $OPENCL_LIBS
19971 QUICKTIME_LIBS = $QUICKTIME_LIBS
19972 CARBON_LIBS = $CARBON_LIBS
19973 METAL_LIBS = $METAL_LIBS
19974 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19975 PTHREAD_LIBS = $PTHREAD_LIBS
19976 X_CFLAGS = $X_CFLAGS
19977 X_PRE_LIBS = $X_PRE_LIBS
19978 X_LIBS = $X_LIBS
19979 X_EXTRA_LIBS = $X_EXTRA_LIBS
19980 PCAP_LIBS = $PCAP_LIBS
19981 XML2_CFLAGS = $XML2_CFLAGS
19982 XML2_LIBS = $XML2_LIBS
19983 XSLT_CFLAGS = $XSLT_CFLAGS
19984 XSLT_LIBS = $XSLT_LIBS
19985 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19986 INOTIFY_LIBS = $INOTIFY_LIBS
19987 DBUS_CFLAGS = $DBUS_CFLAGS
19988 DBUS_LIBS = $DBUS_LIBS
19989 HAL_CFLAGS = $HAL_CFLAGS
19990 HAL_LIBS = $HAL_LIBS
19991 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19992 GNUTLS_LIBS = $GNUTLS_LIBS
19993 SANE_CFLAGS = $SANE_CFLAGS
19994 SANE_LIBS = $SANE_LIBS
19995 USB_CFLAGS = $USB_CFLAGS
19996 USB_LIBS = $USB_LIBS
19997 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19998 GPHOTO2_LIBS = $GPHOTO2_LIBS
19999 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20000 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20001 RESOLV_LIBS = $RESOLV_LIBS
20002 LCMS2_CFLAGS = $LCMS2_CFLAGS
20003 LCMS2_LIBS = $LCMS2_LIBS
20004 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20005 FREETYPE_LIBS = $FREETYPE_LIBS
20006 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20007 PULSE_CFLAGS = $PULSE_CFLAGS
20008 PULSE_LIBS = $PULSE_LIBS
20009 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20010 GSTREAMER_LIBS = $GSTREAMER_LIBS
20011 ALSA_LIBS = $ALSA_LIBS
20012 OSS4_CFLAGS = $OSS4_CFLAGS
20013 OSS4_LIBS = $OSS4_LIBS
20014 UDEV_CFLAGS = $UDEV_CFLAGS
20015 UDEV_LIBS = $UDEV_LIBS
20016 UNWIND_CFLAGS = $UNWIND_CFLAGS
20017 UNWIND_LIBS = $UNWIND_LIBS
20018 SDL2_CFLAGS = $SDL2_CFLAGS
20019 SDL2_LIBS = $SDL2_LIBS
20020 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20021 FAUDIO_LIBS = $FAUDIO_LIBS
20022 CAPI20_CFLAGS = $CAPI20_CFLAGS
20023 CAPI20_LIBS = $CAPI20_LIBS
20024 CUPS_CFLAGS = $CUPS_CFLAGS
20025 CUPS_LIBS = $CUPS_LIBS
20026 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20027 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20028 KRB5_CFLAGS = $KRB5_CFLAGS
20029 KRB5_LIBS = $KRB5_LIBS
20030 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20031 GSSAPI_LIBS = $GSSAPI_LIBS
20032 JPEG_CFLAGS = $JPEG_CFLAGS
20033 JPEG_LIBS = $JPEG_LIBS
20034 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20035 JXRLIB_LIBS = $JXRLIB_LIBS
20036 PNG_CFLAGS = $PNG_CFLAGS
20037 PNG_LIBS = $PNG_LIBS
20038 TIFF_CFLAGS = $TIFF_CFLAGS
20039 TIFF_LIBS = $TIFF_LIBS
20040 MPG123_CFLAGS = $MPG123_CFLAGS
20041 MPG123_LIBS = $MPG123_LIBS
20042 KSTAT_LIBS = $KSTAT_LIBS
20043 PROCSTAT_LIBS = $PROCSTAT_LIBS
20044 NETAPI_CFLAGS = $NETAPI_CFLAGS
20045 NETAPI_LIBS = $NETAPI_LIBS
20046 VKD3D_CFLAGS = $VKD3D_CFLAGS
20047 VKD3D_LIBS = $VKD3D_LIBS
20048 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20049 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20050 POLL_LIBS = $POLL_LIBS
20051 RT_LIBS = $RT_LIBS
20052 LDAP_CFLAGS = $LDAP_CFLAGS
20053 LDAP_LIBS = $LDAP_LIBS
20057 makedep_flags=""
20058 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20061 wine_fn_append_rule "
20062 # Rules automatically generated by configure
20064 .INIT: Makefile
20065 .MAKEFILEDEPS:
20066 all: Makefile
20067 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20068 @./config.status Make.tmp Makefile
20069 depend: \$(MAKEDEP)
20070 \$(MAKEDEP)$makedep_flags
20071 dummy:
20072 .PHONY: depend dummy"
20074 ac_config_links="$ac_config_links wine:tools/winewrapper"
20075 wine_fn_config_symlink wine
20076 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20077 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20078 wine_fn_config_symlink wine64
20081 wine_fn_config_makefile dlls/acledit enable_acledit
20082 wine_fn_config_makefile dlls/aclui enable_aclui
20083 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20084 wine_fn_config_makefile dlls/activeds enable_activeds
20085 wine_fn_config_makefile dlls/activeds/tests enable_tests
20086 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20087 wine_fn_config_makefile dlls/adsiid enable_adsiid
20088 wine_fn_config_makefile dlls/adsldp enable_adsldp
20089 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20090 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20091 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20092 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20093 wine_fn_config_makefile dlls/advpack enable_advpack
20094 wine_fn_config_makefile dlls/advpack/tests enable_tests
20095 wine_fn_config_makefile dlls/amsi enable_amsi
20096 wine_fn_config_makefile dlls/amstream enable_amstream
20097 wine_fn_config_makefile dlls/amstream/tests enable_tests
20098 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20101 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20124 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20125 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20136 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20150 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20157 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20162 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20171 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20172 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20173 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20186 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20187 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20282 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20293 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20297 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20301 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20302 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20309 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20318 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20320 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20323 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20328 wine_fn_config_makefile dlls/apphelp enable_apphelp
20329 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20330 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20331 wine_fn_config_makefile dlls/atl enable_atl
20332 wine_fn_config_makefile dlls/atl/tests enable_tests
20333 wine_fn_config_makefile dlls/atl100 enable_atl100
20334 wine_fn_config_makefile dlls/atl100/tests enable_tests
20335 wine_fn_config_makefile dlls/atl110 enable_atl110
20336 wine_fn_config_makefile dlls/atl80 enable_atl80
20337 wine_fn_config_makefile dlls/atl80/tests enable_tests
20338 wine_fn_config_makefile dlls/atl90 enable_atl90
20339 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20340 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20341 wine_fn_config_makefile dlls/atmlib enable_atmlib
20342 wine_fn_config_makefile dlls/authz enable_authz
20343 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20344 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20345 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20346 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20347 wine_fn_config_makefile dlls/avrt enable_avrt
20348 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20349 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20350 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20351 wine_fn_config_makefile dlls/browseui enable_browseui
20352 wine_fn_config_makefile dlls/browseui/tests enable_tests
20353 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20354 wine_fn_config_makefile dlls/cabinet enable_cabinet
20355 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20356 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20357 wine_fn_config_makefile dlls/cards enable_cards
20358 wine_fn_config_makefile dlls/cdosys enable_cdosys
20359 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20360 wine_fn_config_makefile dlls/clusapi enable_clusapi
20361 wine_fn_config_makefile dlls/combase enable_combase
20362 wine_fn_config_makefile dlls/combase/tests enable_tests
20363 wine_fn_config_makefile dlls/comcat enable_comcat
20364 wine_fn_config_makefile dlls/comcat/tests enable_tests
20365 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20366 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20367 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20368 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20369 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20370 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20371 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20372 wine_fn_config_makefile dlls/compstui enable_compstui
20373 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20374 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20375 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20376 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20377 wine_fn_config_makefile dlls/connect enable_connect
20378 wine_fn_config_makefile dlls/credui enable_credui
20379 wine_fn_config_makefile dlls/credui/tests enable_tests
20380 wine_fn_config_makefile dlls/crtdll enable_crtdll
20381 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20382 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20383 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20384 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20385 wine_fn_config_makefile dlls/cryptext enable_cryptext
20386 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20387 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20388 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20389 wine_fn_config_makefile dlls/cryptui enable_cryptui
20390 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20391 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20392 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20393 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20394 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20395 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20396 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20397 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20398 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20399 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20400 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20401 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20402 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20403 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20404 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20405 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20406 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20407 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20408 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20409 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20410 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20411 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20412 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20413 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20414 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20415 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20416 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20417 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20418 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20419 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20420 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20421 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20422 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20423 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20424 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20425 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20426 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20427 wine_fn_config_makefile dlls/d3dim enable_d3dim
20428 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20429 wine_fn_config_makefile dlls/d3drm enable_d3drm
20430 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20431 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20432 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20433 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20434 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20435 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20436 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20437 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20438 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20439 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20440 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20441 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20442 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20443 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20444 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20445 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20446 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20447 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20448 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20449 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20450 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20451 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20452 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20453 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20454 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20455 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20456 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20457 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20458 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20459 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20460 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20461 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20462 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20463 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20464 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20465 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20466 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20467 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20468 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20469 wine_fn_config_makefile dlls/davclnt enable_davclnt
20470 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20471 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20472 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20473 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20474 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20475 wine_fn_config_makefile dlls/dcomp enable_dcomp
20476 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20477 wine_fn_config_makefile dlls/ddraw enable_ddraw
20478 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20479 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20480 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20481 wine_fn_config_makefile dlls/devenum enable_devenum
20482 wine_fn_config_makefile dlls/devenum/tests enable_tests
20483 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20484 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20485 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20486 wine_fn_config_makefile dlls/difxapi enable_difxapi
20487 wine_fn_config_makefile dlls/dinput enable_dinput
20488 wine_fn_config_makefile dlls/dinput/tests enable_tests
20489 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20490 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20491 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20492 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20493 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20494 wine_fn_config_makefile dlls/dispex enable_dispex
20495 wine_fn_config_makefile dlls/dispex/tests enable_tests
20496 wine_fn_config_makefile dlls/display.drv16 enable_win16
20497 wine_fn_config_makefile dlls/dmband enable_dmband
20498 wine_fn_config_makefile dlls/dmband/tests enable_tests
20499 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20500 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20501 wine_fn_config_makefile dlls/dmime enable_dmime
20502 wine_fn_config_makefile dlls/dmime/tests enable_tests
20503 wine_fn_config_makefile dlls/dmloader enable_dmloader
20504 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20505 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20506 wine_fn_config_makefile dlls/dmscript enable_dmscript
20507 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20508 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20509 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20510 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20511 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20512 wine_fn_config_makefile dlls/dmusic enable_dmusic
20513 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20514 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20515 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20516 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20517 wine_fn_config_makefile dlls/dplay enable_dplay
20518 wine_fn_config_makefile dlls/dplayx enable_dplayx
20519 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20520 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20521 wine_fn_config_makefile dlls/dpnet enable_dpnet
20522 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20523 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20524 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20525 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20526 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20527 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20528 wine_fn_config_makefile dlls/drmclien enable_drmclien
20529 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20530 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20531 wine_fn_config_makefile dlls/dsound enable_dsound
20532 wine_fn_config_makefile dlls/dsound/tests enable_tests
20533 wine_fn_config_makefile dlls/dsquery enable_dsquery
20534 wine_fn_config_makefile dlls/dssenh enable_dssenh
20535 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20536 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20537 wine_fn_config_makefile dlls/dswave enable_dswave
20538 wine_fn_config_makefile dlls/dswave/tests enable_tests
20539 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20540 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20541 wine_fn_config_makefile dlls/dwrite enable_dwrite
20542 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20543 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20544 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20545 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20546 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20547 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20548 wine_fn_config_makefile dlls/dxgi enable_dxgi
20549 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20550 wine_fn_config_makefile dlls/dxguid enable_dxguid
20551 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20552 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20553 wine_fn_config_makefile dlls/esent enable_esent
20554 wine_fn_config_makefile dlls/evr enable_evr
20555 wine_fn_config_makefile dlls/evr/tests enable_tests
20556 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20557 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20558 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20563 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20564 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20567 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20569 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20585 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20592 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20598 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
20599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20609 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20610 wine_fn_config_makefile dlls/faultrep enable_faultrep
20611 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20612 wine_fn_config_makefile dlls/feclient enable_feclient
20613 wine_fn_config_makefile dlls/fltlib enable_fltlib
20614 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20615 wine_fn_config_makefile dlls/fntcache enable_fntcache
20616 wine_fn_config_makefile dlls/fontsub enable_fontsub
20617 wine_fn_config_makefile dlls/fusion enable_fusion
20618 wine_fn_config_makefile dlls/fusion/tests enable_tests
20619 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20620 wine_fn_config_makefile dlls/gameux enable_gameux
20621 wine_fn_config_makefile dlls/gameux/tests enable_tests
20622 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20623 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20624 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20625 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20626 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20627 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20628 wine_fn_config_makefile dlls/glu32 enable_glu32
20629 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20630 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20631 wine_fn_config_makefile dlls/hal enable_hal
20632 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20633 wine_fn_config_makefile dlls/hid enable_hid
20634 wine_fn_config_makefile dlls/hid/tests enable_tests
20635 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20636 wine_fn_config_makefile dlls/hlink enable_hlink
20637 wine_fn_config_makefile dlls/hlink/tests enable_tests
20638 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20639 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20640 wine_fn_config_makefile dlls/http.sys enable_http_sys
20641 wine_fn_config_makefile dlls/httpapi enable_httpapi
20642 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20643 wine_fn_config_makefile dlls/iccvid enable_iccvid
20644 wine_fn_config_makefile dlls/icmp enable_icmp
20645 wine_fn_config_makefile dlls/ieframe enable_ieframe
20646 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20647 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20648 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20649 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20650 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20651 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20652 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20653 wine_fn_config_makefile dlls/imm32 enable_imm32
20654 wine_fn_config_makefile dlls/imm32/tests enable_tests
20655 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20656 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20657 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20658 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20659 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20660 wine_fn_config_makefile dlls/infosoft enable_infosoft
20661 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20662 wine_fn_config_makefile dlls/initpki enable_initpki
20663 wine_fn_config_makefile dlls/inkobj enable_inkobj
20664 wine_fn_config_makefile dlls/inseng enable_inseng
20665 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20666 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20667 wine_fn_config_makefile dlls/iprop enable_iprop
20668 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20669 wine_fn_config_makefile dlls/itircl enable_itircl
20670 wine_fn_config_makefile dlls/itss enable_itss
20671 wine_fn_config_makefile dlls/itss/tests enable_tests
20672 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20673 wine_fn_config_makefile dlls/jscript enable_jscript
20674 wine_fn_config_makefile dlls/jscript/tests enable_tests
20675 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20676 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20677 wine_fn_config_makefile dlls/kerberos enable_kerberos
20678 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20679 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20680 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20681 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20682 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20683 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20684 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20685 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20686 wine_fn_config_makefile dlls/ksuser enable_ksuser
20687 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20688 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20689 wine_fn_config_makefile dlls/loadperf enable_loadperf
20690 wine_fn_config_makefile dlls/localspl enable_localspl
20691 wine_fn_config_makefile dlls/localspl/tests enable_tests
20692 wine_fn_config_makefile dlls/localui enable_localui
20693 wine_fn_config_makefile dlls/localui/tests enable_tests
20694 wine_fn_config_makefile dlls/lz32 enable_lz32
20695 wine_fn_config_makefile dlls/lz32/tests enable_tests
20696 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20697 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20698 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20699 wine_fn_config_makefile dlls/mapistub enable_mapistub
20700 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20701 wine_fn_config_makefile dlls/mcicda enable_mcicda
20702 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20703 wine_fn_config_makefile dlls/mciseq enable_mciseq
20704 wine_fn_config_makefile dlls/mciwave enable_mciwave
20705 wine_fn_config_makefile dlls/mf enable_mf
20706 wine_fn_config_makefile dlls/mf/tests enable_tests
20707 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20708 wine_fn_config_makefile dlls/mferror enable_mferror
20709 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20710 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20711 wine_fn_config_makefile dlls/mfplat enable_mfplat
20712 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20713 wine_fn_config_makefile dlls/mfplay enable_mfplay
20714 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20715 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20716 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20717 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20718 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20719 wine_fn_config_makefile dlls/midimap enable_midimap
20720 wine_fn_config_makefile dlls/mlang enable_mlang
20721 wine_fn_config_makefile dlls/mlang/tests enable_tests
20722 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20723 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20724 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20725 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20726 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20727 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20728 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20729 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20730 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20731 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20732 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20733 wine_fn_config_makefile dlls/mpr enable_mpr
20734 wine_fn_config_makefile dlls/mpr/tests enable_tests
20735 wine_fn_config_makefile dlls/mprapi enable_mprapi
20736 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20737 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20738 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20739 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20740 wine_fn_config_makefile dlls/msado15 enable_msado15
20741 wine_fn_config_makefile dlls/msado15/tests enable_tests
20742 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20743 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20744 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20745 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20746 wine_fn_config_makefile dlls/mscms enable_mscms
20747 wine_fn_config_makefile dlls/mscms/tests enable_tests
20748 wine_fn_config_makefile dlls/mscoree enable_mscoree
20749 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20750 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20751 wine_fn_config_makefile dlls/msctf enable_msctf
20752 wine_fn_config_makefile dlls/msctf/tests enable_tests
20753 wine_fn_config_makefile dlls/msctfp enable_msctfp
20754 wine_fn_config_makefile dlls/msdaps enable_msdaps
20755 wine_fn_config_makefile dlls/msdelta enable_msdelta
20756 wine_fn_config_makefile dlls/msdmo enable_msdmo
20757 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20758 wine_fn_config_makefile dlls/msdrm enable_msdrm
20759 wine_fn_config_makefile dlls/msftedit enable_msftedit
20760 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20761 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20762 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20763 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20764 wine_fn_config_makefile dlls/mshtml enable_mshtml
20765 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20766 wine_fn_config_makefile dlls/msi enable_msi
20767 wine_fn_config_makefile dlls/msi/tests enable_tests
20768 wine_fn_config_makefile dlls/msident enable_msident
20769 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20770 wine_fn_config_makefile dlls/msimsg enable_msimsg
20771 wine_fn_config_makefile dlls/msimtf enable_msimtf
20772 wine_fn_config_makefile dlls/msisip enable_msisip
20773 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20774 wine_fn_config_makefile dlls/msls31 enable_msls31
20775 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20776 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20777 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20778 wine_fn_config_makefile dlls/msports enable_msports
20779 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20780 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20781 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20782 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20783 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20784 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20785 wine_fn_config_makefile dlls/mstask enable_mstask
20786 wine_fn_config_makefile dlls/mstask/tests enable_tests
20787 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20788 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20789 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20790 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20791 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20792 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20793 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20794 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20795 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20796 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20797 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20798 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20799 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20800 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20802 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20803 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20804 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20805 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20806 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20807 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20808 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20809 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20810 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20811 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20812 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20813 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20814 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20815 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20817 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20818 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20819 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20820 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20821 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20823 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20824 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20825 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20826 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20827 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20828 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20829 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20830 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20831 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20832 wine_fn_config_makefile dlls/mswsock enable_mswsock
20833 wine_fn_config_makefile dlls/msxml enable_msxml
20834 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20835 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20836 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20837 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20838 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20839 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20840 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20841 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20842 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20843 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20844 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20845 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20846 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20847 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20848 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20849 wine_fn_config_makefile dlls/netprofm enable_netprofm
20850 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20851 wine_fn_config_makefile dlls/netutils enable_netutils
20852 wine_fn_config_makefile dlls/newdev enable_newdev
20853 wine_fn_config_makefile dlls/ninput enable_ninput
20854 wine_fn_config_makefile dlls/ninput/tests enable_tests
20855 wine_fn_config_makefile dlls/normaliz enable_normaliz
20856 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20857 wine_fn_config_makefile dlls/npptools enable_npptools
20858 wine_fn_config_makefile dlls/ntdll enable_ntdll
20859 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20860 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20861 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20862 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20863 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20864 wine_fn_config_makefile dlls/ntprint enable_ntprint
20865 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20866 wine_fn_config_makefile dlls/objsel enable_objsel
20867 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20868 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20869 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20870 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20871 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20872 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20873 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20874 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20875 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20876 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20877 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20878 wine_fn_config_makefile dlls/ole32 enable_ole32
20879 wine_fn_config_makefile dlls/ole32/tests enable_tests
20880 wine_fn_config_makefile dlls/oleacc enable_oleacc
20881 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20882 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20883 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20884 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20885 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20886 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20887 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20888 wine_fn_config_makefile dlls/oledlg enable_oledlg
20889 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20890 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20891 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20892 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20893 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20894 wine_fn_config_makefile dlls/opcservices enable_opcservices
20895 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20896 wine_fn_config_makefile dlls/openal32 enable_openal32
20897 wine_fn_config_makefile dlls/opencl enable_opencl
20898 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20899 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20900 wine_fn_config_makefile dlls/packager enable_packager
20901 wine_fn_config_makefile dlls/packager/tests enable_tests
20902 wine_fn_config_makefile dlls/pdh enable_pdh
20903 wine_fn_config_makefile dlls/pdh/tests enable_tests
20904 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20905 wine_fn_config_makefile dlls/pidgen enable_pidgen
20906 wine_fn_config_makefile dlls/powrprof enable_powrprof
20907 wine_fn_config_makefile dlls/printui enable_printui
20908 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20909 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20910 wine_fn_config_makefile dlls/propsys enable_propsys
20911 wine_fn_config_makefile dlls/propsys/tests enable_tests
20912 wine_fn_config_makefile dlls/psapi enable_psapi
20913 wine_fn_config_makefile dlls/psapi/tests enable_tests
20914 wine_fn_config_makefile dlls/pstorec enable_pstorec
20915 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20916 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20917 wine_fn_config_makefile dlls/qasf enable_qasf
20918 wine_fn_config_makefile dlls/qasf/tests enable_tests
20919 wine_fn_config_makefile dlls/qcap enable_qcap
20920 wine_fn_config_makefile dlls/qcap/tests enable_tests
20921 wine_fn_config_makefile dlls/qdvd enable_qdvd
20922 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20923 wine_fn_config_makefile dlls/qedit enable_qedit
20924 wine_fn_config_makefile dlls/qedit/tests enable_tests
20925 wine_fn_config_makefile dlls/qmgr enable_qmgr
20926 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20927 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20928 wine_fn_config_makefile dlls/quartz enable_quartz
20929 wine_fn_config_makefile dlls/quartz/tests enable_tests
20930 wine_fn_config_makefile dlls/query enable_query
20931 wine_fn_config_makefile dlls/qwave enable_qwave
20932 wine_fn_config_makefile dlls/qwave/tests enable_tests
20933 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20934 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20935 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20936 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20937 wine_fn_config_makefile dlls/regapi enable_regapi
20938 wine_fn_config_makefile dlls/resutils enable_resutils
20939 wine_fn_config_makefile dlls/riched20 enable_riched20
20940 wine_fn_config_makefile dlls/riched20/tests enable_tests
20941 wine_fn_config_makefile dlls/riched32 enable_riched32
20942 wine_fn_config_makefile dlls/riched32/tests enable_tests
20943 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20944 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20945 wine_fn_config_makefile dlls/rsabase enable_rsabase
20946 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20947 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20948 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20949 wine_fn_config_makefile dlls/rtutils enable_rtutils
20950 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20951 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20952 wine_fn_config_makefile dlls/samlib enable_samlib
20953 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20954 wine_fn_config_makefile dlls/sapi enable_sapi
20955 wine_fn_config_makefile dlls/sapi/tests enable_tests
20956 wine_fn_config_makefile dlls/sas enable_sas
20957 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20958 wine_fn_config_makefile dlls/sccbase enable_sccbase
20959 wine_fn_config_makefile dlls/schannel enable_schannel
20960 wine_fn_config_makefile dlls/schannel/tests enable_tests
20961 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20962 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20963 wine_fn_config_makefile dlls/scrobj enable_scrobj
20964 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20965 wine_fn_config_makefile dlls/scrrun enable_scrrun
20966 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20967 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20968 wine_fn_config_makefile dlls/sechost enable_sechost
20969 wine_fn_config_makefile dlls/secur32 enable_secur32
20970 wine_fn_config_makefile dlls/secur32/tests enable_tests
20971 wine_fn_config_makefile dlls/security enable_security
20972 wine_fn_config_makefile dlls/sensapi enable_sensapi
20973 wine_fn_config_makefile dlls/serialui enable_serialui
20974 wine_fn_config_makefile dlls/serialui/tests enable_tests
20975 wine_fn_config_makefile dlls/setupapi enable_setupapi
20976 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20977 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20978 wine_fn_config_makefile dlls/sfc enable_sfc
20979 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20980 wine_fn_config_makefile dlls/shcore enable_shcore
20981 wine_fn_config_makefile dlls/shcore/tests enable_tests
20982 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20983 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20984 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20985 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20986 wine_fn_config_makefile dlls/shell32 enable_shell32
20987 wine_fn_config_makefile dlls/shell32/tests enable_tests
20988 wine_fn_config_makefile dlls/shfolder enable_shfolder
20989 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20990 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20991 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20992 wine_fn_config_makefile dlls/slc enable_slc
20993 wine_fn_config_makefile dlls/slc/tests enable_tests
20994 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20995 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20996 wine_fn_config_makefile dlls/softpub enable_softpub
20997 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20998 wine_fn_config_makefile dlls/spoolss enable_spoolss
20999 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21000 wine_fn_config_makefile dlls/sppc enable_sppc
21001 wine_fn_config_makefile dlls/srclient enable_srclient
21002 wine_fn_config_makefile dlls/srvcli enable_srvcli
21003 wine_fn_config_makefile dlls/sspicli enable_sspicli
21004 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21005 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21006 wine_fn_config_makefile dlls/sti enable_sti
21007 wine_fn_config_makefile dlls/sti/tests enable_tests
21008 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21009 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21010 wine_fn_config_makefile dlls/strmbase enable_strmbase
21011 wine_fn_config_makefile dlls/strmdll enable_strmdll
21012 wine_fn_config_makefile dlls/strmiids enable_strmiids
21013 wine_fn_config_makefile dlls/svrapi enable_svrapi
21014 wine_fn_config_makefile dlls/sxs enable_sxs
21015 wine_fn_config_makefile dlls/sxs/tests enable_tests
21016 wine_fn_config_makefile dlls/system.drv16 enable_win16
21017 wine_fn_config_makefile dlls/t2embed enable_t2embed
21018 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21019 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21020 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21021 wine_fn_config_makefile dlls/taskschd enable_taskschd
21022 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21023 wine_fn_config_makefile dlls/tdh enable_tdh
21024 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21025 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21026 wine_fn_config_makefile dlls/traffic enable_traffic
21027 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21028 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21029 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21030 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21031 wine_fn_config_makefile dlls/tzres enable_tzres
21032 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21033 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21034 wine_fn_config_makefile dlls/uianimation enable_uianimation
21035 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21036 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21037 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21038 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21039 wine_fn_config_makefile dlls/unicows enable_unicows
21040 wine_fn_config_makefile dlls/updspapi enable_updspapi
21041 wine_fn_config_makefile dlls/url enable_url
21042 wine_fn_config_makefile dlls/urlmon enable_urlmon
21043 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21044 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21045 wine_fn_config_makefile dlls/user.exe16 enable_win16
21046 wine_fn_config_makefile dlls/user32 enable_user32
21047 wine_fn_config_makefile dlls/user32/tests enable_tests
21048 wine_fn_config_makefile dlls/userenv enable_userenv
21049 wine_fn_config_makefile dlls/userenv/tests enable_tests
21050 wine_fn_config_makefile dlls/usp10 enable_usp10
21051 wine_fn_config_makefile dlls/usp10/tests enable_tests
21052 wine_fn_config_makefile dlls/utildll enable_utildll
21053 wine_fn_config_makefile dlls/uuid enable_uuid
21054 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21055 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21056 wine_fn_config_makefile dlls/vbscript enable_vbscript
21057 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21058 wine_fn_config_makefile dlls/vcomp enable_vcomp
21059 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21060 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21061 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21062 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21063 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21064 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21065 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21066 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21067 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21068 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21069 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21070 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21071 wine_fn_config_makefile dlls/version enable_version
21072 wine_fn_config_makefile dlls/version/tests enable_tests
21073 wine_fn_config_makefile dlls/vga enable_vga
21074 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21075 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21076 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21077 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21078 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21079 wine_fn_config_makefile dlls/vssapi enable_vssapi
21080 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21081 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21082 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21083 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21084 wine_fn_config_makefile dlls/w32skrnl enable_win16
21085 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21086 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21087 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21088 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21089 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21090 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21091 wine_fn_config_makefile dlls/wdscore enable_wdscore
21092 wine_fn_config_makefile dlls/webservices enable_webservices
21093 wine_fn_config_makefile dlls/webservices/tests enable_tests
21094 wine_fn_config_makefile dlls/websocket enable_websocket
21095 wine_fn_config_makefile dlls/wer enable_wer
21096 wine_fn_config_makefile dlls/wer/tests enable_tests
21097 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21098 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21099 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21100 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21101 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21102 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21103 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21104 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21105 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21106 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21107 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21108 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21109 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21110 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21111 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21112 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21113 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21114 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21115 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21116 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21117 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21118 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21119 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21120 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21121 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21122 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21123 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21124 wine_fn_config_makefile dlls/wined3d enable_wined3d
21125 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21126 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21127 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21128 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21129 wine_fn_config_makefile dlls/winemapi enable_winemapi
21130 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21131 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21132 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21133 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21134 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21135 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21136 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21137 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21138 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21139 wine_fn_config_makefile dlls/wing32 enable_wing32
21140 wine_fn_config_makefile dlls/winhttp enable_winhttp
21141 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21142 wine_fn_config_makefile dlls/wininet enable_wininet
21143 wine_fn_config_makefile dlls/wininet/tests enable_tests
21144 wine_fn_config_makefile dlls/winmm enable_winmm
21145 wine_fn_config_makefile dlls/winmm/tests enable_tests
21146 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21147 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21148 wine_fn_config_makefile dlls/winscard enable_winscard
21149 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21150 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21151 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21152 wine_fn_config_makefile dlls/winsta enable_winsta
21153 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21154 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21155 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21156 wine_fn_config_makefile dlls/wintrust enable_wintrust
21157 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21158 wine_fn_config_makefile dlls/winusb enable_winusb
21159 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21160 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21161 wine_fn_config_makefile dlls/wlanui enable_wlanui
21162 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21163 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21164 wine_fn_config_makefile dlls/wmasf enable_wmasf
21165 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21166 wine_fn_config_makefile dlls/wmi enable_wmi
21167 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21168 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21169 wine_fn_config_makefile dlls/wmp enable_wmp
21170 wine_fn_config_makefile dlls/wmp/tests enable_tests
21171 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21172 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21173 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21174 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21175 wine_fn_config_makefile dlls/wow32 enable_win16
21176 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21177 wine_fn_config_makefile dlls/wpc enable_wpc
21178 wine_fn_config_makefile dlls/wpc/tests enable_tests
21179 wine_fn_config_makefile dlls/wpcap enable_wpcap
21180 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21181 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21182 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21183 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21184 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21185 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21186 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21187 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21188 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21189 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21190 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21191 wine_fn_config_makefile dlls/wuapi enable_wuapi
21192 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21193 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21194 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21195 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21196 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21197 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21198 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21199 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21200 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21201 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21202 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21203 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21204 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21205 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21206 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21207 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21208 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21209 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21210 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21211 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21212 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21213 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21214 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21215 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21216 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21217 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21218 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21219 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21220 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21221 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21222 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21223 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21224 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21225 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21226 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21227 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21228 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21229 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21230 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21231 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21232 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21233 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21234 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21235 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21236 wine_fn_config_makefile dlls/xmllite enable_xmllite
21237 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21238 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21239 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21240 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21241 wine_fn_config_makefile fonts enable_fonts
21242 wine_fn_config_makefile include enable_include
21243 wine_fn_config_makefile libs/port enable_port
21244 wine_fn_config_makefile libs/wine enable_wine
21245 wine_fn_config_makefile libs/wpp enable_wpp
21246 wine_fn_config_makefile loader enable_loader
21247 wine_fn_config_makefile nls enable_nls
21248 wine_fn_config_makefile po enable_po
21249 wine_fn_config_makefile programs/arp enable_arp
21250 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21251 wine_fn_config_makefile programs/attrib enable_attrib
21252 wine_fn_config_makefile programs/cabarc enable_cabarc
21253 wine_fn_config_makefile programs/cacls enable_cacls
21254 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21255 wine_fn_config_makefile programs/clock enable_clock
21256 wine_fn_config_makefile programs/cmd enable_cmd
21257 wine_fn_config_makefile programs/cmd/tests enable_tests
21258 wine_fn_config_makefile programs/conhost enable_conhost
21259 wine_fn_config_makefile programs/conhost/tests enable_tests
21260 wine_fn_config_makefile programs/control enable_control
21261 wine_fn_config_makefile programs/cscript enable_cscript
21262 wine_fn_config_makefile programs/dism enable_dism
21263 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21264 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21265 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21266 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21267 wine_fn_config_makefile programs/eject enable_eject
21268 wine_fn_config_makefile programs/expand enable_expand
21269 wine_fn_config_makefile programs/explorer enable_explorer
21270 wine_fn_config_makefile programs/extrac32 enable_extrac32
21271 wine_fn_config_makefile programs/fc enable_fc
21272 wine_fn_config_makefile programs/find enable_find
21273 wine_fn_config_makefile programs/find/tests enable_tests
21274 wine_fn_config_makefile programs/findstr enable_findstr
21275 wine_fn_config_makefile programs/fsutil enable_fsutil
21276 wine_fn_config_makefile programs/fsutil/tests enable_tests
21277 wine_fn_config_makefile programs/hh enable_hh
21278 wine_fn_config_makefile programs/hostname enable_hostname
21279 wine_fn_config_makefile programs/icacls enable_icacls
21280 wine_fn_config_makefile programs/icinfo enable_icinfo
21281 wine_fn_config_makefile programs/iexplore enable_iexplore
21282 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21283 wine_fn_config_makefile programs/lodctr enable_lodctr
21284 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21285 wine_fn_config_makefile programs/mshta enable_mshta
21286 wine_fn_config_makefile programs/msidb enable_msidb
21287 wine_fn_config_makefile programs/msiexec enable_msiexec
21288 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21289 wine_fn_config_makefile programs/net enable_net
21290 wine_fn_config_makefile programs/netsh enable_netsh
21291 wine_fn_config_makefile programs/netstat enable_netstat
21292 wine_fn_config_makefile programs/ngen enable_ngen
21293 wine_fn_config_makefile programs/notepad enable_notepad
21294 wine_fn_config_makefile programs/oleview enable_oleview
21295 wine_fn_config_makefile programs/ping enable_ping
21296 wine_fn_config_makefile programs/plugplay enable_plugplay
21297 wine_fn_config_makefile programs/powershell enable_powershell
21298 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21299 wine_fn_config_makefile programs/progman enable_progman
21300 wine_fn_config_makefile programs/reg enable_reg
21301 wine_fn_config_makefile programs/reg/tests enable_tests
21302 wine_fn_config_makefile programs/regasm enable_regasm
21303 wine_fn_config_makefile programs/regedit enable_regedit
21304 wine_fn_config_makefile programs/regedit/tests enable_tests
21305 wine_fn_config_makefile programs/regini enable_regini
21306 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21307 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21308 wine_fn_config_makefile programs/rpcss enable_rpcss
21309 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21310 wine_fn_config_makefile programs/rundll32 enable_rundll32
21311 wine_fn_config_makefile programs/sc enable_sc
21312 wine_fn_config_makefile programs/schtasks enable_schtasks
21313 wine_fn_config_makefile programs/schtasks/tests enable_tests
21314 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21315 wine_fn_config_makefile programs/secedit enable_secedit
21316 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21317 wine_fn_config_makefile programs/services enable_services
21318 wine_fn_config_makefile programs/services/tests enable_tests
21319 wine_fn_config_makefile programs/shutdown enable_shutdown
21320 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21321 wine_fn_config_makefile programs/start enable_start
21322 wine_fn_config_makefile programs/subst enable_subst
21323 wine_fn_config_makefile programs/svchost enable_svchost
21324 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21325 wine_fn_config_makefile programs/taskkill enable_taskkill
21326 wine_fn_config_makefile programs/tasklist enable_tasklist
21327 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21328 wine_fn_config_makefile programs/termsv enable_termsv
21329 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21330 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21331 wine_fn_config_makefile programs/view enable_view
21332 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21333 wine_fn_config_makefile programs/where enable_where
21334 wine_fn_config_makefile programs/whoami enable_whoami
21335 wine_fn_config_makefile programs/wineboot enable_wineboot
21336 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21337 wine_fn_config_makefile programs/winecfg enable_winecfg
21338 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21339 wine_fn_config_makefile programs/winedbg enable_winedbg
21340 wine_fn_config_makefile programs/winedevice enable_winedevice
21341 wine_fn_config_makefile programs/winefile enable_winefile
21342 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21343 wine_fn_config_makefile programs/winemine enable_winemine
21344 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21345 wine_fn_config_makefile programs/winepath enable_winepath
21346 wine_fn_config_makefile programs/winetest enable_winetest
21347 wine_fn_config_makefile programs/winevdm enable_win16
21348 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21349 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21350 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21351 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21352 wine_fn_config_makefile programs/winver enable_winver
21353 wine_fn_config_makefile programs/wmic enable_wmic
21354 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21355 wine_fn_config_makefile programs/wordpad enable_wordpad
21356 wine_fn_config_makefile programs/write enable_write
21357 wine_fn_config_makefile programs/wscript enable_wscript
21358 wine_fn_config_makefile programs/wscript/tests enable_tests
21359 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21360 wine_fn_config_makefile programs/wusa enable_wusa
21361 wine_fn_config_makefile programs/xcopy enable_xcopy
21362 wine_fn_config_makefile programs/xcopy/tests enable_tests
21363 wine_fn_config_makefile server enable_server
21364 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21365 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21366 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21367 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21368 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21369 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21370 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21371 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21372 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21375 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21376 wine_fn_append_file CONFIGURE_TARGETS "tags"
21377 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21378 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21379 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21380 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21381 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21382 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21384 if test "x$enable_tools" != xno
21385 then
21386 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21387 ac_config_commands="$ac_config_commands tools/makedep"
21391 ac_config_commands="$ac_config_commands Makefile"
21394 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21398 if test "x$enable_maintainer_mode" = xyes
21399 then
21400 wine_fn_append_rule "configure: configure.ac aclocal.m4
21401 autoconf --warnings=all
21402 include/config.h.in: include/stamp-h.in
21403 include/stamp-h.in: configure.ac aclocal.m4
21404 autoheader --warnings=all
21405 @echo timestamp > \$@"
21408 if test "x$enable_tools" != xno
21409 then
21410 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21411 @./config.status tools/makedep
21412 Makefile: tools/makedep$ac_exeext"
21413 else
21414 wine_fn_append_rule "\$(MAKEDEP):
21415 @echo \"You need to run make in $TOOLSDIR first\" && false"
21418 if test -n "$with_wine64"
21419 then
21420 case "$with_wine64" in
21421 /*) reldir="" ;;
21422 *) reldir="../" ;;
21423 esac
21424 rm -f fonts server 2>/dev/null
21425 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21426 loader/wine64 loader/wine64-preloader:
21427 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21428 $with_wine64/loader/wine:
21429 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21430 $with_wine64/loader/wine-preloader:
21431 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21432 clean::
21433 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21434 else
21435 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21436 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21437 fonts \
21438 loader/wine.inf \
21439 nls \
21440 programs/msidb/msidb \
21441 programs/msiexec/msiexec \
21442 programs/notepad/notepad \
21443 programs/regedit/regedit \
21444 programs/regsvr32/regsvr32 \
21445 programs/wineboot/wineboot \
21446 programs/winecfg/winecfg \
21447 programs/wineconsole/wineconsole \
21448 programs/winedbg/winedbg \
21449 programs/winefile/winefile \
21450 programs/winemine/winemine \
21451 programs/winepath/winepath \
21452 server/wineserver"
21454 case $host_os in
21455 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21456 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21457 esac
21460 $as_echo " done" >&6
21461 cat >confcache <<\_ACEOF
21462 # This file is a shell script that caches the results of configure
21463 # tests run on this system so they can be shared between configure
21464 # scripts and configure runs, see configure's option --config-cache.
21465 # It is not useful on other systems. If it contains results you don't
21466 # want to keep, you may remove or edit it.
21468 # config.status only pays attention to the cache file if you give it
21469 # the --recheck option to rerun configure.
21471 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21472 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21473 # following values.
21475 _ACEOF
21477 # The following way of writing the cache mishandles newlines in values,
21478 # but we know of no workaround that is simple, portable, and efficient.
21479 # So, we kill variables containing newlines.
21480 # Ultrix sh set writes to stderr and can't be redirected directly,
21481 # and sets the high bit in the cache file unless we assign to the vars.
21483 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21484 eval ac_val=\$$ac_var
21485 case $ac_val in #(
21486 *${as_nl}*)
21487 case $ac_var in #(
21488 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21489 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21490 esac
21491 case $ac_var in #(
21492 _ | IFS | as_nl) ;; #(
21493 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21494 *) { eval $ac_var=; unset $ac_var;} ;;
21495 esac ;;
21496 esac
21497 done
21499 (set) 2>&1 |
21500 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21501 *${as_nl}ac_space=\ *)
21502 # `set' does not quote correctly, so add quotes: double-quote
21503 # substitution turns \\\\ into \\, and sed turns \\ into \.
21504 sed -n \
21505 "s/'/'\\\\''/g;
21506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21507 ;; #(
21509 # `set' quotes correctly as required by POSIX, so do not add quotes.
21510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21512 esac |
21513 sort
21515 sed '
21516 /^ac_cv_env_/b end
21517 t clear
21518 :clear
21519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21520 t end
21521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21522 :end' >>confcache
21523 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21524 if test -w "$cache_file"; then
21525 if test "x$cache_file" != "x/dev/null"; then
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21527 $as_echo "$as_me: updating cache $cache_file" >&6;}
21528 if test ! -f "$cache_file" || test -h "$cache_file"; then
21529 cat confcache >"$cache_file"
21530 else
21531 case $cache_file in #(
21532 */* | ?:*)
21533 mv -f confcache "$cache_file"$$ &&
21534 mv -f "$cache_file"$$ "$cache_file" ;; #(
21536 mv -f confcache "$cache_file" ;;
21537 esac
21540 else
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21542 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21545 rm -f confcache
21547 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21548 # Let make expand exec_prefix.
21549 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21551 DEFS=-DHAVE_CONFIG_H
21553 ac_libobjs=
21554 ac_ltlibobjs=
21556 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21557 # 1. Remove the extension, and $U if already installed.
21558 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21559 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21560 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21561 # will be set to the directory where LIBOBJS objects are built.
21562 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21563 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21564 done
21565 LIBOBJS=$ac_libobjs
21567 LTLIBOBJS=$ac_ltlibobjs
21571 : "${CONFIG_STATUS=./config.status}"
21572 ac_write_fail=0
21573 ac_clean_files_save=$ac_clean_files
21574 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21576 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21577 as_write_fail=0
21578 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21579 #! $SHELL
21580 # Generated by $as_me.
21581 # Run this file to recreate the current configuration.
21582 # Compiler output produced by configure, useful for debugging
21583 # configure, is in config.log if it exists.
21585 debug=false
21586 ac_cs_recheck=false
21587 ac_cs_silent=false
21589 SHELL=\${CONFIG_SHELL-$SHELL}
21590 export SHELL
21591 _ASEOF
21592 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21593 ## -------------------- ##
21594 ## M4sh Initialization. ##
21595 ## -------------------- ##
21597 # Be more Bourne compatible
21598 DUALCASE=1; export DUALCASE # for MKS sh
21599 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21600 emulate sh
21601 NULLCMD=:
21602 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21603 # is contrary to our usage. Disable this feature.
21604 alias -g '${1+"$@"}'='"$@"'
21605 setopt NO_GLOB_SUBST
21606 else
21607 case `(set -o) 2>/dev/null` in #(
21608 *posix*) :
21609 set -o posix ;; #(
21610 *) :
21612 esac
21616 as_nl='
21618 export as_nl
21619 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21620 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21622 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21623 # Prefer a ksh shell builtin over an external printf program on Solaris,
21624 # but without wasting forks for bash or zsh.
21625 if test -z "$BASH_VERSION$ZSH_VERSION" \
21626 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21627 as_echo='print -r --'
21628 as_echo_n='print -rn --'
21629 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21630 as_echo='printf %s\n'
21631 as_echo_n='printf %s'
21632 else
21633 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21634 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21635 as_echo_n='/usr/ucb/echo -n'
21636 else
21637 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21638 as_echo_n_body='eval
21639 arg=$1;
21640 case $arg in #(
21641 *"$as_nl"*)
21642 expr "X$arg" : "X\\(.*\\)$as_nl";
21643 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21644 esac;
21645 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21647 export as_echo_n_body
21648 as_echo_n='sh -c $as_echo_n_body as_echo'
21650 export as_echo_body
21651 as_echo='sh -c $as_echo_body as_echo'
21654 # The user is always right.
21655 if test "${PATH_SEPARATOR+set}" != set; then
21656 PATH_SEPARATOR=:
21657 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21658 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21659 PATH_SEPARATOR=';'
21664 # IFS
21665 # We need space, tab and new line, in precisely that order. Quoting is
21666 # there to prevent editors from complaining about space-tab.
21667 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21668 # splitting by setting IFS to empty value.)
21669 IFS=" "" $as_nl"
21671 # Find who we are. Look in the path if we contain no directory separator.
21672 as_myself=
21673 case $0 in #((
21674 *[\\/]* ) as_myself=$0 ;;
21675 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21676 for as_dir in $PATH
21678 IFS=$as_save_IFS
21679 test -z "$as_dir" && as_dir=.
21680 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21681 done
21682 IFS=$as_save_IFS
21685 esac
21686 # We did not find ourselves, most probably we were run as `sh COMMAND'
21687 # in which case we are not to be found in the path.
21688 if test "x$as_myself" = x; then
21689 as_myself=$0
21691 if test ! -f "$as_myself"; then
21692 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21693 exit 1
21696 # Unset variables that we do not need and which cause bugs (e.g. in
21697 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21698 # suppresses any "Segmentation fault" message there. '((' could
21699 # trigger a bug in pdksh 5.2.14.
21700 for as_var in BASH_ENV ENV MAIL MAILPATH
21701 do eval test x\${$as_var+set} = xset \
21702 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21703 done
21704 PS1='$ '
21705 PS2='> '
21706 PS4='+ '
21708 # NLS nuisances.
21709 LC_ALL=C
21710 export LC_ALL
21711 LANGUAGE=C
21712 export LANGUAGE
21714 # CDPATH.
21715 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21718 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21719 # ----------------------------------------
21720 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21721 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21722 # script with STATUS, using 1 if that was 0.
21723 as_fn_error ()
21725 as_status=$1; test $as_status -eq 0 && as_status=1
21726 if test "$4"; then
21727 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21728 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21730 $as_echo "$as_me: error: $2" >&2
21731 as_fn_exit $as_status
21732 } # as_fn_error
21735 # as_fn_set_status STATUS
21736 # -----------------------
21737 # Set $? to STATUS, without forking.
21738 as_fn_set_status ()
21740 return $1
21741 } # as_fn_set_status
21743 # as_fn_exit STATUS
21744 # -----------------
21745 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21746 as_fn_exit ()
21748 set +e
21749 as_fn_set_status $1
21750 exit $1
21751 } # as_fn_exit
21753 # as_fn_unset VAR
21754 # ---------------
21755 # Portably unset VAR.
21756 as_fn_unset ()
21758 { eval $1=; unset $1;}
21760 as_unset=as_fn_unset
21761 # as_fn_append VAR VALUE
21762 # ----------------------
21763 # Append the text in VALUE to the end of the definition contained in VAR. Take
21764 # advantage of any shell optimizations that allow amortized linear growth over
21765 # repeated appends, instead of the typical quadratic growth present in naive
21766 # implementations.
21767 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21768 eval 'as_fn_append ()
21770 eval $1+=\$2
21772 else
21773 as_fn_append ()
21775 eval $1=\$$1\$2
21777 fi # as_fn_append
21779 # as_fn_arith ARG...
21780 # ------------------
21781 # Perform arithmetic evaluation on the ARGs, and store the result in the
21782 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21783 # must be portable across $(()) and expr.
21784 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21785 eval 'as_fn_arith ()
21787 as_val=$(( $* ))
21789 else
21790 as_fn_arith ()
21792 as_val=`expr "$@" || test $? -eq 1`
21794 fi # as_fn_arith
21797 if expr a : '\(a\)' >/dev/null 2>&1 &&
21798 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21799 as_expr=expr
21800 else
21801 as_expr=false
21804 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21805 as_basename=basename
21806 else
21807 as_basename=false
21810 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21811 as_dirname=dirname
21812 else
21813 as_dirname=false
21816 as_me=`$as_basename -- "$0" ||
21817 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21818 X"$0" : 'X\(//\)$' \| \
21819 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21820 $as_echo X/"$0" |
21821 sed '/^.*\/\([^/][^/]*\)\/*$/{
21822 s//\1/
21825 /^X\/\(\/\/\)$/{
21826 s//\1/
21829 /^X\/\(\/\).*/{
21830 s//\1/
21833 s/.*/./; q'`
21835 # Avoid depending upon Character Ranges.
21836 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21837 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21838 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21839 as_cr_digits='0123456789'
21840 as_cr_alnum=$as_cr_Letters$as_cr_digits
21842 ECHO_C= ECHO_N= ECHO_T=
21843 case `echo -n x` in #(((((
21844 -n*)
21845 case `echo 'xy\c'` in
21846 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21847 xy) ECHO_C='\c';;
21848 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21849 ECHO_T=' ';;
21850 esac;;
21852 ECHO_N='-n';;
21853 esac
21855 rm -f conf$$ conf$$.exe conf$$.file
21856 if test -d conf$$.dir; then
21857 rm -f conf$$.dir/conf$$.file
21858 else
21859 rm -f conf$$.dir
21860 mkdir conf$$.dir 2>/dev/null
21862 if (echo >conf$$.file) 2>/dev/null; then
21863 if ln -s conf$$.file conf$$ 2>/dev/null; then
21864 as_ln_s='ln -s'
21865 # ... but there are two gotchas:
21866 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21867 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21868 # In both cases, we have to default to `cp -pR'.
21869 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21870 as_ln_s='cp -pR'
21871 elif ln conf$$.file conf$$ 2>/dev/null; then
21872 as_ln_s=ln
21873 else
21874 as_ln_s='cp -pR'
21876 else
21877 as_ln_s='cp -pR'
21879 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21880 rmdir conf$$.dir 2>/dev/null
21883 # as_fn_mkdir_p
21884 # -------------
21885 # Create "$as_dir" as a directory, including parents if necessary.
21886 as_fn_mkdir_p ()
21889 case $as_dir in #(
21890 -*) as_dir=./$as_dir;;
21891 esac
21892 test -d "$as_dir" || eval $as_mkdir_p || {
21893 as_dirs=
21894 while :; do
21895 case $as_dir in #(
21896 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21897 *) as_qdir=$as_dir;;
21898 esac
21899 as_dirs="'$as_qdir' $as_dirs"
21900 as_dir=`$as_dirname -- "$as_dir" ||
21901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21902 X"$as_dir" : 'X\(//\)[^/]' \| \
21903 X"$as_dir" : 'X\(//\)$' \| \
21904 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21905 $as_echo X"$as_dir" |
21906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21907 s//\1/
21910 /^X\(\/\/\)[^/].*/{
21911 s//\1/
21914 /^X\(\/\/\)$/{
21915 s//\1/
21918 /^X\(\/\).*/{
21919 s//\1/
21922 s/.*/./; q'`
21923 test -d "$as_dir" && break
21924 done
21925 test -z "$as_dirs" || eval "mkdir $as_dirs"
21926 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21929 } # as_fn_mkdir_p
21930 if mkdir -p . 2>/dev/null; then
21931 as_mkdir_p='mkdir -p "$as_dir"'
21932 else
21933 test -d ./-p && rmdir ./-p
21934 as_mkdir_p=false
21938 # as_fn_executable_p FILE
21939 # -----------------------
21940 # Test if FILE is an executable regular file.
21941 as_fn_executable_p ()
21943 test -f "$1" && test -x "$1"
21944 } # as_fn_executable_p
21945 as_test_x='test -x'
21946 as_executable_p=as_fn_executable_p
21948 # Sed expression to map a string onto a valid CPP name.
21949 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21951 # Sed expression to map a string onto a valid variable name.
21952 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21955 exec 6>&1
21956 ## ----------------------------------- ##
21957 ## Main body of $CONFIG_STATUS script. ##
21958 ## ----------------------------------- ##
21959 _ASEOF
21960 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963 # Save the log message, to keep $0 and so on meaningful, and to
21964 # report actual input values of CONFIG_FILES etc. instead of their
21965 # values after options handling.
21966 ac_log="
21967 This file was extended by Wine $as_me 6.10, which was
21968 generated by GNU Autoconf 2.69. Invocation command line was
21970 CONFIG_FILES = $CONFIG_FILES
21971 CONFIG_HEADERS = $CONFIG_HEADERS
21972 CONFIG_LINKS = $CONFIG_LINKS
21973 CONFIG_COMMANDS = $CONFIG_COMMANDS
21974 $ $0 $@
21976 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21979 _ACEOF
21981 case $ac_config_files in *"
21982 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21983 esac
21985 case $ac_config_headers in *"
21986 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21987 esac
21990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21991 # Files that config.status was made for.
21992 config_files="$ac_config_files"
21993 config_headers="$ac_config_headers"
21994 config_links="$ac_config_links"
21995 config_commands="$ac_config_commands"
21997 _ACEOF
21999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22000 ac_cs_usage="\
22001 \`$as_me' instantiates files and other configuration actions
22002 from templates according to the current configuration. Unless the files
22003 and actions are specified as TAGs, all are instantiated by default.
22005 Usage: $0 [OPTION]... [TAG]...
22007 -h, --help print this help, then exit
22008 -V, --version print version number and configuration settings, then exit
22009 --config print configuration, then exit
22010 -q, --quiet, --silent
22011 do not print progress messages
22012 -d, --debug don't remove temporary files
22013 --recheck update $as_me by reconfiguring in the same conditions
22014 --file=FILE[:TEMPLATE]
22015 instantiate the configuration file FILE
22016 --header=FILE[:TEMPLATE]
22017 instantiate the configuration header FILE
22019 Configuration files:
22020 $config_files
22022 Configuration headers:
22023 $config_headers
22025 Configuration links:
22026 $config_links
22028 Configuration commands:
22029 $config_commands
22031 Report bugs to <wine-devel@winehq.org>.
22032 Wine home page: <https://www.winehq.org>."
22034 _ACEOF
22035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22036 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22037 ac_cs_version="\\
22038 Wine config.status 6.10
22039 configured by $0, generated by GNU Autoconf 2.69,
22040 with options \\"\$ac_cs_config\\"
22042 Copyright (C) 2012 Free Software Foundation, Inc.
22043 This config.status script is free software; the Free Software Foundation
22044 gives unlimited permission to copy, distribute and modify it."
22046 ac_pwd='$ac_pwd'
22047 srcdir='$srcdir'
22048 test -n "\$AWK" || AWK=awk
22049 _ACEOF
22051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22052 # The default lists apply if the user does not specify any file.
22053 ac_need_defaults=:
22054 while test $# != 0
22056 case $1 in
22057 --*=?*)
22058 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22059 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22060 ac_shift=:
22062 --*=)
22063 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22064 ac_optarg=
22065 ac_shift=:
22068 ac_option=$1
22069 ac_optarg=$2
22070 ac_shift=shift
22072 esac
22074 case $ac_option in
22075 # Handling of the options.
22076 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22077 ac_cs_recheck=: ;;
22078 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22079 $as_echo "$ac_cs_version"; exit ;;
22080 --config | --confi | --conf | --con | --co | --c )
22081 $as_echo "$ac_cs_config"; exit ;;
22082 --debug | --debu | --deb | --de | --d | -d )
22083 debug=: ;;
22084 --file | --fil | --fi | --f )
22085 $ac_shift
22086 case $ac_optarg in
22087 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22088 '') as_fn_error $? "missing file argument" ;;
22089 esac
22090 as_fn_append CONFIG_FILES " '$ac_optarg'"
22091 ac_need_defaults=false;;
22092 --header | --heade | --head | --hea )
22093 $ac_shift
22094 case $ac_optarg in
22095 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22096 esac
22097 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22098 ac_need_defaults=false;;
22099 --he | --h)
22100 # Conflict between --help and --header
22101 as_fn_error $? "ambiguous option: \`$1'
22102 Try \`$0 --help' for more information.";;
22103 --help | --hel | -h )
22104 $as_echo "$ac_cs_usage"; exit ;;
22105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22106 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22107 ac_cs_silent=: ;;
22109 # This is an error.
22110 -*) as_fn_error $? "unrecognized option: \`$1'
22111 Try \`$0 --help' for more information." ;;
22113 *) as_fn_append ac_config_targets " $1"
22114 ac_need_defaults=false ;;
22116 esac
22117 shift
22118 done
22120 ac_configure_extra_args=
22122 if $ac_cs_silent; then
22123 exec 6>/dev/null
22124 ac_configure_extra_args="$ac_configure_extra_args --silent"
22127 _ACEOF
22128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22129 if \$ac_cs_recheck; then
22130 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22131 shift
22132 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22133 CONFIG_SHELL='$SHELL'
22134 export CONFIG_SHELL
22135 exec "\$@"
22138 _ACEOF
22139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22140 exec 5>>config.log
22142 echo
22143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22144 ## Running $as_me. ##
22145 _ASBOX
22146 $as_echo "$ac_log"
22147 } >&5
22149 _ACEOF
22150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22152 # INIT-COMMANDS
22154 wine_fn_output_makedep ()
22156 as_dir=tools; as_fn_mkdir_p
22157 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22159 wine_fn_output_makefile ()
22161 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22162 `cat $wine_rules_file`
22163 _WINE_EOF
22164 as_fn_error $? "could not create Makefile" "$LINENO" 5
22167 _ACEOF
22169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22171 # Handling of arguments.
22172 for ac_config_target in $ac_config_targets
22174 case $ac_config_target in
22175 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22176 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22177 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22178 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22179 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22180 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22181 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22183 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22184 esac
22185 done
22188 # If the user did not use the arguments to specify the items to instantiate,
22189 # then the envvar interface is used. Set only those that are not.
22190 # We use the long form for the default assignment because of an extremely
22191 # bizarre bug on SunOS 4.1.3.
22192 if $ac_need_defaults; then
22193 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22194 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22195 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22196 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22199 # Have a temporary directory for convenience. Make it in the build tree
22200 # simply because there is no reason against having it here, and in addition,
22201 # creating and moving files from /tmp can sometimes cause problems.
22202 # Hook for its removal unless debugging.
22203 # Note that there is a small window in which the directory will not be cleaned:
22204 # after its creation but before its name has been assigned to `$tmp'.
22205 $debug ||
22207 tmp= ac_tmp=
22208 trap 'exit_status=$?
22209 : "${ac_tmp:=$tmp}"
22210 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22212 trap 'as_fn_exit 1' 1 2 13 15
22214 # Create a (secure) tmp directory for tmp files.
22217 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22218 test -d "$tmp"
22219 } ||
22221 tmp=./conf$$-$RANDOM
22222 (umask 077 && mkdir "$tmp")
22223 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22224 ac_tmp=$tmp
22226 # Set up the scripts for CONFIG_FILES section.
22227 # No need to generate them if there are no CONFIG_FILES.
22228 # This happens for instance with `./config.status config.h'.
22229 if test -n "$CONFIG_FILES"; then
22232 ac_cr=`echo X | tr X '\015'`
22233 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22234 # But we know of no other shell where ac_cr would be empty at this
22235 # point, so we can use a bashism as a fallback.
22236 if test "x$ac_cr" = x; then
22237 eval ac_cr=\$\'\\r\'
22239 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22240 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22241 ac_cs_awk_cr='\\r'
22242 else
22243 ac_cs_awk_cr=$ac_cr
22246 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22247 _ACEOF
22251 echo "cat >conf$$subs.awk <<_ACEOF" &&
22252 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22253 echo "_ACEOF"
22254 } >conf$$subs.sh ||
22255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22256 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22257 ac_delim='%!_!# '
22258 for ac_last_try in false false false false false :; do
22259 . ./conf$$subs.sh ||
22260 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22262 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22263 if test $ac_delim_n = $ac_delim_num; then
22264 break
22265 elif $ac_last_try; then
22266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22267 else
22268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22270 done
22271 rm -f conf$$subs.sh
22273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22274 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22275 _ACEOF
22276 sed -n '
22278 s/^/S["/; s/!.*/"]=/
22281 s/^[^!]*!//
22282 :repl
22283 t repl
22284 s/'"$ac_delim"'$//
22285 t delim
22288 s/\(.\{148\}\)..*/\1/
22289 t more1
22290 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22293 b repl
22294 :more1
22295 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22298 s/.\{148\}//
22299 t nl
22300 :delim
22302 s/\(.\{148\}\)..*/\1/
22303 t more2
22304 s/["\\]/\\&/g; s/^/"/; s/$/"/
22307 :more2
22308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22311 s/.\{148\}//
22312 t delim
22313 ' <conf$$subs.awk | sed '
22314 /^[^""]/{
22316 s/\n//
22318 ' >>$CONFIG_STATUS || ac_write_fail=1
22319 rm -f conf$$subs.awk
22320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22321 _ACAWK
22322 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22323 for (key in S) S_is_set[key] = 1
22324 FS = "\a"
22328 line = $ 0
22329 nfields = split(line, field, "@")
22330 substed = 0
22331 len = length(field[1])
22332 for (i = 2; i < nfields; i++) {
22333 key = field[i]
22334 keylen = length(key)
22335 if (S_is_set[key]) {
22336 value = S[key]
22337 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22338 len += length(value) + length(field[++i])
22339 substed = 1
22340 } else
22341 len += 1 + keylen
22344 print line
22347 _ACAWK
22348 _ACEOF
22349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22350 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22351 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22352 else
22354 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22355 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22356 _ACEOF
22358 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22359 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22360 # trailing colons and then remove the whole line if VPATH becomes empty
22361 # (actually we leave an empty line to preserve line numbers).
22362 if test "x$srcdir" = x.; then
22363 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22365 s///
22366 s/^/:/
22367 s/[ ]*$/:/
22368 s/:\$(srcdir):/:/g
22369 s/:\${srcdir}:/:/g
22370 s/:@srcdir@:/:/g
22371 s/^:*//
22372 s/:*$//
22374 s/\(=[ ]*\).*/\1/
22376 s/\n//
22377 s/^[^=]*=[ ]*$//
22381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22382 fi # test -n "$CONFIG_FILES"
22384 # Set up the scripts for CONFIG_HEADERS section.
22385 # No need to generate them if there are no CONFIG_HEADERS.
22386 # This happens for instance with `./config.status Makefile'.
22387 if test -n "$CONFIG_HEADERS"; then
22388 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22389 BEGIN {
22390 _ACEOF
22392 # Transform confdefs.h into an awk script `defines.awk', embedded as
22393 # here-document in config.status, that substitutes the proper values into
22394 # config.h.in to produce config.h.
22396 # Create a delimiter string that does not exist in confdefs.h, to ease
22397 # handling of long lines.
22398 ac_delim='%!_!# '
22399 for ac_last_try in false false :; do
22400 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22401 if test -z "$ac_tt"; then
22402 break
22403 elif $ac_last_try; then
22404 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22405 else
22406 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22408 done
22410 # For the awk script, D is an array of macro values keyed by name,
22411 # likewise P contains macro parameters if any. Preserve backslash
22412 # newline sequences.
22414 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22415 sed -n '
22416 s/.\{148\}/&'"$ac_delim"'/g
22417 t rset
22418 :rset
22419 s/^[ ]*#[ ]*define[ ][ ]*/ /
22420 t def
22422 :def
22423 s/\\$//
22424 t bsnl
22425 s/["\\]/\\&/g
22426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22427 D["\1"]=" \3"/p
22428 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22430 :bsnl
22431 s/["\\]/\\&/g
22432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22433 D["\1"]=" \3\\\\\\n"\\/p
22434 t cont
22435 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22436 t cont
22438 :cont
22440 s/.\{148\}/&'"$ac_delim"'/g
22441 t clear
22442 :clear
22443 s/\\$//
22444 t bsnlc
22445 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22447 :bsnlc
22448 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22449 b cont
22450 ' <confdefs.h | sed '
22451 s/'"$ac_delim"'/"\\\
22452 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22455 for (key in D) D_is_set[key] = 1
22456 FS = "\a"
22458 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22459 line = \$ 0
22460 split(line, arg, " ")
22461 if (arg[1] == "#") {
22462 defundef = arg[2]
22463 mac1 = arg[3]
22464 } else {
22465 defundef = substr(arg[1], 2)
22466 mac1 = arg[2]
22468 split(mac1, mac2, "(") #)
22469 macro = mac2[1]
22470 prefix = substr(line, 1, index(line, defundef) - 1)
22471 if (D_is_set[macro]) {
22472 # Preserve the white space surrounding the "#".
22473 print prefix "define", macro P[macro] D[macro]
22474 next
22475 } else {
22476 # Replace #undef with comments. This is necessary, for example,
22477 # in the case of _POSIX_SOURCE, which is predefined and required
22478 # on some systems where configure will not decide to define it.
22479 if (defundef == "undef") {
22480 print "/*", prefix defundef, macro, "*/"
22481 next
22485 { print }
22486 _ACAWK
22487 _ACEOF
22488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22489 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22490 fi # test -n "$CONFIG_HEADERS"
22493 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22494 shift
22495 for ac_tag
22497 case $ac_tag in
22498 :[FHLC]) ac_mode=$ac_tag; continue;;
22499 esac
22500 case $ac_mode$ac_tag in
22501 :[FHL]*:*);;
22502 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22503 :[FH]-) ac_tag=-:-;;
22504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22505 esac
22506 ac_save_IFS=$IFS
22507 IFS=:
22508 set x $ac_tag
22509 IFS=$ac_save_IFS
22510 shift
22511 ac_file=$1
22512 shift
22514 case $ac_mode in
22515 :L) ac_source=$1;;
22516 :[FH])
22517 ac_file_inputs=
22518 for ac_f
22520 case $ac_f in
22521 -) ac_f="$ac_tmp/stdin";;
22522 *) # Look for the file first in the build tree, then in the source tree
22523 # (if the path is not absolute). The absolute path cannot be DOS-style,
22524 # because $ac_f cannot contain `:'.
22525 test -f "$ac_f" ||
22526 case $ac_f in
22527 [\\/$]*) false;;
22528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22529 esac ||
22530 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22531 esac
22532 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22533 as_fn_append ac_file_inputs " '$ac_f'"
22534 done
22536 # Let's still pretend it is `configure' which instantiates (i.e., don't
22537 # use $as_me), people would be surprised to read:
22538 # /* config.h. Generated by config.status. */
22539 configure_input='Generated from '`
22540 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22541 `' by configure.'
22542 if test x"$ac_file" != x-; then
22543 configure_input="$ac_file. $configure_input"
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22545 $as_echo "$as_me: creating $ac_file" >&6;}
22547 # Neutralize special characters interpreted by sed in replacement strings.
22548 case $configure_input in #(
22549 *\&* | *\|* | *\\* )
22550 ac_sed_conf_input=`$as_echo "$configure_input" |
22551 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22552 *) ac_sed_conf_input=$configure_input;;
22553 esac
22555 case $ac_tag in
22556 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22558 esac
22560 esac
22562 ac_dir=`$as_dirname -- "$ac_file" ||
22563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22564 X"$ac_file" : 'X\(//\)[^/]' \| \
22565 X"$ac_file" : 'X\(//\)$' \| \
22566 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22567 $as_echo X"$ac_file" |
22568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22569 s//\1/
22572 /^X\(\/\/\)[^/].*/{
22573 s//\1/
22576 /^X\(\/\/\)$/{
22577 s//\1/
22580 /^X\(\/\).*/{
22581 s//\1/
22584 s/.*/./; q'`
22585 as_dir="$ac_dir"; as_fn_mkdir_p
22586 ac_builddir=.
22588 case "$ac_dir" in
22589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22592 # A ".." for each directory in $ac_dir_suffix.
22593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22594 case $ac_top_builddir_sub in
22595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22597 esac ;;
22598 esac
22599 ac_abs_top_builddir=$ac_pwd
22600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22601 # for backward compatibility:
22602 ac_top_builddir=$ac_top_build_prefix
22604 case $srcdir in
22605 .) # We are building in place.
22606 ac_srcdir=.
22607 ac_top_srcdir=$ac_top_builddir_sub
22608 ac_abs_top_srcdir=$ac_pwd ;;
22609 [\\/]* | ?:[\\/]* ) # Absolute name.
22610 ac_srcdir=$srcdir$ac_dir_suffix;
22611 ac_top_srcdir=$srcdir
22612 ac_abs_top_srcdir=$srcdir ;;
22613 *) # Relative name.
22614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22615 ac_top_srcdir=$ac_top_build_prefix$srcdir
22616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22617 esac
22618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22621 case $ac_mode in
22624 # CONFIG_FILE
22627 _ACEOF
22629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22630 # If the template does not know about datarootdir, expand it.
22631 # FIXME: This hack should be removed a few years after 2.60.
22632 ac_datarootdir_hack=; ac_datarootdir_seen=
22633 ac_sed_dataroot='
22634 /datarootdir/ {
22638 /@datadir@/p
22639 /@docdir@/p
22640 /@infodir@/p
22641 /@localedir@/p
22642 /@mandir@/p'
22643 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22644 *datarootdir*) ac_datarootdir_seen=yes;;
22645 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22647 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22648 _ACEOF
22649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22650 ac_datarootdir_hack='
22651 s&@datadir@&$datadir&g
22652 s&@docdir@&$docdir&g
22653 s&@infodir@&$infodir&g
22654 s&@localedir@&$localedir&g
22655 s&@mandir@&$mandir&g
22656 s&\\\${datarootdir}&$datarootdir&g' ;;
22657 esac
22658 _ACEOF
22660 # Neutralize VPATH when `$srcdir' = `.'.
22661 # Shell code in configure.ac might set extrasub.
22662 # FIXME: do we really want to maintain this feature?
22663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22664 ac_sed_extra="$ac_vpsub
22665 $extrasub
22666 _ACEOF
22667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22670 s|@configure_input@|$ac_sed_conf_input|;t t
22671 s&@top_builddir@&$ac_top_builddir_sub&;t t
22672 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22673 s&@srcdir@&$ac_srcdir&;t t
22674 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22675 s&@top_srcdir@&$ac_top_srcdir&;t t
22676 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22677 s&@builddir@&$ac_builddir&;t t
22678 s&@abs_builddir@&$ac_abs_builddir&;t t
22679 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22680 $ac_datarootdir_hack
22682 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22683 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22685 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22686 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22687 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22688 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22690 which seems to be undefined. Please make sure it is defined" >&5
22691 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22692 which seems to be undefined. Please make sure it is defined" >&2;}
22694 rm -f "$ac_tmp/stdin"
22695 case $ac_file in
22696 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22697 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22698 esac \
22699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22703 # CONFIG_HEADER
22705 if test x"$ac_file" != x-; then
22707 $as_echo "/* $configure_input */" \
22708 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22709 } >"$ac_tmp/config.h" \
22710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22711 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22713 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22714 else
22715 rm -f "$ac_file"
22716 mv "$ac_tmp/config.h" "$ac_file" \
22717 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22719 else
22720 $as_echo "/* $configure_input */" \
22721 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22722 || as_fn_error $? "could not create -" "$LINENO" 5
22727 # CONFIG_LINK
22730 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22732 else
22733 # Prefer the file from the source tree if names are identical.
22734 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22735 ac_source=$srcdir/$ac_source
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22739 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22741 if test ! -r "$ac_source"; then
22742 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22744 rm -f "$ac_file"
22746 # Try a relative symlink, then a hard link, then a copy.
22747 case $ac_source in
22748 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22749 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22750 esac
22751 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22752 ln "$ac_source" "$ac_file" 2>/dev/null ||
22753 cp -p "$ac_source" "$ac_file" ||
22754 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22757 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22758 $as_echo "$as_me: executing $ac_file commands" >&6;}
22760 esac
22763 case $ac_file$ac_mode in
22764 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22765 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22766 "Makefile":C) wine_fn_output_makefile Makefile ;;
22768 esac
22769 done # for ac_tag
22772 as_fn_exit 0
22773 _ACEOF
22774 ac_clean_files=$ac_clean_files_save
22776 test $ac_write_fail = 0 ||
22777 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22780 # configure is writing to config.log, and then calls config.status.
22781 # config.status does its own redirection, appending to config.log.
22782 # Unfortunately, on DOS this fails, as config.log is still kept open
22783 # by configure, so config.status won't be able to write to it; its
22784 # output is simply discarded. So we exec the FD to /dev/null,
22785 # effectively closing config.log, so it can be properly (re)opened and
22786 # appended to by config.status. When coming back to configure, we
22787 # need to make the FD available again.
22788 if test "$no_create" != yes; then
22789 ac_cs_success=:
22790 ac_config_status_args=
22791 test "$silent" = yes &&
22792 ac_config_status_args="$ac_config_status_args --quiet"
22793 exec 5>/dev/null
22794 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22795 exec 5>>config.log
22796 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22797 # would make configure fail if this is the last instruction.
22798 $ac_cs_success || as_fn_exit 1
22800 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22802 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22806 if test "$no_create" = "yes"
22807 then
22808 exit 0
22811 ac_save_IFS="$IFS"
22812 if test "x$wine_notices" != x; then
22813 echo >&6
22814 IFS="|"
22815 for msg in $wine_notices; do
22816 IFS="$ac_save_IFS"
22817 if ${msg:+false} :; then :
22819 else
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22821 $as_echo "$as_me: $msg" >&6;}
22823 done
22825 IFS="|"
22826 for msg in $wine_warnings; do
22827 IFS="$ac_save_IFS"
22828 if ${msg:+false} :; then :
22830 else
22831 echo >&2
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22833 $as_echo "$as_me: WARNING: $msg" >&2;}
22835 done
22836 IFS="$ac_save_IFS"
22838 $as_echo "
22839 $as_me: Finished. Do '${ac_make}' to compile Wine.
22840 " >&6