ntdll/tests: Fix tick count read from user shared data.
[wine/zf.git] / configure
blob15cac0ea020f6cacbd5f2bc747fc42a261adef99
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.4'
584 PACKAGE_STRING='Wine 6.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_thread_l1_1_0
1147 enable_api_ms_win_shell_shellcom_l1_1_0
1148 enable_api_ms_win_shell_shellfolders_l1_1_0
1149 enable_apphelp
1150 enable_appwiz_cpl
1151 enable_atl
1152 enable_atl100
1153 enable_atl110
1154 enable_atl80
1155 enable_atl90
1156 enable_atlthunk
1157 enable_atmlib
1158 enable_authz
1159 enable_avicap32
1160 enable_avifil32
1161 enable_avrt
1162 enable_bcrypt
1163 enable_bluetoothapis
1164 enable_browseui
1165 enable_bthprops_cpl
1166 enable_cabinet
1167 enable_capi2032
1168 enable_cards
1169 enable_cdosys
1170 enable_cfgmgr32
1171 enable_clusapi
1172 enable_combase
1173 enable_comcat
1174 enable_comctl32
1175 enable_comdlg32
1176 enable_compstui
1177 enable_comsvcs
1178 enable_concrt140
1179 enable_connect
1180 enable_credui
1181 enable_crtdll
1182 enable_crypt32
1183 enable_cryptdlg
1184 enable_cryptdll
1185 enable_cryptext
1186 enable_cryptnet
1187 enable_cryptsp
1188 enable_cryptui
1189 enable_ctapi32
1190 enable_ctl3d32
1191 enable_d2d1
1192 enable_d3d10
1193 enable_d3d10_1
1194 enable_d3d10core
1195 enable_d3d11
1196 enable_d3d12
1197 enable_d3d8
1198 enable_d3d8thk
1199 enable_d3d9
1200 enable_d3dcompiler_33
1201 enable_d3dcompiler_34
1202 enable_d3dcompiler_35
1203 enable_d3dcompiler_36
1204 enable_d3dcompiler_37
1205 enable_d3dcompiler_38
1206 enable_d3dcompiler_39
1207 enable_d3dcompiler_40
1208 enable_d3dcompiler_41
1209 enable_d3dcompiler_42
1210 enable_d3dcompiler_43
1211 enable_d3dcompiler_46
1212 enable_d3dcompiler_47
1213 enable_d3dim
1214 enable_d3dim700
1215 enable_d3drm
1216 enable_d3dx10_33
1217 enable_d3dx10_34
1218 enable_d3dx10_35
1219 enable_d3dx10_36
1220 enable_d3dx10_37
1221 enable_d3dx10_38
1222 enable_d3dx10_39
1223 enable_d3dx10_40
1224 enable_d3dx10_41
1225 enable_d3dx10_42
1226 enable_d3dx10_43
1227 enable_d3dx11_42
1228 enable_d3dx11_43
1229 enable_d3dx9_24
1230 enable_d3dx9_25
1231 enable_d3dx9_26
1232 enable_d3dx9_27
1233 enable_d3dx9_28
1234 enable_d3dx9_29
1235 enable_d3dx9_30
1236 enable_d3dx9_31
1237 enable_d3dx9_32
1238 enable_d3dx9_33
1239 enable_d3dx9_34
1240 enable_d3dx9_35
1241 enable_d3dx9_36
1242 enable_d3dx9_37
1243 enable_d3dx9_38
1244 enable_d3dx9_39
1245 enable_d3dx9_40
1246 enable_d3dx9_41
1247 enable_d3dx9_42
1248 enable_d3dx9_43
1249 enable_d3dxof
1250 enable_davclnt
1251 enable_dbgeng
1252 enable_dbghelp
1253 enable_dciman32
1254 enable_dcomp
1255 enable_ddraw
1256 enable_ddrawex
1257 enable_devenum
1258 enable_dhcpcsvc
1259 enable_dhtmled_ocx
1260 enable_difxapi
1261 enable_dinput
1262 enable_dinput8
1263 enable_directmanipulation
1264 enable_dispex
1265 enable_dmband
1266 enable_dmcompos
1267 enable_dmime
1268 enable_dmloader
1269 enable_dmoguids
1270 enable_dmscript
1271 enable_dmstyle
1272 enable_dmsynth
1273 enable_dmusic
1274 enable_dmusic32
1275 enable_dnsapi
1276 enable_dplay
1277 enable_dplayx
1278 enable_dpnaddr
1279 enable_dpnet
1280 enable_dpnhpast
1281 enable_dpnlobby
1282 enable_dpvoice
1283 enable_dpwsockx
1284 enable_drmclien
1285 enable_dsdmo
1286 enable_dsound
1287 enable_dsquery
1288 enable_dssenh
1289 enable_dsuiext
1290 enable_dswave
1291 enable_dwmapi
1292 enable_dwrite
1293 enable_dx8vb
1294 enable_dxdiagn
1295 enable_dxerr8
1296 enable_dxerr9
1297 enable_dxgi
1298 enable_dxguid
1299 enable_dxva2
1300 enable_esent
1301 enable_evr
1302 enable_explorerframe
1303 enable_ext_ms_win_authz_context_l1_1_0
1304 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1305 enable_ext_ms_win_dwmapi_ext_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_1
1308 enable_ext_ms_win_gdi_dc_l1_2_0
1309 enable_ext_ms_win_gdi_devcaps_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_1
1312 enable_ext_ms_win_gdi_font_l1_1_0
1313 enable_ext_ms_win_gdi_font_l1_1_1
1314 enable_ext_ms_win_gdi_render_l1_1_0
1315 enable_ext_ms_win_kernel32_package_current_l1_1_0
1316 enable_ext_ms_win_kernel32_package_l1_1_1
1317 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1318 enable_ext_ms_win_ntuser_draw_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_3_0
1321 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1322 enable_ext_ms_win_ntuser_message_l1_1_0
1323 enable_ext_ms_win_ntuser_message_l1_1_1
1324 enable_ext_ms_win_ntuser_misc_l1_1_0
1325 enable_ext_ms_win_ntuser_misc_l1_2_0
1326 enable_ext_ms_win_ntuser_misc_l1_5_1
1327 enable_ext_ms_win_ntuser_mouse_l1_1_0
1328 enable_ext_ms_win_ntuser_private_l1_1_1
1329 enable_ext_ms_win_ntuser_private_l1_3_1
1330 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_1
1334 enable_ext_ms_win_ntuser_window_l1_1_4
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1337 enable_ext_ms_win_oleacc_l1_1_0
1338 enable_ext_ms_win_ras_rasapi32_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1346 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1349 enable_ext_ms_win_security_credui_l1_1_0
1350 enable_ext_ms_win_security_cryptui_l1_1_0
1351 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1352 enable_ext_ms_win_shell_comdlg32_l1_1_0
1353 enable_ext_ms_win_shell_shell32_l1_2_0
1354 enable_ext_ms_win_uxtheme_themes_l1_1_0
1355 enable_faultrep
1356 enable_feclient
1357 enable_fltlib
1358 enable_fltmgr_sys
1359 enable_fntcache
1360 enable_fontsub
1361 enable_fusion
1362 enable_fwpuclnt
1363 enable_gameux
1364 enable_gdi32
1365 enable_gdiplus
1366 enable_glu32
1367 enable_gphoto2_ds
1368 enable_gpkcsp
1369 enable_hal
1370 enable_hhctrl_ocx
1371 enable_hid
1372 enable_hidclass_sys
1373 enable_hlink
1374 enable_hnetcfg
1375 enable_http_sys
1376 enable_httpapi
1377 enable_iccvid
1378 enable_icmp
1379 enable_ieframe
1380 enable_ieproxy
1381 enable_imaadp32_acm
1382 enable_imagehlp
1383 enable_imm32
1384 enable_inetcomm
1385 enable_inetcpl_cpl
1386 enable_inetmib1
1387 enable_infosoft
1388 enable_initpki
1389 enable_inkobj
1390 enable_inseng
1391 enable_iphlpapi
1392 enable_iprop
1393 enable_irprops_cpl
1394 enable_itircl
1395 enable_itss
1396 enable_joy_cpl
1397 enable_jscript
1398 enable_jsproxy
1399 enable_kerberos
1400 enable_kernel32
1401 enable_kernelbase
1402 enable_ksecdd_sys
1403 enable_ksproxy_ax
1404 enable_ksuser
1405 enable_ktmw32
1406 enable_l3codeca_acm
1407 enable_loadperf
1408 enable_localspl
1409 enable_localui
1410 enable_lz32
1411 enable_mapi32
1412 enable_mapistub
1413 enable_mciavi32
1414 enable_mcicda
1415 enable_mciqtz32
1416 enable_mciseq
1417 enable_mciwave
1418 enable_mf
1419 enable_mf3216
1420 enable_mferror
1421 enable_mfmediaengine
1422 enable_mfplat
1423 enable_mfplay
1424 enable_mfreadwrite
1425 enable_mfuuid
1426 enable_mgmtapi
1427 enable_midimap
1428 enable_mlang
1429 enable_mmcndmgr
1430 enable_mmdevapi
1431 enable_mountmgr_sys
1432 enable_mp3dmod
1433 enable_mpr
1434 enable_mprapi
1435 enable_msacm32_drv
1436 enable_msacm32
1437 enable_msado15
1438 enable_msadp32_acm
1439 enable_msasn1
1440 enable_mscat32
1441 enable_mscms
1442 enable_mscoree
1443 enable_mscorwks
1444 enable_msctf
1445 enable_msctfp
1446 enable_msdaps
1447 enable_msdelta
1448 enable_msdmo
1449 enable_msdrm
1450 enable_msftedit
1451 enable_msg711_acm
1452 enable_msgsm32_acm
1453 enable_mshtml_tlb
1454 enable_mshtml
1455 enable_msi
1456 enable_msident
1457 enable_msimg32
1458 enable_msimsg
1459 enable_msimtf
1460 enable_msisip
1461 enable_msisys_ocx
1462 enable_msls31
1463 enable_msnet32
1464 enable_mspatcha
1465 enable_msports
1466 enable_msrle32
1467 enable_msscript_ocx
1468 enable_mssign32
1469 enable_mssip32
1470 enable_mstask
1471 enable_msvcirt
1472 enable_msvcm80
1473 enable_msvcm90
1474 enable_msvcp100
1475 enable_msvcp110
1476 enable_msvcp120
1477 enable_msvcp120_app
1478 enable_msvcp140
1479 enable_msvcp140_1
1480 enable_msvcp60
1481 enable_msvcp70
1482 enable_msvcp71
1483 enable_msvcp80
1484 enable_msvcp90
1485 enable_msvcr100
1486 enable_msvcr110
1487 enable_msvcr120
1488 enable_msvcr120_app
1489 enable_msvcr70
1490 enable_msvcr71
1491 enable_msvcr80
1492 enable_msvcr90
1493 enable_msvcrt
1494 enable_msvcrt20
1495 enable_msvcrt40
1496 enable_msvcrtd
1497 enable_msvfw32
1498 enable_msvidc32
1499 enable_mswsock
1500 enable_msxml
1501 enable_msxml2
1502 enable_msxml3
1503 enable_msxml4
1504 enable_msxml6
1505 enable_mtxdm
1506 enable_ncrypt
1507 enable_nddeapi
1508 enable_ndis_sys
1509 enable_netapi32
1510 enable_netcfgx
1511 enable_netio_sys
1512 enable_netprofm
1513 enable_netutils
1514 enable_newdev
1515 enable_ninput
1516 enable_normaliz
1517 enable_npmshtml
1518 enable_npptools
1519 enable_ntdll
1520 enable_ntdsapi
1521 enable_ntoskrnl_exe
1522 enable_ntprint
1523 enable_objsel
1524 enable_odbc32
1525 enable_odbcbcp
1526 enable_odbccp32
1527 enable_odbccu32
1528 enable_ole32
1529 enable_oleacc
1530 enable_oleaut32
1531 enable_olecli32
1532 enable_oledb32
1533 enable_oledlg
1534 enable_olepro32
1535 enable_olesvr32
1536 enable_olethk32
1537 enable_opcservices
1538 enable_openal32
1539 enable_opencl
1540 enable_opengl32
1541 enable_packager
1542 enable_pdh
1543 enable_photometadatahandler
1544 enable_pidgen
1545 enable_powrprof
1546 enable_printui
1547 enable_prntvpt
1548 enable_propsys
1549 enable_psapi
1550 enable_pstorec
1551 enable_pwrshplugin
1552 enable_qasf
1553 enable_qcap
1554 enable_qdvd
1555 enable_qedit
1556 enable_qmgr
1557 enable_qmgrprxy
1558 enable_quartz
1559 enable_query
1560 enable_qwave
1561 enable_rasapi32
1562 enable_rasdlg
1563 enable_regapi
1564 enable_resutils
1565 enable_riched20
1566 enable_riched32
1567 enable_rpcrt4
1568 enable_rsabase
1569 enable_rsaenh
1570 enable_rstrtmgr
1571 enable_rtutils
1572 enable_rtworkq
1573 enable_samlib
1574 enable_sane_ds
1575 enable_sapi
1576 enable_sas
1577 enable_scarddlg
1578 enable_sccbase
1579 enable_schannel
1580 enable_schedsvc
1581 enable_scrobj
1582 enable_scrrun
1583 enable_scsiport_sys
1584 enable_sechost
1585 enable_secur32
1586 enable_security
1587 enable_sensapi
1588 enable_serialui
1589 enable_setupapi
1590 enable_sfc
1591 enable_sfc_os
1592 enable_shcore
1593 enable_shdoclc
1594 enable_shdocvw
1595 enable_shell32
1596 enable_shfolder
1597 enable_shlwapi
1598 enable_slbcsp
1599 enable_slc
1600 enable_snmpapi
1601 enable_softpub
1602 enable_spoolss
1603 enable_srclient
1604 enable_srvcli
1605 enable_sspicli
1606 enable_stdole2_tlb
1607 enable_stdole32_tlb
1608 enable_sti
1609 enable_strmbase
1610 enable_strmdll
1611 enable_strmiids
1612 enable_svrapi
1613 enable_sxs
1614 enable_t2embed
1615 enable_tapi32
1616 enable_taskschd
1617 enable_tdh
1618 enable_tdi_sys
1619 enable_traffic
1620 enable_twain_32
1621 enable_tzres
1622 enable_ucrtbase
1623 enable_uianimation
1624 enable_uiautomationcore
1625 enable_uiribbon
1626 enable_unicows
1627 enable_updspapi
1628 enable_url
1629 enable_urlmon
1630 enable_usbd_sys
1631 enable_user32
1632 enable_userenv
1633 enable_usp10
1634 enable_utildll
1635 enable_uuid
1636 enable_uxtheme
1637 enable_vbscript
1638 enable_vcomp
1639 enable_vcomp100
1640 enable_vcomp110
1641 enable_vcomp120
1642 enable_vcomp140
1643 enable_vcomp90
1644 enable_vcruntime140
1645 enable_vcruntime140_1
1646 enable_vdmdbg
1647 enable_version
1648 enable_vga
1649 enable_virtdisk
1650 enable_vssapi
1651 enable_vulkan_1
1652 enable_wbemdisp
1653 enable_wbemprox
1654 enable_wbemuuid
1655 enable_wdscore
1656 enable_webservices
1657 enable_wer
1658 enable_wevtapi
1659 enable_wevtsvc
1660 enable_wiaservc
1661 enable_wimgapi
1662 enable_windows_media_speech
1663 enable_windowscodecs
1664 enable_windowscodecsext
1665 enable_winealsa_drv
1666 enable_wineandroid_drv
1667 enable_winebus_sys
1668 enable_winecoreaudio_drv
1669 enable_winecrt0
1670 enable_wined3d
1671 enable_winegstreamer
1672 enable_winehid_sys
1673 enable_winejoystick_drv
1674 enable_winemac_drv
1675 enable_winemapi
1676 enable_wineoss_drv
1677 enable_wineps_drv
1678 enable_winepulse_drv
1679 enable_wineqtdecoder
1680 enable_wineusb_sys
1681 enable_winevulkan
1682 enable_winex11_drv
1683 enable_wing32
1684 enable_winhttp
1685 enable_wininet
1686 enable_winmm
1687 enable_winnls32
1688 enable_winscard
1689 enable_winspool_drv
1690 enable_winsta
1691 enable_wintab32
1692 enable_wintrust
1693 enable_winusb
1694 enable_wlanapi
1695 enable_wlanui
1696 enable_wldap32
1697 enable_wmasf
1698 enable_wmcodecdspuuid
1699 enable_wmi
1700 enable_wmiutils
1701 enable_wmp
1702 enable_wmphoto
1703 enable_wmvcore
1704 enable_wnaspi32
1705 enable_wow64cpu
1706 enable_wpc
1707 enable_wpcap
1708 enable_ws2_32
1709 enable_wsdapi
1710 enable_wshom_ocx
1711 enable_wsnmp32
1712 enable_wsock32
1713 enable_wtsapi32
1714 enable_wuapi
1715 enable_wuaueng
1716 enable_x3daudio1_0
1717 enable_x3daudio1_1
1718 enable_x3daudio1_2
1719 enable_x3daudio1_3
1720 enable_x3daudio1_4
1721 enable_x3daudio1_5
1722 enable_x3daudio1_6
1723 enable_x3daudio1_7
1724 enable_xactengine3_0
1725 enable_xactengine3_1
1726 enable_xactengine3_2
1727 enable_xactengine3_3
1728 enable_xactengine3_4
1729 enable_xactengine3_5
1730 enable_xactengine3_6
1731 enable_xactengine3_7
1732 enable_xapofx1_1
1733 enable_xapofx1_2
1734 enable_xapofx1_3
1735 enable_xapofx1_4
1736 enable_xapofx1_5
1737 enable_xaudio2_0
1738 enable_xaudio2_1
1739 enable_xaudio2_2
1740 enable_xaudio2_3
1741 enable_xaudio2_4
1742 enable_xaudio2_5
1743 enable_xaudio2_6
1744 enable_xaudio2_7
1745 enable_xaudio2_8
1746 enable_xaudio2_9
1747 enable_xinput1_1
1748 enable_xinput1_2
1749 enable_xinput1_3
1750 enable_xinput1_4
1751 enable_xinput9_1_0
1752 enable_xmllite
1753 enable_xolehlp
1754 enable_xpsprint
1755 enable_xpssvcs
1756 enable_fonts
1757 enable_include
1758 enable_port
1759 enable_wine
1760 enable_wpp
1761 enable_loader
1762 enable_nls
1763 enable_po
1764 enable_arp
1765 enable_aspnet_regiis
1766 enable_attrib
1767 enable_cabarc
1768 enable_cacls
1769 enable_chcp_com
1770 enable_clock
1771 enable_cmd
1772 enable_conhost
1773 enable_control
1774 enable_cscript
1775 enable_dism
1776 enable_dplaysvr
1777 enable_dpnsvr
1778 enable_dpvsetup
1779 enable_dxdiag
1780 enable_eject
1781 enable_expand
1782 enable_explorer
1783 enable_extrac32
1784 enable_fc
1785 enable_find
1786 enable_findstr
1787 enable_fsutil
1788 enable_hh
1789 enable_hostname
1790 enable_icacls
1791 enable_icinfo
1792 enable_iexplore
1793 enable_ipconfig
1794 enable_lodctr
1795 enable_mofcomp
1796 enable_mshta
1797 enable_msidb
1798 enable_msiexec
1799 enable_msinfo32
1800 enable_net
1801 enable_netsh
1802 enable_netstat
1803 enable_ngen
1804 enable_notepad
1805 enable_oleview
1806 enable_ping
1807 enable_plugplay
1808 enable_powershell
1809 enable_presentationfontcache
1810 enable_progman
1811 enable_reg
1812 enable_regasm
1813 enable_regedit
1814 enable_regini
1815 enable_regsvcs
1816 enable_regsvr32
1817 enable_rpcss
1818 enable_rundll32
1819 enable_sc
1820 enable_schtasks
1821 enable_sdbinst
1822 enable_secedit
1823 enable_servicemodelreg
1824 enable_services
1825 enable_shutdown
1826 enable_spoolsv
1827 enable_start
1828 enable_subst
1829 enable_svchost
1830 enable_systeminfo
1831 enable_taskkill
1832 enable_tasklist
1833 enable_taskmgr
1834 enable_termsv
1835 enable_uninstaller
1836 enable_unlodctr
1837 enable_view
1838 enable_wevtutil
1839 enable_where
1840 enable_whoami
1841 enable_wineboot
1842 enable_winebrowser
1843 enable_winecfg
1844 enable_wineconsole
1845 enable_winedbg
1846 enable_winedevice
1847 enable_winefile
1848 enable_winemenubuilder
1849 enable_winemine
1850 enable_winemsibuilder
1851 enable_winepath
1852 enable_winetest
1853 enable_winhlp32
1854 enable_winmgmt
1855 enable_winver
1856 enable_wmic
1857 enable_wmplayer
1858 enable_wordpad
1859 enable_write
1860 enable_wscript
1861 enable_wuauserv
1862 enable_wusa
1863 enable_xcopy
1864 enable_server
1865 enable_tools
1866 enable_sfnt2fon
1867 enable_widl
1868 enable_winebuild
1869 enable_winedump
1870 enable_winegcc
1871 enable_winemaker
1872 enable_wmc
1873 enable_wrc
1875 ac_precious_vars='build_alias
1876 host_alias
1877 target_alias
1879 CFLAGS
1880 LDFLAGS
1881 LIBS
1882 CPPFLAGS
1884 CXXFLAGS
1887 OBJC
1888 OBJCFLAGS
1889 OBJCPP
1890 XMKMF
1891 XML2_CFLAGS
1892 XML2_LIBS
1893 XSLT_CFLAGS
1894 XSLT_LIBS
1895 INOTIFY_CFLAGS
1896 INOTIFY_LIBS
1897 DBUS_CFLAGS
1898 DBUS_LIBS
1899 HAL_CFLAGS
1900 HAL_LIBS
1901 GNUTLS_CFLAGS
1902 GNUTLS_LIBS
1903 SANE_CFLAGS
1904 SANE_LIBS
1905 USB_CFLAGS
1906 USB_LIBS
1907 GPHOTO2_CFLAGS
1908 GPHOTO2_LIBS
1909 GPHOTO2_PORT_CFLAGS
1910 GPHOTO2_PORT_LIBS
1911 LCMS2_CFLAGS
1912 LCMS2_LIBS
1913 FREETYPE_CFLAGS
1914 FREETYPE_LIBS
1915 PULSE_CFLAGS
1916 PULSE_LIBS
1917 GSTREAMER_CFLAGS
1918 GSTREAMER_LIBS
1919 UDEV_CFLAGS
1920 UDEV_LIBS
1921 UNWIND_CFLAGS
1922 UNWIND_LIBS
1923 SDL2_CFLAGS
1924 SDL2_LIBS
1925 FAUDIO_CFLAGS
1926 FAUDIO_LIBS
1927 CAPI20_CFLAGS
1928 CAPI20_LIBS
1929 CUPS_CFLAGS
1930 CUPS_LIBS
1931 FONTCONFIG_CFLAGS
1932 FONTCONFIG_LIBS
1933 KRB5_CFLAGS
1934 KRB5_LIBS
1935 GSSAPI_CFLAGS
1936 GSSAPI_LIBS
1937 JPEG_CFLAGS
1938 JPEG_LIBS
1939 JXRLIB_CFLAGS
1940 JXRLIB_LIBS
1941 PNG_CFLAGS
1942 PNG_LIBS
1943 TIFF_CFLAGS
1944 TIFF_LIBS
1945 MPG123_CFLAGS
1946 MPG123_LIBS
1947 NETAPI_CFLAGS
1948 NETAPI_LIBS
1949 VKD3D_CFLAGS
1950 VKD3D_LIBS
1951 VKD3D_SHADER_CFLAGS
1952 VKD3D_SHADER_LIBS
1953 LDAP_CFLAGS
1954 LDAP_LIBS'
1957 # Initialize some variables set by options.
1958 ac_init_help=
1959 ac_init_version=false
1960 ac_unrecognized_opts=
1961 ac_unrecognized_sep=
1962 # The variables have the same names as the options, with
1963 # dashes changed to underlines.
1964 cache_file=/dev/null
1965 exec_prefix=NONE
1966 no_create=
1967 no_recursion=
1968 prefix=NONE
1969 program_prefix=NONE
1970 program_suffix=NONE
1971 program_transform_name=s,x,x,
1972 silent=
1973 site=
1974 srcdir=
1975 verbose=
1976 x_includes=NONE
1977 x_libraries=NONE
1979 # Installation directory options.
1980 # These are left unexpanded so users can "make install exec_prefix=/foo"
1981 # and all the variables that are supposed to be based on exec_prefix
1982 # by default will actually change.
1983 # Use braces instead of parens because sh, perl, etc. also accept them.
1984 # (The list follows the same order as the GNU Coding Standards.)
1985 bindir='${exec_prefix}/bin'
1986 sbindir='${exec_prefix}/sbin'
1987 libexecdir='${exec_prefix}/libexec'
1988 datarootdir='${prefix}/share'
1989 datadir='${datarootdir}'
1990 sysconfdir='${prefix}/etc'
1991 sharedstatedir='${prefix}/com'
1992 localstatedir='${prefix}/var'
1993 runstatedir='${localstatedir}/run'
1994 includedir='${prefix}/include'
1995 oldincludedir='/usr/include'
1996 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1997 infodir='${datarootdir}/info'
1998 htmldir='${docdir}'
1999 dvidir='${docdir}'
2000 pdfdir='${docdir}'
2001 psdir='${docdir}'
2002 libdir='${exec_prefix}/lib'
2003 localedir='${datarootdir}/locale'
2004 mandir='${datarootdir}/man'
2006 ac_prev=
2007 ac_dashdash=
2008 for ac_option
2010 # If the previous option needs an argument, assign it.
2011 if test -n "$ac_prev"; then
2012 eval $ac_prev=\$ac_option
2013 ac_prev=
2014 continue
2017 case $ac_option in
2018 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2019 *=) ac_optarg= ;;
2020 *) ac_optarg=yes ;;
2021 esac
2023 # Accept the important Cygnus configure options, so we can diagnose typos.
2025 case $ac_dashdash$ac_option in
2027 ac_dashdash=yes ;;
2029 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2030 ac_prev=bindir ;;
2031 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2032 bindir=$ac_optarg ;;
2034 -build | --build | --buil | --bui | --bu)
2035 ac_prev=build_alias ;;
2036 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2037 build_alias=$ac_optarg ;;
2039 -cache-file | --cache-file | --cache-fil | --cache-fi \
2040 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2041 ac_prev=cache_file ;;
2042 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2043 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2044 cache_file=$ac_optarg ;;
2046 --config-cache | -C)
2047 cache_file=config.cache ;;
2049 -datadir | --datadir | --datadi | --datad)
2050 ac_prev=datadir ;;
2051 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2052 datadir=$ac_optarg ;;
2054 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2055 | --dataroo | --dataro | --datar)
2056 ac_prev=datarootdir ;;
2057 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2058 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2059 datarootdir=$ac_optarg ;;
2061 -disable-* | --disable-*)
2062 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2063 # Reject names that are not valid shell variable names.
2064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2065 as_fn_error $? "invalid feature name: $ac_useropt"
2066 ac_useropt_orig=$ac_useropt
2067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2068 case $ac_user_opts in
2070 "enable_$ac_useropt"
2071 "*) ;;
2072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2073 ac_unrecognized_sep=', ';;
2074 esac
2075 eval enable_$ac_useropt=no ;;
2077 -docdir | --docdir | --docdi | --doc | --do)
2078 ac_prev=docdir ;;
2079 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2080 docdir=$ac_optarg ;;
2082 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2083 ac_prev=dvidir ;;
2084 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2085 dvidir=$ac_optarg ;;
2087 -enable-* | --enable-*)
2088 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2089 # Reject names that are not valid shell variable names.
2090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2091 as_fn_error $? "invalid feature name: $ac_useropt"
2092 ac_useropt_orig=$ac_useropt
2093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2094 case $ac_user_opts in
2096 "enable_$ac_useropt"
2097 "*) ;;
2098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2099 ac_unrecognized_sep=', ';;
2100 esac
2101 eval enable_$ac_useropt=\$ac_optarg ;;
2103 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2104 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2105 | --exec | --exe | --ex)
2106 ac_prev=exec_prefix ;;
2107 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2108 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2109 | --exec=* | --exe=* | --ex=*)
2110 exec_prefix=$ac_optarg ;;
2112 -gas | --gas | --ga | --g)
2113 # Obsolete; use --with-gas.
2114 with_gas=yes ;;
2116 -help | --help | --hel | --he | -h)
2117 ac_init_help=long ;;
2118 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2119 ac_init_help=recursive ;;
2120 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2121 ac_init_help=short ;;
2123 -host | --host | --hos | --ho)
2124 ac_prev=host_alias ;;
2125 -host=* | --host=* | --hos=* | --ho=*)
2126 host_alias=$ac_optarg ;;
2128 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2129 ac_prev=htmldir ;;
2130 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2131 | --ht=*)
2132 htmldir=$ac_optarg ;;
2134 -includedir | --includedir | --includedi | --included | --include \
2135 | --includ | --inclu | --incl | --inc)
2136 ac_prev=includedir ;;
2137 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2138 | --includ=* | --inclu=* | --incl=* | --inc=*)
2139 includedir=$ac_optarg ;;
2141 -infodir | --infodir | --infodi | --infod | --info | --inf)
2142 ac_prev=infodir ;;
2143 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2144 infodir=$ac_optarg ;;
2146 -libdir | --libdir | --libdi | --libd)
2147 ac_prev=libdir ;;
2148 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2149 libdir=$ac_optarg ;;
2151 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2152 | --libexe | --libex | --libe)
2153 ac_prev=libexecdir ;;
2154 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2155 | --libexe=* | --libex=* | --libe=*)
2156 libexecdir=$ac_optarg ;;
2158 -localedir | --localedir | --localedi | --localed | --locale)
2159 ac_prev=localedir ;;
2160 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2161 localedir=$ac_optarg ;;
2163 -localstatedir | --localstatedir | --localstatedi | --localstated \
2164 | --localstate | --localstat | --localsta | --localst | --locals)
2165 ac_prev=localstatedir ;;
2166 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2167 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2168 localstatedir=$ac_optarg ;;
2170 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2171 ac_prev=mandir ;;
2172 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2173 mandir=$ac_optarg ;;
2175 -nfp | --nfp | --nf)
2176 # Obsolete; use --without-fp.
2177 with_fp=no ;;
2179 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2180 | --no-cr | --no-c | -n)
2181 no_create=yes ;;
2183 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2184 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2185 no_recursion=yes ;;
2187 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2188 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2189 | --oldin | --oldi | --old | --ol | --o)
2190 ac_prev=oldincludedir ;;
2191 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2192 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2193 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2194 oldincludedir=$ac_optarg ;;
2196 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2197 ac_prev=prefix ;;
2198 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2199 prefix=$ac_optarg ;;
2201 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2202 | --program-pre | --program-pr | --program-p)
2203 ac_prev=program_prefix ;;
2204 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2205 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2206 program_prefix=$ac_optarg ;;
2208 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2209 | --program-suf | --program-su | --program-s)
2210 ac_prev=program_suffix ;;
2211 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2212 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2213 program_suffix=$ac_optarg ;;
2215 -program-transform-name | --program-transform-name \
2216 | --program-transform-nam | --program-transform-na \
2217 | --program-transform-n | --program-transform- \
2218 | --program-transform | --program-transfor \
2219 | --program-transfo | --program-transf \
2220 | --program-trans | --program-tran \
2221 | --progr-tra | --program-tr | --program-t)
2222 ac_prev=program_transform_name ;;
2223 -program-transform-name=* | --program-transform-name=* \
2224 | --program-transform-nam=* | --program-transform-na=* \
2225 | --program-transform-n=* | --program-transform-=* \
2226 | --program-transform=* | --program-transfor=* \
2227 | --program-transfo=* | --program-transf=* \
2228 | --program-trans=* | --program-tran=* \
2229 | --progr-tra=* | --program-tr=* | --program-t=*)
2230 program_transform_name=$ac_optarg ;;
2232 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2233 ac_prev=pdfdir ;;
2234 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2235 pdfdir=$ac_optarg ;;
2237 -psdir | --psdir | --psdi | --psd | --ps)
2238 ac_prev=psdir ;;
2239 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2240 psdir=$ac_optarg ;;
2242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2243 | -silent | --silent | --silen | --sile | --sil)
2244 silent=yes ;;
2246 -runstatedir | --runstatedir | --runstatedi | --runstated \
2247 | --runstate | --runstat | --runsta | --runst | --runs \
2248 | --run | --ru | --r)
2249 ac_prev=runstatedir ;;
2250 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2251 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2252 | --run=* | --ru=* | --r=*)
2253 runstatedir=$ac_optarg ;;
2255 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2256 ac_prev=sbindir ;;
2257 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2258 | --sbi=* | --sb=*)
2259 sbindir=$ac_optarg ;;
2261 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2262 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2263 | --sharedst | --shareds | --shared | --share | --shar \
2264 | --sha | --sh)
2265 ac_prev=sharedstatedir ;;
2266 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2267 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2268 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2269 | --sha=* | --sh=*)
2270 sharedstatedir=$ac_optarg ;;
2272 -site | --site | --sit)
2273 ac_prev=site ;;
2274 -site=* | --site=* | --sit=*)
2275 site=$ac_optarg ;;
2277 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2278 ac_prev=srcdir ;;
2279 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2280 srcdir=$ac_optarg ;;
2282 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2283 | --syscon | --sysco | --sysc | --sys | --sy)
2284 ac_prev=sysconfdir ;;
2285 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2286 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2287 sysconfdir=$ac_optarg ;;
2289 -target | --target | --targe | --targ | --tar | --ta | --t)
2290 ac_prev=target_alias ;;
2291 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2292 target_alias=$ac_optarg ;;
2294 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2295 verbose=yes ;;
2297 -version | --version | --versio | --versi | --vers | -V)
2298 ac_init_version=: ;;
2300 -with-* | --with-*)
2301 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2302 # Reject names that are not valid shell variable names.
2303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2304 as_fn_error $? "invalid package name: $ac_useropt"
2305 ac_useropt_orig=$ac_useropt
2306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2307 case $ac_user_opts in
2309 "with_$ac_useropt"
2310 "*) ;;
2311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2312 ac_unrecognized_sep=', ';;
2313 esac
2314 eval with_$ac_useropt=\$ac_optarg ;;
2316 -without-* | --without-*)
2317 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
2328 ac_unrecognized_sep=', ';;
2329 esac
2330 eval with_$ac_useropt=no ;;
2332 --x)
2333 # Obsolete; use --with-x.
2334 with_x=yes ;;
2336 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2337 | --x-incl | --x-inc | --x-in | --x-i)
2338 ac_prev=x_includes ;;
2339 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2340 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2341 x_includes=$ac_optarg ;;
2343 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2344 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2345 ac_prev=x_libraries ;;
2346 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2347 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2348 x_libraries=$ac_optarg ;;
2350 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2351 Try \`$0 --help' for more information"
2354 *=*)
2355 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2356 # Reject names that are not valid shell variable names.
2357 case $ac_envvar in #(
2358 '' | [0-9]* | *[!_$as_cr_alnum]* )
2359 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2360 esac
2361 eval $ac_envvar=\$ac_optarg
2362 export $ac_envvar ;;
2365 # FIXME: should be removed in autoconf 3.0.
2366 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2367 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2368 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2369 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2372 esac
2373 done
2375 if test -n "$ac_prev"; then
2376 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2377 as_fn_error $? "missing argument to $ac_option"
2380 if test -n "$ac_unrecognized_opts"; then
2381 case $enable_option_checking in
2382 no) ;;
2383 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2384 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2385 esac
2388 # Check all directory arguments for consistency.
2389 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2390 datadir sysconfdir sharedstatedir localstatedir includedir \
2391 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2392 libdir localedir mandir runstatedir
2394 eval ac_val=\$$ac_var
2395 # Remove trailing slashes.
2396 case $ac_val in
2397 */ )
2398 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2399 eval $ac_var=\$ac_val;;
2400 esac
2401 # Be sure to have absolute directory names.
2402 case $ac_val in
2403 [\\/$]* | ?:[\\/]* ) continue;;
2404 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2405 esac
2406 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2407 done
2409 # There might be people who depend on the old broken behavior: `$host'
2410 # used to hold the argument of --host etc.
2411 # FIXME: To remove some day.
2412 build=$build_alias
2413 host=$host_alias
2414 target=$target_alias
2416 # FIXME: To remove some day.
2417 if test "x$host_alias" != x; then
2418 if test "x$build_alias" = x; then
2419 cross_compiling=maybe
2420 elif test "x$build_alias" != "x$host_alias"; then
2421 cross_compiling=yes
2425 ac_tool_prefix=
2426 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2428 test "$silent" = yes && exec 6>/dev/null
2431 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2432 ac_ls_di=`ls -di .` &&
2433 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2434 as_fn_error $? "working directory cannot be determined"
2435 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2436 as_fn_error $? "pwd does not report name of working directory"
2439 # Find the source files, if location was not specified.
2440 if test -z "$srcdir"; then
2441 ac_srcdir_defaulted=yes
2442 # Try the directory containing this script, then the parent directory.
2443 ac_confdir=`$as_dirname -- "$as_myself" ||
2444 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2445 X"$as_myself" : 'X\(//\)[^/]' \| \
2446 X"$as_myself" : 'X\(//\)$' \| \
2447 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2448 $as_echo X"$as_myself" |
2449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2450 s//\1/
2453 /^X\(\/\/\)[^/].*/{
2454 s//\1/
2457 /^X\(\/\/\)$/{
2458 s//\1/
2461 /^X\(\/\).*/{
2462 s//\1/
2465 s/.*/./; q'`
2466 srcdir=$ac_confdir
2467 if test ! -r "$srcdir/$ac_unique_file"; then
2468 srcdir=..
2470 else
2471 ac_srcdir_defaulted=no
2473 if test ! -r "$srcdir/$ac_unique_file"; then
2474 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2475 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2477 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2478 ac_abs_confdir=`(
2479 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2480 pwd)`
2481 # When building in place, set srcdir=.
2482 if test "$ac_abs_confdir" = "$ac_pwd"; then
2483 srcdir=.
2485 # Remove unnecessary trailing slashes from srcdir.
2486 # Double slashes in file names in object file debugging info
2487 # mess up M-x gdb in Emacs.
2488 case $srcdir in
2489 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2490 esac
2491 for ac_var in $ac_precious_vars; do
2492 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2493 eval ac_env_${ac_var}_value=\$${ac_var}
2494 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2495 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2496 done
2499 # Report the --help message.
2501 if test "$ac_init_help" = "long"; then
2502 # Omit some internal or obsolete options to make the list less imposing.
2503 # This message is too long to be a string in the A/UX 3.1 sh.
2504 cat <<_ACEOF
2505 \`configure' configures Wine 6.4 to adapt to many kinds of systems.
2507 Usage: $0 [OPTION]... [VAR=VALUE]...
2509 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2510 VAR=VALUE. See below for descriptions of some of the useful variables.
2512 Defaults for the options are specified in brackets.
2514 Configuration:
2515 -h, --help display this help and exit
2516 --help=short display options specific to this package
2517 --help=recursive display the short help of all the included packages
2518 -V, --version display version information and exit
2519 -q, --quiet, --silent do not print \`checking ...' messages
2520 --cache-file=FILE cache test results in FILE [disabled]
2521 -C, --config-cache alias for \`--cache-file=config.cache'
2522 -n, --no-create do not create output files
2523 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2525 Installation directories:
2526 --prefix=PREFIX install architecture-independent files in PREFIX
2527 [$ac_default_prefix]
2528 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2529 [PREFIX]
2531 By default, \`make install' will install all the files in
2532 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2533 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2534 for instance \`--prefix=\$HOME'.
2536 For better control, use the options below.
2538 Fine tuning of the installation directories:
2539 --bindir=DIR user executables [EPREFIX/bin]
2540 --sbindir=DIR system admin executables [EPREFIX/sbin]
2541 --libexecdir=DIR program executables [EPREFIX/libexec]
2542 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2543 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2544 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2545 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2546 --libdir=DIR object code libraries [EPREFIX/lib]
2547 --includedir=DIR C header files [PREFIX/include]
2548 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2549 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2550 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2551 --infodir=DIR info documentation [DATAROOTDIR/info]
2552 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2553 --mandir=DIR man documentation [DATAROOTDIR/man]
2554 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2555 --htmldir=DIR html documentation [DOCDIR]
2556 --dvidir=DIR dvi documentation [DOCDIR]
2557 --pdfdir=DIR pdf documentation [DOCDIR]
2558 --psdir=DIR ps documentation [DOCDIR]
2559 _ACEOF
2561 cat <<\_ACEOF
2563 X features:
2564 --x-includes=DIR X include files are in DIR
2565 --x-libraries=DIR X library files are in DIR
2567 System types:
2568 --build=BUILD configure for building on BUILD [guessed]
2569 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2570 _ACEOF
2573 if test -n "$ac_init_help"; then
2574 case $ac_init_help in
2575 short | recursive ) echo "Configuration of Wine 6.4:";;
2576 esac
2577 cat <<\_ACEOF
2579 Optional Features:
2580 --disable-option-checking ignore unrecognized --enable/--with options
2581 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2582 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2583 --disable-win16 do not include Win16 support
2584 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2585 binaries)
2586 --disable-tests do not build the regression tests
2587 --enable-build-id include .buildid section in output objects
2588 --enable-maintainer-mode
2589 enable maintainer-specific build rules
2590 --enable-silent-rules use silent build rules (override: "make V=1")
2591 --enable-werror treat compilation warnings as errors
2592 --disable-largefile omit support for large files
2594 Optional Packages:
2595 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2596 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2597 --without-alsa do not use the Alsa sound support
2598 --without-capi do not use CAPI (ISDN support)
2599 --without-cms do not use CMS (color management support)
2600 --without-coreaudio do not use the CoreAudio sound support
2601 --without-cups do not use CUPS
2602 --without-dbus do not use DBus (dynamic device support)
2603 --without-faudio do not use FAudio (XAudio2 support)
2604 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2605 --without-fontconfig do not use fontconfig
2606 --without-freetype do not use the FreeType library
2607 --without-gettext do not use gettext
2608 --with-gettextpo use the GetTextPO library to rebuild po files
2609 --without-gphoto do not use gphoto (Digital Camera support)
2610 --without-gnutls do not use GnuTLS (schannel support)
2611 --without-gsm do not use libgsm (GSM 06.10 codec support)
2612 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2613 --without-gstreamer do not use GStreamer (codecs support)
2614 --without-hal do not use HAL (dynamic device support)
2615 --without-inotify do not use inotify (filesystem change notifications)
2616 --without-jpeg do not use JPEG
2617 --without-jxrlib do not use JPEG-XR
2618 --without-krb5 do not use krb5 (Kerberos)
2619 --without-ldap do not use LDAP
2620 --without-mingw do not use the MinGW cross-compiler
2621 --without-mpg123 do not use the mpg123 library
2622 --without-netapi do not use the Samba NetAPI library
2623 --without-openal do not use OpenAL
2624 --without-opencl do not use OpenCL
2625 --without-opengl do not use OpenGL
2626 --without-osmesa do not use the OSMesa library
2627 --without-oss do not use the OSS sound support
2628 --without-pcap do not use the Packet Capture library
2629 --without-png do not use PNG
2630 --without-pthread do not use the pthread library
2631 --without-pulse do not use PulseAudio sound support
2632 --without-quicktime do not use QuickTime support
2633 --without-sane do not use SANE (scanner support)
2634 --without-sdl do not use SDL
2635 --without-tiff do not use TIFF
2636 --without-udev do not use udev (plug and play support)
2637 --without-unwind do not use the libunwind library (exception
2638 handling)
2639 --without-usb do not use the libusb library
2640 --without-v4l2 do not use v4l2 (video capture)
2641 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2642 --without-vulkan do not use Vulkan
2643 --without-xcomposite do not use the Xcomposite extension
2644 --without-xcursor do not use the Xcursor extension
2645 --without-xfixes do not use Xfixes for clipboard change notifications
2646 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2647 --without-xinput do not use the Xinput extension
2648 --without-xinput2 do not use the Xinput 2 extension
2649 --without-xml do not use XML
2650 --without-xrandr do not use Xrandr (multi-monitor support)
2651 --without-xrender do not use the Xrender extension
2652 --without-xshape do not use the Xshape extension
2653 --without-xshm do not use XShm (shared memory extension)
2654 --without-xslt do not use XSLT
2655 --without-xxf86vm do not use XFree video mode extension
2656 --with-wine-tools=DIR use Wine tools from directory DIR
2657 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2658 --with-x use the X Window System
2660 Some influential environment variables:
2661 CC C compiler command
2662 CFLAGS C compiler flags
2663 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2664 nonstandard directory <lib dir>
2665 LIBS libraries to pass to the linker, e.g. -l<library>
2666 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2667 you have headers in a nonstandard directory <include dir>
2668 CXX C++ compiler command
2669 CXXFLAGS C++ compiler flags
2670 CPP C preprocessor
2671 OBJC Objective C compiler command
2672 OBJCFLAGS Objective C compiler flags
2673 OBJCPP Objective C preprocessor
2674 XMKMF Path to xmkmf, Makefile generator for X Window System
2675 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2676 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2677 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2678 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2679 INOTIFY_CFLAGS
2680 C compiler flags for libinotify, overriding pkg-config
2681 INOTIFY_LIBS
2682 Linker flags for libinotify, overriding pkg-config
2683 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2684 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2685 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2686 HAL_LIBS Linker flags for hal, overriding pkg-config
2687 GNUTLS_CFLAGS
2688 C compiler flags for gnutls, overriding pkg-config
2689 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2690 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2691 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2692 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2693 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2694 GPHOTO2_CFLAGS
2695 C compiler flags for libgphoto2, overriding pkg-config
2696 GPHOTO2_LIBS
2697 Linker flags for libgphoto2, overriding pkg-config
2698 GPHOTO2_PORT_CFLAGS
2699 C compiler flags for libgphoto2_port, overriding pkg-config
2700 GPHOTO2_PORT_LIBS
2701 Linker flags for libgphoto2_port, overriding pkg-config
2702 LCMS2_CFLAGS
2703 C compiler flags for lcms2, overriding pkg-config
2704 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2705 FREETYPE_CFLAGS
2706 C compiler flags for freetype2, overriding pkg-config
2707 FREETYPE_LIBS
2708 Linker flags for freetype2, overriding pkg-config
2709 PULSE_CFLAGS
2710 C compiler flags for libpulse, overriding pkg-config
2711 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2712 GSTREAMER_CFLAGS
2713 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2714 gstreamer-audio-1.0, overriding pkg-config
2715 GSTREAMER_LIBS
2716 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2717 gstreamer-audio-1.0, overriding pkg-config
2718 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2719 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2720 UNWIND_CFLAGS
2721 C compiler flags for libunwind, overriding pkg-config
2722 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2723 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2724 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2725 FAUDIO_CFLAGS
2726 C compiler flags for faudio, overriding pkg-config
2727 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2728 CAPI20_CFLAGS
2729 C compiler flags for capi20, overriding pkg-config
2730 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2731 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2732 CUPS_LIBS Linker flags for cups, overriding pkg-config
2733 FONTCONFIG_CFLAGS
2734 C compiler flags for fontconfig, overriding pkg-config
2735 FONTCONFIG_LIBS
2736 Linker flags for fontconfig, overriding pkg-config
2737 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2738 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2739 GSSAPI_CFLAGS
2740 C compiler flags for krb5-gssapi, overriding pkg-config
2741 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2742 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2743 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2744 JXRLIB_CFLAGS
2745 C compiler flags for jxrlib, overriding pkg-config
2746 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2747 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2748 PNG_LIBS Linker flags for libpng, overriding pkg-config
2749 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2750 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2751 MPG123_CFLAGS
2752 C compiler flags for libmpg123, overriding pkg-config
2753 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2754 NETAPI_CFLAGS
2755 C compiler flags for netapi, overriding pkg-config
2756 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2757 VKD3D_CFLAGS
2758 C compiler flags for libvkd3d, overriding pkg-config
2759 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2760 VKD3D_SHADER_CFLAGS
2761 C compiler flags for libvkd3d-shader, overriding pkg-config
2762 VKD3D_SHADER_LIBS
2763 Linker flags for libvkd3d-shader, overriding pkg-config
2764 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2765 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2767 Use these variables to override the choices made by `configure' or to help
2768 it to find libraries and programs with nonstandard names/locations.
2770 Report bugs to <wine-devel@winehq.org>.
2771 Wine home page: <https://www.winehq.org>.
2772 _ACEOF
2773 ac_status=$?
2776 if test "$ac_init_help" = "recursive"; then
2777 # If there are subdirs, report their specific --help.
2778 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2779 test -d "$ac_dir" ||
2780 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2781 continue
2782 ac_builddir=.
2784 case "$ac_dir" in
2785 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2787 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2788 # A ".." for each directory in $ac_dir_suffix.
2789 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2790 case $ac_top_builddir_sub in
2791 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2792 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2793 esac ;;
2794 esac
2795 ac_abs_top_builddir=$ac_pwd
2796 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2797 # for backward compatibility:
2798 ac_top_builddir=$ac_top_build_prefix
2800 case $srcdir in
2801 .) # We are building in place.
2802 ac_srcdir=.
2803 ac_top_srcdir=$ac_top_builddir_sub
2804 ac_abs_top_srcdir=$ac_pwd ;;
2805 [\\/]* | ?:[\\/]* ) # Absolute name.
2806 ac_srcdir=$srcdir$ac_dir_suffix;
2807 ac_top_srcdir=$srcdir
2808 ac_abs_top_srcdir=$srcdir ;;
2809 *) # Relative name.
2810 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2811 ac_top_srcdir=$ac_top_build_prefix$srcdir
2812 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2813 esac
2814 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2816 cd "$ac_dir" || { ac_status=$?; continue; }
2817 # Check for guested configure.
2818 if test -f "$ac_srcdir/configure.gnu"; then
2819 echo &&
2820 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2821 elif test -f "$ac_srcdir/configure"; then
2822 echo &&
2823 $SHELL "$ac_srcdir/configure" --help=recursive
2824 else
2825 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2826 fi || ac_status=$?
2827 cd "$ac_pwd" || { ac_status=$?; break; }
2828 done
2831 test -n "$ac_init_help" && exit $ac_status
2832 if $ac_init_version; then
2833 cat <<\_ACEOF
2834 Wine configure 6.4
2835 generated by GNU Autoconf 2.69
2837 Copyright (C) 2012 Free Software Foundation, Inc.
2838 This configure script is free software; the Free Software Foundation
2839 gives unlimited permission to copy, distribute and modify it.
2840 _ACEOF
2841 exit
2844 ## ------------------------ ##
2845 ## Autoconf initialization. ##
2846 ## ------------------------ ##
2848 # ac_fn_c_try_compile LINENO
2849 # --------------------------
2850 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2851 ac_fn_c_try_compile ()
2853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2854 rm -f conftest.$ac_objext
2855 if { { ac_try="$ac_compile"
2856 case "(($ac_try" in
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2859 esac
2860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2861 $as_echo "$ac_try_echo"; } >&5
2862 (eval "$ac_compile") 2>conftest.err
2863 ac_status=$?
2864 if test -s conftest.err; then
2865 grep -v '^ *+' conftest.err >conftest.er1
2866 cat conftest.er1 >&5
2867 mv -f conftest.er1 conftest.err
2869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2870 test $ac_status = 0; } && {
2871 test -z "$ac_c_werror_flag" ||
2872 test ! -s conftest.err
2873 } && test -s conftest.$ac_objext; then :
2874 ac_retval=0
2875 else
2876 $as_echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2879 ac_retval=1
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 as_fn_set_status $ac_retval
2884 } # ac_fn_c_try_compile
2886 # ac_fn_cxx_try_compile LINENO
2887 # ----------------------------
2888 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2889 ac_fn_cxx_try_compile ()
2891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2892 rm -f conftest.$ac_objext
2893 if { { ac_try="$ac_compile"
2894 case "(($ac_try" in
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2897 esac
2898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 $as_echo "$ac_try_echo"; } >&5
2900 (eval "$ac_compile") 2>conftest.err
2901 ac_status=$?
2902 if test -s conftest.err; then
2903 grep -v '^ *+' conftest.err >conftest.er1
2904 cat conftest.er1 >&5
2905 mv -f conftest.er1 conftest.err
2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; } && {
2909 test -z "$ac_cxx_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.$ac_objext; then :
2912 ac_retval=0
2913 else
2914 $as_echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2917 ac_retval=1
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 as_fn_set_status $ac_retval
2922 } # ac_fn_cxx_try_compile
2924 # ac_fn_c_try_link LINENO
2925 # -----------------------
2926 # Try to link conftest.$ac_ext, and return whether this succeeded.
2927 ac_fn_c_try_link ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 rm -f conftest.$ac_objext conftest$ac_exeext
2931 if { { ac_try="$ac_link"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
2936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_link") 2>conftest.err
2939 ac_status=$?
2940 if test -s conftest.err; then
2941 grep -v '^ *+' conftest.err >conftest.er1
2942 cat conftest.er1 >&5
2943 mv -f conftest.er1 conftest.err
2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2946 test $ac_status = 0; } && {
2947 test -z "$ac_c_werror_flag" ||
2948 test ! -s conftest.err
2949 } && test -s conftest$ac_exeext && {
2950 test "$cross_compiling" = yes ||
2951 test -x conftest$ac_exeext
2952 }; then :
2953 ac_retval=0
2954 else
2955 $as_echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_retval=1
2960 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2961 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2962 # interfere with the next link command; also delete a directory that is
2963 # left behind by Apple's compiler. We do this before executing the actions.
2964 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_c_try_link
2970 # ac_fn_c_try_cpp LINENO
2971 # ----------------------
2972 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2973 ac_fn_c_try_cpp ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 if { { ac_try="$ac_cpp conftest.$ac_ext"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 $as_echo "$ac_try_echo"; } >&5
2983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2984 ac_status=$?
2985 if test -s conftest.err; then
2986 grep -v '^ *+' conftest.err >conftest.er1
2987 cat conftest.er1 >&5
2988 mv -f conftest.er1 conftest.err
2990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 test $ac_status = 0; } > conftest.i && {
2992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2993 test ! -s conftest.err
2994 }; then :
2995 ac_retval=0
2996 else
2997 $as_echo "$as_me: failed program was:" >&5
2998 sed 's/^/| /' conftest.$ac_ext >&5
3000 ac_retval=1
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3003 as_fn_set_status $ac_retval
3005 } # ac_fn_c_try_cpp
3007 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3008 # -------------------------------------------------------
3009 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3010 # the include files in INCLUDES and setting the cache variable VAR
3011 # accordingly.
3012 ac_fn_c_check_header_mongrel ()
3014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3015 if eval \${$3+:} false; then :
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 eval ac_res=\$$3
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3023 $as_echo "$ac_res" >&6; }
3024 else
3025 # Is the header compilable?
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3027 $as_echo_n "checking $2 usability... " >&6; }
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3031 #include <$2>
3032 _ACEOF
3033 if ac_fn_c_try_compile "$LINENO"; then :
3034 ac_header_compiler=yes
3035 else
3036 ac_header_compiler=no
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3040 $as_echo "$ac_header_compiler" >&6; }
3042 # Is the header present?
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3044 $as_echo_n "checking $2 presence... " >&6; }
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3047 #include <$2>
3048 _ACEOF
3049 if ac_fn_c_try_cpp "$LINENO"; then :
3050 ac_header_preproc=yes
3051 else
3052 ac_header_preproc=no
3054 rm -f conftest.err conftest.i conftest.$ac_ext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3056 $as_echo "$ac_header_preproc" >&6; }
3058 # So? What about this header?
3059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3060 yes:no: )
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3062 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3066 no:yes:* )
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3068 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3070 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3072 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3074 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3077 ( $as_echo "## ------------------------------------ ##
3078 ## Report this to wine-devel@winehq.org ##
3079 ## ------------------------------------ ##"
3080 ) | sed "s/^/$as_me: WARNING: /" >&2
3082 esac
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3084 $as_echo_n "checking for $2... " >&6; }
3085 if eval \${$3+:} false; then :
3086 $as_echo_n "(cached) " >&6
3087 else
3088 eval "$3=\$ac_header_compiler"
3090 eval ac_res=\$$3
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 $as_echo "$ac_res" >&6; }
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 } # ac_fn_c_check_header_mongrel
3098 # ac_fn_c_try_run LINENO
3099 # ----------------------
3100 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3101 # that executables *can* be run.
3102 ac_fn_c_try_run ()
3104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105 if { { ac_try="$ac_link"
3106 case "(($ac_try" in
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3109 esac
3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_link") 2>&5
3113 ac_status=$?
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3116 { { case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_try") 2>&5
3123 ac_status=$?
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; }; }; then :
3126 ac_retval=0
3127 else
3128 $as_echo "$as_me: program exited with status $ac_status" >&5
3129 $as_echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3132 ac_retval=$ac_status
3134 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3136 as_fn_set_status $ac_retval
3138 } # ac_fn_c_try_run
3140 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3141 # -------------------------------------------------------
3142 # Tests whether HEADER exists and can be compiled using the include files in
3143 # INCLUDES, setting the cache variable VAR accordingly.
3144 ac_fn_c_check_header_compile ()
3146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3148 $as_echo_n "checking for $2... " >&6; }
3149 if eval \${$3+:} false; then :
3150 $as_echo_n "(cached) " >&6
3151 else
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3155 #include <$2>
3156 _ACEOF
3157 if ac_fn_c_try_compile "$LINENO"; then :
3158 eval "$3=yes"
3159 else
3160 eval "$3=no"
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 eval ac_res=\$$3
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3166 $as_echo "$ac_res" >&6; }
3167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3169 } # ac_fn_c_check_header_compile
3171 # ac_fn_objc_try_compile LINENO
3172 # -----------------------------
3173 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3174 ac_fn_objc_try_compile ()
3176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3177 rm -f conftest.$ac_objext
3178 if { { ac_try="$ac_compile"
3179 case "(($ac_try" in
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3182 esac
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_compile") 2>conftest.err
3186 ac_status=$?
3187 if test -s conftest.err; then
3188 grep -v '^ *+' conftest.err >conftest.er1
3189 cat conftest.er1 >&5
3190 mv -f conftest.er1 conftest.err
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; } && {
3194 test -z "$ac_objc_werror_flag" ||
3195 test ! -s conftest.err
3196 } && test -s conftest.$ac_objext; then :
3197 ac_retval=0
3198 else
3199 $as_echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3202 ac_retval=1
3204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3205 as_fn_set_status $ac_retval
3207 } # ac_fn_objc_try_compile
3209 # ac_fn_objc_try_cpp LINENO
3210 # -------------------------
3211 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3212 ac_fn_objc_try_cpp ()
3214 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3215 if { { ac_try="$ac_cpp conftest.$ac_ext"
3216 case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3219 esac
3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3223 ac_status=$?
3224 if test -s conftest.err; then
3225 grep -v '^ *+' conftest.err >conftest.er1
3226 cat conftest.er1 >&5
3227 mv -f conftest.er1 conftest.err
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; } > conftest.i && {
3231 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3232 test ! -s conftest.err
3233 }; then :
3234 ac_retval=0
3235 else
3236 $as_echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3239 ac_retval=1
3241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3242 as_fn_set_status $ac_retval
3244 } # ac_fn_objc_try_cpp
3246 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3247 # ----------------------------------------------------------
3248 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3249 # the include files in INCLUDES and setting the cache variable VAR
3250 # accordingly.
3251 ac_fn_objc_check_header_mongrel ()
3253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3254 if eval \${$3+:} false; then :
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3256 $as_echo_n "checking for $2... " >&6; }
3257 if eval \${$3+:} false; then :
3258 $as_echo_n "(cached) " >&6
3260 eval ac_res=\$$3
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3262 $as_echo "$ac_res" >&6; }
3263 else
3264 # Is the header compilable?
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3266 $as_echo_n "checking $2 usability... " >&6; }
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3270 #include <$2>
3271 _ACEOF
3272 if ac_fn_objc_try_compile "$LINENO"; then :
3273 ac_header_compiler=yes
3274 else
3275 ac_header_compiler=no
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3279 $as_echo "$ac_header_compiler" >&6; }
3281 # Is the header present?
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3283 $as_echo_n "checking $2 presence... " >&6; }
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3286 #include <$2>
3287 _ACEOF
3288 if ac_fn_objc_try_cpp "$LINENO"; then :
3289 ac_header_preproc=yes
3290 else
3291 ac_header_preproc=no
3293 rm -f conftest.err conftest.i conftest.$ac_ext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3295 $as_echo "$ac_header_preproc" >&6; }
3297 # So? What about this header?
3298 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3299 yes:no: )
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3301 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3303 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3305 no:yes:* )
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3307 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3309 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3311 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3313 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3315 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3316 ( $as_echo "## ------------------------------------ ##
3317 ## Report this to wine-devel@winehq.org ##
3318 ## ------------------------------------ ##"
3319 ) | sed "s/^/$as_me: WARNING: /" >&2
3321 esac
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3323 $as_echo_n "checking for $2... " >&6; }
3324 if eval \${$3+:} false; then :
3325 $as_echo_n "(cached) " >&6
3326 else
3327 eval "$3=\$ac_header_compiler"
3329 eval ac_res=\$$3
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3331 $as_echo "$ac_res" >&6; }
3333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3335 } # ac_fn_objc_check_header_mongrel
3337 # ac_fn_c_check_func LINENO FUNC VAR
3338 # ----------------------------------
3339 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3340 ac_fn_c_check_func ()
3342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3344 $as_echo_n "checking for $2... " >&6; }
3345 if eval \${$3+:} false; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3350 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3352 #define $2 innocuous_$2
3354 /* System header to define __stub macros and hopefully few prototypes,
3355 which can conflict with char $2 (); below.
3356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3357 <limits.h> exists even on freestanding compilers. */
3359 #ifdef __STDC__
3360 # include <limits.h>
3361 #else
3362 # include <assert.h>
3363 #endif
3365 #undef $2
3367 /* Override any GCC internal prototype to avoid an error.
3368 Use char because int might match the return type of a GCC
3369 builtin and then its argument prototype would still apply. */
3370 #ifdef __cplusplus
3371 extern "C"
3372 #endif
3373 char $2 ();
3374 /* The GNU C library defines this for functions which it implements
3375 to always fail with ENOSYS. Some functions are actually named
3376 something starting with __ and the normal name is an alias. */
3377 #if defined __stub_$2 || defined __stub___$2
3378 choke me
3379 #endif
3382 main ()
3384 return $2 ();
3386 return 0;
3388 _ACEOF
3389 if ac_fn_c_try_link "$LINENO"; then :
3390 eval "$3=yes"
3391 else
3392 eval "$3=no"
3394 rm -f core conftest.err conftest.$ac_objext \
3395 conftest$ac_exeext conftest.$ac_ext
3397 eval ac_res=\$$3
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3399 $as_echo "$ac_res" >&6; }
3400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3402 } # ac_fn_c_check_func
3404 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3405 # ----------------------------------------------------
3406 # Tries to find if the field MEMBER exists in type AGGR, after including
3407 # INCLUDES, setting cache variable VAR accordingly.
3408 ac_fn_c_check_member ()
3410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3412 $as_echo_n "checking for $2.$3... " >&6; }
3413 if eval \${$4+:} false; then :
3414 $as_echo_n "(cached) " >&6
3415 else
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3420 main ()
3422 static $2 ac_aggr;
3423 if (ac_aggr.$3)
3424 return 0;
3426 return 0;
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 eval "$4=yes"
3431 else
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3436 main ()
3438 static $2 ac_aggr;
3439 if (sizeof 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 eval "$4=no"
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 eval ac_res=\$$4
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3456 $as_echo "$ac_res" >&6; }
3457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3459 } # ac_fn_c_check_member
3461 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3462 # -------------------------------------------
3463 # Tests whether TYPE exists after having included INCLUDES, setting cache
3464 # variable VAR accordingly.
3465 ac_fn_c_check_type ()
3467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3469 $as_echo_n "checking for $2... " >&6; }
3470 if eval \${$3+:} false; then :
3471 $as_echo_n "(cached) " >&6
3472 else
3473 eval "$3=no"
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3478 main ()
3480 if (sizeof ($2))
3481 return 0;
3483 return 0;
3485 _ACEOF
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3491 main ()
3493 if (sizeof (($2)))
3494 return 0;
3496 return 0;
3498 _ACEOF
3499 if ac_fn_c_try_compile "$LINENO"; then :
3501 else
3502 eval "$3=yes"
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508 eval ac_res=\$$3
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3510 $as_echo "$ac_res" >&6; }
3511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3513 } # ac_fn_c_check_type
3514 cat >config.log <<_ACEOF
3515 This file contains any messages produced by compilers while
3516 running configure, to aid debugging if configure makes a mistake.
3518 It was created by Wine $as_me 6.4, which was
3519 generated by GNU Autoconf 2.69. Invocation command line was
3521 $ $0 $@
3523 _ACEOF
3524 exec 5>>config.log
3526 cat <<_ASUNAME
3527 ## --------- ##
3528 ## Platform. ##
3529 ## --------- ##
3531 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3532 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3533 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3534 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3535 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3537 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3538 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3540 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3541 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3542 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3543 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3544 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3545 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3546 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3548 _ASUNAME
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 $as_echo "PATH: $as_dir"
3556 done
3557 IFS=$as_save_IFS
3559 } >&5
3561 cat >&5 <<_ACEOF
3564 ## ----------- ##
3565 ## Core tests. ##
3566 ## ----------- ##
3568 _ACEOF
3571 # Keep a trace of the command line.
3572 # Strip out --no-create and --no-recursion so they do not pile up.
3573 # Strip out --silent because we don't want to record it for future runs.
3574 # Also quote any args containing shell meta-characters.
3575 # Make two passes to allow for proper duplicate-argument suppression.
3576 ac_configure_args=
3577 ac_configure_args0=
3578 ac_configure_args1=
3579 ac_must_keep_next=false
3580 for ac_pass in 1 2
3582 for ac_arg
3584 case $ac_arg in
3585 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3586 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3587 | -silent | --silent | --silen | --sile | --sil)
3588 continue ;;
3589 *\'*)
3590 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3591 esac
3592 case $ac_pass in
3593 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3595 as_fn_append ac_configure_args1 " '$ac_arg'"
3596 if test $ac_must_keep_next = true; then
3597 ac_must_keep_next=false # Got value, back to normal.
3598 else
3599 case $ac_arg in
3600 *=* | --config-cache | -C | -disable-* | --disable-* \
3601 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3602 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3603 | -with-* | --with-* | -without-* | --without-* | --x)
3604 case "$ac_configure_args0 " in
3605 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3606 esac
3608 -* ) ac_must_keep_next=true ;;
3609 esac
3611 as_fn_append ac_configure_args " '$ac_arg'"
3613 esac
3614 done
3615 done
3616 { ac_configure_args0=; unset ac_configure_args0;}
3617 { ac_configure_args1=; unset ac_configure_args1;}
3619 # When interrupted or exit'd, cleanup temporary files, and complete
3620 # config.log. We remove comments because anyway the quotes in there
3621 # would cause problems or look ugly.
3622 # WARNING: Use '\'' to represent an apostrophe within the trap.
3623 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3624 trap 'exit_status=$?
3625 # Save into config.log some information that might help in debugging.
3627 echo
3629 $as_echo "## ---------------- ##
3630 ## Cache variables. ##
3631 ## ---------------- ##"
3632 echo
3633 # The following way of writing the cache mishandles newlines in values,
3635 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3636 eval ac_val=\$$ac_var
3637 case $ac_val in #(
3638 *${as_nl}*)
3639 case $ac_var in #(
3640 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3641 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3642 esac
3643 case $ac_var in #(
3644 _ | IFS | as_nl) ;; #(
3645 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3646 *) { eval $ac_var=; unset $ac_var;} ;;
3647 esac ;;
3648 esac
3649 done
3650 (set) 2>&1 |
3651 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3652 *${as_nl}ac_space=\ *)
3653 sed -n \
3654 "s/'\''/'\''\\\\'\'''\''/g;
3655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3656 ;; #(
3658 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3660 esac |
3661 sort
3663 echo
3665 $as_echo "## ----------------- ##
3666 ## Output variables. ##
3667 ## ----------------- ##"
3668 echo
3669 for ac_var in $ac_subst_vars
3671 eval ac_val=\$$ac_var
3672 case $ac_val in
3673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3674 esac
3675 $as_echo "$ac_var='\''$ac_val'\''"
3676 done | sort
3677 echo
3679 if test -n "$ac_subst_files"; then
3680 $as_echo "## ------------------- ##
3681 ## File substitutions. ##
3682 ## ------------------- ##"
3683 echo
3684 for ac_var in $ac_subst_files
3686 eval ac_val=\$$ac_var
3687 case $ac_val in
3688 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3689 esac
3690 $as_echo "$ac_var='\''$ac_val'\''"
3691 done | sort
3692 echo
3695 if test -s confdefs.h; then
3696 $as_echo "## ----------- ##
3697 ## confdefs.h. ##
3698 ## ----------- ##"
3699 echo
3700 cat confdefs.h
3701 echo
3703 test "$ac_signal" != 0 &&
3704 $as_echo "$as_me: caught signal $ac_signal"
3705 $as_echo "$as_me: exit $exit_status"
3706 } >&5
3707 rm -f core *.core core.conftest.* &&
3708 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3709 exit $exit_status
3711 for ac_signal in 1 2 13 15; do
3712 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3713 done
3714 ac_signal=0
3716 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3717 rm -f -r conftest* confdefs.h
3719 $as_echo "/* confdefs.h */" > confdefs.h
3721 # Predefined preprocessor variables.
3723 cat >>confdefs.h <<_ACEOF
3724 #define PACKAGE_NAME "$PACKAGE_NAME"
3725 _ACEOF
3727 cat >>confdefs.h <<_ACEOF
3728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3729 _ACEOF
3731 cat >>confdefs.h <<_ACEOF
3732 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3733 _ACEOF
3735 cat >>confdefs.h <<_ACEOF
3736 #define PACKAGE_STRING "$PACKAGE_STRING"
3737 _ACEOF
3739 cat >>confdefs.h <<_ACEOF
3740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3741 _ACEOF
3743 cat >>confdefs.h <<_ACEOF
3744 #define PACKAGE_URL "$PACKAGE_URL"
3745 _ACEOF
3748 # Let the site file select an alternate cache file if it wants to.
3749 # Prefer an explicitly selected file to automatically selected ones.
3750 ac_site_file1=NONE
3751 ac_site_file2=NONE
3752 if test -n "$CONFIG_SITE"; then
3753 # We do not want a PATH search for config.site.
3754 case $CONFIG_SITE in #((
3755 -*) ac_site_file1=./$CONFIG_SITE;;
3756 */*) ac_site_file1=$CONFIG_SITE;;
3757 *) ac_site_file1=./$CONFIG_SITE;;
3758 esac
3759 elif test "x$prefix" != xNONE; then
3760 ac_site_file1=$prefix/share/config.site
3761 ac_site_file2=$prefix/etc/config.site
3762 else
3763 ac_site_file1=$ac_default_prefix/share/config.site
3764 ac_site_file2=$ac_default_prefix/etc/config.site
3766 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3768 test "x$ac_site_file" = xNONE && continue
3769 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3771 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3772 sed 's/^/| /' "$ac_site_file" >&5
3773 . "$ac_site_file" \
3774 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3776 as_fn_error $? "failed to load site script $ac_site_file
3777 See \`config.log' for more details" "$LINENO" 5; }
3779 done
3781 if test -r "$cache_file"; then
3782 # Some versions of bash will fail to source /dev/null (special files
3783 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3784 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3786 $as_echo "$as_me: loading cache $cache_file" >&6;}
3787 case $cache_file in
3788 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3789 *) . "./$cache_file";;
3790 esac
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3794 $as_echo "$as_me: creating cache $cache_file" >&6;}
3795 >$cache_file
3798 # Check that the precious variables saved in the cache have kept the same
3799 # value.
3800 ac_cache_corrupted=false
3801 for ac_var in $ac_precious_vars; do
3802 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3803 eval ac_new_set=\$ac_env_${ac_var}_set
3804 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3805 eval ac_new_val=\$ac_env_${ac_var}_value
3806 case $ac_old_set,$ac_new_set in
3807 set,)
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3809 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3810 ac_cache_corrupted=: ;;
3811 ,set)
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3813 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3814 ac_cache_corrupted=: ;;
3815 ,);;
3817 if test "x$ac_old_val" != "x$ac_new_val"; then
3818 # differences in whitespace do not lead to failure.
3819 ac_old_val_w=`echo x $ac_old_val`
3820 ac_new_val_w=`echo x $ac_new_val`
3821 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3823 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3824 ac_cache_corrupted=:
3825 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3827 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3828 eval $ac_var=\$ac_old_val
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3831 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3833 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3834 fi;;
3835 esac
3836 # Pass precious variables to config.status.
3837 if test "$ac_new_set" = set; then
3838 case $ac_new_val in
3839 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3840 *) ac_arg=$ac_var=$ac_new_val ;;
3841 esac
3842 case " $ac_configure_args " in
3843 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3844 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3845 esac
3847 done
3848 if $ac_cache_corrupted; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3852 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3853 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3855 ## -------------------- ##
3856 ## Main body of script. ##
3857 ## -------------------- ##
3859 ac_ext=c
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3867 ac_config_headers="$ac_config_headers include/config.h"
3869 ac_aux_dir=
3870 for ac_dir in tools "$srcdir"/tools; do
3871 if test -f "$ac_dir/install-sh"; then
3872 ac_aux_dir=$ac_dir
3873 ac_install_sh="$ac_aux_dir/install-sh -c"
3874 break
3875 elif test -f "$ac_dir/install.sh"; then
3876 ac_aux_dir=$ac_dir
3877 ac_install_sh="$ac_aux_dir/install.sh -c"
3878 break
3879 elif test -f "$ac_dir/shtool"; then
3880 ac_aux_dir=$ac_dir
3881 ac_install_sh="$ac_aux_dir/shtool install -c"
3882 break
3884 done
3885 if test -z "$ac_aux_dir"; then
3886 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3889 # These three variables are undocumented and unsupported,
3890 # and are intended to be withdrawn in a future Autoconf release.
3891 # They can cause serious problems if a builder's source tree is in a directory
3892 # whose full name contains unusual characters.
3893 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3894 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3895 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3899 libwine_version="1.0"
3903 # Check whether --enable-win16 was given.
3904 if test "${enable_win16+set}" = set; then :
3905 enableval=$enable_win16;
3908 # Check whether --enable-win64 was given.
3909 if test "${enable_win64+set}" = set; then :
3910 enableval=$enable_win64;
3913 # Check whether --enable-tests was given.
3914 if test "${enable_tests+set}" = set; then :
3915 enableval=$enable_tests;
3918 # Check whether --enable-build-id was given.
3919 if test "${enable_build_id+set}" = set; then :
3920 enableval=$enable_build_id;
3923 # Check whether --enable-maintainer-mode was given.
3924 if test "${enable_maintainer_mode+set}" = set; then :
3925 enableval=$enable_maintainer_mode;
3928 # Check whether --enable-silent-rules was given.
3929 if test "${enable_silent_rules+set}" = set; then :
3930 enableval=$enable_silent_rules;
3933 # Check whether --enable-werror was given.
3934 if test "${enable_werror+set}" = set; then :
3935 enableval=$enable_werror;
3940 # Check whether --with-alsa was given.
3941 if test "${with_alsa+set}" = set; then :
3942 withval=$with_alsa;
3946 # Check whether --with-capi was given.
3947 if test "${with_capi+set}" = set; then :
3948 withval=$with_capi;
3952 # Check whether --with-cms was given.
3953 if test "${with_cms+set}" = set; then :
3954 withval=$with_cms;
3958 # Check whether --with-coreaudio was given.
3959 if test "${with_coreaudio+set}" = set; then :
3960 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3964 # Check whether --with-cups was given.
3965 if test "${with_cups+set}" = set; then :
3966 withval=$with_cups;
3970 # Check whether --with-dbus was given.
3971 if test "${with_dbus+set}" = set; then :
3972 withval=$with_dbus;
3976 # Check whether --with-faudio was given.
3977 if test "${with_faudio+set}" = set; then :
3978 withval=$with_faudio;
3982 # Check whether --with-float-abi was given.
3983 if test "${with_float_abi+set}" = set; then :
3984 withval=$with_float_abi;
3988 # Check whether --with-fontconfig was given.
3989 if test "${with_fontconfig+set}" = set; then :
3990 withval=$with_fontconfig;
3994 # Check whether --with-freetype was given.
3995 if test "${with_freetype+set}" = set; then :
3996 withval=$with_freetype;
4000 # Check whether --with-gettext was given.
4001 if test "${with_gettext+set}" = set; then :
4002 withval=$with_gettext;
4006 # Check whether --with-gettextpo was given.
4007 if test "${with_gettextpo+set}" = set; then :
4008 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4012 # Check whether --with-gphoto was given.
4013 if test "${with_gphoto+set}" = set; then :
4014 withval=$with_gphoto;
4018 # Check whether --with-gnutls was given.
4019 if test "${with_gnutls+set}" = set; then :
4020 withval=$with_gnutls;
4024 # Check whether --with-gsm was given.
4025 if test "${with_gsm+set}" = set; then :
4026 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4030 # Check whether --with-gssapi was given.
4031 if test "${with_gssapi+set}" = set; then :
4032 withval=$with_gssapi;
4036 # Check whether --with-gstreamer was given.
4037 if test "${with_gstreamer+set}" = set; then :
4038 withval=$with_gstreamer;
4042 # Check whether --with-hal was given.
4043 if test "${with_hal+set}" = set; then :
4044 withval=$with_hal;
4048 # Check whether --with-inotify was given.
4049 if test "${with_inotify+set}" = set; then :
4050 withval=$with_inotify;
4054 # Check whether --with-jpeg was given.
4055 if test "${with_jpeg+set}" = set; then :
4056 withval=$with_jpeg;
4060 # Check whether --with-jxrlib was given.
4061 if test "${with_jxrlib+set}" = set; then :
4062 withval=$with_jxrlib;
4066 # Check whether --with-krb5 was given.
4067 if test "${with_krb5+set}" = set; then :
4068 withval=$with_krb5;
4072 # Check whether --with-ldap was given.
4073 if test "${with_ldap+set}" = set; then :
4074 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4078 # Check whether --with-mingw was given.
4079 if test "${with_mingw+set}" = set; then :
4080 withval=$with_mingw;
4084 # Check whether --with-mpg123 was given.
4085 if test "${with_mpg123+set}" = set; then :
4086 withval=$with_mpg123;
4090 # Check whether --with-netapi was given.
4091 if test "${with_netapi+set}" = set; then :
4092 withval=$with_netapi;
4096 # Check whether --with-openal was given.
4097 if test "${with_openal+set}" = set; then :
4098 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4102 # Check whether --with-opencl was given.
4103 if test "${with_opencl+set}" = set; then :
4104 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4108 # Check whether --with-opengl was given.
4109 if test "${with_opengl+set}" = set; then :
4110 withval=$with_opengl;
4114 # Check whether --with-osmesa was given.
4115 if test "${with_osmesa+set}" = set; then :
4116 withval=$with_osmesa;
4120 # Check whether --with-oss was given.
4121 if test "${with_oss+set}" = set; then :
4122 withval=$with_oss;
4126 # Check whether --with-pcap was given.
4127 if test "${with_pcap+set}" = set; then :
4128 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4132 # Check whether --with-png was given.
4133 if test "${with_png+set}" = set; then :
4134 withval=$with_png;
4138 # Check whether --with-pthread was given.
4139 if test "${with_pthread+set}" = set; then :
4140 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4144 # Check whether --with-pulse was given.
4145 if test "${with_pulse+set}" = set; then :
4146 withval=$with_pulse;
4150 # Check whether --with-quicktime was given.
4151 if test "${with_quicktime+set}" = set; then :
4152 withval=$with_quicktime;
4156 # Check whether --with-sane was given.
4157 if test "${with_sane+set}" = set; then :
4158 withval=$with_sane;
4162 # Check whether --with-sdl was given.
4163 if test "${with_sdl+set}" = set; then :
4164 withval=$with_sdl;
4168 # Check whether --with-tiff was given.
4169 if test "${with_tiff+set}" = set; then :
4170 withval=$with_tiff;
4174 # Check whether --with-udev was given.
4175 if test "${with_udev+set}" = set; then :
4176 withval=$with_udev;
4180 # Check whether --with-unwind was given.
4181 if test "${with_unwind+set}" = set; then :
4182 withval=$with_unwind;
4186 # Check whether --with-usb was given.
4187 if test "${with_usb+set}" = set; then :
4188 withval=$with_usb;
4192 # Check whether --with-v4l2 was given.
4193 if test "${with_v4l2+set}" = set; then :
4194 withval=$with_v4l2;
4198 # Check whether --with-vkd3d was given.
4199 if test "${with_vkd3d+set}" = set; then :
4200 withval=$with_vkd3d;
4204 # Check whether --with-vulkan was given.
4205 if test "${with_vulkan+set}" = set; then :
4206 withval=$with_vulkan;
4210 # Check whether --with-xcomposite was given.
4211 if test "${with_xcomposite+set}" = set; then :
4212 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4216 # Check whether --with-xcursor was given.
4217 if test "${with_xcursor+set}" = set; then :
4218 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4222 # Check whether --with-xfixes was given.
4223 if test "${with_xfixes+set}" = set; then :
4224 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4228 # Check whether --with-xinerama was given.
4229 if test "${with_xinerama+set}" = set; then :
4230 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4234 # Check whether --with-xinput was given.
4235 if test "${with_xinput+set}" = set; then :
4236 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4240 # Check whether --with-xinput2 was given.
4241 if test "${with_xinput2+set}" = set; then :
4242 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4246 # Check whether --with-xml was given.
4247 if test "${with_xml+set}" = set; then :
4248 withval=$with_xml;
4252 # Check whether --with-xrandr was given.
4253 if test "${with_xrandr+set}" = set; then :
4254 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4258 # Check whether --with-xrender was given.
4259 if test "${with_xrender+set}" = set; then :
4260 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4264 # Check whether --with-xshape was given.
4265 if test "${with_xshape+set}" = set; then :
4266 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4270 # Check whether --with-xshm was given.
4271 if test "${with_xshm+set}" = set; then :
4272 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4276 # Check whether --with-xslt was given.
4277 if test "${with_xslt+set}" = set; then :
4278 withval=$with_xslt;
4282 # Check whether --with-xxf86vm was given.
4283 if test "${with_xxf86vm+set}" = set; then :
4284 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
4289 # Check whether --with-wine-tools was given.
4290 if test "${with_wine_tools+set}" = set; then :
4291 withval=$with_wine_tools;
4295 # Check whether --with-wine64 was given.
4296 if test "${with_wine64+set}" = set; then :
4297 withval=$with_wine64;
4301 # Make sure we can run config.sub.
4302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4303 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4306 $as_echo_n "checking build system type... " >&6; }
4307 if ${ac_cv_build+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 ac_build_alias=$build_alias
4311 test "x$ac_build_alias" = x &&
4312 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4313 test "x$ac_build_alias" = x &&
4314 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4315 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4316 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4320 $as_echo "$ac_cv_build" >&6; }
4321 case $ac_cv_build in
4322 *-*-*) ;;
4323 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4324 esac
4325 build=$ac_cv_build
4326 ac_save_IFS=$IFS; IFS='-'
4327 set x $ac_cv_build
4328 shift
4329 build_cpu=$1
4330 build_vendor=$2
4331 shift; shift
4332 # Remember, the first character of IFS is used to create $*,
4333 # except with old shells:
4334 build_os=$*
4335 IFS=$ac_save_IFS
4336 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4340 $as_echo_n "checking host system type... " >&6; }
4341 if ${ac_cv_host+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test "x$host_alias" = x; then
4345 ac_cv_host=$ac_cv_build
4346 else
4347 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4348 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4353 $as_echo "$ac_cv_host" >&6; }
4354 case $ac_cv_host in
4355 *-*-*) ;;
4356 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4357 esac
4358 host=$ac_cv_host
4359 ac_save_IFS=$IFS; IFS='-'
4360 set x $ac_cv_host
4361 shift
4362 host_cpu=$1
4363 host_vendor=$2
4364 shift; shift
4365 # Remember, the first character of IFS is used to create $*,
4366 # except with old shells:
4367 host_os=$*
4368 IFS=$ac_save_IFS
4369 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4375 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4376 set x ${MAKE-make}
4377 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4378 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 cat >conftest.make <<\_ACEOF
4382 SHELL = /bin/sh
4383 all:
4384 @echo '@@@%%%=$(MAKE)=@@@%%%'
4385 _ACEOF
4386 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4387 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4388 *@@@%%%=?*=@@@%%%*)
4389 eval ac_cv_prog_make_${ac_make}_set=yes;;
4391 eval ac_cv_prog_make_${ac_make}_set=no;;
4392 esac
4393 rm -f conftest.make
4395 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4397 $as_echo "yes" >&6; }
4398 SET_MAKE=
4399 else
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4402 SET_MAKE="MAKE=${MAKE-make}"
4405 ac_ext=c
4406 ac_cpp='$CPP $CPPFLAGS'
4407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4410 if test -n "$ac_tool_prefix"; then
4411 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4412 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_CC+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 if test -n "$CC"; then
4419 ac_cv_prog_CC="$CC" # Let the user override the test.
4420 else
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH
4424 IFS=$as_save_IFS
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 break 2
4432 done
4433 done
4434 IFS=$as_save_IFS
4438 CC=$ac_cv_prog_CC
4439 if test -n "$CC"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4441 $as_echo "$CC" >&6; }
4442 else
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4449 if test -z "$ac_cv_prog_CC"; then
4450 ac_ct_CC=$CC
4451 # Extract the first word of "gcc", so it can be a program name with args.
4452 set dummy gcc; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4456 $as_echo_n "(cached) " >&6
4457 else
4458 if test -n "$ac_ct_CC"; then
4459 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4460 else
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH
4464 IFS=$as_save_IFS
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_ac_ct_CC="gcc"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 break 2
4472 done
4473 done
4474 IFS=$as_save_IFS
4478 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4479 if test -n "$ac_ct_CC"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4481 $as_echo "$ac_ct_CC" >&6; }
4482 else
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4487 if test "x$ac_ct_CC" = x; then
4488 CC=""
4489 else
4490 case $cross_compiling:$ac_tool_warned in
4491 yes:)
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned=yes ;;
4495 esac
4496 CC=$ac_ct_CC
4498 else
4499 CC="$ac_cv_prog_CC"
4502 if test -z "$CC"; then
4503 if test -n "$ac_tool_prefix"; then
4504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4505 set dummy ${ac_tool_prefix}cc; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if ${ac_cv_prog_CC+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 if test -n "$CC"; then
4512 ac_cv_prog_CC="$CC" # Let the user override the test.
4513 else
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 for as_dir in $PATH
4517 IFS=$as_save_IFS
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_CC="${ac_tool_prefix}cc"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 break 2
4525 done
4526 done
4527 IFS=$as_save_IFS
4531 CC=$ac_cv_prog_CC
4532 if test -n "$CC"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4534 $as_echo "$CC" >&6; }
4535 else
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4543 if test -z "$CC"; then
4544 # Extract the first word of "cc", so it can be a program name with args.
4545 set dummy cc; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_CC+:} false; then :
4549 $as_echo_n "(cached) " >&6
4550 else
4551 if test -n "$CC"; then
4552 ac_cv_prog_CC="$CC" # Let the user override the test.
4553 else
4554 ac_prog_rejected=no
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH
4558 IFS=$as_save_IFS
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4563 ac_prog_rejected=yes
4564 continue
4566 ac_cv_prog_CC="cc"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4572 IFS=$as_save_IFS
4574 if test $ac_prog_rejected = yes; then
4575 # We found a bogon in the path, so make sure we never use it.
4576 set dummy $ac_cv_prog_CC
4577 shift
4578 if test $# != 0; then
4579 # We chose a different compiler from the bogus one.
4580 # However, it has the same basename, so the bogon will be chosen
4581 # first if we set CC to just the basename; use the full file name.
4582 shift
4583 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4588 CC=$ac_cv_prog_CC
4589 if test -n "$CC"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4591 $as_echo "$CC" >&6; }
4592 else
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4599 if test -z "$CC"; then
4600 if test -n "$ac_tool_prefix"; then
4601 for ac_prog in cl.exe
4603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_CC+:} false; then :
4608 $as_echo_n "(cached) " >&6
4609 else
4610 if test -n "$CC"; then
4611 ac_cv_prog_CC="$CC" # Let the user override the test.
4612 else
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH
4616 IFS=$as_save_IFS
4617 test -z "$as_dir" && as_dir=.
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 break 2
4624 done
4625 done
4626 IFS=$as_save_IFS
4630 CC=$ac_cv_prog_CC
4631 if test -n "$CC"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4633 $as_echo "$CC" >&6; }
4634 else
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4640 test -n "$CC" && break
4641 done
4643 if test -z "$CC"; then
4644 ac_ct_CC=$CC
4645 for ac_prog in cl.exe
4647 # Extract the first word of "$ac_prog", so it can be a program name with args.
4648 set dummy $ac_prog; ac_word=$2
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 $as_echo_n "checking for $ac_word... " >&6; }
4651 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4652 $as_echo_n "(cached) " >&6
4653 else
4654 if test -n "$ac_ct_CC"; then
4655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4656 else
4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 for as_dir in $PATH
4660 IFS=$as_save_IFS
4661 test -z "$as_dir" && as_dir=.
4662 for ac_exec_ext in '' $ac_executable_extensions; do
4663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_ac_ct_CC="$ac_prog"
4665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 break 2
4668 done
4669 done
4670 IFS=$as_save_IFS
4674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4675 if test -n "$ac_ct_CC"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4677 $as_echo "$ac_ct_CC" >&6; }
4678 else
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4684 test -n "$ac_ct_CC" && break
4685 done
4687 if test "x$ac_ct_CC" = x; then
4688 CC=""
4689 else
4690 case $cross_compiling:$ac_tool_warned in
4691 yes:)
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4694 ac_tool_warned=yes ;;
4695 esac
4696 CC=$ac_ct_CC
4703 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4705 as_fn_error $? "no acceptable C compiler found in \$PATH
4706 See \`config.log' for more details" "$LINENO" 5; }
4708 # Provide some information about the compiler.
4709 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4710 set X $ac_compile
4711 ac_compiler=$2
4712 for ac_option in --version -v -V -qversion; do
4713 { { ac_try="$ac_compiler $ac_option >&5"
4714 case "(($ac_try" in
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4717 esac
4718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4719 $as_echo "$ac_try_echo"; } >&5
4720 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4721 ac_status=$?
4722 if test -s conftest.err; then
4723 sed '10a\
4724 ... rest of stderr output deleted ...
4725 10q' conftest.err >conftest.er1
4726 cat conftest.er1 >&5
4728 rm -f conftest.er1 conftest.err
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 done
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4737 main ()
4741 return 0;
4743 _ACEOF
4744 ac_clean_files_save=$ac_clean_files
4745 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4746 # Try to create an executable without -o first, disregard a.out.
4747 # It will help us diagnose broken compilers, and finding out an intuition
4748 # of exeext.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4750 $as_echo_n "checking whether the C compiler works... " >&6; }
4751 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4753 # The possible output files:
4754 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4756 ac_rmfiles=
4757 for ac_file in $ac_files
4759 case $ac_file in
4760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4761 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4762 esac
4763 done
4764 rm -f $ac_rmfiles
4766 if { { ac_try="$ac_link_default"
4767 case "(($ac_try" in
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4770 esac
4771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4772 $as_echo "$ac_try_echo"; } >&5
4773 (eval "$ac_link_default") 2>&5
4774 ac_status=$?
4775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4776 test $ac_status = 0; }; then :
4777 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4778 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4779 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4780 # so that the user can short-circuit this test for compilers unknown to
4781 # Autoconf.
4782 for ac_file in $ac_files ''
4784 test -f "$ac_file" || continue
4785 case $ac_file in
4786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4788 [ab].out )
4789 # We found the default executable, but exeext='' is most
4790 # certainly right.
4791 break;;
4792 *.* )
4793 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4794 then :; else
4795 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4797 # We set ac_cv_exeext here because the later test for it is not
4798 # safe: cross compilers may not add the suffix if given an `-o'
4799 # argument, so we may need to know it at that point already.
4800 # Even if this section looks crufty: it has the advantage of
4801 # actually working.
4802 break;;
4804 break;;
4805 esac
4806 done
4807 test "$ac_cv_exeext" = no && ac_cv_exeext=
4809 else
4810 ac_file=''
4812 if test -z "$ac_file"; then :
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4815 $as_echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4820 as_fn_error 77 "C compiler cannot create executables
4821 See \`config.log' for more details" "$LINENO" 5; }
4822 else
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4824 $as_echo "yes" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4827 $as_echo_n "checking for C compiler default output file name... " >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4829 $as_echo "$ac_file" >&6; }
4830 ac_exeext=$ac_cv_exeext
4832 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4833 ac_clean_files=$ac_clean_files_save
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4835 $as_echo_n "checking for suffix of executables... " >&6; }
4836 if { { ac_try="$ac_link"
4837 case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4842 $as_echo "$ac_try_echo"; } >&5
4843 (eval "$ac_link") 2>&5
4844 ac_status=$?
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }; then :
4847 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4848 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4849 # work properly (i.e., refer to `conftest.exe'), while it won't with
4850 # `rm'.
4851 for ac_file in conftest.exe conftest conftest.*; do
4852 test -f "$ac_file" || continue
4853 case $ac_file in
4854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4855 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4856 break;;
4857 * ) break;;
4858 esac
4859 done
4860 else
4861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4863 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4864 See \`config.log' for more details" "$LINENO" 5; }
4866 rm -f conftest conftest$ac_cv_exeext
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4868 $as_echo "$ac_cv_exeext" >&6; }
4870 rm -f conftest.$ac_ext
4871 EXEEXT=$ac_cv_exeext
4872 ac_exeext=$EXEEXT
4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4875 #include <stdio.h>
4877 main ()
4879 FILE *f = fopen ("conftest.out", "w");
4880 return ferror (f) || fclose (f) != 0;
4883 return 0;
4885 _ACEOF
4886 ac_clean_files="$ac_clean_files conftest.out"
4887 # Check that the compiler produces executables we can run. If not, either
4888 # the compiler is broken, or we cross compile.
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4890 $as_echo_n "checking whether we are cross compiling... " >&6; }
4891 if test "$cross_compiling" != yes; then
4892 { { ac_try="$ac_link"
4893 case "(($ac_try" in
4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4895 *) ac_try_echo=$ac_try;;
4896 esac
4897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4898 $as_echo "$ac_try_echo"; } >&5
4899 (eval "$ac_link") 2>&5
4900 ac_status=$?
4901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902 test $ac_status = 0; }
4903 if { ac_try='./conftest$ac_cv_exeext'
4904 { { case "(($ac_try" in
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4907 esac
4908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4909 $as_echo "$ac_try_echo"; } >&5
4910 (eval "$ac_try") 2>&5
4911 ac_status=$?
4912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4913 test $ac_status = 0; }; }; then
4914 cross_compiling=no
4915 else
4916 if test "$cross_compiling" = maybe; then
4917 cross_compiling=yes
4918 else
4919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4921 as_fn_error $? "cannot run C compiled programs.
4922 If you meant to cross compile, use \`--host'.
4923 See \`config.log' for more details" "$LINENO" 5; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4928 $as_echo "$cross_compiling" >&6; }
4930 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4931 ac_clean_files=$ac_clean_files_save
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4933 $as_echo_n "checking for suffix of object files... " >&6; }
4934 if ${ac_cv_objext+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4941 main ()
4945 return 0;
4947 _ACEOF
4948 rm -f conftest.o conftest.obj
4949 if { { ac_try="$ac_compile"
4950 case "(($ac_try" in
4951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4952 *) ac_try_echo=$ac_try;;
4953 esac
4954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4955 $as_echo "$ac_try_echo"; } >&5
4956 (eval "$ac_compile") 2>&5
4957 ac_status=$?
4958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4959 test $ac_status = 0; }; then :
4960 for ac_file in conftest.o conftest.obj conftest.*; do
4961 test -f "$ac_file" || continue;
4962 case $ac_file in
4963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4964 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4965 break;;
4966 esac
4967 done
4968 else
4969 $as_echo "$as_me: failed program was:" >&5
4970 sed 's/^/| /' conftest.$ac_ext >&5
4972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4974 as_fn_error $? "cannot compute suffix of object files: cannot compile
4975 See \`config.log' for more details" "$LINENO" 5; }
4977 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4980 $as_echo "$ac_cv_objext" >&6; }
4981 OBJEXT=$ac_cv_objext
4982 ac_objext=$OBJEXT
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4984 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4985 if ${ac_cv_c_compiler_gnu+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4992 main ()
4994 #ifndef __GNUC__
4995 choke me
4996 #endif
4999 return 0;
5001 _ACEOF
5002 if ac_fn_c_try_compile "$LINENO"; then :
5003 ac_compiler_gnu=yes
5004 else
5005 ac_compiler_gnu=no
5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5008 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5012 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5013 if test $ac_compiler_gnu = yes; then
5014 GCC=yes
5015 else
5016 GCC=
5018 ac_test_CFLAGS=${CFLAGS+set}
5019 ac_save_CFLAGS=$CFLAGS
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5021 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5022 if ${ac_cv_prog_cc_g+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 ac_save_c_werror_flag=$ac_c_werror_flag
5026 ac_c_werror_flag=yes
5027 ac_cv_prog_cc_g=no
5028 CFLAGS="-g"
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5033 main ()
5037 return 0;
5039 _ACEOF
5040 if ac_fn_c_try_compile "$LINENO"; then :
5041 ac_cv_prog_cc_g=yes
5042 else
5043 CFLAGS=""
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5048 main ()
5052 return 0;
5054 _ACEOF
5055 if ac_fn_c_try_compile "$LINENO"; then :
5057 else
5058 ac_c_werror_flag=$ac_save_c_werror_flag
5059 CFLAGS="-g"
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 :
5072 ac_cv_prog_cc_g=yes
5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5079 ac_c_werror_flag=$ac_save_c_werror_flag
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5082 $as_echo "$ac_cv_prog_cc_g" >&6; }
5083 if test "$ac_test_CFLAGS" = set; then
5084 CFLAGS=$ac_save_CFLAGS
5085 elif test $ac_cv_prog_cc_g = yes; then
5086 if test "$GCC" = yes; then
5087 CFLAGS="-g -O2"
5088 else
5089 CFLAGS="-g"
5091 else
5092 if test "$GCC" = yes; then
5093 CFLAGS="-O2"
5094 else
5095 CFLAGS=
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5099 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5100 if ${ac_cv_prog_cc_c89+:} false; then :
5101 $as_echo_n "(cached) " >&6
5102 else
5103 ac_cv_prog_cc_c89=no
5104 ac_save_CC=$CC
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 #include <stdarg.h>
5108 #include <stdio.h>
5109 struct stat;
5110 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5111 struct buf { int x; };
5112 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5113 static char *e (p, i)
5114 char **p;
5115 int i;
5117 return p[i];
5119 static char *f (char * (*g) (char **, int), char **p, ...)
5121 char *s;
5122 va_list v;
5123 va_start (v,p);
5124 s = g (p, va_arg (v,int));
5125 va_end (v);
5126 return s;
5129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5130 function prototypes and stuff, but not '\xHH' hex character constants.
5131 These don't provoke an error unfortunately, instead are silently treated
5132 as 'x'. The following induces an error, until -std is added to get
5133 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5134 array size at least. It's necessary to write '\x00'==0 to get something
5135 that's true only with -std. */
5136 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5138 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5139 inside strings and character constants. */
5140 #define FOO(x) 'x'
5141 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5143 int test (int i, double x);
5144 struct s1 {int (*f) (int a);};
5145 struct s2 {int (*f) (double a);};
5146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5147 int argc;
5148 char **argv;
5150 main ()
5152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5154 return 0;
5156 _ACEOF
5157 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5158 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5160 CC="$ac_save_CC $ac_arg"
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162 ac_cv_prog_cc_c89=$ac_arg
5164 rm -f core conftest.err conftest.$ac_objext
5165 test "x$ac_cv_prog_cc_c89" != "xno" && break
5166 done
5167 rm -f conftest.$ac_ext
5168 CC=$ac_save_CC
5171 # AC_CACHE_VAL
5172 case "x$ac_cv_prog_cc_c89" in
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5175 $as_echo "none needed" >&6; } ;;
5176 xno)
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5178 $as_echo "unsupported" >&6; } ;;
5180 CC="$CC $ac_cv_prog_cc_c89"
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5182 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5183 esac
5184 if test "x$ac_cv_prog_cc_c89" != xno; then :
5188 ac_ext=c
5189 ac_cpp='$CPP $CPPFLAGS'
5190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5194 ac_ext=cpp
5195 ac_cpp='$CXXCPP $CPPFLAGS'
5196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5199 if test -z "$CXX"; then
5200 if test -n "$CCC"; then
5201 CXX=$CCC
5202 else
5203 if test -n "$ac_tool_prefix"; then
5204 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_CXX+:} false; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 if test -n "$CXX"; then
5214 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5215 else
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH
5219 IFS=$as_save_IFS
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5223 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 break 2
5227 done
5228 done
5229 IFS=$as_save_IFS
5233 CXX=$ac_cv_prog_CXX
5234 if test -n "$CXX"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5236 $as_echo "$CXX" >&6; }
5237 else
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5243 test -n "$CXX" && break
5244 done
5246 if test -z "$CXX"; then
5247 ac_ct_CXX=$CXX
5248 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5250 # Extract the first word of "$ac_prog", so it can be a program name with args.
5251 set dummy $ac_prog; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5255 $as_echo_n "(cached) " >&6
5256 else
5257 if test -n "$ac_ct_CXX"; then
5258 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5259 else
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 for as_dir in $PATH
5263 IFS=$as_save_IFS
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267 ac_cv_prog_ac_ct_CXX="$ac_prog"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 break 2
5271 done
5272 done
5273 IFS=$as_save_IFS
5277 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5278 if test -n "$ac_ct_CXX"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5280 $as_echo "$ac_ct_CXX" >&6; }
5281 else
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5287 test -n "$ac_ct_CXX" && break
5288 done
5290 if test "x$ac_ct_CXX" = x; then
5291 CXX="g++"
5292 else
5293 case $cross_compiling:$ac_tool_warned in
5294 yes:)
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5297 ac_tool_warned=yes ;;
5298 esac
5299 CXX=$ac_ct_CXX
5305 # Provide some information about the compiler.
5306 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5307 set X $ac_compile
5308 ac_compiler=$2
5309 for ac_option in --version -v -V -qversion; do
5310 { { ac_try="$ac_compiler $ac_option >&5"
5311 case "(($ac_try" in
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5314 esac
5315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5316 $as_echo "$ac_try_echo"; } >&5
5317 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5318 ac_status=$?
5319 if test -s conftest.err; then
5320 sed '10a\
5321 ... rest of stderr output deleted ...
5322 10q' conftest.err >conftest.er1
5323 cat conftest.er1 >&5
5325 rm -f conftest.er1 conftest.err
5326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5327 test $ac_status = 0; }
5328 done
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5331 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5332 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5333 $as_echo_n "(cached) " >&6
5334 else
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5339 main ()
5341 #ifndef __GNUC__
5342 choke me
5343 #endif
5346 return 0;
5348 _ACEOF
5349 if ac_fn_cxx_try_compile "$LINENO"; then :
5350 ac_compiler_gnu=yes
5351 else
5352 ac_compiler_gnu=no
5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5355 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5359 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5360 if test $ac_compiler_gnu = yes; then
5361 GXX=yes
5362 else
5363 GXX=
5365 ac_test_CXXFLAGS=${CXXFLAGS+set}
5366 ac_save_CXXFLAGS=$CXXFLAGS
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5368 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5369 if ${ac_cv_prog_cxx_g+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5373 ac_cxx_werror_flag=yes
5374 ac_cv_prog_cxx_g=no
5375 CXXFLAGS="-g"
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5380 main ()
5384 return 0;
5386 _ACEOF
5387 if ac_fn_cxx_try_compile "$LINENO"; then :
5388 ac_cv_prog_cxx_g=yes
5389 else
5390 CXXFLAGS=""
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5395 main ()
5399 return 0;
5401 _ACEOF
5402 if ac_fn_cxx_try_compile "$LINENO"; then :
5404 else
5405 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5406 CXXFLAGS="-g"
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 :
5419 ac_cv_prog_cxx_g=yes
5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5429 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5430 if test "$ac_test_CXXFLAGS" = set; then
5431 CXXFLAGS=$ac_save_CXXFLAGS
5432 elif test $ac_cv_prog_cxx_g = yes; then
5433 if test "$GXX" = yes; then
5434 CXXFLAGS="-g -O2"
5435 else
5436 CXXFLAGS="-g"
5438 else
5439 if test "$GXX" = yes; then
5440 CXXFLAGS="-O2"
5441 else
5442 CXXFLAGS=
5445 ac_ext=c
5446 ac_cpp='$CPP $CPPFLAGS'
5447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5453 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_CPPBIN+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$CPPBIN"; then
5460 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 CPPBIN=$ac_cv_prog_CPPBIN
5480 if test -n "$CPPBIN"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5482 $as_echo "$CPPBIN" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -z "$ac_cv_prog_CPPBIN"; then
5491 ac_ct_CPPBIN=$CPPBIN
5492 # Extract the first word of "cpp", so it can be a program name with args.
5493 set dummy cpp; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_CPPBIN"; then
5500 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_CPPBIN="cpp"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5520 if test -n "$ac_ct_CPPBIN"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5522 $as_echo "$ac_ct_CPPBIN" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 if test "x$ac_ct_CPPBIN" = x; then
5529 CPPBIN="cpp"
5530 else
5531 case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537 CPPBIN=$ac_ct_CPPBIN
5539 else
5540 CPPBIN="$ac_cv_prog_CPPBIN"
5544 cat >>confdefs.h <<_ACEOF
5545 #define EXEEXT "$ac_exeext"
5546 _ACEOF
5548 if test -n "$ac_tool_prefix"; then
5549 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5550 set dummy ${ac_tool_prefix}ld; ac_word=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_LD+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if test -n "$LD"; then
5557 ac_cv_prog_LD="$LD" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_LD="${ac_tool_prefix}ld"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 LD=$ac_cv_prog_LD
5577 if test -n "$LD"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5579 $as_echo "$LD" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5587 if test -z "$ac_cv_prog_LD"; then
5588 ac_ct_LD=$LD
5589 # Extract the first word of "ld", so it can be a program name with args.
5590 set dummy ld; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$ac_ct_LD"; then
5597 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_ac_ct_LD="ld"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5617 if test -n "$ac_ct_LD"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5619 $as_echo "$ac_ct_LD" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5625 if test "x$ac_ct_LD" = x; then
5626 LD=""
5627 else
5628 case $cross_compiling:$ac_tool_warned in
5629 yes:)
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632 ac_tool_warned=yes ;;
5633 esac
5634 LD=$ac_ct_LD
5636 else
5637 LD="$ac_cv_prog_LD"
5641 case $host in
5642 *-darwin*)
5643 with_fontconfig=${with_fontconfig:-no}
5645 *-mingw32*|*-cygwin*)
5646 enable_win16=${enable_win16:-no}
5647 with_mingw=${with_mingw:-no}
5648 CFLAGS="$CFLAGS -D_WIN32"
5650 esac
5653 case $host in
5654 x86_64*|amd64*)
5655 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5656 then
5657 CC="$CC -m32"
5658 CXX="$CXX -m32"
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5661 $as_echo_n "checking whether $CC works... " >&6; }
5662 if ${wine_cv_cc_m32+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5669 main ()
5673 return 0;
5675 _ACEOF
5676 if ac_fn_c_try_link "$LINENO"; then :
5677 wine_cv_cc_m32=yes
5678 else
5679 wine_cv_cc_m32=no
5681 rm -f core conftest.err conftest.$ac_objext \
5682 conftest$ac_exeext conftest.$ac_ext
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5685 $as_echo "$wine_cv_cc_m32" >&6; }
5686 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
5687 host_cpu="i386"
5688 notice_platform="32-bit "
5689 TARGETFLAGS="$TARGETFLAGS -m32"
5690 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5691 export PKG_CONFIG_PATH
5692 enable_win16=${enable_win16:-yes}
5693 with_unwind=${with_unwind:-no}
5694 else
5695 if test "x${GCC}" = "xyes"
5696 then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5698 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5699 if ${wine_cv_builtin_ms_va_list+:} false; then :
5700 $as_echo_n "(cached) " >&6
5701 else
5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5704 #include <stdarg.h>
5706 main ()
5708 void func(__builtin_ms_va_list *args);
5710 return 0;
5712 _ACEOF
5713 if ac_fn_c_try_compile "$LINENO"; then :
5714 wine_cv_builtin_ms_va_list=yes
5715 else
5716 wine_cv_builtin_ms_va_list=no
5718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5721 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5722 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
5724 CC="$CC -m64"
5725 CXX="$CXX -m64"
5726 host_cpu="x86_64"
5727 notice_platform="64-bit "
5728 TARGETFLAGS="$TARGETFLAGS -m64"
5729 enable_wow64cpu=${enable_wow64cpu:-yes}
5732 arm*)
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5734 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5735 if ${wine_cv_thumb2+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5742 main ()
5744 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5746 return 0;
5748 _ACEOF
5749 if ac_fn_c_try_link "$LINENO"; then :
5750 wine_cv_thumb2=yes
5751 else
5752 wine_cv_thumb2=no
5754 rm -f core conftest.err conftest.$ac_objext \
5755 conftest$ac_exeext conftest.$ac_ext
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5758 $as_echo "$wine_cv_thumb2" >&6; }
5759 if test x"$wine_cv_thumb2" = xyes
5760 then
5761 CFLAGS="$CFLAGS -mthumb"
5762 TARGETFLAGS="$TARGETFLAGS -mthumb"
5763 else
5764 CFLAGS="$CFLAGS -marm"
5765 TARGETFLAGS="$TARGETFLAGS -marm"
5767 case $with_float_abi in
5768 soft|softfp|hard)
5769 float_abi=$with_float_abi ;;
5771 case $host_os in
5772 *eabihf)
5773 float_abi=hard ;;
5775 float_abi=softfp
5776 saved_CFLAGS=$CFLAGS
5777 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5779 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5780 if ${wine_cv_float_abi+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5787 main ()
5789 asm("vmrs r2,fpscr");
5791 return 0;
5793 _ACEOF
5794 if ac_fn_c_try_link "$LINENO"; then :
5795 wine_cv_float_abi=yes
5796 else
5797 wine_cv_float_abi=no
5799 rm -f core conftest.err conftest.$ac_objext \
5800 conftest$ac_exeext conftest.$ac_ext
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5803 $as_echo "$wine_cv_float_abi" >&6; }
5804 if test $wine_cv_float_abi = no
5805 then
5806 float_abi=soft
5807 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5809 CFLAGS=$saved_CFLAGS
5810 esac
5812 esac
5813 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5814 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5816 aarch64*)
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5818 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5819 if ${wine_cv_builtin_ms_va_list+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5824 #include <stdarg.h>
5826 main ()
5828 void func(__builtin_ms_va_list *args);
5830 return 0;
5832 _ACEOF
5833 if ac_fn_c_try_compile "$LINENO"; then :
5834 wine_cv_builtin_ms_va_list=yes
5835 else
5836 wine_cv_builtin_ms_va_list=no
5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5841 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5842 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5844 i[3456789]86*)
5845 enable_win16=${enable_win16:-yes}
5846 with_unwind=${with_unwind:-no}
5848 esac
5850 enable_win16=${enable_win16:-no}
5851 enable_win64=${enable_win64:-no}
5852 enable_wow64cpu=${enable_wow64cpu:-no}
5854 enable_winetest=${enable_winetest:-$enable_tests}
5856 if test "x$enable_win64" = "xyes"
5857 then
5858 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5859 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5860 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5864 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5865 if ${wine_cv_toolsdir+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 wine_cv_toolsdir="$with_wine_tools"
5869 if test -z "$with_wine_tools"; then
5870 if test "$cross_compiling" = "yes"; then
5871 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5872 elif test -n "$with_wine64"; then
5873 wine_cv_toolsdir="$with_wine64"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5878 $as_echo "$wine_cv_toolsdir" >&6; }
5879 if test -z "$wine_cv_toolsdir"; then
5880 wine_makedep=tools/makedep
5881 TOOLSDIR="."
5883 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5884 wine_makedep=$wine_cv_toolsdir/tools/makedep
5885 TOOLSDIR=$wine_cv_toolsdir
5887 enable_tools=${enable_tools:-no}
5888 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5889 else
5890 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5892 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5893 then
5894 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5897 for ac_prog in flex
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_FLEX+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$FLEX"; then
5907 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_FLEX="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 FLEX=$ac_cv_prog_FLEX
5927 if test -n "$FLEX"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5929 $as_echo "$FLEX" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$FLEX" && break
5937 done
5938 test -n "$FLEX" || FLEX="none"
5940 if test "$FLEX" = "none"
5941 then
5942 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5945 $as_echo_n "checking whether flex is recent enough... " >&6; }
5946 if ${wine_cv_recent_flex+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 cat >conftest.l <<EOF
5950 %top{
5951 #include "prediluvian.h"
5955 if $FLEX -t conftest.l >/dev/null 2>&5
5956 then
5957 wine_cv_recent_flex=yes
5958 else
5959 wine_cv_recent_flex=no
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5963 $as_echo "$wine_cv_recent_flex" >&6; }
5964 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
5966 for ac_prog in bison
5968 # Extract the first word of "$ac_prog", so it can be a program name with args.
5969 set dummy $ac_prog; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_BISON+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 if test -n "$BISON"; then
5976 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5977 else
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 for as_dir in $PATH
5981 IFS=$as_save_IFS
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_BISON="$ac_prog"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 break 2
5989 done
5990 done
5991 IFS=$as_save_IFS
5995 BISON=$ac_cv_prog_BISON
5996 if test -n "$BISON"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5998 $as_echo "$BISON" >&6; }
5999 else
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6005 test -n "$BISON" && break
6006 done
6007 test -n "$BISON" || BISON="none"
6009 if test "$BISON" = "none"
6010 then
6011 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6014 $as_echo_n "checking whether bison is recent enough... " >&6; }
6015 if ${wine_cv_recent_bison+:} false; then :
6016 $as_echo_n "(cached) " >&6
6017 else
6018 cat >conftest.y <<EOF
6019 %define parse.error verbose
6021 empty: ;
6023 if $BISON conftest.y >/dev/null 2>&5
6024 then
6025 wine_cv_recent_bison=yes
6026 else
6027 wine_cv_recent_bison=no
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6031 $as_echo "$wine_cv_recent_bison" >&6; }
6032 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
6034 if test -n "$ac_tool_prefix"; then
6035 for ac_prog in ar gar
6037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_AR+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$AR"; then
6045 ac_cv_prog_AR="$AR" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6058 done
6059 done
6060 IFS=$as_save_IFS
6064 AR=$ac_cv_prog_AR
6065 if test -n "$AR"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6067 $as_echo "$AR" >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$AR" && break
6075 done
6077 if test -z "$AR"; then
6078 ac_ct_AR=$AR
6079 for ac_prog in ar gar
6081 # Extract the first word of "$ac_prog", so it can be a program name with args.
6082 set dummy $ac_prog; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 if test -n "$ac_ct_AR"; then
6089 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6094 IFS=$as_save_IFS
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_ac_ct_AR="$ac_prog"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 break 2
6102 done
6103 done
6104 IFS=$as_save_IFS
6108 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6109 if test -n "$ac_ct_AR"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6111 $as_echo "$ac_ct_AR" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6118 test -n "$ac_ct_AR" && break
6119 done
6121 if test "x$ac_ct_AR" = x; then
6122 AR="ar"
6123 else
6124 case $cross_compiling:$ac_tool_warned in
6125 yes:)
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6128 ac_tool_warned=yes ;;
6129 esac
6130 AR=$ac_ct_AR
6134 if test -n "$ac_tool_prefix"; then
6135 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6136 set dummy ${ac_tool_prefix}strip; ac_word=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if ${ac_cv_prog_STRIP+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 if test -n "$STRIP"; then
6143 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6158 IFS=$as_save_IFS
6162 STRIP=$ac_cv_prog_STRIP
6163 if test -n "$STRIP"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6165 $as_echo "$STRIP" >&6; }
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6173 if test -z "$ac_cv_prog_STRIP"; then
6174 ac_ct_STRIP=$STRIP
6175 # Extract the first word of "strip", so it can be a program name with args.
6176 set dummy strip; ac_word=$2
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 $as_echo_n "checking for $ac_word... " >&6; }
6179 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 if test -n "$ac_ct_STRIP"; then
6183 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6184 else
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 for as_dir in $PATH
6188 IFS=$as_save_IFS
6189 test -z "$as_dir" && as_dir=.
6190 for ac_exec_ext in '' $ac_executable_extensions; do
6191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_ac_ct_STRIP="strip"
6193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 break 2
6196 done
6197 done
6198 IFS=$as_save_IFS
6202 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6203 if test -n "$ac_ct_STRIP"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6205 $as_echo "$ac_ct_STRIP" >&6; }
6206 else
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 $as_echo "no" >&6; }
6211 if test "x$ac_ct_STRIP" = x; then
6212 STRIP="strip"
6213 else
6214 case $cross_compiling:$ac_tool_warned in
6215 yes:)
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6218 ac_tool_warned=yes ;;
6219 esac
6220 STRIP=$ac_ct_STRIP
6222 else
6223 STRIP="$ac_cv_prog_STRIP"
6226 if test -n "$ac_tool_prefix"; then
6227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_prog_RANLIB+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if test -n "$RANLIB"; then
6235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6240 IFS=$as_save_IFS
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6248 done
6249 done
6250 IFS=$as_save_IFS
6254 RANLIB=$ac_cv_prog_RANLIB
6255 if test -n "$RANLIB"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6257 $as_echo "$RANLIB" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6265 if test -z "$ac_cv_prog_RANLIB"; then
6266 ac_ct_RANLIB=$RANLIB
6267 # Extract the first word of "ranlib", so it can be a program name with args.
6268 set dummy ranlib; ac_word=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6272 $as_echo_n "(cached) " >&6
6273 else
6274 if test -n "$ac_ct_RANLIB"; then
6275 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6276 else
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278 for as_dir in $PATH
6280 IFS=$as_save_IFS
6281 test -z "$as_dir" && as_dir=.
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6284 ac_cv_prog_ac_ct_RANLIB="ranlib"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 break 2
6288 done
6289 done
6290 IFS=$as_save_IFS
6294 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6295 if test -n "$ac_ct_RANLIB"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6297 $as_echo "$ac_ct_RANLIB" >&6; }
6298 else
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6303 if test "x$ac_ct_RANLIB" = x; then
6304 RANLIB=":"
6305 else
6306 case $cross_compiling:$ac_tool_warned in
6307 yes:)
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6310 ac_tool_warned=yes ;;
6311 esac
6312 RANLIB=$ac_ct_RANLIB
6314 else
6315 RANLIB="$ac_cv_prog_RANLIB"
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6319 $as_echo_n "checking whether ln -s works... " >&6; }
6320 LN_S=$as_ln_s
6321 if test "$LN_S" = "ln -s"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6323 $as_echo "yes" >&6; }
6324 else
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6326 $as_echo "no, using $LN_S" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6330 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6331 if ${ac_cv_path_GREP+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if test -z "$GREP"; then
6335 ac_path_GREP_found=false
6336 # Loop through the user's path and test for each of PROGNAME-LIST
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6340 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=.
6342 for ac_prog in grep ggrep; do
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6345 as_fn_executable_p "$ac_path_GREP" || continue
6346 # Check for GNU ac_path_GREP and select it if it is found.
6347 # Check for GNU $ac_path_GREP
6348 case `"$ac_path_GREP" --version 2>&1` in
6349 *GNU*)
6350 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6352 ac_count=0
6353 $as_echo_n 0123456789 >"conftest.in"
6354 while :
6356 cat "conftest.in" "conftest.in" >"conftest.tmp"
6357 mv "conftest.tmp" "conftest.in"
6358 cp "conftest.in" "conftest.nl"
6359 $as_echo 'GREP' >> "conftest.nl"
6360 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6362 as_fn_arith $ac_count + 1 && ac_count=$as_val
6363 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6364 # Best one so far, save it but keep looking for a better one
6365 ac_cv_path_GREP="$ac_path_GREP"
6366 ac_path_GREP_max=$ac_count
6368 # 10*(2^10) chars as input seems more than enough
6369 test $ac_count -gt 10 && break
6370 done
6371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6372 esac
6374 $ac_path_GREP_found && break 3
6375 done
6376 done
6377 done
6378 IFS=$as_save_IFS
6379 if test -z "$ac_cv_path_GREP"; then
6380 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6382 else
6383 ac_cv_path_GREP=$GREP
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6388 $as_echo "$ac_cv_path_GREP" >&6; }
6389 GREP="$ac_cv_path_GREP"
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6393 $as_echo_n "checking for egrep... " >&6; }
6394 if ${ac_cv_path_EGREP+:} false; then :
6395 $as_echo_n "(cached) " >&6
6396 else
6397 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6398 then ac_cv_path_EGREP="$GREP -E"
6399 else
6400 if test -z "$EGREP"; then
6401 ac_path_EGREP_found=false
6402 # Loop through the user's path and test for each of PROGNAME-LIST
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_prog in egrep; do
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6411 as_fn_executable_p "$ac_path_EGREP" || continue
6412 # Check for GNU ac_path_EGREP and select it if it is found.
6413 # Check for GNU $ac_path_EGREP
6414 case `"$ac_path_EGREP" --version 2>&1` in
6415 *GNU*)
6416 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6418 ac_count=0
6419 $as_echo_n 0123456789 >"conftest.in"
6420 while :
6422 cat "conftest.in" "conftest.in" >"conftest.tmp"
6423 mv "conftest.tmp" "conftest.in"
6424 cp "conftest.in" "conftest.nl"
6425 $as_echo 'EGREP' >> "conftest.nl"
6426 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6428 as_fn_arith $ac_count + 1 && ac_count=$as_val
6429 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6430 # Best one so far, save it but keep looking for a better one
6431 ac_cv_path_EGREP="$ac_path_EGREP"
6432 ac_path_EGREP_max=$ac_count
6434 # 10*(2^10) chars as input seems more than enough
6435 test $ac_count -gt 10 && break
6436 done
6437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6438 esac
6440 $ac_path_EGREP_found && break 3
6441 done
6442 done
6443 done
6444 IFS=$as_save_IFS
6445 if test -z "$ac_cv_path_EGREP"; then
6446 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6448 else
6449 ac_cv_path_EGREP=$EGREP
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6455 $as_echo "$ac_cv_path_EGREP" >&6; }
6456 EGREP="$ac_cv_path_EGREP"
6459 # Extract the first word of "ldconfig", so it can be a program name with args.
6460 set dummy ldconfig; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_path_LDCONFIG+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 case $LDCONFIG in
6467 [\\/]* | ?:[\\/]*)
6468 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in /sbin /usr/sbin $PATH
6474 IFS=$as_save_IFS
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 break 2
6482 done
6483 done
6484 IFS=$as_save_IFS
6486 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6488 esac
6490 LDCONFIG=$ac_cv_path_LDCONFIG
6491 if test -n "$LDCONFIG"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6493 $as_echo "$LDCONFIG" >&6; }
6494 else
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6500 for ac_prog in msgfmt
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if ${ac_cv_prog_MSGFMT+:} false; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$MSGFMT"; then
6510 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_MSGFMT="$ac_prog"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 MSGFMT=$ac_cv_prog_MSGFMT
6530 if test -n "$MSGFMT"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6532 $as_echo "$MSGFMT" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6539 test -n "$MSGFMT" && break
6540 done
6541 test -n "$MSGFMT" || MSGFMT="false"
6543 if ${ac_tool_prefix+:} false; then :
6544 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6545 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 if test -n "$PKG_CONFIG"; then
6552 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6553 else
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 for as_dir in $PATH
6557 IFS=$as_save_IFS
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6563 break 2
6565 done
6566 done
6567 IFS=$as_save_IFS
6571 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6572 if test -n "$PKG_CONFIG"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6574 $as_echo "$PKG_CONFIG" >&6; }
6575 else
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6582 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6583 if test "x$cross_compiling" = xyes; then :
6585 else
6586 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6587 # Extract the first word of "pkg-config", so it can be a program name with args.
6588 set dummy pkg-config; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6592 $as_echo_n "(cached) " >&6
6593 else
6594 if test -n "$PKG_CONFIG"; then
6595 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6596 else
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 for as_dir in $PATH
6600 IFS=$as_save_IFS
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_PKG_CONFIG="pkg-config"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 break 2
6608 done
6609 done
6610 IFS=$as_save_IFS
6614 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6615 if test -n "$PKG_CONFIG"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6617 $as_echo "$PKG_CONFIG" >&6; }
6618 else
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6625 else
6626 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6629 if test "x$enable_maintainer_mode" != "xyes"
6630 then
6631 FONTFORGE=""
6632 RSVG=""
6633 CONVERT=""
6634 ICOTOOL=""
6635 else
6636 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6637 for ac_prog in fontforge
6639 # Extract the first word of "$ac_prog", so it can be a program name with args.
6640 set dummy $ac_prog; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_FONTFORGE+:} false; then :
6644 $as_echo_n "(cached) " >&6
6645 else
6646 if test -n "$FONTFORGE"; then
6647 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6648 else
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 for as_dir in $PATH
6652 IFS=$as_save_IFS
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6656 ac_cv_prog_FONTFORGE="$ac_prog"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 break 2
6660 done
6661 done
6662 IFS=$as_save_IFS
6666 FONTFORGE=$ac_cv_prog_FONTFORGE
6667 if test -n "$FONTFORGE"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6669 $as_echo "$FONTFORGE" >&6; }
6670 else
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6676 test -n "$FONTFORGE" && break
6677 done
6678 test -n "$FONTFORGE" || FONTFORGE="false"
6680 for ac_prog in rsvg-convert rsvg
6682 # Extract the first word of "$ac_prog", so it can be a program name with args.
6683 set dummy $ac_prog; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_RSVG+:} false; then :
6687 $as_echo_n "(cached) " >&6
6688 else
6689 if test -n "$RSVG"; then
6690 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6695 IFS=$as_save_IFS
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_RSVG="$ac_prog"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701 break 2
6703 done
6704 done
6705 IFS=$as_save_IFS
6709 RSVG=$ac_cv_prog_RSVG
6710 if test -n "$RSVG"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6712 $as_echo "$RSVG" >&6; }
6713 else
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6719 test -n "$RSVG" && break
6720 done
6721 test -n "$RSVG" || RSVG="false"
6723 for ac_prog in convert
6725 # Extract the first word of "$ac_prog", so it can be a program name with args.
6726 set dummy $ac_prog; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_prog_CONVERT+:} false; then :
6730 $as_echo_n "(cached) " >&6
6731 else
6732 if test -n "$CONVERT"; then
6733 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6734 else
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 for as_dir in $PATH
6738 IFS=$as_save_IFS
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_CONVERT="$ac_prog"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 break 2
6746 done
6747 done
6748 IFS=$as_save_IFS
6752 CONVERT=$ac_cv_prog_CONVERT
6753 if test -n "$CONVERT"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6755 $as_echo "$CONVERT" >&6; }
6756 else
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 $as_echo "no" >&6; }
6762 test -n "$CONVERT" && break
6763 done
6764 test -n "$CONVERT" || CONVERT="false"
6766 for ac_prog in icotool
6768 # Extract the first word of "$ac_prog", so it can be a program name with args.
6769 set dummy $ac_prog; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_ICOTOOL+:} false; then :
6773 $as_echo_n "(cached) " >&6
6774 else
6775 if test -n "$ICOTOOL"; then
6776 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6777 else
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 for as_dir in $PATH
6781 IFS=$as_save_IFS
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_ICOTOOL="$ac_prog"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787 break 2
6789 done
6790 done
6791 IFS=$as_save_IFS
6795 ICOTOOL=$ac_cv_prog_ICOTOOL
6796 if test -n "$ICOTOOL"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6798 $as_echo "$ICOTOOL" >&6; }
6799 else
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6805 test -n "$ICOTOOL" && break
6806 done
6807 test -n "$ICOTOOL" || ICOTOOL="false"
6809 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6810 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6812 if test "$CONVERT" = false
6813 then
6814 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6815 else
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6817 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6818 convert_version=`convert --version | head -n1`
6819 if test "x$convert_version" != "x"
6820 then
6821 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6822 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6823 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6824 then
6825 CONVERT=false
6828 if test "$CONVERT" = false
6829 then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6831 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6832 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6833 else
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6835 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6839 if test "$ICOTOOL" = false
6840 then
6841 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6842 else
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6844 $as_echo_n "checking for recent enough icotool... " >&6; }
6845 icotool_version=`icotool --version | head -n1`
6846 if test "x$icotool_version" != "x"
6847 then
6848 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6849 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6850 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6851 then
6852 ICOTOOL=false
6853 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6856 if test "$ICOTOOL" = false
6857 then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6859 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6860 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6861 else
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6863 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6867 with_gettext=yes
6868 with_gettextpo=yes
6870 enable_werror=yes
6873 test "x$with_gettext" != xno || MSGFMT=false
6874 if test "$MSGFMT" != "false"
6875 then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6877 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6878 if ${wine_cv_msgfmt_contexts+:} false; then :
6879 $as_echo_n "(cached) " >&6
6880 else
6881 cat >conftest.po <<EOF
6882 # comment
6883 msgctxt "ctxt"
6884 msgid "id"
6885 msgstr "str"
6887 if $MSGFMT -o /dev/null conftest.po 2>&5
6888 then
6889 wine_cv_msgfmt_contexts=yes
6890 else
6891 wine_cv_msgfmt_contexts=no
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6895 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6896 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6898 if test "$MSGFMT" = false; then :
6899 case "x$with_gettext" in
6900 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6901 xno) ;;
6902 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6903 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6904 esac
6905 enable_po=${enable_po:-no}
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6910 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6911 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 ac_check_lib_save_LIBS=$LIBS
6915 LIBS="-li386 $LIBS"
6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6919 /* Override any GCC internal prototype to avoid an error.
6920 Use char because int might match the return type of a GCC
6921 builtin and then its argument prototype would still apply. */
6922 #ifdef __cplusplus
6923 extern "C"
6924 #endif
6925 char i386_set_ldt ();
6927 main ()
6929 return i386_set_ldt ();
6931 return 0;
6933 _ACEOF
6934 if ac_fn_c_try_link "$LINENO"; then :
6935 ac_cv_lib_i386_i386_set_ldt=yes
6936 else
6937 ac_cv_lib_i386_i386_set_ldt=no
6939 rm -f core conftest.err conftest.$ac_objext \
6940 conftest$ac_exeext conftest.$ac_ext
6941 LIBS=$ac_check_lib_save_LIBS
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6944 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6945 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6946 I386_LIBS="-li386"
6951 OPENGL_LIBS=""
6955 # Check whether --enable-largefile was given.
6956 if test "${enable_largefile+set}" = set; then :
6957 enableval=$enable_largefile;
6960 if test "$enable_largefile" != no; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6963 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6964 if ${ac_cv_sys_largefile_CC+:} false; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 ac_cv_sys_largefile_CC=no
6968 if test "$GCC" != yes; then
6969 ac_save_CC=$CC
6970 while :; do
6971 # IRIX 6.2 and later do not support large files by default,
6972 # so use the C compiler's -n32 option if that helps.
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 #include <sys/types.h>
6976 /* Check that off_t can represent 2**63 - 1 correctly.
6977 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6978 since some C++ compilers masquerading as C compilers
6979 incorrectly reject 9223372036854775807. */
6980 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6982 && LARGE_OFF_T % 2147483647 == 1)
6983 ? 1 : -1];
6985 main ()
6989 return 0;
6991 _ACEOF
6992 if ac_fn_c_try_compile "$LINENO"; then :
6993 break
6995 rm -f core conftest.err conftest.$ac_objext
6996 CC="$CC -n32"
6997 if ac_fn_c_try_compile "$LINENO"; then :
6998 ac_cv_sys_largefile_CC=' -n32'; break
7000 rm -f core conftest.err conftest.$ac_objext
7001 break
7002 done
7003 CC=$ac_save_CC
7004 rm -f conftest.$ac_ext
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7008 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7009 if test "$ac_cv_sys_largefile_CC" != no; then
7010 CC=$CC$ac_cv_sys_largefile_CC
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7014 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7015 if ${ac_cv_sys_file_offset_bits+:} false; then :
7016 $as_echo_n "(cached) " >&6
7017 else
7018 while :; do
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7021 #include <sys/types.h>
7022 /* Check that off_t can represent 2**63 - 1 correctly.
7023 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7024 since some C++ compilers masquerading as C compilers
7025 incorrectly reject 9223372036854775807. */
7026 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7028 && LARGE_OFF_T % 2147483647 == 1)
7029 ? 1 : -1];
7031 main ()
7035 return 0;
7037 _ACEOF
7038 if ac_fn_c_try_compile "$LINENO"; then :
7039 ac_cv_sys_file_offset_bits=no; break
7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7044 #define _FILE_OFFSET_BITS 64
7045 #include <sys/types.h>
7046 /* Check that off_t can represent 2**63 - 1 correctly.
7047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7048 since some C++ compilers masquerading as C compilers
7049 incorrectly reject 9223372036854775807. */
7050 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7052 && LARGE_OFF_T % 2147483647 == 1)
7053 ? 1 : -1];
7055 main ()
7059 return 0;
7061 _ACEOF
7062 if ac_fn_c_try_compile "$LINENO"; then :
7063 ac_cv_sys_file_offset_bits=64; break
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7066 ac_cv_sys_file_offset_bits=unknown
7067 break
7068 done
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7071 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7072 case $ac_cv_sys_file_offset_bits in #(
7073 no | unknown) ;;
7075 cat >>confdefs.h <<_ACEOF
7076 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7077 _ACEOF
7079 esac
7080 rm -rf conftest*
7081 if test $ac_cv_sys_file_offset_bits = unknown; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7083 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7084 if ${ac_cv_sys_large_files+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 while :; do
7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 /* Check that off_t can represent 2**63 - 1 correctly.
7092 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7093 since some C++ compilers masquerading as C compilers
7094 incorrectly reject 9223372036854775807. */
7095 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7096 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7097 && LARGE_OFF_T % 2147483647 == 1)
7098 ? 1 : -1];
7100 main ()
7104 return 0;
7106 _ACEOF
7107 if ac_fn_c_try_compile "$LINENO"; then :
7108 ac_cv_sys_large_files=no; break
7110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7113 #define _LARGE_FILES 1
7114 #include <sys/types.h>
7115 /* Check that off_t can represent 2**63 - 1 correctly.
7116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7117 since some C++ compilers masquerading as C compilers
7118 incorrectly reject 9223372036854775807. */
7119 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7121 && LARGE_OFF_T % 2147483647 == 1)
7122 ? 1 : -1];
7124 main ()
7128 return 0;
7130 _ACEOF
7131 if ac_fn_c_try_compile "$LINENO"; then :
7132 ac_cv_sys_large_files=1; break
7134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 ac_cv_sys_large_files=unknown
7136 break
7137 done
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7140 $as_echo "$ac_cv_sys_large_files" >&6; }
7141 case $ac_cv_sys_large_files in #(
7142 no | unknown) ;;
7144 cat >>confdefs.h <<_ACEOF
7145 #define _LARGE_FILES $ac_cv_sys_large_files
7146 _ACEOF
7148 esac
7149 rm -rf conftest*
7156 ac_ext=c
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7162 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7163 # On Suns, sometimes $CPP names a directory.
7164 if test -n "$CPP" && test -d "$CPP"; then
7165 CPP=
7167 if test -z "$CPP"; then
7168 if ${ac_cv_prog_CPP+:} false; then :
7169 $as_echo_n "(cached) " >&6
7170 else
7171 # Double quotes because CPP needs to be expanded
7172 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7174 ac_preproc_ok=false
7175 for ac_c_preproc_warn_flag in '' yes
7177 # Use a header file that comes with gcc, so configuring glibc
7178 # with a fresh cross-compiler works.
7179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7180 # <limits.h> exists even on freestanding compilers.
7181 # On the NeXT, cc -E runs the code through the compiler's parser,
7182 # not just through cpp. "Syntax error" is here to catch this case.
7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7185 #ifdef __STDC__
7186 # include <limits.h>
7187 #else
7188 # include <assert.h>
7189 #endif
7190 Syntax error
7191 _ACEOF
7192 if ac_fn_c_try_cpp "$LINENO"; then :
7194 else
7195 # Broken: fails on valid input.
7196 continue
7198 rm -f conftest.err conftest.i conftest.$ac_ext
7200 # OK, works on sane cases. Now check whether nonexistent headers
7201 # can be detected and how.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #include <ac_nonexistent.h>
7205 _ACEOF
7206 if ac_fn_c_try_cpp "$LINENO"; then :
7207 # Broken: success on invalid input.
7208 continue
7209 else
7210 # Passes both tests.
7211 ac_preproc_ok=:
7212 break
7214 rm -f conftest.err conftest.i conftest.$ac_ext
7216 done
7217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7218 rm -f conftest.i conftest.err conftest.$ac_ext
7219 if $ac_preproc_ok; then :
7220 break
7223 done
7224 ac_cv_prog_CPP=$CPP
7227 CPP=$ac_cv_prog_CPP
7228 else
7229 ac_cv_prog_CPP=$CPP
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7232 $as_echo "$CPP" >&6; }
7233 ac_preproc_ok=false
7234 for ac_c_preproc_warn_flag in '' yes
7236 # Use a header file that comes with gcc, so configuring glibc
7237 # with a fresh cross-compiler works.
7238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7239 # <limits.h> exists even on freestanding compilers.
7240 # On the NeXT, cc -E runs the code through the compiler's parser,
7241 # not just through cpp. "Syntax error" is here to catch this case.
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7244 #ifdef __STDC__
7245 # include <limits.h>
7246 #else
7247 # include <assert.h>
7248 #endif
7249 Syntax error
7250 _ACEOF
7251 if ac_fn_c_try_cpp "$LINENO"; then :
7253 else
7254 # Broken: fails on valid input.
7255 continue
7257 rm -f conftest.err conftest.i conftest.$ac_ext
7259 # OK, works on sane cases. Now check whether nonexistent headers
7260 # can be detected and how.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <ac_nonexistent.h>
7264 _ACEOF
7265 if ac_fn_c_try_cpp "$LINENO"; then :
7266 # Broken: success on invalid input.
7267 continue
7268 else
7269 # Passes both tests.
7270 ac_preproc_ok=:
7271 break
7273 rm -f conftest.err conftest.i conftest.$ac_ext
7275 done
7276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7277 rm -f conftest.i conftest.err conftest.$ac_ext
7278 if $ac_preproc_ok; then :
7280 else
7281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7283 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7284 See \`config.log' for more details" "$LINENO" 5; }
7287 ac_ext=c
7288 ac_cpp='$CPP $CPPFLAGS'
7289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7295 $as_echo_n "checking for ANSI C header files... " >&6; }
7296 if ${ac_cv_header_stdc+:} false; then :
7297 $as_echo_n "(cached) " >&6
7298 else
7299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h. */
7301 #include <stdlib.h>
7302 #include <stdarg.h>
7303 #include <string.h>
7304 #include <float.h>
7307 main ()
7311 return 0;
7313 _ACEOF
7314 if ac_fn_c_try_compile "$LINENO"; then :
7315 ac_cv_header_stdc=yes
7316 else
7317 ac_cv_header_stdc=no
7319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7321 if test $ac_cv_header_stdc = yes; then
7322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7325 #include <string.h>
7327 _ACEOF
7328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7329 $EGREP "memchr" >/dev/null 2>&1; then :
7331 else
7332 ac_cv_header_stdc=no
7334 rm -f conftest*
7338 if test $ac_cv_header_stdc = yes; then
7339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7342 #include <stdlib.h>
7344 _ACEOF
7345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7346 $EGREP "free" >/dev/null 2>&1; then :
7348 else
7349 ac_cv_header_stdc=no
7351 rm -f conftest*
7355 if test $ac_cv_header_stdc = yes; then
7356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7357 if test "$cross_compiling" = yes; then :
7359 else
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7362 #include <ctype.h>
7363 #include <stdlib.h>
7364 #if ((' ' & 0x0FF) == 0x020)
7365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7367 #else
7368 # define ISLOWER(c) \
7369 (('a' <= (c) && (c) <= 'i') \
7370 || ('j' <= (c) && (c) <= 'r') \
7371 || ('s' <= (c) && (c) <= 'z'))
7372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7373 #endif
7375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7377 main ()
7379 int i;
7380 for (i = 0; i < 256; i++)
7381 if (XOR (islower (i), ISLOWER (i))
7382 || toupper (i) != TOUPPER (i))
7383 return 2;
7384 return 0;
7386 _ACEOF
7387 if ac_fn_c_try_run "$LINENO"; then :
7389 else
7390 ac_cv_header_stdc=no
7392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7393 conftest.$ac_objext conftest.beam conftest.$ac_ext
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7399 $as_echo "$ac_cv_header_stdc" >&6; }
7400 if test $ac_cv_header_stdc = yes; then
7402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7408 inttypes.h stdint.h unistd.h
7409 do :
7410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7414 cat >>confdefs.h <<_ACEOF
7415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7416 _ACEOF
7420 done
7423 for ac_header in \
7424 AL/al.h \
7425 ApplicationServices/ApplicationServices.h \
7426 AudioToolbox/AudioConverter.h \
7427 AudioUnit/AudioUnit.h \
7428 AudioUnit/AudioComponent.h \
7429 CL/cl.h \
7430 Carbon/Carbon.h \
7431 CommonCrypto/CommonCryptor.h \
7432 CoreAudio/CoreAudio.h \
7433 DiskArbitration/DiskArbitration.h \
7434 EGL/egl.h \
7435 IOKit/IOKitLib.h \
7436 IOKit/hid/IOHIDLib.h \
7437 OpenAL/al.h \
7438 OpenCL/opencl.h \
7439 QuickTime/ImageCompression.h \
7440 Security/Security.h \
7441 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7442 SystemConfiguration/SCNetworkConfiguration.h \
7443 alias.h \
7444 arpa/inet.h \
7445 arpa/nameser.h \
7446 asm/types.h \
7447 asm/user.h \
7448 dirent.h \
7449 dlfcn.h \
7450 elf.h \
7451 float.h \
7452 fnmatch.h \
7453 getopt.h \
7454 gettext-po.h \
7455 grp.h \
7456 gsm.h \
7457 gsm/gsm.h \
7458 ieeefp.h \
7459 inet/mib2.h \
7460 kstat.h \
7461 libproc.h \
7462 link.h \
7463 linux/cdrom.h \
7464 linux/filter.h \
7465 linux/hdreg.h \
7466 linux/hidraw.h \
7467 linux/input.h \
7468 linux/ioctl.h \
7469 linux/joystick.h \
7470 linux/major.h \
7471 linux/param.h \
7472 linux/serial.h \
7473 linux/types.h \
7474 linux/ucdrom.h \
7475 lwp.h \
7476 mach-o/loader.h \
7477 mach/mach.h \
7478 machine/cpu.h \
7479 machine/sysarch.h \
7480 mntent.h \
7481 netdb.h \
7482 netinet/in.h \
7483 netinet/in_systm.h \
7484 netinet/tcp.h \
7485 netinet/tcp_fsm.h \
7486 pcap/pcap.h \
7487 poll.h \
7488 port.h \
7489 pthread.h \
7490 pwd.h \
7491 sasl/sasl.h \
7492 sched.h \
7493 scsi/scsi.h \
7494 scsi/scsi_ioctl.h \
7495 scsi/sg.h \
7496 stdint.h \
7497 stropts.h \
7498 sys/attr.h \
7499 sys/auxv.h \
7500 sys/cdio.h \
7501 sys/epoll.h \
7502 sys/event.h \
7503 sys/filio.h \
7504 sys/ioctl.h \
7505 sys/ipc.h \
7506 sys/link.h \
7507 sys/mman.h \
7508 sys/modem.h \
7509 sys/msg.h \
7510 sys/mtio.h \
7511 sys/param.h \
7512 sys/poll.h \
7513 sys/prctl.h \
7514 sys/protosw.h \
7515 sys/ptrace.h \
7516 sys/queue.h \
7517 sys/random.h \
7518 sys/resource.h \
7519 sys/scsiio.h \
7520 sys/shm.h \
7521 sys/signal.h \
7522 sys/socket.h \
7523 sys/socketvar.h \
7524 sys/sockio.h \
7525 sys/statvfs.h \
7526 sys/strtio.h \
7527 sys/syscall.h \
7528 sys/sysinfo.h \
7529 sys/tihdr.h \
7530 sys/time.h \
7531 sys/timeout.h \
7532 sys/times.h \
7533 sys/uio.h \
7534 sys/user.h \
7535 sys/utsname.h \
7536 sys/vnode.h \
7537 sys/wait.h \
7538 syscall.h \
7539 termios.h \
7540 unistd.h \
7541 utime.h \
7542 valgrind/memcheck.h \
7543 valgrind/valgrind.h
7545 do :
7546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7549 cat >>confdefs.h <<_ACEOF
7550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7551 _ACEOF
7555 done
7557 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7558 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7560 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7565 if test $ac_cv_header_sys_mkdev_h = no; then
7566 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7567 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7569 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7576 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7577 if ${ac_cv_header_stat_broken+:} false; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7582 #include <sys/types.h>
7583 #include <sys/stat.h>
7585 #if defined S_ISBLK && defined S_IFDIR
7586 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7587 #endif
7589 #if defined S_ISBLK && defined S_IFCHR
7590 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7591 #endif
7593 #if defined S_ISLNK && defined S_IFREG
7594 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7595 #endif
7597 #if defined S_ISSOCK && defined S_IFREG
7598 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7599 #endif
7601 _ACEOF
7602 if ac_fn_c_try_compile "$LINENO"; then :
7603 ac_cv_header_stat_broken=no
7604 else
7605 ac_cv_header_stat_broken=yes
7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7610 $as_echo "$ac_cv_header_stat_broken" >&6; }
7611 if test $ac_cv_header_stat_broken = yes; then
7613 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7619 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7620 do :
7621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7623 #ifdef HAVE_SYS_PARAM_H
7624 # include <sys/param.h>
7625 #endif
7627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7628 cat >>confdefs.h <<_ACEOF
7629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7630 _ACEOF
7634 done
7637 saved_sysctl_h_CFLAGS=$CFLAGS
7638 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7639 for ac_header in sys/sysctl.h
7640 do :
7641 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7642 #ifdef HAVE_SYS_PARAM_H
7643 # include <sys/param.h>
7644 #endif
7646 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7647 cat >>confdefs.h <<_ACEOF
7648 #define HAVE_SYS_SYSCTL_H 1
7649 _ACEOF
7653 done
7655 CFLAGS=$saved_sysctl_h_CFLAGS
7657 for ac_header in \
7658 netinet/ip.h \
7659 net/if.h \
7660 net/if_arp.h \
7661 net/if_dl.h \
7662 net/if_types.h \
7663 net/route.h \
7664 netinet/if_ether.h \
7665 netinet/if_inarp.h \
7666 netinet/in_pcb.h \
7667 netinet/ip_icmp.h \
7668 netinet/ip_var.h \
7669 netinet/udp.h \
7670 netipx/ipx.h \
7671 sys/un.h \
7673 do :
7674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_SYS_SOCKETVAR_H
7680 # include <sys/socketvar.h>
7681 #endif
7682 #ifdef HAVE_NET_ROUTE_H
7683 # include <net/route.h>
7684 #endif
7685 #ifdef HAVE_NETINET_IN_H
7686 # include <netinet/in.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IN_SYSTM_H
7689 # include <netinet/in_systm.h>
7690 #endif
7691 #ifdef HAVE_NET_IF_H
7692 # include <net/if.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IP_H
7695 # include <netinet/ip.h>
7696 #endif
7698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7699 cat >>confdefs.h <<_ACEOF
7700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7701 _ACEOF
7705 done
7708 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7709 do :
7710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7711 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7712 #ifdef HAVE_ALIAS_H
7713 # include <alias.h>
7714 #endif
7715 #ifdef HAVE_SYS_SOCKET_H
7716 # include <sys/socket.h>
7717 #endif
7718 #ifdef HAVE_SYS_SOCKETVAR_H
7719 # include <sys/socketvar.h>
7720 #endif
7721 #ifdef HAVE_SYS_TIMEOUT_H
7722 # include <sys/timeout.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IN_H
7725 # include <netinet/in.h>
7726 #endif
7727 #ifdef HAVE_NETINET_IN_SYSTM_H
7728 # include <netinet/in_systm.h>
7729 #endif
7730 #ifdef HAVE_NETINET_IP_H
7731 # include <netinet/ip.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IP_VAR_H
7734 # include <netinet/ip_var.h>
7735 #endif
7736 #ifdef HAVE_NETINET_IP_ICMP_H
7737 # include <netinet/ip_icmp.h>
7738 #endif
7739 #ifdef HAVE_NETINET_UDP_H
7740 # include <netinet/udp.h>
7741 #endif
7742 #ifdef HAVE_NETINET_TCP_H
7743 # include <netinet/tcp.h>
7744 #endif
7745 #ifdef HAVE_NETINET_TCP_TIMER_H
7746 #include <netinet/tcp_timer.h>
7747 #endif
7749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7752 _ACEOF
7756 done
7759 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7760 do :
7761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7763 #ifdef HAVE_ASM_TYPES_H
7764 # include <asm/types.h>
7765 #endif
7766 #ifdef HAVE_SYS_SOCKET_H
7767 # include <sys/socket.h>
7768 #endif
7769 #ifdef HAVE_LINUX_TYPES_H
7770 # include <linux/types.h>
7771 #endif
7773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7774 cat >>confdefs.h <<_ACEOF
7775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7776 _ACEOF
7780 done
7783 for ac_header in resolv.h
7784 do :
7785 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7786 #ifdef HAVE_SYS_SOCKET_H
7787 # include <sys/socket.h>
7788 #endif
7789 #ifdef HAVE_NETINET_IN_H
7790 # include <netinet/in.h>
7791 #endif
7792 #ifdef HAVE_ARPA_NAMESER_H
7793 # include <arpa/nameser.h>
7794 #endif
7796 if test "x$ac_cv_header_resolv_h" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_RESOLV_H 1
7799 _ACEOF
7803 done
7806 for ac_header in ifaddrs.h
7807 do :
7808 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7810 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_IFADDRS_H 1
7813 _ACEOF
7817 done
7820 for ac_header in sys/ucontext.h
7821 do :
7822 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7824 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_SYS_UCONTEXT_H 1
7827 _ACEOF
7831 done
7834 for ac_header in sys/thr.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7837 #ifdef HAVE_SYS_UCONTEXT_H
7838 #include <sys/ucontext.h>
7839 #endif
7841 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7842 cat >>confdefs.h <<_ACEOF
7843 #define HAVE_SYS_THR_H 1
7844 _ACEOF
7848 done
7851 for ac_header in pthread_np.h
7852 do :
7853 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7854 #include <pthread.h>
7855 #endif
7857 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_PTHREAD_NP_H 1
7860 _ACEOF
7864 done
7867 for ac_header in linux/videodev2.h
7868 do :
7869 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7870 #include <sys/time.h>
7871 #endif
7872 #include <sys/types.h>
7873 #ifdef HAVE_ASM_TYPES_H
7874 #include <asm/types.h>
7875 #endif
7877 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7878 cat >>confdefs.h <<_ACEOF
7879 #define HAVE_LINUX_VIDEODEV2_H 1
7880 _ACEOF
7884 done
7887 for ac_header in libprocstat.h
7888 do :
7889 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7890 #include <sys/param.h>
7891 #endif
7892 #ifdef HAVE_SYS_QUEUE_H
7893 #include <sys/queue.h>
7894 #endif
7895 #ifdef HAVE_SYS_SOCKET_H
7896 #include <sys/socket.h>
7897 #endif
7899 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7900 cat >>confdefs.h <<_ACEOF
7901 #define HAVE_LIBPROCSTAT_H 1
7902 _ACEOF
7906 done
7910 DLLFLAGS="-D_REENTRANT"
7912 LDDLLFLAGS=""
7914 LDEXECFLAGS=""
7916 TOP_INSTALL_LIB=""
7918 TOP_INSTALL_DEV=""
7920 WINELOADER_LDFLAGS=""
7922 WINEPRELOADER_LDFLAGS=""
7924 LIBEXT="so"
7925 DLLEXT=".so"
7926 # Extract the first word of "ldd", so it can be a program name with args.
7927 set dummy ldd; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_path_LDD+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 case $LDD in
7934 [\\/]* | ?:[\\/]*)
7935 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 as_dummy="/sbin:/usr/sbin:$PATH"
7940 for as_dir in $as_dummy
7942 IFS=$as_save_IFS
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 break 2
7950 done
7951 done
7952 IFS=$as_save_IFS
7954 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7956 esac
7958 LDD=$ac_cv_path_LDD
7959 if test -n "$LDD"; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7961 $as_echo "$LDD" >&6; }
7962 else
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7964 $as_echo "no" >&6; }
7968 if test -n "$ac_tool_prefix"; then
7969 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7970 set dummy ${ac_tool_prefix}otool; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_prog_OTOOL+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976 if test -n "$OTOOL"; then
7977 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7978 else
7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7980 for as_dir in $PATH
7982 IFS=$as_save_IFS
7983 test -z "$as_dir" && as_dir=.
7984 for ac_exec_ext in '' $ac_executable_extensions; do
7985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7986 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 break 2
7990 done
7991 done
7992 IFS=$as_save_IFS
7996 OTOOL=$ac_cv_prog_OTOOL
7997 if test -n "$OTOOL"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7999 $as_echo "$OTOOL" >&6; }
8000 else
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002 $as_echo "no" >&6; }
8007 if test -z "$ac_cv_prog_OTOOL"; then
8008 ac_ct_OTOOL=$OTOOL
8009 # Extract the first word of "otool", so it can be a program name with args.
8010 set dummy otool; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 if test -n "$ac_ct_OTOOL"; then
8017 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8022 IFS=$as_save_IFS
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_ac_ct_OTOOL="otool"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 break 2
8030 done
8031 done
8032 IFS=$as_save_IFS
8036 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8037 if test -n "$ac_ct_OTOOL"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8039 $as_echo "$ac_ct_OTOOL" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8045 if test "x$ac_ct_OTOOL" = x; then
8046 OTOOL="otool"
8047 else
8048 case $cross_compiling:$ac_tool_warned in
8049 yes:)
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8052 ac_tool_warned=yes ;;
8053 esac
8054 OTOOL=$ac_ct_OTOOL
8056 else
8057 OTOOL="$ac_cv_prog_OTOOL"
8060 if test -n "$ac_tool_prefix"; then
8061 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8062 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_READELF+:} false; then :
8066 $as_echo_n "(cached) " >&6
8067 else
8068 if test -n "$READELF"; then
8069 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8070 else
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 for as_dir in $PATH
8074 IFS=$as_save_IFS
8075 test -z "$as_dir" && as_dir=.
8076 for ac_exec_ext in '' $ac_executable_extensions; do
8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 break 2
8082 done
8083 done
8084 IFS=$as_save_IFS
8088 READELF=$ac_cv_prog_READELF
8089 if test -n "$READELF"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8091 $as_echo "$READELF" >&6; }
8092 else
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8099 if test -z "$ac_cv_prog_READELF"; then
8100 ac_ct_READELF=$READELF
8101 # Extract the first word of "readelf", so it can be a program name with args.
8102 set dummy readelf; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8106 $as_echo_n "(cached) " >&6
8107 else
8108 if test -n "$ac_ct_READELF"; then
8109 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8110 else
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 for as_dir in $PATH
8114 IFS=$as_save_IFS
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8118 ac_cv_prog_ac_ct_READELF="readelf"
8119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8120 break 2
8122 done
8123 done
8124 IFS=$as_save_IFS
8128 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8129 if test -n "$ac_ct_READELF"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8131 $as_echo "$ac_ct_READELF" >&6; }
8132 else
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8137 if test "x$ac_ct_READELF" = x; then
8138 READELF="true"
8139 else
8140 case $cross_compiling:$ac_tool_warned in
8141 yes:)
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8144 ac_tool_warned=yes ;;
8145 esac
8146 READELF=$ac_ct_READELF
8148 else
8149 READELF="$ac_cv_prog_READELF"
8152 wine_rules_file=conf$$rules.make
8153 rm -f $wine_rules_file
8154 SUBDIRS=""
8156 DISABLED_SUBDIRS=""
8158 CONFIGURE_TARGETS=""
8161 wine_fn_append_file ()
8163 as_fn_append $1 " \\$as_nl $2"
8166 wine_fn_append_rule ()
8168 $as_echo "$1" >>$wine_rules_file
8171 wine_fn_config_makefile ()
8173 wine_fn_append_file SUBDIRS $1
8174 if eval test \"x\$"$2"\" = x"no"; then :
8175 wine_fn_append_file DISABLED_SUBDIRS $1
8179 wine_fn_config_symlink ()
8181 ac_links=$@
8182 wine_fn_append_rule \
8183 "$ac_links:
8184 @./config.status \$@"
8185 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8188 wine_binary="wine"
8189 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8190 WINELOADER_PROGRAMS="$wine_binary"
8192 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8194 case $host_os in
8195 cygwin*|mingw32*)
8196 if test -n "$ac_tool_prefix"; then
8197 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8198 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8200 $as_echo_n "checking for $ac_word... " >&6; }
8201 if ${ac_cv_prog_DLLTOOL+:} false; then :
8202 $as_echo_n "(cached) " >&6
8203 else
8204 if test -n "$DLLTOOL"; then
8205 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8206 else
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208 for as_dir in $PATH
8210 IFS=$as_save_IFS
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8214 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8216 break 2
8218 done
8219 done
8220 IFS=$as_save_IFS
8224 DLLTOOL=$ac_cv_prog_DLLTOOL
8225 if test -n "$DLLTOOL"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8227 $as_echo "$DLLTOOL" >&6; }
8228 else
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8235 if test -z "$ac_cv_prog_DLLTOOL"; then
8236 ac_ct_DLLTOOL=$DLLTOOL
8237 # Extract the first word of "dlltool", so it can be a program name with args.
8238 set dummy dlltool; ac_word=$2
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240 $as_echo_n "checking for $ac_word... " >&6; }
8241 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 if test -n "$ac_ct_DLLTOOL"; then
8245 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8246 else
8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 for as_dir in $PATH
8250 IFS=$as_save_IFS
8251 test -z "$as_dir" && as_dir=.
8252 for ac_exec_ext in '' $ac_executable_extensions; do
8253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8254 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8256 break 2
8258 done
8259 done
8260 IFS=$as_save_IFS
8264 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8265 if test -n "$ac_ct_DLLTOOL"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8267 $as_echo "$ac_ct_DLLTOOL" >&6; }
8268 else
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8273 if test "x$ac_ct_DLLTOOL" = x; then
8274 DLLTOOL="false"
8275 else
8276 case $cross_compiling:$ac_tool_warned in
8277 yes:)
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8280 ac_tool_warned=yes ;;
8281 esac
8282 DLLTOOL=$ac_ct_DLLTOOL
8284 else
8285 DLLTOOL="$ac_cv_prog_DLLTOOL"
8288 LIBEXT="dll"
8289 DLLEXT=""
8290 case $host_cpu in
8291 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8292 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8293 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 ac_wine_try_cflags_saved=$CFLAGS
8297 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8301 _ACEOF
8302 if ac_fn_c_try_link "$LINENO"; then :
8303 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8304 else
8305 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8307 rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 CFLAGS=$ac_wine_try_cflags_saved
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8312 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8313 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8314 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8315 fi ;;
8316 esac
8317 enable_iphlpapi=${enable_iphlpapi:-no}
8318 enable_ws2_32=${enable_ws2_32:-no}
8319 enable_loader=${enable_loader:-no}
8320 enable_server=${enable_server:-no}
8321 with_x=${with_x:-no}
8322 with_pthread=${with_pthread:-no}
8325 darwin*|macosx*)
8326 ac_ext=m
8327 ac_cpp='$OBJCPP $CPPFLAGS'
8328 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8332 ac_ext=m
8333 ac_cpp='$OBJCPP $CPPFLAGS'
8334 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8335 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8336 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8337 if test -n "$ac_tool_prefix"; then
8338 for ac_prog in gcc objcc objc cc CC
8340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if ${ac_cv_prog_OBJC+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 if test -n "$OBJC"; then
8348 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8349 else
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 for as_dir in $PATH
8353 IFS=$as_save_IFS
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 break 2
8361 done
8362 done
8363 IFS=$as_save_IFS
8367 OBJC=$ac_cv_prog_OBJC
8368 if test -n "$OBJC"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8370 $as_echo "$OBJC" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8377 test -n "$OBJC" && break
8378 done
8380 if test -z "$OBJC"; then
8381 ac_ct_OBJC=$OBJC
8382 for ac_prog in gcc objcc objc cc CC
8384 # Extract the first word of "$ac_prog", so it can be a program name with args.
8385 set dummy $ac_prog; ac_word=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8387 $as_echo_n "checking for $ac_word... " >&6; }
8388 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 if test -n "$ac_ct_OBJC"; then
8392 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8393 else
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395 for as_dir in $PATH
8397 IFS=$as_save_IFS
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8401 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 break 2
8405 done
8406 done
8407 IFS=$as_save_IFS
8411 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8412 if test -n "$ac_ct_OBJC"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8414 $as_echo "$ac_ct_OBJC" >&6; }
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8421 test -n "$ac_ct_OBJC" && break
8422 done
8424 if test "x$ac_ct_OBJC" = x; then
8425 OBJC="gcc"
8426 else
8427 case $cross_compiling:$ac_tool_warned in
8428 yes:)
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8431 ac_tool_warned=yes ;;
8432 esac
8433 OBJC=$ac_ct_OBJC
8437 # Provide some information about the compiler.
8438 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8439 set X $ac_compile
8440 ac_compiler=$2
8441 for ac_option in --version -v -V -qversion; do
8442 { { ac_try="$ac_compiler $ac_option >&5"
8443 case "(($ac_try" in
8444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8445 *) ac_try_echo=$ac_try;;
8446 esac
8447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8448 $as_echo "$ac_try_echo"; } >&5
8449 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8450 ac_status=$?
8451 if test -s conftest.err; then
8452 sed '10a\
8453 ... rest of stderr output deleted ...
8454 10q' conftest.err >conftest.er1
8455 cat conftest.er1 >&5
8457 rm -f conftest.er1 conftest.err
8458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8459 test $ac_status = 0; }
8460 done
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8463 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8464 if ${ac_cv_objc_compiler_gnu+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8471 main ()
8473 #ifndef __GNUC__
8474 choke me
8475 #endif
8478 return 0;
8480 _ACEOF
8481 if ac_fn_objc_try_compile "$LINENO"; then :
8482 ac_compiler_gnu=yes
8483 else
8484 ac_compiler_gnu=no
8486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8487 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8491 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8492 if test $ac_compiler_gnu = yes; then
8493 GOBJC=yes
8494 else
8495 GOBJC=
8497 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8498 ac_save_OBJCFLAGS=$OBJCFLAGS
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8500 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8501 if ${ac_cv_prog_objc_g+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_save_objc_werror_flag=$ac_objc_werror_flag
8505 ac_objc_werror_flag=yes
8506 ac_cv_prog_objc_g=no
8507 OBJCFLAGS="-g"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8512 main ()
8516 return 0;
8518 _ACEOF
8519 if ac_fn_objc_try_compile "$LINENO"; then :
8520 ac_cv_prog_objc_g=yes
8521 else
8522 OBJCFLAGS=""
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8527 main ()
8531 return 0;
8533 _ACEOF
8534 if ac_fn_objc_try_compile "$LINENO"; then :
8536 else
8537 ac_objc_werror_flag=$ac_save_objc_werror_flag
8538 OBJCFLAGS="-g"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_objc_try_compile "$LINENO"; then :
8551 ac_cv_prog_objc_g=yes
8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8558 ac_objc_werror_flag=$ac_save_objc_werror_flag
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8561 $as_echo "$ac_cv_prog_objc_g" >&6; }
8562 if test "$ac_test_OBJCFLAGS" = set; then
8563 OBJCFLAGS=$ac_save_OBJCFLAGS
8564 elif test $ac_cv_prog_objc_g = yes; then
8565 if test "$GOBJC" = yes; then
8566 OBJCFLAGS="-g -O2"
8567 else
8568 OBJCFLAGS="-g"
8570 else
8571 if test "$GOBJC" = yes; then
8572 OBJCFLAGS="-O2"
8573 else
8574 OBJCFLAGS=
8577 ac_ext=m
8578 ac_cpp='$OBJCPP $CPPFLAGS'
8579 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8580 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8581 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8584 ac_ext=m
8585 ac_cpp='$OBJCPP $CPPFLAGS'
8586 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8587 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8588 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8590 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8591 if test -z "$OBJCPP"; then
8592 if ${ac_cv_prog_OBJCPP+:} false; then :
8593 $as_echo_n "(cached) " >&6
8594 else
8595 # Double quotes because OBJCPP needs to be expanded
8596 for OBJCPP in "$OBJC -E" "/lib/cpp"
8598 ac_preproc_ok=false
8599 for ac_objc_preproc_warn_flag in '' yes
8601 # Use a header file that comes with gcc, so configuring glibc
8602 # with a fresh cross-compiler works.
8603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8604 # <limits.h> exists even on freestanding compilers.
8605 # On the NeXT, cc -E runs the code through the compiler's parser,
8606 # not just through cpp. "Syntax error" is here to catch this case.
8607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8608 /* end confdefs.h. */
8609 #ifdef __STDC__
8610 # include <limits.h>
8611 #else
8612 # include <assert.h>
8613 #endif
8614 Syntax error
8615 _ACEOF
8616 if ac_fn_objc_try_cpp "$LINENO"; then :
8618 else
8619 # Broken: fails on valid input.
8620 continue
8622 rm -f conftest.err conftest.i conftest.$ac_ext
8624 # OK, works on sane cases. Now check whether nonexistent headers
8625 # can be detected and how.
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 #include <ac_nonexistent.h>
8629 _ACEOF
8630 if ac_fn_objc_try_cpp "$LINENO"; then :
8631 # Broken: success on invalid input.
8632 continue
8633 else
8634 # Passes both tests.
8635 ac_preproc_ok=:
8636 break
8638 rm -f conftest.err conftest.i conftest.$ac_ext
8640 done
8641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8642 rm -f conftest.i conftest.err conftest.$ac_ext
8643 if $ac_preproc_ok; then :
8644 break
8647 done
8648 ac_cv_prog_OBJCPP=$OBJCPP
8651 OBJCPP=$ac_cv_prog_OBJCPP
8652 else
8653 ac_cv_prog_OBJCPP=$OBJCPP
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8656 $as_echo "$OBJCPP" >&6; }
8657 ac_preproc_ok=false
8658 for ac_objc_preproc_warn_flag in '' yes
8660 # Use a header file that comes with gcc, so configuring glibc
8661 # with a fresh cross-compiler works.
8662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8663 # <limits.h> exists even on freestanding compilers.
8664 # On the NeXT, cc -E runs the code through the compiler's parser,
8665 # not just through cpp. "Syntax error" is here to catch this case.
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 #ifdef __STDC__
8669 # include <limits.h>
8670 #else
8671 # include <assert.h>
8672 #endif
8673 Syntax error
8674 _ACEOF
8675 if ac_fn_objc_try_cpp "$LINENO"; then :
8677 else
8678 # Broken: fails on valid input.
8679 continue
8681 rm -f conftest.err conftest.i conftest.$ac_ext
8683 # OK, works on sane cases. Now check whether nonexistent headers
8684 # can be detected and how.
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 #include <ac_nonexistent.h>
8688 _ACEOF
8689 if ac_fn_objc_try_cpp "$LINENO"; then :
8690 # Broken: success on invalid input.
8691 continue
8692 else
8693 # Passes both tests.
8694 ac_preproc_ok=:
8695 break
8697 rm -f conftest.err conftest.i conftest.$ac_ext
8699 done
8700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8701 rm -f conftest.i conftest.err conftest.$ac_ext
8702 if $ac_preproc_ok; then :
8704 else
8705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8707 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8708 See \`config.log' for more details" "$LINENO" 5; }
8711 ac_ext=m
8712 ac_cpp='$OBJCPP $CPPFLAGS'
8713 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8714 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8715 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8718 for ac_header in Metal/Metal.h
8719 do :
8720 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8721 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8722 cat >>confdefs.h <<_ACEOF
8723 #define HAVE_METAL_METAL_H 1
8724 _ACEOF
8728 done
8730 ac_ext=c
8731 ac_cpp='$CPP $CPPFLAGS'
8732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8736 LIBEXT="dylib"
8737 DLLFLAGS="$DLLFLAGS -fPIC"
8738 LDDLLFLAGS="-fPIC"
8739 COREFOUNDATION_LIBS="-framework CoreFoundation"
8741 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8743 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8745 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8747 CORESERVICES_LIBS="-framework CoreServices"
8749 APPKIT_LIBS="-framework AppKit"
8751 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8754 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8756 wine_can_build_preloader=yes
8757 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"
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8759 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8760 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 int main(int argc, char **argv) { return 0; }
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_cflags__Wl__no_new_main__e__main=yes
8771 else
8772 ac_cv_cflags__Wl__no_new_main__e__main=no
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 CFLAGS=$ac_wine_try_cflags_saved
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8779 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8780 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8781 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8783 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8784 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_wine_try_cflags_saved=$CFLAGS
8788 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 int main(int argc, char **argv) { return 0; }
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8795 else
8796 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 CFLAGS=$ac_wine_try_cflags_saved
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8803 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8804 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8805 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8806 else
8807 { $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
8808 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8809 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8820 else
8821 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 { $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
8828 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8829 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8830 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8831 else
8832 wine_can_build_preloader=no
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8837 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8838 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8849 else
8850 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8857 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8858 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8859 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8860 else
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8862 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8863 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_wine_try_cflags_saved=$CFLAGS
8867 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8870 int main(int argc, char **argv) { return 0; }
8871 _ACEOF
8872 if ac_fn_c_try_link "$LINENO"; then :
8873 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8874 else
8875 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8877 rm -f core conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8882 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8883 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8884 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8885 else
8886 wine_can_build_preloader=no
8890 if test "$wine_can_build_preloader" = "yes"
8891 then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8893 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8894 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -Wl,-no_pie"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8901 int main(int argc, char **argv) { return 0; }
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_cflags__Wl__no_pie=yes
8905 else
8906 ac_cv_cflags__Wl__no_pie=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8913 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8914 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8915 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8917 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8918 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8919 else
8920 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8923 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8924 then
8925 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8928 if test "$ac_cv_header_Security_Security_h" = "yes"
8929 then
8930 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8932 ac_save_LIBS="$LIBS"
8933 LIBS="$LIBS $SECURITY_LIBS"
8934 for ac_func in SSLCopyPeerCertificates
8935 do :
8936 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8937 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8938 cat >>confdefs.h <<_ACEOF
8939 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8940 _ACEOF
8943 done
8945 LIBS="$ac_save_LIBS"
8947 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8948 then
8949 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8950 then
8951 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8953 else
8954 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8957 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8958 ac_save_LIBS="$LIBS"
8959 LIBS="$LIBS $COREAUDIO_LIBS"
8960 for ac_func in AUGraphAddNode
8961 do :
8962 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8963 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8964 cat >>confdefs.h <<_ACEOF
8965 #define HAVE_AUGRAPHADDNODE 1
8966 _ACEOF
8969 done
8971 LIBS="$ac_save_LIBS"
8973 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8974 then
8975 OPENAL_LIBS="-framework OpenAL"
8978 cat >>confdefs.h <<_ACEOF
8979 #define HAVE_OPENAL 1
8980 _ACEOF
8982 ac_cv_lib_openal=yes
8984 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8985 then
8986 OPENCL_LIBS="-framework OpenCL"
8988 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8990 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8991 then
8992 ac_save_LIBS="$LIBS"
8993 LIBS="$LIBS $IOKIT_LIBS"
8994 for ac_func in IOHIDManagerCreate
8995 do :
8996 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8997 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8998 cat >>confdefs.h <<_ACEOF
8999 #define HAVE_IOHIDMANAGERCREATE 1
9000 _ACEOF
9003 done
9005 LIBS="$ac_save_LIBS"
9008 if test "x$with_quicktime" != "xno"
9009 then
9010 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9011 then
9012 ac_save_LIBS="$LIBS"
9013 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9015 $as_echo_n "checking for the QuickTime framework... " >&6; }
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9018 #include <QuickTime/ImageCompression.h>
9020 main ()
9022 CodecManagerVersion(NULL);
9024 return 0;
9026 _ACEOF
9027 if ac_fn_c_try_link "$LINENO"; then :
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9029 $as_echo "yes" >&6; }
9030 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9032 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9033 else
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9035 $as_echo "no" >&6; }
9036 ac_cv_header_QuickTime_ImageCompression_h=no
9038 rm -f core conftest.err conftest.$ac_objext \
9039 conftest$ac_exeext conftest.$ac_ext
9040 LIBS="$ac_save_LIBS"
9043 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9044 case "x$with_quicktime" in
9045 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9046 xno) ;;
9047 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9048 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9049 esac
9053 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9054 then
9055 CARBON_LIBS="-framework Carbon"
9058 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9059 then
9060 METAL_LIBS="-framework Metal -framework QuartzCore"
9064 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9065 then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9067 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9068 ac_ext=m
9069 ac_cpp='$OBJCPP $CPPFLAGS'
9070 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9071 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9072 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <Metal/Metal.h>
9078 main ()
9080 id<MTLDevice> device; device.registryID;
9082 return 0;
9084 _ACEOF
9085 if ac_fn_objc_try_compile "$LINENO"; then :
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9087 $as_echo "yes" >&6; }
9089 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9091 else
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9093 $as_echo "no" >&6; }
9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9096 ac_ext=c
9097 ac_cpp='$CPP $CPPFLAGS'
9098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9104 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9105 then
9106 ac_save_LIBS="$LIBS"
9107 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9108 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9109 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9110 enable_winemac_drv=${enable_winemac_drv:-yes}
9113 LIBS="$ac_save_LIBS"
9116 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9118 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9120 WINELOADER_DEPENDS="wine_info.plist"
9122 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9125 linux-android*)
9126 DLLFLAGS="$DLLFLAGS -fPIC"
9127 LDDLLFLAGS="-fPIC"
9128 LDEXECFLAGS="-Wl,-pie"
9129 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9131 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9132 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9133 $as_echo_n "(cached) " >&6
9134 else
9135 ac_wine_try_cflags_saved=$CFLAGS
9136 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 int main(int argc, char **argv) { return 0; }
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9143 else
9144 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9146 rm -f core conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9148 CFLAGS=$ac_wine_try_cflags_saved
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9151 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9152 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9153 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9155 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9157 LIBWINE_SHAREDLIB="libwine.so"
9159 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9161 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9164 $as_echo_n "checking for -lEGL... " >&6; }
9165 if ${ac_cv_lib_soname_EGL+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_check_soname_save_LIBS=$LIBS
9169 LIBS="-lEGL $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char eglGetProcAddress ();
9181 main ()
9183 return eglGetProcAddress ();
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 case "$LIBEXT" in
9190 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9191 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'` ;;
9192 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9193 if ${ac_cv_lib_soname_EGL:+false} :; then :
9194 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9195 fi ;;
9196 esac
9197 else
9198 ac_cv_lib_soname_EGL=
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_soname_save_LIBS
9204 if ${ac_cv_lib_soname_EGL:+false} :; then :
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9206 $as_echo "not found" >&6; }
9208 else
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9210 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9212 cat >>confdefs.h <<_ACEOF
9213 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9214 _ACEOF
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9219 $as_echo_n "checking for -lGLESv2... " >&6; }
9220 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9221 $as_echo_n "(cached) " >&6
9222 else
9223 ac_check_soname_save_LIBS=$LIBS
9224 LIBS="-lGLESv2 $LIBS"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9231 #ifdef __cplusplus
9232 extern "C"
9233 #endif
9234 char glFlush ();
9236 main ()
9238 return glFlush ();
9240 return 0;
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 case "$LIBEXT" in
9245 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9246 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'` ;;
9247 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9248 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9249 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9250 fi ;;
9251 esac
9252 else
9253 ac_cv_lib_soname_GLESv2=
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 LIBS=$ac_check_soname_save_LIBS
9259 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9261 $as_echo "not found" >&6; }
9263 else
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9265 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9267 cat >>confdefs.h <<_ACEOF
9268 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9269 _ACEOF
9274 if test "x$exec_prefix" = xNONE
9275 then
9276 case $host_cpu in
9277 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9278 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9279 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9280 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9281 esac
9286 case $host_cpu in
9287 *i[3456789]86*)
9288 DLLFLAGS="$DLLFLAGS -fno-PIC"
9289 LDDLLFLAGS="-fno-PIC"
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9291 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9292 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_wine_try_cflags_saved=$CFLAGS
9296 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9299 int main(int argc, char **argv) { return 0; }
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9303 else
9304 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 CFLAGS=$ac_wine_try_cflags_saved
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9311 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9312 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9313 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9317 DLLFLAGS="$DLLFLAGS -fPIC"
9318 LDDLLFLAGS="-fPIC" ;;
9319 esac
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9321 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9322 if ${ac_cv_c_dll_gnuelf+:} false; then :
9323 $as_echo_n "(cached) " >&6
9324 else
9325 ac_wine_try_cflags_saved=$CFLAGS
9326 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9329 void myfunc() {}
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9333 else
9334 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 CFLAGS=$ac_wine_try_cflags_saved
9339 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9340 ac_cv_c_dll_gnuelf="yes"
9341 else
9342 ac_cv_c_dll_gnuelf="no"
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9346 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9347 if test "$ac_cv_c_dll_gnuelf" = "yes"
9348 then
9349 LIBWINE_LDFLAGS="-shared"
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9351 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9352 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_wine_try_cflags_saved=$CFLAGS
9356 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9359 int main(int argc, char **argv) { return 0; }
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9363 else
9364 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 CFLAGS=$ac_wine_try_cflags_saved
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9371 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9372 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9373 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9374 else
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9376 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9377 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9378 $as_echo_n "(cached) " >&6
9379 else
9380 ac_wine_try_cflags_saved=$CFLAGS
9381 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9384 int main(int argc, char **argv) { return 0; }
9385 _ACEOF
9386 if ac_fn_c_try_link "$LINENO"; then :
9387 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9388 else
9389 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9391 rm -f core conftest.err conftest.$ac_objext \
9392 conftest$ac_exeext conftest.$ac_ext
9393 CFLAGS=$ac_wine_try_cflags_saved
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9396 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9397 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9398 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9402 echo '{ global: *; };' >conftest.map
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9404 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9405 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_wine_try_cflags_saved=$CFLAGS
9409 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 int main(int argc, char **argv) { return 0; }
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9416 else
9417 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9424 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9425 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9426 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9428 rm -f conftest.map
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9431 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9432 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_wine_try_cflags_saved=$CFLAGS
9436 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9439 int main(int argc, char **argv) { return 0; }
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_cflags__Wl___export_dynamic=yes
9443 else
9444 ac_cv_cflags__Wl___export_dynamic=no
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 CFLAGS=$ac_wine_try_cflags_saved
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9451 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9452 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9453 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9455 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9457 case $host_cpu in
9458 *i[3456789]86* | x86_64 | *aarch64*)
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9460 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9461 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_wine_try_cflags_saved=$CFLAGS
9465 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 int main(int argc, char **argv) { return 0; }
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9472 else
9473 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 CFLAGS=$ac_wine_try_cflags_saved
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9480 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9481 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9482 case $host_os in
9483 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9484 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9485 esac
9486 else
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9488 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9489 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 ac_wine_try_cflags_saved=$CFLAGS
9493 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9496 int main(int argc, char **argv) { return 0; }
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9499 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9500 else
9501 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 CFLAGS=$ac_wine_try_cflags_saved
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9508 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9509 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9510 case $host_os in
9511 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9512 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9513 esac
9515 # Extract the first word of "prelink", so it can be a program name with args.
9516 set dummy prelink; ac_word=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9518 $as_echo_n "checking for $ac_word... " >&6; }
9519 if ${ac_cv_path_PRELINK+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 case $PRELINK in
9523 [\\/]* | ?:[\\/]*)
9524 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9528 for as_dir in /sbin /usr/sbin $PATH
9530 IFS=$as_save_IFS
9531 test -z "$as_dir" && as_dir=.
9532 for ac_exec_ext in '' $ac_executable_extensions; do
9533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9534 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9536 break 2
9538 done
9539 done
9540 IFS=$as_save_IFS
9542 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9544 esac
9546 PRELINK=$ac_cv_path_PRELINK
9547 if test -n "$PRELINK"; then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9549 $as_echo "$PRELINK" >&6; }
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9552 $as_echo "no" >&6; }
9556 if test "x$PRELINK" = xfalse
9557 then
9558 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9562 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9563 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_wine_try_cflags_saved=$CFLAGS
9567 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 int main(int argc, char **argv) { return 0; }
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9574 else
9575 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 CFLAGS=$ac_wine_try_cflags_saved
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9582 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9583 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9584 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9587 esac
9589 else
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9591 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9592 if ${ac_cv_c_dll_unixware+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_wine_try_cflags_saved=$CFLAGS
9596 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9599 void myfunc() {}
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9603 else
9604 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 CFLAGS=$ac_wine_try_cflags_saved
9609 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9610 ac_cv_c_dll_unixware="yes"
9611 else
9612 ac_cv_c_dll_unixware="no"
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9616 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9617 if test "$ac_cv_c_dll_unixware" = "yes"
9618 then
9619 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9622 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9624 LIBWINE_DEPENDS="wine.map"
9626 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9628 esac
9630 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9631 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9632 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9633 enable_winemac_drv=${enable_winemac_drv:-no}
9634 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9637 if test "x$with_mingw" != xno
9638 then
9639 case "x$with_mingw" in
9640 x|xyes) case "$host_cpu" in
9641 aarch64*)
9642 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9643 arm*)
9644 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9645 i[3456789]86*)
9646 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
9647 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9648 mingw32-gcc" ;;
9649 x86_64)
9650 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
9651 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9653 ac_prefix_list="" ;;
9654 esac
9655 for ac_prog in $ac_prefix_list
9657 # Extract the first word of "$ac_prog", so it can be a program name with args.
9658 set dummy $ac_prog; ac_word=$2
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9660 $as_echo_n "checking for $ac_word... " >&6; }
9661 if ${ac_cv_prog_CROSSCC+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 if test -n "$CROSSCC"; then
9665 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9666 else
9667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 for as_dir in $PATH
9670 IFS=$as_save_IFS
9671 test -z "$as_dir" && as_dir=.
9672 for ac_exec_ext in '' $ac_executable_extensions; do
9673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9674 ac_cv_prog_CROSSCC="$ac_prog"
9675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9676 break 2
9678 done
9679 done
9680 IFS=$as_save_IFS
9684 CROSSCC=$ac_cv_prog_CROSSCC
9685 if test -n "$CROSSCC"; then
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9687 $as_echo "$CROSSCC" >&6; }
9688 else
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9690 $as_echo "no" >&6; }
9694 test -n "$CROSSCC" && break
9695 done
9696 test -n "$CROSSCC" || CROSSCC="false"
9698 *) CROSSCC=$with_mingw ;;
9699 esac
9700 if test "$CROSSCC" != "false"
9701 then
9702 ac_save_CC="$CC"
9703 saved_CFLAGS=$CFLAGS
9704 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9706 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9710 CC="$CROSSCC"
9711 CFLAGS=$CROSSCFLAGS
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9713 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9714 if ${wine_cv_crosscc+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9721 main ()
9725 return 0;
9727 _ACEOF
9728 if ac_fn_c_try_compile "$LINENO"; then :
9729 wine_cv_crosscc=yes
9730 else
9731 wine_cv_crosscc=no
9733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9736 $as_echo "$wine_cv_crosscc" >&6; }
9737 if test $wine_cv_crosscc = yes
9738 then
9739 set x $CROSSCC
9740 shift
9741 while test $# -ge 1
9743 case "$1" in
9744 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9745 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9746 esac
9747 shift
9748 done
9750 llvm_target=$CROSSTARGET
9751 llvm_cflags="-fuse-ld=lld"
9752 if test -z "$llvm_target"
9753 then
9754 case $host_cpu in
9755 *i[3456789]86*) llvm_target=i686-windows ;;
9756 *) llvm_target=$host_cpu-windows ;;
9757 esac
9759 case $llvm_target in
9760 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9761 esac
9762 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9764 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9765 if eval \${$as_ac_var+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_wine_try_cflags_saved=$CFLAGS
9769 ac_wine_try_cflags_saved_cc=$CC
9770 ac_wine_try_cflags_saved_exeext=$ac_exeext
9771 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9772 CC="$CROSSCC"
9773 ac_exeext=".exe"
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9776 int __cdecl mainCRTStartup(void) { return 0; }
9777 _ACEOF
9778 if ac_fn_c_try_link "$LINENO"; then :
9779 eval "$as_ac_var=yes"
9780 else
9781 eval "$as_ac_var=no"
9783 rm -f core conftest.err conftest.$ac_objext \
9784 conftest$ac_exeext conftest.$ac_ext
9785 CFLAGS=$ac_wine_try_cflags_saved
9786 CC=$ac_wine_try_cflags_saved_cc
9787 ac_exeext=$ac_wine_try_cflags_saved_exeext
9789 eval ac_res=\$$as_ac_var
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9791 $as_echo "$ac_res" >&6; }
9792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9793 CROSSTARGET=$llvm_target
9794 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9795 DELAYLOADFLAG="-Wl,-delayload,"
9797 CFLAGS="$CFLAGS $llvm_cflags"
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9801 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9802 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9803 $as_echo_n "(cached) " >&6
9804 else
9805 ac_wine_try_cflags_saved=$CFLAGS
9806 ac_wine_try_cflags_saved_cc=$CC
9807 ac_wine_try_cflags_saved_exeext=$ac_exeext
9808 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9809 CC="$CROSSCC"
9810 ac_exeext=".exe"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9813 int __cdecl mainCRTStartup(void) { return 0; }
9814 _ACEOF
9815 if ac_fn_c_try_link "$LINENO"; then :
9816 ac_cv_crosscflags__fno_strict_aliasing=yes
9817 else
9818 ac_cv_crosscflags__fno_strict_aliasing=no
9820 rm -f core conftest.err conftest.$ac_objext \
9821 conftest$ac_exeext conftest.$ac_ext
9822 CFLAGS=$ac_wine_try_cflags_saved
9823 CC=$ac_wine_try_cflags_saved_cc
9824 ac_exeext=$ac_wine_try_cflags_saved_exeext
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9827 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9828 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9829 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9832 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9833 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 ac_wine_try_cflags_saved=$CFLAGS
9837 ac_wine_try_cflags_saved_cc=$CC
9838 ac_wine_try_cflags_saved_exeext=$ac_exeext
9839 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9840 CC="$CROSSCC"
9841 ac_exeext=".exe"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9844 int __cdecl mainCRTStartup(void) { return 0; }
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9848 else
9849 ac_cv_crosscflags__Werror_unknown_warning_option=no
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9853 CFLAGS=$ac_wine_try_cflags_saved
9854 CC=$ac_wine_try_cflags_saved_cc
9855 ac_exeext=$ac_wine_try_cflags_saved_exeext
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9858 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9859 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9860 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9863 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9864 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_wine_try_cflags_saved=$CFLAGS
9868 ac_wine_try_cflags_saved_cc=$CC
9869 ac_wine_try_cflags_saved_exeext=$ac_exeext
9870 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9871 CC="$CROSSCC"
9872 ac_exeext=".exe"
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 int __cdecl mainCRTStartup(void) { return 0; }
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9879 else
9880 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 CFLAGS=$ac_wine_try_cflags_saved
9885 CC=$ac_wine_try_cflags_saved_cc
9886 ac_exeext=$ac_wine_try_cflags_saved_exeext
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9889 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9890 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9891 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9894 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9895 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 ac_wine_try_cflags_saved_cc=$CC
9900 ac_wine_try_cflags_saved_exeext=$ac_exeext
9901 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9902 CC="$CROSSCC"
9903 ac_exeext=".exe"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int __cdecl mainCRTStartup(void) { return 0; }
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9910 else
9911 ac_cv_crosscflags__Wdeclaration_after_statement=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9916 CC=$ac_wine_try_cflags_saved_cc
9917 ac_exeext=$ac_wine_try_cflags_saved_exeext
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9920 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9921 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9922 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9926 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int __cdecl mainCRTStartup(void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__Wempty_body=yes
9941 else
9942 ac_cv_crosscflags__Wempty_body=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9951 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9952 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9957 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int __cdecl mainCRTStartup(void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Wignored_qualifiers=yes
9972 else
9973 ac_cv_crosscflags__Wignored_qualifiers=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9982 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9983 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9984 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9988 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 int __cdecl mainCRTStartup(void) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Winit_self=yes
10003 else
10004 ac_cv_crosscflags__Winit_self=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10013 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10014 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10015 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10019 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 int __cdecl mainCRTStartup(void) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wpacked_not_aligned=yes
10034 else
10035 ac_cv_crosscflags__Wpacked_not_aligned=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10044 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10045 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10050 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 int __cdecl mainCRTStartup(void) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wpragma_pack=yes
10065 else
10066 ac_cv_crosscflags__Wpragma_pack=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10075 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10076 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10081 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 int __cdecl mainCRTStartup(void) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wshift_overflow_2=yes
10096 else
10097 ac_cv_crosscflags__Wshift_overflow_2=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10106 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10107 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10112 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int __cdecl mainCRTStartup(void) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wstrict_prototypes=yes
10127 else
10128 ac_cv_crosscflags__Wstrict_prototypes=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10137 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10138 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10143 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int __cdecl mainCRTStartup(void) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wtype_limits=yes
10158 else
10159 ac_cv_crosscflags__Wtype_limits=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10168 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10169 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10174 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int __cdecl mainCRTStartup(void) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10189 else
10190 ac_cv_crosscflags__Wunused_but_set_parameter=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10199 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10200 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10205 if ${ac_cv_crosscflags__Wvla+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int __cdecl mainCRTStartup(void) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wvla=yes
10220 else
10221 ac_cv_crosscflags__Wvla=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10230 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10231 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10236 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int __cdecl mainCRTStartup(void) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wwrite_strings=yes
10251 else
10252 ac_cv_crosscflags__Wwrite_strings=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10261 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10262 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10267 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int __cdecl mainCRTStartup(void) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wpointer_arith=yes
10282 else
10283 ac_cv_crosscflags__Wpointer_arith=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10292 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10293 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10297 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10298 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 ac_wine_try_cflags_saved_cc=$CC
10303 ac_wine_try_cflags_saved_exeext=$ac_exeext
10304 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10305 CC="$CROSSCC"
10306 ac_exeext=".exe"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 int __cdecl mainCRTStartup(void) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_crosscflags__Wlogical_op=yes
10313 else
10314 ac_cv_crosscflags__Wlogical_op=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10319 CC=$ac_wine_try_cflags_saved_cc
10320 ac_exeext=$ac_wine_try_cflags_saved_exeext
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10323 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10324 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10325 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10329 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 ac_wine_try_cflags_saved_cc=$CC
10334 ac_wine_try_cflags_saved_exeext=$ac_exeext
10335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10336 CC="$CROSSCC"
10337 ac_exeext=".exe"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 int __cdecl mainCRTStartup(void) { return 0; }
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_crosscflags__Wabsolute_value=yes
10344 else
10345 ac_cv_crosscflags__Wabsolute_value=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10350 CC=$ac_wine_try_cflags_saved_cc
10351 ac_exeext=$ac_wine_try_cflags_saved_exeext
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10354 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10355 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10359 case $host_cpu in
10360 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10361 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10362 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_wine_try_cflags_saved=$CFLAGS
10366 ac_wine_try_cflags_saved_cc=$CC
10367 ac_wine_try_cflags_saved_exeext=$ac_exeext
10368 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10369 CC="$CROSSCC"
10370 ac_exeext=".exe"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10373 int __cdecl mainCRTStartup(void) { return 0; }
10374 _ACEOF
10375 if ac_fn_c_try_link "$LINENO"; then :
10376 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10377 else
10378 ac_cv_crosscflags__fno_omit_frame_pointer=no
10380 rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 CFLAGS=$ac_wine_try_cflags_saved
10383 CC=$ac_wine_try_cflags_saved_cc
10384 ac_exeext=$ac_wine_try_cflags_saved_exeext
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10387 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10388 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10389 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10390 fi ;;
10391 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10392 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10393 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10394 $as_echo_n "(cached) " >&6
10395 else
10396 ac_wine_try_cflags_saved=$CFLAGS
10397 ac_wine_try_cflags_saved_cc=$CC
10398 ac_wine_try_cflags_saved_exeext=$ac_exeext
10399 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10400 CC="$CROSSCC"
10401 ac_exeext=".exe"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 int __cdecl mainCRTStartup(void) { return 0; }
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"; then :
10407 ac_cv_crosscflags__Wno_format=yes
10408 else
10409 ac_cv_crosscflags__Wno_format=no
10411 rm -f core conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10413 CFLAGS=$ac_wine_try_cflags_saved
10414 CC=$ac_wine_try_cflags_saved_cc
10415 ac_exeext=$ac_wine_try_cflags_saved_exeext
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10418 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10419 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10420 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10423 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10424 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10425 $as_echo_n "(cached) " >&6
10426 else
10427 ac_wine_try_cflags_saved=$CFLAGS
10428 ac_wine_try_cflags_saved_cc=$CC
10429 ac_wine_try_cflags_saved_exeext=$ac_exeext
10430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10431 CC="$CROSSCC"
10432 ac_exeext=".exe"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 int __cdecl mainCRTStartup(void) { return 0; }
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_crosscflags__Wformat_overflow=yes
10439 else
10440 ac_cv_crosscflags__Wformat_overflow=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10445 CC=$ac_wine_try_cflags_saved_cc
10446 ac_exeext=$ac_wine_try_cflags_saved_exeext
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10449 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10450 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10454 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10455 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 ac_wine_try_cflags_saved_cc=$CC
10460 ac_wine_try_cflags_saved_exeext=$ac_exeext
10461 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10462 CC="$CROSSCC"
10463 ac_exeext=".exe"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 int __cdecl mainCRTStartup(void) { return 0; }
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_crosscflags__Wnonnull=yes
10470 else
10471 ac_cv_crosscflags__Wnonnull=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 CFLAGS=$ac_wine_try_cflags_saved
10476 CC=$ac_wine_try_cflags_saved_cc
10477 ac_exeext=$ac_wine_try_cflags_saved_exeext
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10480 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10481 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10485 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10486 if ${ac_cv_crosscflags__mcx16+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 ac_wine_try_cflags_saved_cc=$CC
10491 ac_wine_try_cflags_saved_exeext=$ac_exeext
10492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10493 CC="$CROSSCC"
10494 ac_exeext=".exe"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 int __cdecl mainCRTStartup(void) { return 0; }
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_crosscflags__mcx16=yes
10501 else
10502 ac_cv_crosscflags__mcx16=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 CFLAGS=$ac_wine_try_cflags_saved
10507 CC=$ac_wine_try_cflags_saved_cc
10508 ac_exeext=$ac_wine_try_cflags_saved_exeext
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10511 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10512 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10513 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10514 fi ;;
10515 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10516 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10517 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_wine_try_cflags_saved=$CFLAGS
10521 ac_wine_try_cflags_saved_cc=$CC
10522 ac_wine_try_cflags_saved_exeext=$ac_exeext
10523 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10524 CC="$CROSSCC"
10525 ac_exeext=".exe"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 int __cdecl mainCRTStartup(void) { return 0; }
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 ac_cv_crosscflags__Wno_format=yes
10532 else
10533 ac_cv_crosscflags__Wno_format=no
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 CFLAGS=$ac_wine_try_cflags_saved
10538 CC=$ac_wine_try_cflags_saved_cc
10539 ac_exeext=$ac_wine_try_cflags_saved_exeext
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10542 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10543 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10544 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10545 fi ;;
10546 esac
10549 if test -z "$CROSSDEBUG"
10550 then
10551 for ac_flag in $CROSSCFLAGS; do
10552 case $ac_flag in
10553 -gdwarf*) CROSSDEBUG=dwarf ;;
10554 -gcodeview) CROSSDEBUG=pdb ;;
10555 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10556 esac
10557 done
10559 case $CROSSDEBUG in
10560 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10561 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10562 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_wine_try_cflags_saved=$CFLAGS
10566 ac_wine_try_cflags_saved_cc=$CC
10567 ac_wine_try_cflags_saved_exeext=$ac_exeext
10568 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10569 CC="$CROSSCC"
10570 ac_exeext=".exe"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10573 int __cdecl mainCRTStartup(void) { return 0; }
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 ac_cv_crosscflags__gdwarf_2=yes
10577 else
10578 ac_cv_crosscflags__gdwarf_2=no
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 CFLAGS=$ac_wine_try_cflags_saved
10583 CC=$ac_wine_try_cflags_saved_cc
10584 ac_exeext=$ac_wine_try_cflags_saved_exeext
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10587 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10588 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10592 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10593 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10594 $as_echo_n "(cached) " >&6
10595 else
10596 ac_wine_try_cflags_saved=$CFLAGS
10597 ac_wine_try_cflags_saved_cc=$CC
10598 ac_wine_try_cflags_saved_exeext=$ac_exeext
10599 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10600 CC="$CROSSCC"
10601 ac_exeext=".exe"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 int __cdecl mainCRTStartup(void) { return 0; }
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 ac_cv_crosscflags__gstrict_dwarf=yes
10608 else
10609 ac_cv_crosscflags__gstrict_dwarf=no
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 CFLAGS=$ac_wine_try_cflags_saved
10614 CC=$ac_wine_try_cflags_saved_cc
10615 ac_exeext=$ac_wine_try_cflags_saved_exeext
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10618 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10619 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10621 fi ;;
10622 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10623 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10624 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_wine_try_cflags_saved=$CFLAGS
10628 ac_wine_try_cflags_saved_cc=$CC
10629 ac_wine_try_cflags_saved_exeext=$ac_exeext
10630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10631 CC="$CROSSCC"
10632 ac_exeext=".exe"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10635 int __cdecl mainCRTStartup(void) { return 0; }
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 ac_cv_crosscflags__gcodeview=yes
10639 else
10640 ac_cv_crosscflags__gcodeview=no
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 CFLAGS=$ac_wine_try_cflags_saved
10645 CC=$ac_wine_try_cflags_saved_cc
10646 ac_exeext=$ac_wine_try_cflags_saved_exeext
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10649 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10650 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10651 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10652 fi ;;
10653 esac
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10656 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10657 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_wine_try_cflags_saved=$CFLAGS
10661 ac_wine_try_cflags_saved_cc=$CC
10662 ac_wine_try_cflags_saved_exeext=$ac_exeext
10663 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10664 CC="$CROSSCC"
10665 ac_exeext=".exe"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 int __cdecl mainCRTStartup(void) { return 0; }
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_crosscflags__fexcess_precision_standard=yes
10672 else
10673 ac_cv_crosscflags__fexcess_precision_standard=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 CFLAGS=$ac_wine_try_cflags_saved
10678 CC=$ac_wine_try_cflags_saved_cc
10679 ac_exeext=$ac_wine_try_cflags_saved_exeext
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10682 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10683 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10684 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10688 if test "x$enable_werror" = "xyes"
10689 then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10691 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10692 if ${ac_cv_crosscflags__Werror+:} false; then :
10693 $as_echo_n "(cached) " >&6
10694 else
10695 ac_wine_try_cflags_saved=$CFLAGS
10696 ac_wine_try_cflags_saved_cc=$CC
10697 ac_wine_try_cflags_saved_exeext=$ac_exeext
10698 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10699 CC="$CROSSCC"
10700 ac_exeext=".exe"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10703 int __cdecl mainCRTStartup(void) { return 0; }
10704 _ACEOF
10705 if ac_fn_c_try_link "$LINENO"; then :
10706 ac_cv_crosscflags__Werror=yes
10707 else
10708 ac_cv_crosscflags__Werror=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 CFLAGS=$ac_wine_try_cflags_saved
10713 CC=$ac_wine_try_cflags_saved_cc
10714 ac_exeext=$ac_wine_try_cflags_saved_exeext
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10717 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10718 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10719 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10722 if test "x$enable_build_id" = "xyes"
10723 then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10725 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10726 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_wine_try_cflags_saved=$CFLAGS
10730 ac_wine_try_cflags_saved_cc=$CC
10731 ac_wine_try_cflags_saved_exeext=$ac_exeext
10732 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10733 CC="$CROSSCC"
10734 ac_exeext=".exe"
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10737 int __cdecl mainCRTStartup(void) { return 0; }
10738 _ACEOF
10739 if ac_fn_c_try_link "$LINENO"; then :
10740 ac_cv_crosscflags__Wl___build_id=yes
10741 else
10742 ac_cv_crosscflags__Wl___build_id=no
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 CFLAGS=$ac_wine_try_cflags_saved
10747 CC=$ac_wine_try_cflags_saved_cc
10748 ac_exeext=$ac_wine_try_cflags_saved_exeext
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10751 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10752 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10753 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10754 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10758 CFLAGS=$saved_CFLAGS
10759 CC="$ac_save_CC"
10762 if test "x$CROSSTARGET" = "x"; then :
10763 case "x$with_mingw" in
10764 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10765 xno) ;;
10766 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10767 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10768 esac
10773 if test "$ac_cv_header_pthread_h" = "yes"
10774 then
10775 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10776 if test "x$ac_cv_func_pthread_create" = xyes; then :
10778 else
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10780 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10781 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10782 $as_echo_n "(cached) " >&6
10783 else
10784 ac_check_lib_save_LIBS=$LIBS
10785 LIBS="-lpthread $LIBS"
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10789 /* Override any GCC internal prototype to avoid an error.
10790 Use char because int might match the return type of a GCC
10791 builtin and then its argument prototype would still apply. */
10792 #ifdef __cplusplus
10793 extern "C"
10794 #endif
10795 char pthread_create ();
10797 main ()
10799 return pthread_create ();
10801 return 0;
10803 _ACEOF
10804 if ac_fn_c_try_link "$LINENO"; then :
10805 ac_cv_lib_pthread_pthread_create=yes
10806 else
10807 ac_cv_lib_pthread_pthread_create=no
10809 rm -f core conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
10811 LIBS=$ac_check_lib_save_LIBS
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10814 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10815 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10816 PTHREAD_LIBS="-lpthread"
10823 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10824 case "x$with_pthread" in
10825 xno) ;;
10826 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10827 Wine cannot support threads without libpthread.
10828 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10829 esac
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10835 $as_echo_n "checking for X... " >&6; }
10838 # Check whether --with-x was given.
10839 if test "${with_x+set}" = set; then :
10840 withval=$with_x;
10843 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10844 if test "x$with_x" = xno; then
10845 # The user explicitly disabled X.
10846 have_x=disabled
10847 else
10848 case $x_includes,$x_libraries in #(
10849 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10850 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10851 $as_echo_n "(cached) " >&6
10852 else
10853 # One or both of the vars are not set, and there is no cached value.
10854 ac_x_includes=no ac_x_libraries=no
10855 rm -f -r conftest.dir
10856 if mkdir conftest.dir; then
10857 cd conftest.dir
10858 cat >Imakefile <<'_ACEOF'
10859 incroot:
10860 @echo incroot='${INCROOT}'
10861 usrlibdir:
10862 @echo usrlibdir='${USRLIBDIR}'
10863 libdir:
10864 @echo libdir='${LIBDIR}'
10865 _ACEOF
10866 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10868 for ac_var in incroot usrlibdir libdir; do
10869 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10870 done
10871 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10872 for ac_extension in a so sl dylib la dll; do
10873 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10874 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10875 ac_im_usrlibdir=$ac_im_libdir; break
10877 done
10878 # Screen out bogus values from the imake configuration. They are
10879 # bogus both because they are the default anyway, and because
10880 # using them would break gcc on systems where it needs fixed includes.
10881 case $ac_im_incroot in
10882 /usr/include) ac_x_includes= ;;
10883 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10884 esac
10885 case $ac_im_usrlibdir in
10886 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10887 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10888 esac
10890 cd ..
10891 rm -f -r conftest.dir
10894 # Standard set of common directories for X headers.
10895 # Check X11 before X11Rn because it is often a symlink to the current release.
10896 ac_x_header_dirs='
10897 /usr/X11/include
10898 /usr/X11R7/include
10899 /usr/X11R6/include
10900 /usr/X11R5/include
10901 /usr/X11R4/include
10903 /usr/include/X11
10904 /usr/include/X11R7
10905 /usr/include/X11R6
10906 /usr/include/X11R5
10907 /usr/include/X11R4
10909 /usr/local/X11/include
10910 /usr/local/X11R7/include
10911 /usr/local/X11R6/include
10912 /usr/local/X11R5/include
10913 /usr/local/X11R4/include
10915 /usr/local/include/X11
10916 /usr/local/include/X11R7
10917 /usr/local/include/X11R6
10918 /usr/local/include/X11R5
10919 /usr/local/include/X11R4
10921 /usr/X386/include
10922 /usr/x386/include
10923 /usr/XFree86/include/X11
10925 /usr/include
10926 /usr/local/include
10927 /usr/unsupported/include
10928 /usr/athena/include
10929 /usr/local/x11r5/include
10930 /usr/lpp/Xamples/include
10932 /usr/openwin/include
10933 /usr/openwin/share/include'
10935 if test "$ac_x_includes" = no; then
10936 # Guess where to find include files, by looking for Xlib.h.
10937 # First, try using that file with no special directory specified.
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10940 #include <X11/Xlib.h>
10941 _ACEOF
10942 if ac_fn_c_try_cpp "$LINENO"; then :
10943 # We can compile using X headers with no special include directory.
10944 ac_x_includes=
10945 else
10946 for ac_dir in $ac_x_header_dirs; do
10947 if test -r "$ac_dir/X11/Xlib.h"; then
10948 ac_x_includes=$ac_dir
10949 break
10951 done
10953 rm -f conftest.err conftest.i conftest.$ac_ext
10954 fi # $ac_x_includes = no
10956 if test "$ac_x_libraries" = no; then
10957 # Check for the libraries.
10958 # See if we find them without any special options.
10959 # Don't add to $LIBS permanently.
10960 ac_save_LIBS=$LIBS
10961 LIBS="-lX11 $LIBS"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 #include <X11/Xlib.h>
10966 main ()
10968 XrmInitialize ()
10970 return 0;
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 LIBS=$ac_save_LIBS
10975 # We can link X programs with no special library path.
10976 ac_x_libraries=
10977 else
10978 LIBS=$ac_save_LIBS
10979 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10981 # Don't even attempt the hair of trying to link an X program!
10982 for ac_extension in a so sl dylib la dll; do
10983 if test -r "$ac_dir/libX11.$ac_extension"; then
10984 ac_x_libraries=$ac_dir
10985 break 2
10987 done
10988 done
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 fi # $ac_x_libraries = no
10994 case $ac_x_includes,$ac_x_libraries in #(
10995 no,* | *,no | *\'*)
10996 # Didn't find X, or a directory has "'" in its name.
10997 ac_cv_have_x="have_x=no";; #(
10999 # Record where we found X for the cache.
11000 ac_cv_have_x="have_x=yes\
11001 ac_x_includes='$ac_x_includes'\
11002 ac_x_libraries='$ac_x_libraries'"
11003 esac
11005 ;; #(
11006 *) have_x=yes;;
11007 esac
11008 eval "$ac_cv_have_x"
11009 fi # $with_x != no
11011 if test "$have_x" != yes; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11013 $as_echo "$have_x" >&6; }
11014 no_x=yes
11015 else
11016 # If each of the values was on the command line, it overrides each guess.
11017 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11018 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11019 # Update the cache value to reflect the command line values.
11020 ac_cv_have_x="have_x=yes\
11021 ac_x_includes='$x_includes'\
11022 ac_x_libraries='$x_libraries'"
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11024 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11027 if test "$no_x" = yes; then
11028 # Not all programs may use this symbol, but it does not hurt to define it.
11030 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11032 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11033 else
11034 if test -n "$x_includes"; then
11035 X_CFLAGS="$X_CFLAGS -I$x_includes"
11038 # It would also be nice to do this for all -L options, not just this one.
11039 if test -n "$x_libraries"; then
11040 X_LIBS="$X_LIBS -L$x_libraries"
11041 # For Solaris; some versions of Sun CC require a space after -R and
11042 # others require no space. Words are not sufficient . . . .
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11044 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11045 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11046 ac_xsave_c_werror_flag=$ac_c_werror_flag
11047 ac_c_werror_flag=yes
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11052 main ()
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11061 $as_echo "no" >&6; }
11062 X_LIBS="$X_LIBS -R$x_libraries"
11063 else
11064 LIBS="$ac_xsave_LIBS -R $x_libraries"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11069 main ()
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11078 $as_echo "yes" >&6; }
11079 X_LIBS="$X_LIBS -R $x_libraries"
11080 else
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11082 $as_echo "neither works" >&6; }
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 ac_c_werror_flag=$ac_xsave_c_werror_flag
11090 LIBS=$ac_xsave_LIBS
11093 # Check for system-dependent libraries X programs must link with.
11094 # Do this before checking for the system-independent R6 libraries
11095 # (-lICE), since we may need -lsocket or whatever for X linking.
11097 if test "$ISC" = yes; then
11098 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11099 else
11100 # Martyn Johnson says this is needed for Ultrix, if the X
11101 # libraries were built with DECnet support. And Karl Berry says
11102 # the Alpha needs dnet_stub (dnet does not exist).
11103 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char XOpenDisplay ();
11115 main ()
11117 return XOpenDisplay ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11124 else
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11126 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11127 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-ldnet $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char dnet_ntoa ();
11143 main ()
11145 return dnet_ntoa ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_dnet_dnet_ntoa=yes
11152 else
11153 ac_cv_lib_dnet_dnet_ntoa=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11160 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11161 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11165 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11167 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11168 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11169 $as_echo_n "(cached) " >&6
11170 else
11171 ac_check_lib_save_LIBS=$LIBS
11172 LIBS="-ldnet_stub $LIBS"
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char dnet_ntoa ();
11184 main ()
11186 return dnet_ntoa ();
11188 return 0;
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"; then :
11192 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11193 else
11194 ac_cv_lib_dnet_stub_dnet_ntoa=no
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11201 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11202 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11203 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS="$ac_xsave_LIBS"
11212 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11213 # to get the SysV transport functions.
11214 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11215 # needs -lnsl.
11216 # The nsl library prevents programs from opening the X display
11217 # on Irix 5.2, according to T.E. Dickey.
11218 # The functions gethostbyname, getservbyname, and inet_addr are
11219 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11220 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11221 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11225 if test $ac_cv_func_gethostbyname = no; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11227 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11228 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_lib_save_LIBS=$LIBS
11232 LIBS="-lnsl $LIBS"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char gethostbyname ();
11244 main ()
11246 return gethostbyname ();
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252 ac_cv_lib_nsl_gethostbyname=yes
11253 else
11254 ac_cv_lib_nsl_gethostbyname=no
11256 rm -f core conftest.err conftest.$ac_objext \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11261 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11262 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11266 if test $ac_cv_lib_nsl_gethostbyname = no; then
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11268 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11269 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-lbsd $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char gethostbyname ();
11285 main ()
11287 return gethostbyname ();
11289 return 0;
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 ac_cv_lib_bsd_gethostbyname=yes
11294 else
11295 ac_cv_lib_bsd_gethostbyname=no
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11302 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11303 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11310 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11311 # socket/setsockopt and other routines are undefined under SCO ODT
11312 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11313 # on later versions), says Simon Leinen: it contains gethostby*
11314 # variants that don't use the name server (or something). -lsocket
11315 # must be given before -lnsl if both are needed. We assume that
11316 # if connect needs -lnsl, so does gethostbyname.
11317 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11318 if test "x$ac_cv_func_connect" = xyes; then :
11322 if test $ac_cv_func_connect = no; then
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11324 $as_echo_n "checking for connect in -lsocket... " >&6; }
11325 if ${ac_cv_lib_socket_connect+:} false; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_lib_save_LIBS=$LIBS
11329 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char connect ();
11341 main ()
11343 return connect ();
11345 return 0;
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 ac_cv_lib_socket_connect=yes
11350 else
11351 ac_cv_lib_socket_connect=no
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11358 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11359 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11360 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11365 # Guillermo Gomez says -lposix is necessary on A/UX.
11366 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11367 if test "x$ac_cv_func_remove" = xyes; then :
11371 if test $ac_cv_func_remove = no; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11373 $as_echo_n "checking for remove in -lposix... " >&6; }
11374 if ${ac_cv_lib_posix_remove+:} false; then :
11375 $as_echo_n "(cached) " >&6
11376 else
11377 ac_check_lib_save_LIBS=$LIBS
11378 LIBS="-lposix $LIBS"
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char remove ();
11390 main ()
11392 return remove ();
11394 return 0;
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_posix_remove=yes
11399 else
11400 ac_cv_lib_posix_remove=no
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11407 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11408 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11409 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11414 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11415 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11416 if test "x$ac_cv_func_shmat" = xyes; then :
11420 if test $ac_cv_func_shmat = no; then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11422 $as_echo_n "checking for shmat in -lipc... " >&6; }
11423 if ${ac_cv_lib_ipc_shmat+:} false; then :
11424 $as_echo_n "(cached) " >&6
11425 else
11426 ac_check_lib_save_LIBS=$LIBS
11427 LIBS="-lipc $LIBS"
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11434 #ifdef __cplusplus
11435 extern "C"
11436 #endif
11437 char shmat ();
11439 main ()
11441 return shmat ();
11443 return 0;
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"; then :
11447 ac_cv_lib_ipc_shmat=yes
11448 else
11449 ac_cv_lib_ipc_shmat=no
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_lib_save_LIBS
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11456 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11457 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11464 # Check for libraries that X11R6 Xt/Xaw programs need.
11465 ac_save_LDFLAGS=$LDFLAGS
11466 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11467 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11468 # check for ICE first), but we must link in the order -lSM -lICE or
11469 # we get undefined symbols. So assume we have SM if we have ICE.
11470 # These have to be linked with before -lX11, unlike the other
11471 # libraries we check for below, so use a different variable.
11472 # John Interrante, Karl Berry
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11474 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11475 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_lib_save_LIBS=$LIBS
11479 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11486 #ifdef __cplusplus
11487 extern "C"
11488 #endif
11489 char IceConnectionNumber ();
11491 main ()
11493 return IceConnectionNumber ();
11495 return 0;
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 ac_cv_lib_ICE_IceConnectionNumber=yes
11500 else
11501 ac_cv_lib_ICE_IceConnectionNumber=no
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_lib_save_LIBS
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11508 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11509 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11510 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11513 LDFLAGS=$ac_save_LDFLAGS
11518 if test "$have_x" = "yes"
11519 then
11520 ac_save_CPPFLAGS="$CPPFLAGS"
11521 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11524 $as_echo_n "checking for -lX11... " >&6; }
11525 if ${ac_cv_lib_soname_X11+:} false; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 ac_check_soname_save_LIBS=$LIBS
11529 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11536 #ifdef __cplusplus
11537 extern "C"
11538 #endif
11539 char XCreateWindow ();
11541 main ()
11543 return XCreateWindow ();
11545 return 0;
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"; then :
11549 case "$LIBEXT" in
11550 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11551 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'` ;;
11552 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11553 if ${ac_cv_lib_soname_X11:+false} :; then :
11554 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11555 fi ;;
11556 esac
11557 else
11558 ac_cv_lib_soname_X11=
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_soname_save_LIBS
11564 if ${ac_cv_lib_soname_X11:+false} :; then :
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11566 $as_echo "not found" >&6; }
11568 else
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11570 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11572 cat >>confdefs.h <<_ACEOF
11573 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11574 _ACEOF
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11579 $as_echo_n "checking for -lXext... " >&6; }
11580 if ${ac_cv_lib_soname_Xext+:} false; then :
11581 $as_echo_n "(cached) " >&6
11582 else
11583 ac_check_soname_save_LIBS=$LIBS
11584 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11591 #ifdef __cplusplus
11592 extern "C"
11593 #endif
11594 char XextCreateExtension ();
11596 main ()
11598 return XextCreateExtension ();
11600 return 0;
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 case "$LIBEXT" in
11605 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11606 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'` ;;
11607 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11608 if ${ac_cv_lib_soname_Xext:+false} :; then :
11609 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11610 fi ;;
11611 esac
11612 else
11613 ac_cv_lib_soname_Xext=
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if ${ac_cv_lib_soname_Xext:+false} :; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11625 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11629 _ACEOF
11631 X_LIBS="$X_LIBS -lXext"
11633 X_LIBS="$X_LIBS -lX11"
11635 for ac_header in X11/Xlib.h \
11636 X11/XKBlib.h \
11637 X11/Xutil.h \
11638 X11/Xcursor/Xcursor.h \
11639 X11/extensions/shape.h \
11640 X11/extensions/XInput.h \
11641 X11/extensions/XInput2.h \
11642 X11/extensions/XShm.h \
11643 X11/extensions/Xcomposite.h \
11644 X11/extensions/Xfixes.h \
11645 X11/extensions/Xinerama.h \
11646 X11/extensions/Xrandr.h \
11647 X11/extensions/Xrender.h \
11648 X11/extensions/xf86vmode.h \
11649 X11/extensions/xf86vmproto.h
11650 do :
11651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11653 # include <X11/Xlib.h>
11654 #endif
11655 #ifdef HAVE_X11_XUTIL_H
11656 # include <X11/Xutil.h>
11657 #endif
11659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11660 cat >>confdefs.h <<_ACEOF
11661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11662 _ACEOF
11666 done
11669 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11670 then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11672 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11673 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_lib_save_LIBS=$LIBS
11677 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char XkbQueryExtension ();
11689 main ()
11691 return XkbQueryExtension ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 ac_cv_lib_X11_XkbQueryExtension=yes
11698 else
11699 ac_cv_lib_X11_XkbQueryExtension=no
11701 rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11706 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11707 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11709 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11715 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11716 then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11718 $as_echo_n "checking for -lXcursor... " >&6; }
11719 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_soname_save_LIBS=$LIBS
11723 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
11733 char XcursorImageLoadCursor ();
11735 main ()
11737 return XcursorImageLoadCursor ();
11739 return 0;
11741 _ACEOF
11742 if ac_fn_c_try_link "$LINENO"; then :
11743 case "$LIBEXT" in
11744 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11745 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'` ;;
11746 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11747 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11748 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11749 fi ;;
11750 esac
11751 else
11752 ac_cv_lib_soname_Xcursor=
11754 rm -f core conftest.err conftest.$ac_objext \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_soname_save_LIBS
11758 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11760 $as_echo "not found" >&6; }
11762 else
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11764 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11766 cat >>confdefs.h <<_ACEOF
11767 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11768 _ACEOF
11773 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11774 case "x$with_xcursor" in
11775 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11776 xno) ;;
11777 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11778 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11779 esac
11783 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11784 then
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11786 $as_echo_n "checking for -lXi... " >&6; }
11787 if ${ac_cv_lib_soname_Xi+:} false; then :
11788 $as_echo_n "(cached) " >&6
11789 else
11790 ac_check_soname_save_LIBS=$LIBS
11791 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char XOpenDevice ();
11803 main ()
11805 return XOpenDevice ();
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 case "$LIBEXT" in
11812 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11813 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'` ;;
11814 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11815 if ${ac_cv_lib_soname_Xi:+false} :; then :
11816 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11817 fi ;;
11818 esac
11819 else
11820 ac_cv_lib_soname_Xi=
11822 rm -f core conftest.err conftest.$ac_objext \
11823 conftest$ac_exeext conftest.$ac_ext
11824 LIBS=$ac_check_soname_save_LIBS
11826 if ${ac_cv_lib_soname_Xi:+false} :; then :
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11828 $as_echo "not found" >&6; }
11830 else
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11832 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11834 cat >>confdefs.h <<_ACEOF
11835 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11836 _ACEOF
11841 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11842 case "x$with_xinput" in
11843 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11844 xno) ;;
11845 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11846 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11847 esac
11851 if test "x$ac_cv_lib_soname_Xi" != x
11852 then
11853 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11854 case "x$with_xinput2" in
11855 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11856 xno) ;;
11857 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11858 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11859 esac
11864 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11865 then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11867 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11868 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 ac_check_lib_save_LIBS=$LIBS
11872 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11879 #ifdef __cplusplus
11880 extern "C"
11881 #endif
11882 char XShmQueryExtension ();
11884 main ()
11886 return XShmQueryExtension ();
11888 return 0;
11890 _ACEOF
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 ac_cv_lib_Xext_XShmQueryExtension=yes
11893 else
11894 ac_cv_lib_Xext_XShmQueryExtension=no
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11901 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11902 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11904 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11909 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11910 case "x$with_xshm" in
11911 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11912 xno) ;;
11913 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11914 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11915 esac
11919 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11920 then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11922 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11923 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11924 $as_echo_n "(cached) " >&6
11925 else
11926 ac_check_lib_save_LIBS=$LIBS
11927 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11934 #ifdef __cplusplus
11935 extern "C"
11936 #endif
11937 char XShapeQueryExtension ();
11939 main ()
11941 return XShapeQueryExtension ();
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_link "$LINENO"; then :
11947 ac_cv_lib_Xext_XShapeQueryExtension=yes
11948 else
11949 ac_cv_lib_Xext_XShapeQueryExtension=no
11951 rm -f core conftest.err conftest.$ac_objext \
11952 conftest$ac_exeext conftest.$ac_ext
11953 LIBS=$ac_check_lib_save_LIBS
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11956 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11957 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11959 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11964 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11965 case "x$with_xshape" in
11966 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11967 xno) ;;
11968 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11969 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11970 esac
11974 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11975 then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11977 $as_echo_n "checking for -lXxf86vm... " >&6; }
11978 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11979 $as_echo_n "(cached) " >&6
11980 else
11981 ac_check_soname_save_LIBS=$LIBS
11982 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char XF86VidModeQueryExtension ();
11994 main ()
11996 return XF86VidModeQueryExtension ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002 case "$LIBEXT" in
12003 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12004 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'` ;;
12005 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12006 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12007 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12008 fi ;;
12009 esac
12010 else
12011 ac_cv_lib_soname_Xxf86vm=
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LIBS=$ac_check_soname_save_LIBS
12017 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12019 $as_echo "not found" >&6; }
12021 else
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12023 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12025 cat >>confdefs.h <<_ACEOF
12026 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12027 _ACEOF
12032 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12033 case "x$with_xxf86vm" in
12034 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12035 xno) ;;
12036 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12037 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12038 esac
12042 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12043 then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12045 $as_echo_n "checking for -lXrender... " >&6; }
12046 if ${ac_cv_lib_soname_Xrender+:} false; then :
12047 $as_echo_n "(cached) " >&6
12048 else
12049 ac_check_soname_save_LIBS=$LIBS
12050 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12057 #ifdef __cplusplus
12058 extern "C"
12059 #endif
12060 char XRenderQueryExtension ();
12062 main ()
12064 return XRenderQueryExtension ();
12066 return 0;
12068 _ACEOF
12069 if ac_fn_c_try_link "$LINENO"; then :
12070 case "$LIBEXT" in
12071 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12072 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'` ;;
12073 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12074 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12075 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12076 fi ;;
12077 esac
12078 else
12079 ac_cv_lib_soname_Xrender=
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_soname_save_LIBS
12085 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12087 $as_echo "not found" >&6; }
12089 else
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12091 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12093 cat >>confdefs.h <<_ACEOF
12094 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12095 _ACEOF
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12098 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12099 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char XRenderSetPictureTransform ();
12115 main ()
12117 return XRenderSetPictureTransform ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12124 else
12125 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12132 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12133 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12135 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12140 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12141 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 #ifdef __cplusplus
12153 extern "C"
12154 #endif
12155 char XRenderCreateLinearGradient ();
12157 main ()
12159 return XRenderCreateLinearGradient ();
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12166 else
12167 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 LIBS=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12174 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12175 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12177 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12184 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12185 case "x$with_xrender" in
12186 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12187 xno) ;;
12188 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12189 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12190 esac
12194 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12195 then
12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12198 #include <X11/Xlib.h>
12199 #include <X11/extensions/Xrandr.h>
12201 main ()
12203 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12205 return 0;
12207 _ACEOF
12208 if ac_fn_c_try_compile "$LINENO"; then :
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12210 $as_echo_n "checking for -lXrandr... " >&6; }
12211 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12212 $as_echo_n "(cached) " >&6
12213 else
12214 ac_check_soname_save_LIBS=$LIBS
12215 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12219 /* Override any GCC internal prototype to avoid an error.
12220 Use char because int might match the return type of a GCC
12221 builtin and then its argument prototype would still apply. */
12222 #ifdef __cplusplus
12223 extern "C"
12224 #endif
12225 char XRRQueryExtension ();
12227 main ()
12229 return XRRQueryExtension ();
12231 return 0;
12233 _ACEOF
12234 if ac_fn_c_try_link "$LINENO"; then :
12235 case "$LIBEXT" in
12236 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12237 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'` ;;
12238 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12239 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12240 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12241 fi ;;
12242 esac
12243 else
12244 ac_cv_lib_soname_Xrandr=
12246 rm -f core conftest.err conftest.$ac_objext \
12247 conftest$ac_exeext conftest.$ac_ext
12248 LIBS=$ac_check_soname_save_LIBS
12250 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12252 $as_echo "not found" >&6; }
12254 else
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12256 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12258 cat >>confdefs.h <<_ACEOF
12259 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12260 _ACEOF
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12264 #include <X11/Xlib.h>
12265 #include <X11/extensions/Xrandr.h>
12267 main ()
12269 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_compile "$LINENO"; then :
12276 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12278 else
12279 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12286 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12287 case "x$with_xrandr" in
12288 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12289 xno) ;;
12290 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12291 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12292 esac
12296 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12297 then
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12300 #include <X11/Xlib.h>
12301 #include <X11/extensions/Xfixes.h>
12303 main ()
12305 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_compile "$LINENO"; then :
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12312 $as_echo_n "checking for -lXfixes... " >&6; }
12313 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12314 $as_echo_n "(cached) " >&6
12315 else
12316 ac_check_soname_save_LIBS=$LIBS
12317 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 #ifdef __cplusplus
12325 extern "C"
12326 #endif
12327 char XFixesQueryVersion ();
12329 main ()
12331 return XFixesQueryVersion ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"; then :
12337 case "$LIBEXT" in
12338 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12339 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'` ;;
12340 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12341 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12342 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12343 fi ;;
12344 esac
12345 else
12346 ac_cv_lib_soname_Xfixes=
12348 rm -f core conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
12350 LIBS=$ac_check_soname_save_LIBS
12352 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12354 $as_echo "not found" >&6; }
12356 else
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12358 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12360 cat >>confdefs.h <<_ACEOF
12361 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12362 _ACEOF
12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12369 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12370 case "x$with_xfixes" in
12371 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12372 xno) ;;
12373 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12374 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12375 esac
12379 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12380 then
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12383 #include <X11/Xlib.h>
12384 #include <X11/extensions/Xinerama.h>
12386 main ()
12388 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12390 return 0;
12392 _ACEOF
12393 if ac_fn_c_try_compile "$LINENO"; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12395 $as_echo_n "checking for -lXinerama... " >&6; }
12396 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12397 $as_echo_n "(cached) " >&6
12398 else
12399 ac_check_soname_save_LIBS=$LIBS
12400 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 /* Override any GCC internal prototype to avoid an error.
12405 Use char because int might match the return type of a GCC
12406 builtin and then its argument prototype would still apply. */
12407 #ifdef __cplusplus
12408 extern "C"
12409 #endif
12410 char XineramaQueryScreens ();
12412 main ()
12414 return XineramaQueryScreens ();
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_link "$LINENO"; then :
12420 case "$LIBEXT" in
12421 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12422 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'` ;;
12423 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12424 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12425 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12426 fi ;;
12427 esac
12428 else
12429 ac_cv_lib_soname_Xinerama=
12431 rm -f core conftest.err conftest.$ac_objext \
12432 conftest$ac_exeext conftest.$ac_ext
12433 LIBS=$ac_check_soname_save_LIBS
12435 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12437 $as_echo "not found" >&6; }
12439 else
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12441 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12443 cat >>confdefs.h <<_ACEOF
12444 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12445 _ACEOF
12450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12452 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12453 case "x$with_xinerama" in
12454 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12457 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12458 esac
12462 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12463 then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12465 $as_echo_n "checking for -lXcomposite... " >&6; }
12466 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 ac_check_soname_save_LIBS=$LIBS
12470 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char XCompositeRedirectWindow ();
12482 main ()
12484 return XCompositeRedirectWindow ();
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 case "$LIBEXT" in
12491 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12492 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'` ;;
12493 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12494 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12495 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12496 fi ;;
12497 esac
12498 else
12499 ac_cv_lib_soname_Xcomposite=
12501 rm -f core conftest.err conftest.$ac_objext \
12502 conftest$ac_exeext conftest.$ac_ext
12503 LIBS=$ac_check_soname_save_LIBS
12505 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12507 $as_echo "not found" >&6; }
12509 else
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12511 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12513 cat >>confdefs.h <<_ACEOF
12514 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12515 _ACEOF
12520 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12521 case "x$with_xcomposite" in
12522 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12523 xno) ;;
12524 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12525 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12526 esac
12530 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12531 #include <X11/Xlib.h>
12532 #endif
12534 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12536 cat >>confdefs.h <<_ACEOF
12537 #define HAVE_XICCALLBACK_CALLBACK 1
12538 _ACEOF
12542 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12543 #include <X11/Xlib.h>
12544 #endif
12546 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12548 cat >>confdefs.h <<_ACEOF
12549 #define HAVE_XEVENT_XCOOKIE 1
12550 _ACEOF
12557 opengl_msg=""
12558 if test "x$with_opengl" != "xno"
12559 then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12561 $as_echo_n "checking for -lGL... " >&6; }
12562 if ${ac_cv_lib_soname_GL+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 ac_check_soname_save_LIBS=$LIBS
12566 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12573 #ifdef __cplusplus
12574 extern "C"
12575 #endif
12576 char glXCreateContext ();
12578 main ()
12580 return glXCreateContext ();
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_link "$LINENO"; then :
12586 case "$LIBEXT" in
12587 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12588 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'` ;;
12589 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12590 if ${ac_cv_lib_soname_GL:+false} :; then :
12591 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12592 fi ;;
12593 esac
12594 else
12595 ac_cv_lib_soname_GL=
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_soname_save_LIBS
12601 if ${ac_cv_lib_soname_GL:+false} :; then :
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12603 $as_echo "not found" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12605 $as_echo_n "checking for -lGL... " >&6; }
12606 if ${ac_cv_lib_soname_GL+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_check_soname_save_LIBS=$LIBS
12610 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"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char glXCreateContext ();
12622 main ()
12624 return glXCreateContext ();
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 case "$LIBEXT" in
12631 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12632 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'` ;;
12633 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12634 if ${ac_cv_lib_soname_GL:+false} :; then :
12635 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12636 fi ;;
12637 esac
12638 else
12639 ac_cv_lib_soname_GL=
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 LIBS=$ac_check_soname_save_LIBS
12645 if ${ac_cv_lib_soname_GL:+false} :; then :
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12647 $as_echo "not found" >&6; }
12648 if test -f /usr/X11R6/lib/libGL.a
12649 then
12650 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12651 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12652 else
12653 opengl_msg="No OpenGL library found on this system."
12655 else
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12657 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12659 cat >>confdefs.h <<_ACEOF
12660 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12661 _ACEOF
12663 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"
12665 else
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12667 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12669 cat >>confdefs.h <<_ACEOF
12670 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12671 _ACEOF
12673 OPENGL_LIBS="-lGL"
12675 if test "x$with_osmesa" != "xno"
12676 then
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12678 $as_echo_n "checking for -lOSMesa... " >&6; }
12679 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12680 $as_echo_n "(cached) " >&6
12681 else
12682 ac_check_soname_save_LIBS=$LIBS
12683 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 /* Override any GCC internal prototype to avoid an error.
12688 Use char because int might match the return type of a GCC
12689 builtin and then its argument prototype would still apply. */
12690 #ifdef __cplusplus
12691 extern "C"
12692 #endif
12693 char OSMesaGetProcAddress ();
12695 main ()
12697 return OSMesaGetProcAddress ();
12699 return 0;
12701 _ACEOF
12702 if ac_fn_c_try_link "$LINENO"; then :
12703 case "$LIBEXT" in
12704 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12705 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'` ;;
12706 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12707 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12708 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12709 fi ;;
12710 esac
12711 else
12712 ac_cv_lib_soname_OSMesa=
12714 rm -f core conftest.err conftest.$ac_objext \
12715 conftest$ac_exeext conftest.$ac_ext
12716 LIBS=$ac_check_soname_save_LIBS
12718 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12720 $as_echo "not found" >&6; }
12722 else
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12724 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12726 cat >>confdefs.h <<_ACEOF
12727 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12728 _ACEOF
12732 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12733 case "x$with_osmesa" in
12734 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12735 xno) ;;
12736 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12737 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12738 esac
12743 if test -n "$opengl_msg"; then :
12744 case "x$with_opengl" in
12745 x) as_fn_append wine_warnings "|$opengl_msg
12746 OpenGL and Direct3D won't be supported." ;;
12747 xno) ;;
12748 *) as_fn_error $? "$opengl_msg
12749 OpenGL and Direct3D won't be supported.
12750 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12751 esac
12755 CPPFLAGS="$ac_save_CPPFLAGS"
12756 else
12757 X_CFLAGS=""
12758 X_LIBS=""
12761 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12762 then
12763 if test "x$X_LIBS" = "x"; then :
12764 case "x$with_x" in
12765 xno) ;;
12766 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12767 without X support, which probably isn't what you want. You will need
12768 to install ${notice_platform}development packages of Xlib at the very least.
12769 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12770 esac
12771 enable_winex11_drv=${enable_winex11_drv:-no}
12773 else
12774 if test "x$X_LIBS" = "x"; then :
12775 case "x$with_x" in
12776 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12777 xno) ;;
12778 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12779 This is an error since --with-x was requested." "$LINENO" 5 ;;
12780 esac
12781 enable_winex11_drv=${enable_winex11_drv:-no}
12785 if test "$ac_cv_header_CL_cl_h" = "yes"
12786 then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12788 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12789 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12790 $as_echo_n "(cached) " >&6
12791 else
12792 ac_check_lib_save_LIBS=$LIBS
12793 LIBS="-lOpenCL $LIBS"
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12800 #ifdef __cplusplus
12801 extern "C"
12802 #endif
12803 char clGetPlatformInfo ();
12805 main ()
12807 return clGetPlatformInfo ();
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_link "$LINENO"; then :
12813 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12814 else
12815 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12817 rm -f core conftest.err conftest.$ac_objext \
12818 conftest$ac_exeext conftest.$ac_ext
12819 LIBS=$ac_check_lib_save_LIBS
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12822 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12824 OPENCL_LIBS="-lOpenCL"
12829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12830 case "x$with_opencl" in
12831 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12832 xno) ;;
12833 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12835 esac
12836 enable_opencl=${enable_opencl:-no}
12839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12842 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12843 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_lib_save_LIBS=$LIBS
12847 LIBS="-lpcap $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char pcap_create ();
12859 main ()
12861 return pcap_create ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 ac_cv_lib_pcap_pcap_create=yes
12868 else
12869 ac_cv_lib_pcap_pcap_create=no
12871 rm -f core conftest.err conftest.$ac_objext \
12872 conftest$ac_exeext conftest.$ac_ext
12873 LIBS=$ac_check_lib_save_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12876 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12877 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12878 PCAP_LIBS="-lpcap"
12883 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12884 case "x$with_pcap" in
12885 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12886 xno) ;;
12887 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12888 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12889 esac
12890 enable_wpcap=${enable_wpcap:-no}
12894 if test "x$with_xml" != "xno"
12895 then
12896 if ${XML2_CFLAGS:+false} :; then :
12897 if ${PKG_CONFIG+:} false; then :
12898 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12901 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12902 if ${XML2_LIBS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12907 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12908 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12910 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12911 ac_save_CPPFLAGS=$CPPFLAGS
12912 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12913 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12914 do :
12915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12916 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12918 cat >>confdefs.h <<_ACEOF
12919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12920 _ACEOF
12924 done
12926 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"
12927 then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12929 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12930 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12931 $as_echo_n "(cached) " >&6
12932 else
12933 ac_check_lib_save_LIBS=$LIBS
12934 LIBS="-lxml2 $XML2_LIBS $LIBS"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char xmlParseMemory ();
12946 main ()
12948 return xmlParseMemory ();
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 ac_cv_lib_xml2_xmlParseMemory=yes
12955 else
12956 ac_cv_lib_xml2_xmlParseMemory=no
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_lib_save_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12963 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12964 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12966 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12968 else
12969 XML2_LIBS=""
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12973 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12974 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
12977 ac_check_lib_save_LIBS=$LIBS
12978 LIBS="-lxml2 $XML2_LIBS $LIBS"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12982 /* Override any GCC internal prototype to avoid an error.
12983 Use char because int might match the return type of a GCC
12984 builtin and then its argument prototype would still apply. */
12985 #ifdef __cplusplus
12986 extern "C"
12987 #endif
12988 char xmlReadMemory ();
12990 main ()
12992 return xmlReadMemory ();
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_link "$LINENO"; then :
12998 ac_cv_lib_xml2_xmlReadMemory=yes
12999 else
13000 ac_cv_lib_xml2_xmlReadMemory=no
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_lib_save_LIBS
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13007 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13008 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13010 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13015 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13016 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13017 $as_echo_n "(cached) " >&6
13018 else
13019 ac_check_lib_save_LIBS=$LIBS
13020 LIBS="-lxml2 $XML2_LIBS $LIBS"
13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13027 #ifdef __cplusplus
13028 extern "C"
13029 #endif
13030 char xmlNewDocPI ();
13032 main ()
13034 return xmlNewDocPI ();
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_link "$LINENO"; then :
13040 ac_cv_lib_xml2_xmlNewDocPI=yes
13041 else
13042 ac_cv_lib_xml2_xmlNewDocPI=no
13044 rm -f core conftest.err conftest.$ac_objext \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_lib_save_LIBS
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13049 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13050 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13052 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13057 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13058 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13059 $as_echo_n "(cached) " >&6
13060 else
13061 ac_check_lib_save_LIBS=$LIBS
13062 LIBS="-lxml2 $XML2_LIBS $LIBS"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13069 #ifdef __cplusplus
13070 extern "C"
13071 #endif
13072 char xmlSchemaSetParserStructuredErrors ();
13074 main ()
13076 return xmlSchemaSetParserStructuredErrors ();
13078 return 0;
13080 _ACEOF
13081 if ac_fn_c_try_link "$LINENO"; then :
13082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13083 else
13084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13086 rm -f core conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LIBS=$ac_check_lib_save_LIBS
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13091 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13092 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13094 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13099 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13100 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13101 $as_echo_n "(cached) " >&6
13102 else
13103 ac_check_lib_save_LIBS=$LIBS
13104 LIBS="-lxml2 $XML2_LIBS $LIBS"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 /* Override any GCC internal prototype to avoid an error.
13109 Use char because int might match the return type of a GCC
13110 builtin and then its argument prototype would still apply. */
13111 #ifdef __cplusplus
13112 extern "C"
13113 #endif
13114 char xmlSchemaSetValidStructuredErrors ();
13116 main ()
13118 return xmlSchemaSetValidStructuredErrors ();
13120 return 0;
13122 _ACEOF
13123 if ac_fn_c_try_link "$LINENO"; then :
13124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13125 else
13126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13128 rm -f core conftest.err conftest.$ac_objext \
13129 conftest$ac_exeext conftest.$ac_ext
13130 LIBS=$ac_check_lib_save_LIBS
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13133 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13134 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13136 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13141 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13142 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_check_lib_save_LIBS=$LIBS
13146 LIBS="-lxml2 $XML2_LIBS $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 char xmlFirstElementChild ();
13158 main ()
13160 return xmlFirstElementChild ();
13162 return 0;
13164 _ACEOF
13165 if ac_fn_c_try_link "$LINENO"; then :
13166 ac_cv_lib_xml2_xmlFirstElementChild=yes
13167 else
13168 ac_cv_lib_xml2_xmlFirstElementChild=no
13170 rm -f core conftest.err conftest.$ac_objext \
13171 conftest$ac_exeext conftest.$ac_ext
13172 LIBS=$ac_check_lib_save_LIBS
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13175 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13176 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13178 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13182 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13184 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13186 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13190 else
13191 XML2_CFLAGS=""
13192 XML2_LIBS=""
13194 CPPFLAGS=$ac_save_CPPFLAGS
13197 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13198 case "x$with_xml" in
13199 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13200 xno) ;;
13201 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13202 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13203 esac
13207 if test "x$with_xslt" != "xno"
13208 then
13209 if ${XSLT_CFLAGS:+false} :; then :
13210 if ${PKG_CONFIG+:} false; then :
13211 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13214 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13215 if ${XSLT_LIBS:+false} :; then :
13216 if ${PKG_CONFIG+:} false; then :
13217 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13220 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13221 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13224 ac_save_CPPFLAGS=$CPPFLAGS
13225 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13226 for ac_header in libxslt/pattern.h libxslt/transform.h
13227 do :
13228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13229 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13230 # include <libxslt/pattern.h>
13231 #endif
13233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13234 cat >>confdefs.h <<_ACEOF
13235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13236 _ACEOF
13240 done
13242 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13243 then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13245 $as_echo_n "checking for -lxslt... " >&6; }
13246 if ${ac_cv_lib_soname_xslt+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_soname_save_LIBS=$LIBS
13250 LIBS="-lxslt $XSLT_LIBS $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char xsltCompilePattern ();
13262 main ()
13264 return xsltCompilePattern ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 case "$LIBEXT" in
13271 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_xslt:+false} :; then :
13275 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13276 fi ;;
13277 esac
13278 else
13279 ac_cv_lib_soname_xslt=
13281 rm -f core conftest.err conftest.$ac_objext \
13282 conftest$ac_exeext conftest.$ac_ext
13283 LIBS=$ac_check_soname_save_LIBS
13285 if ${ac_cv_lib_soname_xslt:+false} :; then :
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13287 $as_echo "not found" >&6; }
13289 else
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13291 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13293 cat >>confdefs.h <<_ACEOF
13294 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13295 _ACEOF
13299 else
13300 XSLT_CFLAGS=""
13302 CPPFLAGS=$ac_save_CPPFLAGS
13305 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13306 case "x$with_xslt" in
13307 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13308 xno) ;;
13309 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13310 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13311 esac
13315 if test "x$with_inotify" != "xno"
13316 then
13317 if ${INOTIFY_CFLAGS:+false} :; then :
13318 if ${PKG_CONFIG+:} false; then :
13319 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13323 if ${INOTIFY_LIBS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13330 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13331 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13332 ac_save_CPPFLAGS=$CPPFLAGS
13333 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13334 for ac_header in sys/inotify.h
13335 do :
13336 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13337 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13338 cat >>confdefs.h <<_ACEOF
13339 #define HAVE_SYS_INOTIFY_H 1
13340 _ACEOF
13344 done
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13347 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13348 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13349 $as_echo_n "(cached) " >&6
13350 else
13351 ac_check_lib_save_LIBS=$LIBS
13352 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13356 /* Override any GCC internal prototype to avoid an error.
13357 Use char because int might match the return type of a GCC
13358 builtin and then its argument prototype would still apply. */
13359 #ifdef __cplusplus
13360 extern "C"
13361 #endif
13362 char inotify_add_watch ();
13364 main ()
13366 return inotify_add_watch ();
13368 return 0;
13370 _ACEOF
13371 if ac_fn_c_try_link "$LINENO"; then :
13372 ac_cv_lib_inotify_inotify_add_watch=yes
13373 else
13374 ac_cv_lib_inotify_inotify_add_watch=no
13376 rm -f core conftest.err conftest.$ac_objext \
13377 conftest$ac_exeext conftest.$ac_ext
13378 LIBS=$ac_check_lib_save_LIBS
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13381 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13382 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13384 else
13385 INOTIFY_LIBS=""
13388 CPPFLAGS=$ac_save_CPPFLAGS
13391 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13392 case "x$with_inotify" in
13393 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13396 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13397 esac
13401 if test "x$with_dbus" != "xno"
13402 then
13403 if ${DBUS_CFLAGS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13409 if ${DBUS_LIBS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13416 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13417 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13418 ac_save_CPPFLAGS=$CPPFLAGS
13419 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13420 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13421 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13423 $as_echo_n "checking for -ldbus-1... " >&6; }
13424 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13425 $as_echo_n "(cached) " >&6
13426 else
13427 ac_check_soname_save_LIBS=$LIBS
13428 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13432 /* Override any GCC internal prototype to avoid an error.
13433 Use char because int might match the return type of a GCC
13434 builtin and then its argument prototype would still apply. */
13435 #ifdef __cplusplus
13436 extern "C"
13437 #endif
13438 char dbus_connection_close ();
13440 main ()
13442 return dbus_connection_close ();
13444 return 0;
13446 _ACEOF
13447 if ac_fn_c_try_link "$LINENO"; then :
13448 case "$LIBEXT" in
13449 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13450 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'` ;;
13451 *) 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'`
13452 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13453 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13454 fi ;;
13455 esac
13456 else
13457 ac_cv_lib_soname_dbus_1=
13459 rm -f core conftest.err conftest.$ac_objext \
13460 conftest$ac_exeext conftest.$ac_ext
13461 LIBS=$ac_check_soname_save_LIBS
13463 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13465 $as_echo "not found" >&6; }
13466 DBUS_CFLAGS=""
13467 else
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13469 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13471 cat >>confdefs.h <<_ACEOF
13472 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13473 _ACEOF
13477 else
13478 DBUS_CFLAGS=""
13482 CPPFLAGS=$ac_save_CPPFLAGS
13485 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13486 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13487 case "x$with_dbus" in
13488 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13489 xno) ;;
13490 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13491 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13492 esac
13496 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13497 then
13498 if ${HAL_CFLAGS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13504 if ${HAL_LIBS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13510 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13511 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13512 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13513 ac_save_CPPFLAGS=$CPPFLAGS
13514 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13515 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13518 $as_echo_n "checking for -lhal... " >&6; }
13519 if ${ac_cv_lib_soname_hal+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_check_soname_save_LIBS=$LIBS
13523 LIBS="-lhal $HAL_LIBS $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 char libhal_ctx_new ();
13535 main ()
13537 return libhal_ctx_new ();
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 case "$LIBEXT" in
13544 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13545 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'` ;;
13546 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13547 if ${ac_cv_lib_soname_hal:+false} :; then :
13548 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13549 fi ;;
13550 esac
13551 else
13552 ac_cv_lib_soname_hal=
13554 rm -f core conftest.err conftest.$ac_objext \
13555 conftest$ac_exeext conftest.$ac_ext
13556 LIBS=$ac_check_soname_save_LIBS
13558 if ${ac_cv_lib_soname_hal:+false} :; then :
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13560 $as_echo "not found" >&6; }
13561 HAL_CFLAGS=""
13562 else
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13564 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13566 cat >>confdefs.h <<_ACEOF
13567 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13568 _ACEOF
13572 else
13573 HAL_CFLAGS=""
13577 CPPFLAGS=$ac_save_CPPFLAGS
13579 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13580 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13581 case "x$with_hal" in
13582 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13583 xno) ;;
13584 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13585 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13586 esac
13591 if test "x$with_gnutls" != "xno"
13592 then
13593 if ${GNUTLS_CFLAGS:+false} :; then :
13594 if ${PKG_CONFIG+:} false; then :
13595 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13599 if ${GNUTLS_LIBS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13605 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13606 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13607 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13608 ac_save_CPPFLAGS=$CPPFLAGS
13609 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13610 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13611 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13614 #include <gnutls/gnutls.h>
13615 #include <gnutls/crypto.h>
13617 main ()
13619 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_compile "$LINENO"; then :
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13626 $as_echo_n "checking for -lgnutls... " >&6; }
13627 if ${ac_cv_lib_soname_gnutls+:} false; then :
13628 $as_echo_n "(cached) " >&6
13629 else
13630 ac_check_soname_save_LIBS=$LIBS
13631 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13638 #ifdef __cplusplus
13639 extern "C"
13640 #endif
13641 char gnutls_global_init ();
13643 main ()
13645 return gnutls_global_init ();
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 case "$LIBEXT" in
13652 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13653 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'` ;;
13654 *) 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'`
13655 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13656 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'`
13657 fi ;;
13658 esac
13659 else
13660 ac_cv_lib_soname_gnutls=
13662 rm -f core conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 LIBS=$ac_check_soname_save_LIBS
13666 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13668 $as_echo "not found" >&6; }
13669 GNUTLS_CFLAGS=""
13670 else
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13672 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13674 cat >>confdefs.h <<_ACEOF
13675 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13676 _ACEOF
13680 ac_wine_check_funcs_save_LIBS="$LIBS"
13681 LIBS="$LIBS $GNUTLS_LIBS"
13682 for ac_func in gnutls_cipher_init
13683 do :
13684 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13685 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13686 cat >>confdefs.h <<_ACEOF
13687 #define HAVE_GNUTLS_CIPHER_INIT 1
13688 _ACEOF
13690 else
13691 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13693 done
13695 LIBS="$ac_wine_check_funcs_save_LIBS"
13697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 else
13699 GNUTLS_CFLAGS=""
13703 CPPFLAGS=$ac_save_CPPFLAGS
13706 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13707 case "x$with_gnutls" in
13708 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13709 xno) ;;
13710 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13711 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13712 esac
13716 if test "x$with_sane" != "xno"
13717 then
13718 if ${SANE_CFLAGS:+false} :; then :
13719 if ${PKG_CONFIG+:} false; then :
13720 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13723 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13724 if ${SANE_LIBS:+false} :; then :
13725 if ${PKG_CONFIG+:} false; then :
13726 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13729 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13731 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13732 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13733 ac_save_CPPFLAGS=$CPPFLAGS
13734 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13735 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13736 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13738 $as_echo_n "checking for -lsane... " >&6; }
13739 if ${ac_cv_lib_soname_sane+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 ac_check_soname_save_LIBS=$LIBS
13743 LIBS="-lsane $SANE_LIBS $LIBS"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13747 /* Override any GCC internal prototype to avoid an error.
13748 Use char because int might match the return type of a GCC
13749 builtin and then its argument prototype would still apply. */
13750 #ifdef __cplusplus
13751 extern "C"
13752 #endif
13753 char sane_init ();
13755 main ()
13757 return sane_init ();
13759 return 0;
13761 _ACEOF
13762 if ac_fn_c_try_link "$LINENO"; then :
13763 case "$LIBEXT" in
13764 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13765 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'` ;;
13766 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13767 if ${ac_cv_lib_soname_sane:+false} :; then :
13768 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13769 fi ;;
13770 esac
13771 else
13772 ac_cv_lib_soname_sane=
13774 rm -f core conftest.err conftest.$ac_objext \
13775 conftest$ac_exeext conftest.$ac_ext
13776 LIBS=$ac_check_soname_save_LIBS
13778 if ${ac_cv_lib_soname_sane:+false} :; then :
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13780 $as_echo "not found" >&6; }
13781 SANE_CFLAGS=""
13782 else
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13784 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13786 cat >>confdefs.h <<_ACEOF
13787 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13788 _ACEOF
13792 else
13793 SANE_CFLAGS=""
13797 CPPFLAGS=$ac_save_CPPFLAGS
13800 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13801 case "x$with_sane" in
13802 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13803 xno) ;;
13804 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13805 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13806 esac
13810 if test "x$with_usb" != "xno"
13811 then
13812 if ${USB_CFLAGS:+false} :; then :
13813 if ${PKG_CONFIG+:} false; then :
13814 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13818 if ${USB_LIBS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13824 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13825 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13826 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13827 ac_save_CPPFLAGS=$CPPFLAGS
13828 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13829 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13830 if test "x$ac_cv_header_libusb_h" = xyes; then :
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13832 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13833 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 ac_check_lib_save_LIBS=$LIBS
13837 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 #endif
13847 char libusb_interrupt_event_handler ();
13849 main ()
13851 return libusb_interrupt_event_handler ();
13853 return 0;
13855 _ACEOF
13856 if ac_fn_c_try_link "$LINENO"; then :
13857 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13858 else
13859 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13861 rm -f core conftest.err conftest.$ac_objext \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_lib_save_LIBS
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13866 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13867 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13869 else
13870 USB_LIBS=""
13873 else
13874 USB_LIBS=""
13878 CPPFLAGS=$ac_save_CPPFLAGS
13881 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13882 case "x$with_usb" in
13883 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13884 xno) ;;
13885 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13886 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13887 esac
13888 enable_wineusb_sys=${enable_wineusb_sys:-no}
13891 if test "x$with_v4l2" != "xno"
13892 then
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13894 $as_echo_n "checking for -lv4l2... " >&6; }
13895 if ${ac_cv_lib_soname_v4l2+:} false; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 ac_check_soname_save_LIBS=$LIBS
13899 LIBS="-lv4l2 $LIBS"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 #ifdef __cplusplus
13907 extern "C"
13908 #endif
13909 char v4l2_open ();
13911 main ()
13913 return v4l2_open ();
13915 return 0;
13917 _ACEOF
13918 if ac_fn_c_try_link "$LINENO"; then :
13919 case "$LIBEXT" in
13920 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13921 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'` ;;
13922 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13923 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13924 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13925 fi ;;
13926 esac
13927 else
13928 ac_cv_lib_soname_v4l2=
13930 rm -f core conftest.err conftest.$ac_objext \
13931 conftest$ac_exeext conftest.$ac_ext
13932 LIBS=$ac_check_soname_save_LIBS
13934 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13936 $as_echo "not found" >&6; }
13938 else
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13940 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13942 cat >>confdefs.h <<_ACEOF
13943 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13944 _ACEOF
13949 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13950 case "x$with_v4l2" in
13951 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13952 xno) ;;
13953 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13954 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13955 esac
13959 if test "x$with_gphoto" != "xno"
13960 then
13961 if ${GPHOTO2_CFLAGS:+false} :; then :
13962 if ${PKG_CONFIG+:} false; then :
13963 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13966 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13967 if ${GPHOTO2_LIBS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13972 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13973 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13974 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13975 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13976 ac_save_CPPFLAGS=$CPPFLAGS
13977 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13978 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13979 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13981 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13982 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 ac_check_lib_save_LIBS=$LIBS
13986 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
13993 #ifdef __cplusplus
13994 extern "C"
13995 #endif
13996 char gp_camera_new ();
13998 main ()
14000 return gp_camera_new ();
14002 return 0;
14004 _ACEOF
14005 if ac_fn_c_try_link "$LINENO"; then :
14006 ac_cv_lib_gphoto2_gp_camera_new=yes
14007 else
14008 ac_cv_lib_gphoto2_gp_camera_new=no
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_lib_save_LIBS
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14015 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14016 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14018 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14020 else
14021 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14024 else
14025 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14029 CPPFLAGS=$ac_save_CPPFLAGS
14031 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14032 if ${PKG_CONFIG+:} false; then :
14033 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14036 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14037 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14038 if ${PKG_CONFIG+:} false; then :
14039 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14042 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14043 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14044 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14045 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14046 ac_save_CPPFLAGS=$CPPFLAGS
14047 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14048 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14049 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14051 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14052 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 ac_check_lib_save_LIBS=$LIBS
14056 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14060 /* Override any GCC internal prototype to avoid an error.
14061 Use char because int might match the return type of a GCC
14062 builtin and then its argument prototype would still apply. */
14063 #ifdef __cplusplus
14064 extern "C"
14065 #endif
14066 char gp_port_info_list_new ();
14068 main ()
14070 return gp_port_info_list_new ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14077 else
14078 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14085 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14086 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14088 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14090 else
14091 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14094 else
14095 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14099 CPPFLAGS=$ac_save_CPPFLAGS
14102 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14103 case "x$with_gphoto" in
14104 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14105 xno) ;;
14106 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14107 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14108 esac
14111 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14112 case "x$with_gphoto" in
14113 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14114 xno) ;;
14115 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14116 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14117 esac
14122 if test "$ac_cv_header_resolv_h" = "yes"
14123 then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14125 $as_echo_n "checking for resolver library... " >&6; }
14126 if ${ac_cv_have_resolv+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_save_LIBS="$LIBS"
14130 for lib in '' -lresolv
14132 LIBS="$lib $ac_save_LIBS"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 #ifdef HAVE_NETINET_IN_H
14136 #include <netinet/in.h>
14137 #endif
14138 #include <resolv.h>
14140 main ()
14142 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14144 return 0;
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14148 ac_cv_have_resolv=${lib:-"none required"}
14149 else
14150 ac_cv_have_resolv="not found"
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 test "x$ac_cv_have_resolv" = "xnot found" || break
14155 done
14156 LIBS="$ac_save_LIBS"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14159 $as_echo "$ac_cv_have_resolv" >&6; }
14161 case "$ac_cv_have_resolv" in
14162 "not found") ;;
14163 "none required")
14165 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14168 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14170 RESOLV_LIBS=$ac_cv_have_resolv
14172 esac
14174 if test "x$ac_cv_have_resolv" != "xnot found"
14175 then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14177 $as_echo_n "checking for res_getservers... " >&6; }
14178 if ${ac_cv_have_res_getservers+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_save_LIBS="$LIBS"
14182 LIBS="$RESOLV_LIBS $LIBS"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 #include <resolv.h>
14187 main ()
14189 res_getservers(NULL, NULL, 0);
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_have_res_getservers=yes
14196 else
14197 ac_cv_have_res_getservers=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS="$ac_save_LIBS"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14204 $as_echo "$ac_cv_have_res_getservers" >&6; }
14205 if test "$ac_cv_have_res_getservers" = "yes"
14206 then
14208 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14214 if test "x$with_cms" != "xno"
14215 then
14216 if ${LCMS2_CFLAGS:+false} :; then :
14217 if ${PKG_CONFIG+:} false; then :
14218 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14222 if ${LCMS2_LIBS:+false} :; then :
14223 if ${PKG_CONFIG+:} false; then :
14224 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14228 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14229 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14230 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14231 ac_save_CPPFLAGS=$CPPFLAGS
14232 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14233 for ac_header in lcms2.h
14234 do :
14235 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14236 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14237 cat >>confdefs.h <<_ACEOF
14238 #define HAVE_LCMS2_H 1
14239 _ACEOF
14243 done
14245 if test "$ac_cv_header_lcms2_h" = "yes"
14246 then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14248 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14249 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 ac_check_lib_save_LIBS=$LIBS
14253 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14260 #ifdef __cplusplus
14261 extern "C"
14262 #endif
14263 char cmsOpenProfileFromFile ();
14265 main ()
14267 return cmsOpenProfileFromFile ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"; then :
14273 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14274 else
14275 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14279 LIBS=$ac_check_lib_save_LIBS
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14282 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14283 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14285 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14287 else
14288 LCMS2_LIBS=""
14291 else
14292 LCMS2_CFLAGS=""
14293 LCMS2_LIBS=""
14295 CPPFLAGS=$ac_save_CPPFLAGS
14298 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14299 case "x$with_cms" in
14300 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14301 xno) ;;
14302 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14303 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14304 esac
14308 if test "x$with_freetype" != "xno"
14309 then
14310 if ${FREETYPE_CFLAGS:+false} :; then :
14311 if ${PKG_CONFIG+:} false; then :
14312 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14315 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14316 if ${FREETYPE_LIBS:+false} :; then :
14317 if ${PKG_CONFIG+:} false; then :
14318 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14321 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14322 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14323 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14324 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14325 ac_save_CPPFLAGS=$CPPFLAGS
14326 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14327 for ac_header in ft2build.h
14328 do :
14329 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14330 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14331 cat >>confdefs.h <<_ACEOF
14332 #define HAVE_FT2BUILD_H 1
14333 _ACEOF
14337 done
14339 if test "$ac_cv_header_ft2build_h" = "yes"
14340 then
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14342 $as_echo_n "checking for -lfreetype... " >&6; }
14343 if ${ac_cv_lib_soname_freetype+:} false; then :
14344 $as_echo_n "(cached) " >&6
14345 else
14346 ac_check_soname_save_LIBS=$LIBS
14347 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14354 #ifdef __cplusplus
14355 extern "C"
14356 #endif
14357 char FT_Init_FreeType ();
14359 main ()
14361 return FT_Init_FreeType ();
14363 return 0;
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 case "$LIBEXT" in
14368 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14369 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'` ;;
14370 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14371 if ${ac_cv_lib_soname_freetype:+false} :; then :
14372 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14373 fi ;;
14374 esac
14375 else
14376 ac_cv_lib_soname_freetype=
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14380 LIBS=$ac_check_soname_save_LIBS
14382 if ${ac_cv_lib_soname_freetype:+false} :; then :
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14384 $as_echo "not found" >&6; }
14385 FREETYPE_LIBS=""
14386 else
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14388 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14390 cat >>confdefs.h <<_ACEOF
14391 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14392 _ACEOF
14395 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14397 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14398 #include FT_MODULE_H
14400 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14402 cat >>confdefs.h <<_ACEOF
14403 #define HAVE_FT_TRUETYPEENGINETYPE 1
14404 _ACEOF
14410 else
14411 FREETYPE_CFLAGS=""
14412 FREETYPE_LIBS=""
14414 CPPFLAGS=$ac_save_CPPFLAGS
14417 if test "x$ac_cv_lib_soname_freetype" = x; then :
14418 case "x$with_freetype" in
14419 xno) ;;
14420 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14421 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14422 esac
14423 enable_fonts=${enable_fonts:-no}
14426 ac_wine_check_funcs_save_LIBS="$LIBS"
14427 LIBS="$LIBS $PTHREAD_LIBS"
14428 for ac_func in \
14429 pthread_getthreadid_np
14430 do :
14431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14433 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14434 cat >>confdefs.h <<_ACEOF
14435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14436 _ACEOF
14439 done
14441 LIBS="$ac_wine_check_funcs_save_LIBS"
14443 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14444 then
14445 if test "$ac_cv_header_gettext_po_h" = "yes"
14446 then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14448 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14449 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 ac_check_lib_save_LIBS=$LIBS
14453 LIBS="-lgettextpo $LIBS"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 #ifdef __cplusplus
14461 extern "C"
14462 #endif
14463 char po_message_msgctxt ();
14465 main ()
14467 return po_message_msgctxt ();
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"; then :
14473 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14474 else
14475 ac_cv_lib_gettextpo_po_message_msgctxt=no
14477 rm -f core conftest.err conftest.$ac_objext \
14478 conftest$ac_exeext conftest.$ac_ext
14479 LIBS=$ac_check_lib_save_LIBS
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14482 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14483 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14485 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14487 GETTEXTPO_LIBS="-lgettextpo"
14492 if test "x$GETTEXTPO_LIBS" = "x"; then :
14493 case "x$with_gettextpo" in
14494 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14495 xno) ;;
14496 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14497 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14498 esac
14501 if test "$srcdir" != .; then :
14502 case "x$with_gettextpo" in
14503 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14504 xno) ;;
14505 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14506 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14507 esac
14512 if test "x$with_pulse" != "xno";
14513 then
14514 if ${PULSE_CFLAGS:+false} :; then :
14515 if ${PKG_CONFIG+:} false; then :
14516 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14520 if ${PULSE_LIBS:+false} :; then :
14521 if ${PKG_CONFIG+:} false; then :
14522 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14527 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14528 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14529 ac_save_CPPFLAGS=$CPPFLAGS
14530 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14531 for ac_header in pulse/pulseaudio.h
14532 do :
14533 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14534 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14535 cat >>confdefs.h <<_ACEOF
14536 #define HAVE_PULSE_PULSEAUDIO_H 1
14537 _ACEOF
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14539 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14540 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_check_lib_save_LIBS=$LIBS
14544 LIBS="-lpulse $PULSE_LIBS $LIBS"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14551 #ifdef __cplusplus
14552 extern "C"
14553 #endif
14554 char pa_stream_is_corked ();
14556 main ()
14558 return pa_stream_is_corked ();
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_link "$LINENO"; then :
14564 ac_cv_lib_pulse_pa_stream_is_corked=yes
14565 else
14566 ac_cv_lib_pulse_pa_stream_is_corked=no
14568 rm -f core conftest.err conftest.$ac_objext \
14569 conftest$ac_exeext conftest.$ac_ext
14570 LIBS=$ac_check_lib_save_LIBS
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14573 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14574 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14576 else
14577 PULSE_LIBS=""
14580 else
14581 PULSE_LIBS=""
14584 done
14586 CPPFLAGS=$ac_save_CPPFLAGS
14589 if test -z "$PULSE_LIBS"; then :
14590 case "x$with_pulse" in
14591 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14592 xno) ;;
14593 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14594 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14595 esac
14596 enable_winepulse_drv=${enable_winepulse_drv:-no}
14599 if test "x$with_gstreamer" != "xno"
14600 then
14601 if ${GSTREAMER_CFLAGS:+false} :; then :
14602 if ${PKG_CONFIG+:} false; then :
14603 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14607 if ${GSTREAMER_LIBS:+false} :; then :
14608 if ${PKG_CONFIG+:} false; then :
14609 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14614 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14615 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14616 ac_save_CPPFLAGS=$CPPFLAGS
14617 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14618 ac_gst_incl=""
14619 for i in $GSTREAMER_CFLAGS
14621 case "$i" in
14622 -I*) ac_gst_incl="$ac_gst_incl $i";;
14623 esac
14624 done
14625 GSTREAMER_CFLAGS=$ac_gst_incl
14626 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14627 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14628 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14630 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 #include <gst/gst.h>
14635 main ()
14637 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14639 return 0;
14641 _ACEOF
14642 if ac_fn_c_try_compile "$LINENO"; then :
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14644 $as_echo "yes" >&6; }
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14646 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14647 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14648 $as_echo_n "(cached) " >&6
14649 else
14650 ac_check_lib_save_LIBS=$LIBS
14651 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 /* Override any GCC internal prototype to avoid an error.
14656 Use char because int might match the return type of a GCC
14657 builtin and then its argument prototype would still apply. */
14658 #ifdef __cplusplus
14659 extern "C"
14660 #endif
14661 char gst_pad_new ();
14663 main ()
14665 return gst_pad_new ();
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"; then :
14671 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14672 else
14673 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14675 rm -f core conftest.err conftest.$ac_objext \
14676 conftest$ac_exeext conftest.$ac_ext
14677 LIBS=$ac_check_lib_save_LIBS
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14680 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14681 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14685 else
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14687 $as_echo "no" >&6; }
14688 ac_glib2_broken=yes
14689 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14695 CPPFLAGS=$ac_save_CPPFLAGS
14698 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14699 case "x$with_gstreamer" in
14700 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14701 xno) ;;
14702 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14703 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14704 esac
14707 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14709 ALSA_LIBS=""
14711 if test "x$with_alsa" != "xno"
14712 then
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14714 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14715 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14716 $as_echo_n "(cached) " >&6
14717 else
14718 ac_check_lib_save_LIBS=$LIBS
14719 LIBS="-lasound $LIBS"
14720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14723 /* Override any GCC internal prototype to avoid an error.
14724 Use char because int might match the return type of a GCC
14725 builtin and then its argument prototype would still apply. */
14726 #ifdef __cplusplus
14727 extern "C"
14728 #endif
14729 char snd_pcm_hw_params_get_access_mask ();
14731 main ()
14733 return snd_pcm_hw_params_get_access_mask ();
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14740 else
14741 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LIBS=$ac_check_lib_save_LIBS
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14748 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14749 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 #include <alsa/asoundlib.h>
14754 main ()
14756 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_compile "$LINENO"; then :
14762 ALSA_LIBS="-lasound"
14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14770 if test "x$with_oss" != xno
14771 then
14772 ac_save_CPPFLAGS="$CPPFLAGS"
14773 if test -f /etc/oss.conf
14774 then
14775 . /etc/oss.conf
14777 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14778 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14779 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14780 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14781 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14783 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14785 cat >>confdefs.h <<_ACEOF
14786 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14787 _ACEOF
14789 OSS4_CFLAGS="$ac_oss_incl"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14792 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14793 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lossaudio $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char _oss_ioctl ();
14809 main ()
14811 return _oss_ioctl ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_ossaudio__oss_ioctl=yes
14818 else
14819 ac_cv_lib_ossaudio__oss_ioctl=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14826 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14827 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14828 OSS4_LIBS="-lossaudio"
14837 CPPFLAGS="$ac_save_CPPFLAGS"
14839 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14840 case "x$with_oss" in
14841 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14842 xno) ;;
14843 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14844 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14845 esac
14846 enable_wineoss_drv=${enable_wineoss_drv:-no}
14849 if test "x$with_udev" != "xno"
14850 then
14851 if ${UDEV_CFLAGS:+false} :; then :
14852 if ${PKG_CONFIG+:} false; then :
14853 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14857 if ${UDEV_LIBS:+false} :; then :
14858 if ${PKG_CONFIG+:} false; then :
14859 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14863 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14864 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14866 ac_save_CPPFLAGS=$CPPFLAGS
14867 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14868 for ac_header in libudev.h
14869 do :
14870 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14871 if test "x$ac_cv_header_libudev_h" = xyes; then :
14872 cat >>confdefs.h <<_ACEOF
14873 #define HAVE_LIBUDEV_H 1
14874 _ACEOF
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14876 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14877 if ${ac_cv_lib_udev_udev_new+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 ac_check_lib_save_LIBS=$LIBS
14881 LIBS="-ludev $UDEV_LIBS $LIBS"
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14888 #ifdef __cplusplus
14889 extern "C"
14890 #endif
14891 char udev_new ();
14893 main ()
14895 return udev_new ();
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_lib_udev_udev_new=yes
14902 else
14903 ac_cv_lib_udev_udev_new=no
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_lib_save_LIBS
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14910 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14911 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14913 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14915 else
14916 UDEV_LIBS=""
14919 else
14920 UDEV_LIBS=""
14923 done
14925 CPPFLAGS=$ac_save_CPPFLAGS
14928 if test "x$UDEV_LIBS" = "x"; then :
14929 case "x$with_udev" in
14930 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14931 xno) ;;
14932 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14933 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14934 esac
14938 if test "x$with_unwind" != xno
14939 then
14940 if ${UNWIND_CFLAGS:+false} :; then :
14941 if ${PKG_CONFIG+:} false; then :
14942 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14946 if ${UNWIND_LIBS:+false} :; then :
14947 if ${PKG_CONFIG+:} false; then :
14948 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14952 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14953 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14954 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14955 ac_save_CPPFLAGS=$CPPFLAGS
14956 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14958 $as_echo_n "checking for unw_step... " >&6; }
14959 if ${wine_cv_have_unw_step+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #define UNW_LOCAL_ONLY
14965 #include <libunwind.h>
14967 main ()
14969 unw_cursor_t cursor; unw_step( &cursor );
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 wine_cv_have_unw_step="yes"
14976 else
14977 wine_cv_have_unw_step="no"
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14983 $as_echo "$wine_cv_have_unw_step" >&6; }
14984 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14985 then
14986 save_libs=$LIBS
14987 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14988 LIBS="$UNWIND_LIBS $LIBS"
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14990 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14991 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14996 #define UNW_LOCAL_ONLY
14997 #include <libunwind.h>
14999 main ()
15001 unw_cursor_t cursor; unw_step( &cursor );
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 wine_cv_have_libunwind_unw_step="yes"
15008 else
15009 wine_cv_have_libunwind_unw_step="no"
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15015 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15016 LIBS=$save_libs
15018 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15019 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15020 then
15022 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15025 CPPFLAGS=$ac_save_CPPFLAGS
15028 case $host in
15029 aarch64*|*-darwin*)
15030 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15031 case "x$with_unwind" in
15032 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15033 xno) ;;
15034 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15035 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15036 esac
15038 fi ;;
15039 esac
15041 if test "x$with_sdl" != "xno"
15042 then
15043 if ${SDL2_CFLAGS:+false} :; then :
15044 if ${PKG_CONFIG+:} false; then :
15045 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15049 if ${SDL2_LIBS:+false} :; then :
15050 if ${PKG_CONFIG+:} false; then :
15051 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15055 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15056 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15057 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15058 ac_save_CPPFLAGS=$CPPFLAGS
15059 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15060 for ac_header in SDL.h
15061 do :
15062 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15063 if test "x$ac_cv_header_SDL_h" = xyes; then :
15064 cat >>confdefs.h <<_ACEOF
15065 #define HAVE_SDL_H 1
15066 _ACEOF
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15068 $as_echo_n "checking for -lSDL2... " >&6; }
15069 if ${ac_cv_lib_soname_SDL2+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_check_soname_save_LIBS=$LIBS
15073 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15077 /* Override any GCC internal prototype to avoid an error.
15078 Use char because int might match the return type of a GCC
15079 builtin and then its argument prototype would still apply. */
15080 #ifdef __cplusplus
15081 extern "C"
15082 #endif
15083 char SDL_Init ();
15085 main ()
15087 return SDL_Init ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 case "$LIBEXT" in
15094 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15095 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'` ;;
15096 *) 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'`
15097 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15098 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15099 fi ;;
15100 esac
15101 else
15102 ac_cv_lib_soname_SDL2=
15104 rm -f core conftest.err conftest.$ac_objext \
15105 conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_check_soname_save_LIBS
15108 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15110 $as_echo "not found" >&6; }
15112 else
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15114 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15116 cat >>confdefs.h <<_ACEOF
15117 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15118 _ACEOF
15124 done
15126 CPPFLAGS=$ac_save_CPPFLAGS
15129 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15130 case "x$with_sdl" in
15131 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15132 xno) ;;
15133 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15134 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15135 esac
15139 if test "x$with_faudio" != "xno"
15140 then
15141 if ${FAUDIO_CFLAGS:+false} :; then :
15142 if ${PKG_CONFIG+:} false; then :
15143 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15147 if ${FAUDIO_LIBS:+false} :; then :
15148 if ${PKG_CONFIG+:} false; then :
15149 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15153 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15154 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15155 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15156 ac_save_CPPFLAGS=$CPPFLAGS
15157 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15158 for ac_header in FAudio.h
15159 do :
15160 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15161 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15162 cat >>confdefs.h <<_ACEOF
15163 #define HAVE_FAUDIO_H 1
15164 _ACEOF
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15166 $as_echo_n "checking for -lFAudio... " >&6; }
15167 if ${ac_cv_lib_soname_FAudio+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char FAudioCreate ();
15183 main ()
15185 return FAudioCreate ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 case "$LIBEXT" in
15192 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15193 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'` ;;
15194 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15195 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15196 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15197 fi ;;
15198 esac
15199 else
15200 ac_cv_lib_soname_FAudio=
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_soname_save_LIBS
15206 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15208 $as_echo "not found" >&6; }
15210 else
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15212 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15214 cat >>confdefs.h <<_ACEOF
15215 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15216 _ACEOF
15222 done
15224 ac_wine_check_funcs_save_LIBS="$LIBS"
15225 LIBS="$LIBS $FAUDIO_LIBS"
15226 for ac_func in FAudio_CommitOperationSet \
15227 F3DAudioInitialize8 \
15228 FAudioLinkedVersion \
15229 FAudioCreateReverb9WithCustomAllocatorEXT
15230 do :
15231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15236 _ACEOF
15239 done
15241 LIBS="$ac_wine_check_funcs_save_LIBS"
15243 CPPFLAGS=$ac_save_CPPFLAGS
15246 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15247 case "x$with_faudio" in
15248 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15249 xno) ;;
15250 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15251 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15252 esac
15256 if test "x$with_capi" != "xno"
15257 then
15258 if ${CAPI20_CFLAGS:+false} :; then :
15259 if ${PKG_CONFIG+:} false; then :
15260 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15264 if ${CAPI20_LIBS:+false} :; then :
15265 if ${PKG_CONFIG+:} false; then :
15266 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15271 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15272 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15273 ac_save_CPPFLAGS=$CPPFLAGS
15274 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15275 for ac_header in capi20.h linux/capi.h
15276 do :
15277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15278 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15280 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15281 cat >>confdefs.h <<_ACEOF
15282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15283 _ACEOF
15287 done
15289 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15290 then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15292 $as_echo_n "checking for -lcapi20... " >&6; }
15293 if ${ac_cv_lib_soname_capi20+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_check_soname_save_LIBS=$LIBS
15297 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15304 #ifdef __cplusplus
15305 extern "C"
15306 #endif
15307 char capi20_register ();
15309 main ()
15311 return capi20_register ();
15313 return 0;
15315 _ACEOF
15316 if ac_fn_c_try_link "$LINENO"; then :
15317 case "$LIBEXT" in
15318 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15319 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'` ;;
15320 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15321 if ${ac_cv_lib_soname_capi20:+false} :; then :
15322 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15323 fi ;;
15324 esac
15325 else
15326 ac_cv_lib_soname_capi20=
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15330 LIBS=$ac_check_soname_save_LIBS
15332 if ${ac_cv_lib_soname_capi20:+false} :; then :
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15334 $as_echo "not found" >&6; }
15336 else
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15338 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15340 cat >>confdefs.h <<_ACEOF
15341 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15342 _ACEOF
15347 CPPFLAGS=$ac_save_CPPFLAGS
15350 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15351 case "x$with_capi" in
15352 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15353 xno) ;;
15354 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15355 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15356 esac
15360 if test "x$with_cups" != "xno"
15361 then
15362 if ${CUPS_CFLAGS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15367 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15368 if ${CUPS_LIBS:+false} :; then :
15369 if ${PKG_CONFIG+:} false; then :
15370 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15373 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15374 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15375 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15376 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15377 ac_save_CPPFLAGS=$CPPFLAGS
15378 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15379 for ac_header in cups/cups.h cups/ppd.h
15380 do :
15381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15386 _ACEOF
15390 done
15392 if test "$ac_cv_header_cups_cups_h" = "yes"
15393 then
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15395 $as_echo_n "checking for -lcups... " >&6; }
15396 if ${ac_cv_lib_soname_cups+:} false; then :
15397 $as_echo_n "(cached) " >&6
15398 else
15399 ac_check_soname_save_LIBS=$LIBS
15400 LIBS="-lcups $CUPS_LIBS $LIBS"
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 /* Override any GCC internal prototype to avoid an error.
15405 Use char because int might match the return type of a GCC
15406 builtin and then its argument prototype would still apply. */
15407 #ifdef __cplusplus
15408 extern "C"
15409 #endif
15410 char cupsGetDefault ();
15412 main ()
15414 return cupsGetDefault ();
15416 return 0;
15418 _ACEOF
15419 if ac_fn_c_try_link "$LINENO"; then :
15420 case "$LIBEXT" in
15421 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15422 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'` ;;
15423 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15424 if ${ac_cv_lib_soname_cups:+false} :; then :
15425 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15426 fi ;;
15427 esac
15428 else
15429 ac_cv_lib_soname_cups=
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_cups:+false} :; then :
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15437 $as_echo "not found" >&6; }
15438 CUPS_LIBS=""
15439 else
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15441 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15443 cat >>confdefs.h <<_ACEOF
15444 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15445 _ACEOF
15449 else
15450 CUPS_CFLAGS=""
15451 CUPS_LIBS=""
15453 CPPFLAGS=$ac_save_CPPFLAGS
15456 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15457 case "x$with_cups" in
15458 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15459 xno) ;;
15460 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15461 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15462 esac
15466 if test "x$with_fontconfig" != "xno"
15467 then
15468 if ${FONTCONFIG_CFLAGS:+false} :; then :
15469 if ${PKG_CONFIG+:} false; then :
15470 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15473 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15474 if ${FONTCONFIG_LIBS:+false} :; then :
15475 if ${PKG_CONFIG+:} false; then :
15476 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15479 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15481 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15482 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15483 ac_save_CPPFLAGS=$CPPFLAGS
15484 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15485 for ac_header in fontconfig/fontconfig.h
15486 do :
15487 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15488 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15489 cat >>confdefs.h <<_ACEOF
15490 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15491 _ACEOF
15495 done
15497 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15498 then
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15500 $as_echo_n "checking for -lfontconfig... " >&6; }
15501 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_check_soname_save_LIBS=$LIBS
15505 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char FcInit ();
15517 main ()
15519 return FcInit ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 case "$LIBEXT" in
15526 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15527 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'` ;;
15528 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15529 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15530 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15531 fi ;;
15532 esac
15533 else
15534 ac_cv_lib_soname_fontconfig=
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15538 LIBS=$ac_check_soname_save_LIBS
15540 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15542 $as_echo "not found" >&6; }
15543 FONTCONFIG_CFLAGS=""
15544 else
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15546 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15548 cat >>confdefs.h <<_ACEOF
15549 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15550 _ACEOF
15554 else
15555 FONTCONFIG_CFLAGS=""
15557 CPPFLAGS=$ac_save_CPPFLAGS
15560 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15561 case "x$with_fontconfig" in
15562 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15565 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15566 esac
15570 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15571 then
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15573 $as_echo_n "checking for -lgsm... " >&6; }
15574 if ${ac_cv_lib_soname_gsm+:} false; then :
15575 $as_echo_n "(cached) " >&6
15576 else
15577 ac_check_soname_save_LIBS=$LIBS
15578 LIBS="-lgsm $LIBS"
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15582 /* Override any GCC internal prototype to avoid an error.
15583 Use char because int might match the return type of a GCC
15584 builtin and then its argument prototype would still apply. */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 char gsm_create ();
15590 main ()
15592 return gsm_create ();
15594 return 0;
15596 _ACEOF
15597 if ac_fn_c_try_link "$LINENO"; then :
15598 case "$LIBEXT" in
15599 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15600 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'` ;;
15601 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15602 if ${ac_cv_lib_soname_gsm:+false} :; then :
15603 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15604 fi ;;
15605 esac
15606 else
15607 ac_cv_lib_soname_gsm=
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15611 LIBS=$ac_check_soname_save_LIBS
15613 if ${ac_cv_lib_soname_gsm:+false} :; then :
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15615 $as_echo "not found" >&6; }
15617 else
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15619 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15621 cat >>confdefs.h <<_ACEOF
15622 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15623 _ACEOF
15628 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15629 case "x$with_gsm" in
15630 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15631 xno) ;;
15632 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15633 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15634 esac
15638 if test "x$with_krb5" != "xno"
15639 then
15640 if ${KRB5_CFLAGS:+false} :; then :
15641 if ${PKG_CONFIG+:} false; then :
15642 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15645 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15646 if ${KRB5_LIBS:+false} :; then :
15647 if ${PKG_CONFIG+:} false; then :
15648 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15651 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15653 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15654 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15655 ac_save_CPPFLAGS=$CPPFLAGS
15656 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15657 for ac_header in krb5/krb5.h
15658 do :
15659 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15660 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_KRB5_KRB5_H 1
15663 _ACEOF
15667 done
15669 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15670 then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15672 $as_echo_n "checking for -lkrb5... " >&6; }
15673 if ${ac_cv_lib_soname_krb5+:} false; then :
15674 $as_echo_n "(cached) " >&6
15675 else
15676 ac_check_soname_save_LIBS=$LIBS
15677 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15681 /* Override any GCC internal prototype to avoid an error.
15682 Use char because int might match the return type of a GCC
15683 builtin and then its argument prototype would still apply. */
15684 #ifdef __cplusplus
15685 extern "C"
15686 #endif
15687 char krb5_is_config_principal ();
15689 main ()
15691 return krb5_is_config_principal ();
15693 return 0;
15695 _ACEOF
15696 if ac_fn_c_try_link "$LINENO"; then :
15697 case "$LIBEXT" in
15698 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15699 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'` ;;
15700 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15701 if ${ac_cv_lib_soname_krb5:+false} :; then :
15702 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15703 fi ;;
15704 esac
15705 else
15706 ac_cv_lib_soname_krb5=
15708 rm -f core conftest.err conftest.$ac_objext \
15709 conftest$ac_exeext conftest.$ac_ext
15710 LIBS=$ac_check_soname_save_LIBS
15712 if ${ac_cv_lib_soname_krb5:+false} :; then :
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15714 $as_echo "not found" >&6; }
15715 KRB5_CFLAGS=""
15716 else
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15718 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15720 cat >>confdefs.h <<_ACEOF
15721 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15722 _ACEOF
15726 else
15727 KRB5_CFLAGS=""
15729 CPPFLAGS=$ac_save_CPPFLAGS
15732 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15733 case "x$with_krb5" in
15734 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15735 xno) ;;
15736 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15737 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15738 esac
15741 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15743 if test "x$with_gssapi" != "xno"
15744 then
15745 if ${GSSAPI_CFLAGS:+false} :; then :
15746 if ${PKG_CONFIG+:} false; then :
15747 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15750 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15751 if ${GSSAPI_LIBS:+false} :; then :
15752 if ${PKG_CONFIG+:} false; then :
15753 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15756 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15758 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15760 ac_save_CPPFLAGS=$CPPFLAGS
15761 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15762 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15763 do :
15764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15765 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15769 _ACEOF
15773 done
15775 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15776 then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15778 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15779 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_soname_save_LIBS=$LIBS
15783 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char gss_init_sec_context ();
15795 main ()
15797 return gss_init_sec_context ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 case "$LIBEXT" in
15804 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15805 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'` ;;
15806 *) 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'`
15807 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15808 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15809 fi ;;
15810 esac
15811 else
15812 ac_cv_lib_soname_gssapi_krb5=
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_soname_save_LIBS
15818 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15820 $as_echo "not found" >&6; }
15821 GSSAPI_CFLAGS=""
15822 else
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15824 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15826 cat >>confdefs.h <<_ACEOF
15827 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15828 _ACEOF
15832 else
15833 GSSAPI_CFLAGS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15838 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15839 case "x$with_gssapi" in
15840 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15841 xno) ;;
15842 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15843 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15844 esac
15848 if test "x$with_jpeg" != "xno"
15849 then
15850 if ${JPEG_CFLAGS:+false} :; then :
15851 if ${PKG_CONFIG+:} false; then :
15852 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15856 if ${JPEG_LIBS:+false} :; then :
15857 if ${PKG_CONFIG+:} false; then :
15858 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15864 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15865 ac_save_CPPFLAGS=$CPPFLAGS
15866 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15867 for ac_header in jpeglib.h
15868 do :
15869 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15870 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_JPEGLIB_H 1
15873 _ACEOF
15877 done
15879 if test "$ac_cv_header_jpeglib_h" = "yes"
15880 then
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15882 $as_echo_n "checking for -ljpeg... " >&6; }
15883 if ${ac_cv_lib_soname_jpeg+:} false; then :
15884 $as_echo_n "(cached) " >&6
15885 else
15886 ac_check_soname_save_LIBS=$LIBS
15887 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15891 /* Override any GCC internal prototype to avoid an error.
15892 Use char because int might match the return type of a GCC
15893 builtin and then its argument prototype would still apply. */
15894 #ifdef __cplusplus
15895 extern "C"
15896 #endif
15897 char jpeg_start_decompress ();
15899 main ()
15901 return jpeg_start_decompress ();
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_link "$LINENO"; then :
15907 case "$LIBEXT" in
15908 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15909 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'` ;;
15910 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15911 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15912 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15913 fi ;;
15914 esac
15915 else
15916 ac_cv_lib_soname_jpeg=
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_soname_save_LIBS
15922 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15924 $as_echo "not found" >&6; }
15925 JPEG_CFLAGS=""
15926 else
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15928 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15930 cat >>confdefs.h <<_ACEOF
15931 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15932 _ACEOF
15936 else
15937 JPEG_CFLAGS=""
15939 CPPFLAGS=$ac_save_CPPFLAGS
15942 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15943 case "x$with_jpeg" in
15944 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15945 xno) ;;
15946 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15947 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15948 esac
15952 if test "x$with_jxrlib" != "xno"
15953 then
15954 if ${JXRLIB_CFLAGS:+false} :; then :
15955 if ${PKG_CONFIG+:} false; then :
15956 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15959 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15960 if ${JXRLIB_LIBS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15967 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15968 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15969 ac_save_CPPFLAGS=$CPPFLAGS
15970 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15971 for ac_header in JXRGlue.h
15972 do :
15973 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15975 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_JXRGLUE_H 1
15978 _ACEOF
15982 done
15984 if test "$ac_cv_header_JXRGlue_h" = "yes"
15985 then
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15987 $as_echo_n "checking for -ljxrglue... " >&6; }
15988 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_check_soname_save_LIBS=$LIBS
15992 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
15999 #ifdef __cplusplus
16000 extern "C"
16001 #endif
16002 char PKImageDecode_Create_WMP ();
16004 main ()
16006 return PKImageDecode_Create_WMP ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 case "$LIBEXT" in
16013 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16014 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'` ;;
16015 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16016 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16017 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16018 fi ;;
16019 esac
16020 else
16021 ac_cv_lib_soname_jxrglue=
16023 rm -f core conftest.err conftest.$ac_objext \
16024 conftest$ac_exeext conftest.$ac_ext
16025 LIBS=$ac_check_soname_save_LIBS
16027 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16029 $as_echo "not found" >&6; }
16030 JXRLIB_CFLAGS=""
16031 else
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16033 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16035 cat >>confdefs.h <<_ACEOF
16036 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16037 _ACEOF
16041 else
16042 JXRLIB_CFLAGS=""
16044 CPPFLAGS=$ac_save_CPPFLAGS
16047 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16048 case "x$with_jxrlib" in
16049 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16050 xno) ;;
16051 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16052 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16053 esac
16057 if test "x$with_png" != "xno"
16058 then
16059 if ${PNG_CFLAGS:+false} :; then :
16060 if ${PKG_CONFIG+:} false; then :
16061 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16064 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16065 if ${PNG_LIBS:+false} :; then :
16066 if ${PKG_CONFIG+:} false; then :
16067 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16070 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16072 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16073 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16074 ac_save_CPPFLAGS=$CPPFLAGS
16075 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16076 for ac_header in png.h
16077 do :
16078 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_png_h" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_PNG_H 1
16082 _ACEOF
16086 done
16088 if test "$ac_cv_header_png_h" = "yes"
16089 then
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16091 $as_echo_n "checking for -lpng... " >&6; }
16092 if ${ac_cv_lib_soname_png+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 ac_check_soname_save_LIBS=$LIBS
16096 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16100 /* Override any GCC internal prototype to avoid an error.
16101 Use char because int might match the return type of a GCC
16102 builtin and then its argument prototype would still apply. */
16103 #ifdef __cplusplus
16104 extern "C"
16105 #endif
16106 char png_create_read_struct ();
16108 main ()
16110 return png_create_read_struct ();
16112 return 0;
16114 _ACEOF
16115 if ac_fn_c_try_link "$LINENO"; then :
16116 case "$LIBEXT" in
16117 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16118 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'` ;;
16119 *) 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'`
16120 if ${ac_cv_lib_soname_png:+false} :; then :
16121 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16122 fi ;;
16123 esac
16124 else
16125 ac_cv_lib_soname_png=
16127 rm -f core conftest.err conftest.$ac_objext \
16128 conftest$ac_exeext conftest.$ac_ext
16129 LIBS=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_png:+false} :; then :
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16133 $as_echo "not found" >&6; }
16134 PNG_CFLAGS=""
16135 else
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16137 $as_echo "$ac_cv_lib_soname_png" >&6; }
16139 cat >>confdefs.h <<_ACEOF
16140 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16141 _ACEOF
16145 else
16146 PNG_CFLAGS=""
16148 CPPFLAGS=$ac_save_CPPFLAGS
16151 if test "x$ac_cv_lib_soname_png" = "x"; then :
16152 case "x$with_png" in
16153 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16154 xno) ;;
16155 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16156 This is an error since --with-png was requested." "$LINENO" 5 ;;
16157 esac
16161 if test "x$with_tiff" != "xno"
16162 then
16163 if ${TIFF_CFLAGS:+false} :; then :
16164 if ${PKG_CONFIG+:} false; then :
16165 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16169 if ${TIFF_LIBS:+false} :; then :
16170 if ${PKG_CONFIG+:} false; then :
16171 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16176 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16177 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16178 ac_save_CPPFLAGS=$CPPFLAGS
16179 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16180 for ac_header in tiffio.h
16181 do :
16182 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16183 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_TIFFIO_H 1
16186 _ACEOF
16190 done
16192 if test "$ac_cv_header_tiffio_h" = "yes"
16193 then
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16195 $as_echo_n "checking for -ltiff... " >&6; }
16196 if ${ac_cv_lib_soname_tiff+:} false; then :
16197 $as_echo_n "(cached) " >&6
16198 else
16199 ac_check_soname_save_LIBS=$LIBS
16200 LIBS="-ltiff $TIFF_LIBS $LIBS"
16201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16204 /* Override any GCC internal prototype to avoid an error.
16205 Use char because int might match the return type of a GCC
16206 builtin and then its argument prototype would still apply. */
16207 #ifdef __cplusplus
16208 extern "C"
16209 #endif
16210 char TIFFClientOpen ();
16212 main ()
16214 return TIFFClientOpen ();
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"; then :
16220 case "$LIBEXT" in
16221 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16222 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'` ;;
16223 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16224 if ${ac_cv_lib_soname_tiff:+false} :; then :
16225 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16226 fi ;;
16227 esac
16228 else
16229 ac_cv_lib_soname_tiff=
16231 rm -f core conftest.err conftest.$ac_objext \
16232 conftest$ac_exeext conftest.$ac_ext
16233 LIBS=$ac_check_soname_save_LIBS
16235 if ${ac_cv_lib_soname_tiff:+false} :; then :
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16237 $as_echo "not found" >&6; }
16239 else
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16241 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16243 cat >>confdefs.h <<_ACEOF
16244 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16245 _ACEOF
16250 CPPFLAGS=$ac_save_CPPFLAGS
16253 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16254 case "x$with_tiff" in
16255 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16256 xno) ;;
16257 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16258 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16259 esac
16263 if test "x$with_mpg123" != "xno"
16264 then
16265 if ${MPG123_CFLAGS:+false} :; then :
16266 if ${PKG_CONFIG+:} false; then :
16267 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16271 if ${MPG123_LIBS:+false} :; then :
16272 if ${PKG_CONFIG+:} false; then :
16273 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16277 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16278 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16279 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16280 ac_save_CPPFLAGS=$CPPFLAGS
16281 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16282 for ac_header in mpg123.h
16283 do :
16284 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16285 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_MPG123_H 1
16288 _ACEOF
16292 done
16294 if test "$ac_cv_header_mpg123_h" = "yes"
16295 then
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16297 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16298 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16299 $as_echo_n "(cached) " >&6
16300 else
16301 ac_check_lib_save_LIBS=$LIBS
16302 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16306 /* Override any GCC internal prototype to avoid an error.
16307 Use char because int might match the return type of a GCC
16308 builtin and then its argument prototype would still apply. */
16309 #ifdef __cplusplus
16310 extern "C"
16311 #endif
16312 char mpg123_feed ();
16314 main ()
16316 return mpg123_feed ();
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"; then :
16322 ac_cv_lib_mpg123_mpg123_feed=yes
16323 else
16324 ac_cv_lib_mpg123_mpg123_feed=no
16326 rm -f core conftest.err conftest.$ac_objext \
16327 conftest$ac_exeext conftest.$ac_ext
16328 LIBS=$ac_check_lib_save_LIBS
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16331 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16332 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16334 else
16335 MPG123_LIBS=""
16338 else
16339 MPG123_CFLAGS=""
16340 MPG123_LIBS=""
16342 CPPFLAGS=$ac_save_CPPFLAGS
16345 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16346 case "x$with_mpg123" in
16347 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16348 xno) ;;
16349 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16350 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16351 esac
16352 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16354 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16356 if test "$ac_cv_header_AL_al_h" = "yes"
16357 then
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16359 $as_echo_n "checking for -lopenal... " >&6; }
16360 if ${ac_cv_lib_soname_openal+:} false; then :
16361 $as_echo_n "(cached) " >&6
16362 else
16363 ac_check_soname_save_LIBS=$LIBS
16364 LIBS="-lopenal $LIBS"
16365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366 /* end confdefs.h. */
16368 /* Override any GCC internal prototype to avoid an error.
16369 Use char because int might match the return type of a GCC
16370 builtin and then its argument prototype would still apply. */
16371 #ifdef __cplusplus
16372 extern "C"
16373 #endif
16374 char alGetSource3i ();
16376 main ()
16378 return alGetSource3i ();
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 case "$LIBEXT" in
16385 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16386 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'` ;;
16387 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16388 if ${ac_cv_lib_soname_openal:+false} :; then :
16389 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16390 fi ;;
16391 esac
16392 else
16393 ac_cv_lib_soname_openal=
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16397 LIBS=$ac_check_soname_save_LIBS
16399 if ${ac_cv_lib_soname_openal:+false} :; then :
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16401 $as_echo "not found" >&6; }
16403 else
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16405 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16407 cat >>confdefs.h <<_ACEOF
16408 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16409 _ACEOF
16411 OPENAL_LIBS="-lopenal"
16413 ac_cv_lib_openal=yes
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_OPENAL 1
16417 _ACEOF
16421 if test "x$ac_cv_lib_openal" != xyes; then :
16422 case "x$with_openal" in
16423 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16424 xno) ;;
16425 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16426 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16427 esac
16428 enable_openal32=${enable_openal32:-no}
16431 if test "x$ac_cv_lib_soname_FAudio" = "x"
16432 then
16433 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16434 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16435 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16436 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16437 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16438 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16439 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16440 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16441 enable_xactengine3_0=${enable_xactengine3_0:-no}
16442 enable_xactengine3_1=${enable_xactengine3_1:-no}
16443 enable_xactengine3_2=${enable_xactengine3_2:-no}
16444 enable_xactengine3_3=${enable_xactengine3_3:-no}
16445 enable_xactengine3_4=${enable_xactengine3_4:-no}
16446 enable_xactengine3_5=${enable_xactengine3_5:-no}
16447 enable_xactengine3_6=${enable_xactengine3_6:-no}
16448 enable_xactengine3_7=${enable_xactengine3_7:-no}
16449 enable_xapofx1_1=${enable_xapofx1_1:-no}
16450 enable_xapofx1_2=${enable_xapofx1_2:-no}
16451 enable_xapofx1_3=${enable_xapofx1_3:-no}
16452 enable_xapofx1_4=${enable_xapofx1_4:-no}
16453 enable_xapofx1_5=${enable_xapofx1_5:-no}
16454 enable_xaudio2_0=${enable_xaudio2_0:-no}
16455 enable_xaudio2_1=${enable_xaudio2_1:-no}
16456 enable_xaudio2_2=${enable_xaudio2_2:-no}
16457 enable_xaudio2_3=${enable_xaudio2_3:-no}
16458 enable_xaudio2_4=${enable_xaudio2_4:-no}
16459 enable_xaudio2_5=${enable_xaudio2_5:-no}
16460 enable_xaudio2_6=${enable_xaudio2_6:-no}
16461 enable_xaudio2_7=${enable_xaudio2_7:-no}
16462 enable_xaudio2_8=${enable_xaudio2_8:-no}
16463 enable_xaudio2_9=${enable_xaudio2_9:-no}
16466 if test "$ac_cv_header_kstat_h" = "yes"
16467 then
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16469 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16470 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16471 $as_echo_n "(cached) " >&6
16472 else
16473 ac_check_lib_save_LIBS=$LIBS
16474 LIBS="-lkstat $LIBS"
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16478 /* Override any GCC internal prototype to avoid an error.
16479 Use char because int might match the return type of a GCC
16480 builtin and then its argument prototype would still apply. */
16481 #ifdef __cplusplus
16482 extern "C"
16483 #endif
16484 char kstat_open ();
16486 main ()
16488 return kstat_open ();
16490 return 0;
16492 _ACEOF
16493 if ac_fn_c_try_link "$LINENO"; then :
16494 ac_cv_lib_kstat_kstat_open=yes
16495 else
16496 ac_cv_lib_kstat_kstat_open=no
16498 rm -f core conftest.err conftest.$ac_objext \
16499 conftest$ac_exeext conftest.$ac_ext
16500 LIBS=$ac_check_lib_save_LIBS
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16503 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16504 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16506 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16508 KSTAT_LIBS="-lkstat"
16514 if test "$ac_cv_header_libprocstat_h" = "yes"
16515 then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16517 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16518 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 ac_check_lib_save_LIBS=$LIBS
16522 LIBS="-lprocstat $LIBS"
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16529 #ifdef __cplusplus
16530 extern "C"
16531 #endif
16532 char procstat_open_sysctl ();
16534 main ()
16536 return procstat_open_sysctl ();
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 ac_cv_lib_procstat_procstat_open_sysctl=yes
16543 else
16544 ac_cv_lib_procstat_procstat_open_sysctl=no
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16548 LIBS=$ac_check_lib_save_LIBS
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16551 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16552 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16554 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16556 PROCSTAT_LIBS="-lprocstat"
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16563 $as_echo_n "checking for -lodbc... " >&6; }
16564 if ${ac_cv_lib_soname_odbc+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 ac_check_soname_save_LIBS=$LIBS
16568 LIBS="-lodbc $LIBS"
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 #ifdef __cplusplus
16576 extern "C"
16577 #endif
16578 char SQLConnect ();
16580 main ()
16582 return SQLConnect ();
16584 return 0;
16586 _ACEOF
16587 if ac_fn_c_try_link "$LINENO"; then :
16588 case "$LIBEXT" in
16589 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16590 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'` ;;
16591 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16592 if ${ac_cv_lib_soname_odbc:+false} :; then :
16593 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16594 fi ;;
16595 esac
16596 else
16597 ac_cv_lib_soname_odbc=
16599 rm -f core conftest.err conftest.$ac_objext \
16600 conftest$ac_exeext conftest.$ac_ext
16601 LIBS=$ac_check_soname_save_LIBS
16603 if ${ac_cv_lib_soname_odbc:+false} :; then :
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16605 $as_echo "not found" >&6; }
16606 cat >>confdefs.h <<_ACEOF
16607 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16608 _ACEOF
16610 else
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16612 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16614 cat >>confdefs.h <<_ACEOF
16615 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16616 _ACEOF
16621 if test "x$with_netapi" != "xno"
16622 then
16623 if ${NETAPI_CFLAGS:+false} :; then :
16624 if ${PKG_CONFIG+:} false; then :
16625 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16629 if ${NETAPI_LIBS:+false} :; then :
16630 if ${PKG_CONFIG+:} false; then :
16631 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16636 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16637 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16638 ac_save_CPPFLAGS=$CPPFLAGS
16639 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16641 $as_echo_n "checking for -lnetapi... " >&6; }
16642 if ${ac_cv_lib_soname_netapi+:} false; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16645 ac_check_soname_save_LIBS=$LIBS
16646 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16650 /* Override any GCC internal prototype to avoid an error.
16651 Use char because int might match the return type of a GCC
16652 builtin and then its argument prototype would still apply. */
16653 #ifdef __cplusplus
16654 extern "C"
16655 #endif
16656 char libnetapi_init ();
16658 main ()
16660 return libnetapi_init ();
16662 return 0;
16664 _ACEOF
16665 if ac_fn_c_try_link "$LINENO"; then :
16666 case "$LIBEXT" in
16667 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16668 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'` ;;
16669 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16670 if ${ac_cv_lib_soname_netapi:+false} :; then :
16671 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16672 fi ;;
16673 esac
16674 else
16675 ac_cv_lib_soname_netapi=
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16679 LIBS=$ac_check_soname_save_LIBS
16681 if ${ac_cv_lib_soname_netapi:+false} :; then :
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16683 $as_echo "not found" >&6; }
16684 cat >>confdefs.h <<_ACEOF
16685 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16686 _ACEOF
16688 else
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16690 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16692 cat >>confdefs.h <<_ACEOF
16693 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16694 _ACEOF
16698 CPPFLAGS=$ac_save_CPPFLAGS
16702 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16703 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16704 then
16705 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16708 if test "x$with_vulkan" != "xno"
16709 then
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16711 $as_echo_n "checking for -lvulkan... " >&6; }
16712 if ${ac_cv_lib_soname_vulkan+:} false; then :
16713 $as_echo_n "(cached) " >&6
16714 else
16715 ac_check_soname_save_LIBS=$LIBS
16716 LIBS="-lvulkan $LIBS"
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16720 /* Override any GCC internal prototype to avoid an error.
16721 Use char because int might match the return type of a GCC
16722 builtin and then its argument prototype would still apply. */
16723 #ifdef __cplusplus
16724 extern "C"
16725 #endif
16726 char vkGetInstanceProcAddr ();
16728 main ()
16730 return vkGetInstanceProcAddr ();
16732 return 0;
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"; then :
16736 case "$LIBEXT" in
16737 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16738 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'` ;;
16739 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16740 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16741 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16742 fi ;;
16743 esac
16744 else
16745 ac_cv_lib_soname_vulkan=
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16749 LIBS=$ac_check_soname_save_LIBS
16751 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16753 $as_echo "not found" >&6; }
16755 else
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16757 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16759 cat >>confdefs.h <<_ACEOF
16760 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16761 _ACEOF
16765 if test "x$ac_cv_lib_soname_vulkan" = "x"
16766 then
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16768 $as_echo_n "checking for -lMoltenVK... " >&6; }
16769 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 ac_check_soname_save_LIBS=$LIBS
16773 LIBS="-lMoltenVK $LIBS"
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16780 #ifdef __cplusplus
16781 extern "C"
16782 #endif
16783 char vkGetInstanceProcAddr ();
16785 main ()
16787 return vkGetInstanceProcAddr ();
16789 return 0;
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"; then :
16793 case "$LIBEXT" in
16794 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16795 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'` ;;
16796 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16797 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16798 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16799 fi ;;
16800 esac
16801 else
16802 ac_cv_lib_soname_MoltenVK=
16804 rm -f core conftest.err conftest.$ac_objext \
16805 conftest$ac_exeext conftest.$ac_ext
16806 LIBS=$ac_check_soname_save_LIBS
16808 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16810 $as_echo "not found" >&6; }
16812 else
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16814 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16816 cat >>confdefs.h <<_ACEOF
16817 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16818 _ACEOF
16824 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16825 case "x$with_vulkan" in
16826 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16827 xno) ;;
16828 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16829 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16830 esac
16834 if test "x$with_vkd3d" != "xno"
16835 then
16836 if ${VKD3D_CFLAGS:+false} :; then :
16837 if ${PKG_CONFIG+:} false; then :
16838 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16842 if ${VKD3D_LIBS:+false} :; then :
16843 if ${PKG_CONFIG+:} false; then :
16844 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16849 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16850 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16851 ac_save_CPPFLAGS=$CPPFLAGS
16852 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16854 $as_echo_n "checking for -lvkd3d... " >&6; }
16855 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858 ac_check_soname_save_LIBS=$LIBS
16859 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16863 /* Override any GCC internal prototype to avoid an error.
16864 Use char because int might match the return type of a GCC
16865 builtin and then its argument prototype would still apply. */
16866 #ifdef __cplusplus
16867 extern "C"
16868 #endif
16869 char vkd3d_serialize_versioned_root_signature ();
16871 main ()
16873 return vkd3d_serialize_versioned_root_signature ();
16875 return 0;
16877 _ACEOF
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 case "$LIBEXT" in
16880 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16881 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'` ;;
16882 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16883 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16884 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16885 fi ;;
16886 esac
16887 else
16888 ac_cv_lib_soname_vkd3d=
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16892 LIBS=$ac_check_soname_save_LIBS
16894 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16896 $as_echo "not found" >&6; }
16898 else
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16900 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16902 cat >>confdefs.h <<_ACEOF
16903 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16904 _ACEOF
16908 CPPFLAGS=$ac_save_CPPFLAGS
16910 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16911 if ${PKG_CONFIG+:} false; then :
16912 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16916 if ${VKD3D_SHADER_LIBS:+false} :; then :
16917 if ${PKG_CONFIG+:} false; then :
16918 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16923 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16924 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16925 ac_save_CPPFLAGS=$CPPFLAGS
16926 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16928 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16929 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 ac_check_soname_save_LIBS=$LIBS
16933 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16940 #ifdef __cplusplus
16941 extern "C"
16942 #endif
16943 char vkd3d_shader_compile ();
16945 main ()
16947 return vkd3d_shader_compile ();
16949 return 0;
16951 _ACEOF
16952 if ac_fn_c_try_link "$LINENO"; then :
16953 case "$LIBEXT" in
16954 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16955 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'` ;;
16956 *) 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'`
16957 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16958 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16959 fi ;;
16960 esac
16961 else
16962 ac_cv_lib_soname_vkd3d_shader=
16964 rm -f core conftest.err conftest.$ac_objext \
16965 conftest$ac_exeext conftest.$ac_ext
16966 LIBS=$ac_check_soname_save_LIBS
16968 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16970 $as_echo "not found" >&6; }
16972 else
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16974 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16976 cat >>confdefs.h <<_ACEOF
16977 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16978 _ACEOF
16982 CPPFLAGS=$ac_save_CPPFLAGS
16985 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16986 case "x$with_vkd3d" in
16987 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16988 xno) ;;
16989 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16990 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16991 esac
16994 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16997 EXTRACFLAGS=""
16999 if test "x${GCC}" = "xyes"
17000 then
17001 EXTRACFLAGS="-Wall -pipe"
17003 saved_CFLAGS=$CFLAGS
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17005 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17006 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17007 $as_echo_n "(cached) " >&6
17008 else
17009 ac_wine_try_cflags_saved=$CFLAGS
17010 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 int main(int argc, char **argv) { return 0; }
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_cflags__Werror_unknown_warning_option=yes
17017 else
17018 ac_cv_cflags__Werror_unknown_warning_option=no
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17022 CFLAGS=$ac_wine_try_cflags_saved
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17025 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17026 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17027 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17030 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17031 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 ac_wine_try_cflags_saved=$CFLAGS
17035 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 int main(int argc, char **argv) { return 0; }
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 ac_cv_cflags__Werror_unused_command_line_argument=yes
17042 else
17043 ac_cv_cflags__Werror_unused_command_line_argument=no
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17047 CFLAGS=$ac_wine_try_cflags_saved
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17050 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17051 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17052 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17055 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17056 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 ac_wine_try_cflags_saved=$CFLAGS
17060 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17062 /* end confdefs.h. */
17063 int main(int argc, char **argv) { return 0; }
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17067 else
17068 ac_cv_cflags__Werror_ignored_optimization_argument=no
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17072 CFLAGS=$ac_wine_try_cflags_saved
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17075 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17076 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17077 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17080 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17081 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17082 $as_echo_n "(cached) " >&6
17083 else
17084 ac_wine_try_cflags_saved=$CFLAGS
17085 CFLAGS="$CFLAGS -fcf-protection=none"
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 int main(int argc, char **argv) { return 0; }
17089 _ACEOF
17090 if ac_fn_c_try_link "$LINENO"; then :
17091 ac_cv_cflags__fcf_protection_none=yes
17092 else
17093 ac_cv_cflags__fcf_protection_none=no
17095 rm -f core conftest.err conftest.$ac_objext \
17096 conftest$ac_exeext conftest.$ac_ext
17097 CFLAGS=$ac_wine_try_cflags_saved
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17100 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17101 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17102 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17105 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17106 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 ac_wine_try_cflags_saved=$CFLAGS
17110 CFLAGS="$CFLAGS -fno-stack-protector"
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 int main(int argc, char **argv) { return 0; }
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"; then :
17116 ac_cv_cflags__fno_stack_protector=yes
17117 else
17118 ac_cv_cflags__fno_stack_protector=no
17120 rm -f core conftest.err conftest.$ac_objext \
17121 conftest$ac_exeext conftest.$ac_ext
17122 CFLAGS=$ac_wine_try_cflags_saved
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17125 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17126 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17127 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17130 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17131 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 ac_wine_try_cflags_saved=$CFLAGS
17135 CFLAGS="$CFLAGS -fno-strict-aliasing"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 int main(int argc, char **argv) { return 0; }
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 ac_cv_cflags__fno_strict_aliasing=yes
17142 else
17143 ac_cv_cflags__fno_strict_aliasing=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17147 CFLAGS=$ac_wine_try_cflags_saved
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17150 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17151 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17152 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17155 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17156 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 ac_wine_try_cflags_saved=$CFLAGS
17160 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 int main(int argc, char **argv) { return 0; }
17164 _ACEOF
17165 if ac_fn_c_try_link "$LINENO"; then :
17166 ac_cv_cflags__Wdeclaration_after_statement=yes
17167 else
17168 ac_cv_cflags__Wdeclaration_after_statement=no
17170 rm -f core conftest.err conftest.$ac_objext \
17171 conftest$ac_exeext conftest.$ac_ext
17172 CFLAGS=$ac_wine_try_cflags_saved
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17175 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17176 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17177 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17180 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17181 if ${ac_cv_cflags__Wempty_body+:} false; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17184 ac_wine_try_cflags_saved=$CFLAGS
17185 CFLAGS="$CFLAGS -Wempty-body"
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 int main(int argc, char **argv) { return 0; }
17189 _ACEOF
17190 if ac_fn_c_try_link "$LINENO"; then :
17191 ac_cv_cflags__Wempty_body=yes
17192 else
17193 ac_cv_cflags__Wempty_body=no
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17197 CFLAGS=$ac_wine_try_cflags_saved
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17200 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17201 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17202 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17205 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17206 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209 ac_wine_try_cflags_saved=$CFLAGS
17210 CFLAGS="$CFLAGS -Wignored-qualifiers"
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 int main(int argc, char **argv) { return 0; }
17214 _ACEOF
17215 if ac_fn_c_try_link "$LINENO"; then :
17216 ac_cv_cflags__Wignored_qualifiers=yes
17217 else
17218 ac_cv_cflags__Wignored_qualifiers=no
17220 rm -f core conftest.err conftest.$ac_objext \
17221 conftest$ac_exeext conftest.$ac_ext
17222 CFLAGS=$ac_wine_try_cflags_saved
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17225 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17226 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17227 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17230 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17231 if ${ac_cv_cflags__Winit_self+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 ac_wine_try_cflags_saved=$CFLAGS
17235 CFLAGS="$CFLAGS -Winit-self"
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 int main(int argc, char **argv) { return 0; }
17239 _ACEOF
17240 if ac_fn_c_try_link "$LINENO"; then :
17241 ac_cv_cflags__Winit_self=yes
17242 else
17243 ac_cv_cflags__Winit_self=no
17245 rm -f core conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 CFLAGS=$ac_wine_try_cflags_saved
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17250 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17251 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17252 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17255 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17256 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 ac_wine_try_cflags_saved=$CFLAGS
17260 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263 int main(int argc, char **argv) { return 0; }
17264 _ACEOF
17265 if ac_fn_c_try_link "$LINENO"; then :
17266 ac_cv_cflags__Wpacked_not_aligned=yes
17267 else
17268 ac_cv_cflags__Wpacked_not_aligned=no
17270 rm -f core conftest.err conftest.$ac_objext \
17271 conftest$ac_exeext conftest.$ac_ext
17272 CFLAGS=$ac_wine_try_cflags_saved
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17275 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17276 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17277 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17280 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17281 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 ac_wine_try_cflags_saved=$CFLAGS
17285 CFLAGS="$CFLAGS -Wpragma-pack"
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 int main(int argc, char **argv) { return 0; }
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_cflags__Wpragma_pack=yes
17292 else
17293 ac_cv_cflags__Wpragma_pack=no
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17297 CFLAGS=$ac_wine_try_cflags_saved
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17300 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17301 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17302 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17305 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17306 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17309 ac_wine_try_cflags_saved=$CFLAGS
17310 CFLAGS="$CFLAGS -Wshift-overflow=2"
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 int main(int argc, char **argv) { return 0; }
17314 _ACEOF
17315 if ac_fn_c_try_link "$LINENO"; then :
17316 ac_cv_cflags__Wshift_overflow_2=yes
17317 else
17318 ac_cv_cflags__Wshift_overflow_2=no
17320 rm -f core conftest.err conftest.$ac_objext \
17321 conftest$ac_exeext conftest.$ac_ext
17322 CFLAGS=$ac_wine_try_cflags_saved
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17325 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17326 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17327 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17330 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17331 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 ac_wine_try_cflags_saved=$CFLAGS
17335 CFLAGS="$CFLAGS -Wstrict-prototypes"
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 int main(int argc, char **argv) { return 0; }
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"; then :
17341 ac_cv_cflags__Wstrict_prototypes=yes
17342 else
17343 ac_cv_cflags__Wstrict_prototypes=no
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17347 CFLAGS=$ac_wine_try_cflags_saved
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17350 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17351 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17352 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17355 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17356 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 ac_wine_try_cflags_saved=$CFLAGS
17360 CFLAGS="$CFLAGS -Wtype-limits"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363 int main(int argc, char **argv) { return 0; }
17364 _ACEOF
17365 if ac_fn_c_try_link "$LINENO"; then :
17366 ac_cv_cflags__Wtype_limits=yes
17367 else
17368 ac_cv_cflags__Wtype_limits=no
17370 rm -f core conftest.err conftest.$ac_objext \
17371 conftest$ac_exeext conftest.$ac_ext
17372 CFLAGS=$ac_wine_try_cflags_saved
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17375 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17376 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17377 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17380 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17381 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384 ac_wine_try_cflags_saved=$CFLAGS
17385 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 int main(int argc, char **argv) { return 0; }
17389 _ACEOF
17390 if ac_fn_c_try_link "$LINENO"; then :
17391 ac_cv_cflags__Wunused_but_set_parameter=yes
17392 else
17393 ac_cv_cflags__Wunused_but_set_parameter=no
17395 rm -f core conftest.err conftest.$ac_objext \
17396 conftest$ac_exeext conftest.$ac_ext
17397 CFLAGS=$ac_wine_try_cflags_saved
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17400 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17401 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17402 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17405 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17406 if ${ac_cv_cflags__Wvla+:} false; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 ac_wine_try_cflags_saved=$CFLAGS
17410 CFLAGS="$CFLAGS -Wvla"
17411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17413 int main(int argc, char **argv) { return 0; }
17414 _ACEOF
17415 if ac_fn_c_try_link "$LINENO"; then :
17416 ac_cv_cflags__Wvla=yes
17417 else
17418 ac_cv_cflags__Wvla=no
17420 rm -f core conftest.err conftest.$ac_objext \
17421 conftest$ac_exeext conftest.$ac_ext
17422 CFLAGS=$ac_wine_try_cflags_saved
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17425 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17426 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17427 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17430 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17431 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17434 ac_wine_try_cflags_saved=$CFLAGS
17435 CFLAGS="$CFLAGS -Wwrite-strings"
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 int main(int argc, char **argv) { return 0; }
17439 _ACEOF
17440 if ac_fn_c_try_link "$LINENO"; then :
17441 ac_cv_cflags__Wwrite_strings=yes
17442 else
17443 ac_cv_cflags__Wwrite_strings=no
17445 rm -f core conftest.err conftest.$ac_objext \
17446 conftest$ac_exeext conftest.$ac_ext
17447 CFLAGS=$ac_wine_try_cflags_saved
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17450 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17451 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17452 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17455 if test -z "$CROSSTARGET"
17456 then
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17458 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17459 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 ac_wine_try_cflags_saved=$CFLAGS
17463 CFLAGS="$CFLAGS -fexcess-precision=standard"
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 int main(int argc, char **argv) { return 0; }
17467 _ACEOF
17468 if ac_fn_c_try_link "$LINENO"; then :
17469 ac_cv_cflags__fexcess_precision_standard=yes
17470 else
17471 ac_cv_cflags__fexcess_precision_standard=no
17473 rm -f core conftest.err conftest.$ac_objext \
17474 conftest$ac_exeext conftest.$ac_ext
17475 CFLAGS=$ac_wine_try_cflags_saved
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17478 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17479 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17480 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17486 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17487 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 ac_wine_try_cflags_saved=$CFLAGS
17491 CFLAGS="$CFLAGS -Wpointer-arith"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 int main(int argc, char **argv) { return 0; }
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_cflags__Wpointer_arith=yes
17498 else
17499 ac_cv_cflags__Wpointer_arith=no
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17503 CFLAGS=$ac_wine_try_cflags_saved
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17506 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17507 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17508 saved_string_h_CFLAGS=$CFLAGS
17509 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17511 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17512 if ${ac_cv_c_string_h_warnings+:} false; then :
17513 $as_echo_n "(cached) " >&6
17514 else
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <string.h>
17519 main ()
17523 return 0;
17525 _ACEOF
17526 if ac_fn_c_try_compile "$LINENO"; then :
17527 ac_cv_c_string_h_warnings=no
17528 else
17529 ac_cv_c_string_h_warnings=yes
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17534 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17535 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17536 CFLAGS=$saved_string_h_CFLAGS
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17540 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17541 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17542 $as_echo_n "(cached) " >&6
17543 else
17544 ac_wine_try_cflags_saved=$CFLAGS
17545 CFLAGS="$CFLAGS -Wlogical-op"
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17548 int main(int argc, char **argv) { return 0; }
17549 _ACEOF
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_cflags__Wlogical_op=yes
17552 else
17553 ac_cv_cflags__Wlogical_op=no
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17557 CFLAGS=$ac_wine_try_cflags_saved
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17560 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17561 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17562 saved_string_h_CFLAGS=$CFLAGS
17563 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17565 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17566 if ${ac_cv_c_logicalop_noisy+:} false; then :
17567 $as_echo_n "(cached) " >&6
17568 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #include <string.h>
17572 char*f(const char *h,char n) {return strchr(h,n);}
17574 main ()
17578 return 0;
17580 _ACEOF
17581 if ac_fn_c_try_compile "$LINENO"; then :
17582 ac_cv_c_logicalop_noisy=no
17583 else
17584 ac_cv_c_logicalop_noisy=yes
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17589 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17590 CFLAGS=$saved_string_h_CFLAGS
17591 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17595 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17596 if ${wine_cv_64bit_compare_swap+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17601 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17602 #error no
17603 #endif
17605 main ()
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_compile "$LINENO"; then :
17613 wine_cv_64bit_compare_swap="none needed"
17614 else
17615 case $host_cpu in
17616 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17617 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17618 *) wine_cv_64bit_compare_swap="unknown" ;;
17619 esac
17620 if test "x$wine_cv_64bit_compare_swap" != xunknown
17621 then
17622 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17626 #error no
17627 #endif
17629 main ()
17633 return 0;
17635 _ACEOF
17636 if ac_fn_c_try_compile "$LINENO"; then :
17638 else
17639 wine_cv_64bit_compare_swap="unknown"
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642 CFLAGS=$saved_CFLAGS
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17648 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17649 case "$wine_cv_64bit_compare_swap" in
17650 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17651 "none needed") ;;
17652 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17653 esac
17655 for ac_flag in $CFLAGS; do
17656 case $ac_flag in
17657 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17658 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17659 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17662 ac_wine_try_cflags_saved=$CFLAGS
17663 CFLAGS="$CFLAGS -gdwarf-2"
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666 int main(int argc, char **argv) { return 0; }
17667 _ACEOF
17668 if ac_fn_c_try_link "$LINENO"; then :
17669 ac_cv_cflags__gdwarf_2=yes
17670 else
17671 ac_cv_cflags__gdwarf_2=no
17673 rm -f core conftest.err conftest.$ac_objext \
17674 conftest$ac_exeext conftest.$ac_ext
17675 CFLAGS=$ac_wine_try_cflags_saved
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17678 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17679 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17680 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17683 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17684 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 ac_wine_try_cflags_saved=$CFLAGS
17688 CFLAGS="$CFLAGS -gstrict-dwarf"
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 int main(int argc, char **argv) { return 0; }
17692 _ACEOF
17693 if ac_fn_c_try_link "$LINENO"; then :
17694 ac_cv_cflags__gstrict_dwarf=yes
17695 else
17696 ac_cv_cflags__gstrict_dwarf=no
17698 rm -f core conftest.err conftest.$ac_objext \
17699 conftest$ac_exeext conftest.$ac_ext
17700 CFLAGS=$ac_wine_try_cflags_saved
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17703 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17704 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17705 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17706 fi ;;
17707 esac
17708 done
17710 MSVCRTFLAGS=""
17712 case $host_os in
17713 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17714 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17715 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 ac_wine_try_cflags_saved=$CFLAGS
17719 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 int main(int argc, char **argv) { return 0; }
17723 _ACEOF
17724 if ac_fn_c_try_link "$LINENO"; then :
17725 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17726 else
17727 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17731 CFLAGS=$ac_wine_try_cflags_saved
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17734 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17735 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17736 DELAYLOADFLAG="-Wl,-delayload,"
17738 fi ;;
17739 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17740 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17741 if ${ac_cv_cflags__fno_builtin+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 ac_wine_try_cflags_saved=$CFLAGS
17745 CFLAGS="$CFLAGS -fno-builtin"
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 int main(int argc, char **argv) { return 0; }
17749 _ACEOF
17750 if ac_fn_c_try_link "$LINENO"; then :
17751 ac_cv_cflags__fno_builtin=yes
17752 else
17753 ac_cv_cflags__fno_builtin=no
17755 rm -f core conftest.err conftest.$ac_objext \
17756 conftest$ac_exeext conftest.$ac_ext
17757 CFLAGS=$ac_wine_try_cflags_saved
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17760 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17761 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17762 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17765 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17766 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 ac_wine_try_cflags_saved=$CFLAGS
17770 CFLAGS="$CFLAGS -fshort-wchar"
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 int main(int argc, char **argv) { return 0; }
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_cflags__fshort_wchar=yes
17777 else
17778 ac_cv_cflags__fshort_wchar=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17782 CFLAGS=$ac_wine_try_cflags_saved
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17785 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17786 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17787 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17788 fi ;;
17789 esac
17791 case $host_cpu in
17792 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17793 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17794 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 ac_wine_try_cflags_saved=$CFLAGS
17798 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 int main(int argc, char **argv) { return 0; }
17802 _ACEOF
17803 if ac_fn_c_try_link "$LINENO"; then :
17804 ac_cv_cflags__fno_omit_frame_pointer=yes
17805 else
17806 ac_cv_cflags__fno_omit_frame_pointer=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17810 CFLAGS=$ac_wine_try_cflags_saved
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17813 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17814 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17815 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17816 fi ;;
17817 *x86_64*)
17818 case $host_os in
17819 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17820 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17821 if ${ac_cv_cflags__Wno_format+:} false; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17824 ac_wine_try_cflags_saved=$CFLAGS
17825 CFLAGS="$CFLAGS -Wno-format"
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 int main(int argc, char **argv) { return 0; }
17829 _ACEOF
17830 if ac_fn_c_try_link "$LINENO"; then :
17831 ac_cv_cflags__Wno_format=yes
17832 else
17833 ac_cv_cflags__Wno_format=no
17835 rm -f core conftest.err conftest.$ac_objext \
17836 conftest$ac_exeext conftest.$ac_ext
17837 CFLAGS=$ac_wine_try_cflags_saved
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17840 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17841 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17842 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17843 fi ;;
17844 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17845 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17846 if ${ac_cv_cflags__mabi_ms+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 ac_wine_try_cflags_saved=$CFLAGS
17850 CFLAGS="$CFLAGS -mabi=ms"
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 int main(int argc, char **argv) { return 0; }
17854 _ACEOF
17855 if ac_fn_c_try_link "$LINENO"; then :
17856 ac_cv_cflags__mabi_ms=yes
17857 else
17858 ac_cv_cflags__mabi_ms=no
17860 rm -f core conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862 CFLAGS=$ac_wine_try_cflags_saved
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17865 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17866 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17867 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17868 fi ;;
17869 esac ;;
17870 esac
17872 CFLAGS=$saved_CFLAGS
17874 if test "x$enable_werror" = "xyes"
17875 then
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17877 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17878 if ${ac_cv_cflags__Werror+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 ac_wine_try_cflags_saved=$CFLAGS
17882 CFLAGS="$CFLAGS -Werror"
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 int main(int argc, char **argv) { return 0; }
17886 _ACEOF
17887 if ac_fn_c_try_link "$LINENO"; then :
17888 ac_cv_cflags__Werror=yes
17889 else
17890 ac_cv_cflags__Werror=no
17892 rm -f core conftest.err conftest.$ac_objext \
17893 conftest$ac_exeext conftest.$ac_ext
17894 CFLAGS=$ac_wine_try_cflags_saved
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17897 $as_echo "$ac_cv_cflags__Werror" >&6; }
17898 if test "x$ac_cv_cflags__Werror" = xyes; then :
17899 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17902 if test "x$enable_build_id" = "xyes"
17903 then
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17905 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17906 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 ac_wine_try_cflags_saved=$CFLAGS
17910 CFLAGS="$CFLAGS -Wl,--build-id"
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17913 int main(int argc, char **argv) { return 0; }
17914 _ACEOF
17915 if ac_fn_c_try_link "$LINENO"; then :
17916 ac_cv_cflags__Wl___build_id=yes
17917 else
17918 ac_cv_cflags__Wl___build_id=no
17920 rm -f core conftest.err conftest.$ac_objext \
17921 conftest$ac_exeext conftest.$ac_ext
17922 CFLAGS=$ac_wine_try_cflags_saved
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17925 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17926 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17927 CFLAGS="$CFLAGS -Wl,--build-id"
17928 LDFLAGS="$LDFLAGS -Wl,--build-id"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17935 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17936 if ${ac_cv_c_fortify_enabled+:} false; then :
17937 $as_echo_n "(cached) " >&6
17938 else
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17941 #include <string.h>
17943 main ()
17945 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17946 #error Fortify enabled
17947 #endif
17949 return 0;
17951 _ACEOF
17952 if ac_fn_c_try_compile "$LINENO"; then :
17953 ac_cv_c_fortify_enabled=no
17954 else
17955 ac_cv_c_fortify_enabled=yes
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17960 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17961 if test "$ac_cv_c_fortify_enabled" = yes
17962 then
17963 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17968 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17969 if ${ac_cv_c_cfi_support+:} false; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17974 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17976 main ()
17980 return 0;
17982 _ACEOF
17983 if ac_fn_c_try_compile "$LINENO"; then :
17984 ac_cv_c_cfi_support="yes"
17985 else
17986 ac_cv_c_cfi_support="no"
17988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17991 $as_echo "$ac_cv_c_cfi_support" >&6; }
17992 if test "$ac_cv_c_cfi_support" = "yes"
17993 then
17994 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17995 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17996 else
17997 if test "x$enable_win64" = "xyes"
17998 then
17999 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18004 case $build_os in
18005 cygwin*|mingw32*) TOOLSEXT=".exe"
18007 esac
18009 case $host_os in
18010 linux*)
18011 case $host_cpu in
18012 *i[3456789]86*|x86_64*|*aarch64*)
18013 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18014 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18016 esac
18018 esac
18021 ac_save_CFLAGS="$CFLAGS"
18022 CFLAGS="$CFLAGS $BUILTINFLAG"
18023 for ac_func in \
18024 __res_get_state \
18025 __res_getservers \
18026 _spawnvp \
18027 epoll_create \
18028 fnmatch \
18029 fork \
18030 fstatfs \
18031 futimens \
18032 futimes \
18033 futimesat \
18034 getattrlist \
18035 getauxval \
18036 getifaddrs \
18037 getopt_long_only \
18038 getrandom \
18039 kqueue \
18040 lstat \
18041 mach_continuous_time \
18042 pipe2 \
18043 poll \
18044 port_create \
18045 prctl \
18046 pread \
18047 proc_pidinfo \
18048 pwrite \
18049 readlink \
18050 sched_yield \
18051 setproctitle \
18052 setprogname \
18053 sigprocmask \
18054 symlink \
18055 tcdrain \
18056 thr_kill2
18058 do :
18059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18062 cat >>confdefs.h <<_ACEOF
18063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18064 _ACEOF
18067 done
18069 CFLAGS="$ac_save_CFLAGS"
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18072 $as_echo_n "checking for library containing dlopen... " >&6; }
18073 if ${ac_cv_search_dlopen+:} false; then :
18074 $as_echo_n "(cached) " >&6
18075 else
18076 ac_func_search_save_LIBS=$LIBS
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18080 /* Override any GCC internal prototype to avoid an error.
18081 Use char because int might match the return type of a GCC
18082 builtin and then its argument prototype would still apply. */
18083 #ifdef __cplusplus
18084 extern "C"
18085 #endif
18086 char dlopen ();
18088 main ()
18090 return dlopen ();
18092 return 0;
18094 _ACEOF
18095 for ac_lib in '' dl; do
18096 if test -z "$ac_lib"; then
18097 ac_res="none required"
18098 else
18099 ac_res=-l$ac_lib
18100 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18102 if ac_fn_c_try_link "$LINENO"; then :
18103 ac_cv_search_dlopen=$ac_res
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext
18107 if ${ac_cv_search_dlopen+:} false; then :
18108 break
18110 done
18111 if ${ac_cv_search_dlopen+:} false; then :
18113 else
18114 ac_cv_search_dlopen=no
18116 rm conftest.$ac_ext
18117 LIBS=$ac_func_search_save_LIBS
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18120 $as_echo "$ac_cv_search_dlopen" >&6; }
18121 ac_res=$ac_cv_search_dlopen
18122 if test "$ac_res" != no; then :
18123 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18127 ac_wine_check_funcs_save_LIBS="$LIBS"
18128 LIBS="$LIBS $DL_LIBS"
18129 for ac_func in dladdr dlinfo
18130 do :
18131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18134 cat >>confdefs.h <<_ACEOF
18135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18136 _ACEOF
18139 done
18141 LIBS="$ac_wine_check_funcs_save_LIBS"
18143 if test "$ac_cv_func_poll" = no
18144 then
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18146 $as_echo_n "checking for poll in -lpoll... " >&6; }
18147 if ${ac_cv_lib_poll_poll+:} false; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18150 ac_check_lib_save_LIBS=$LIBS
18151 LIBS="-lpoll $LIBS"
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18155 /* Override any GCC internal prototype to avoid an error.
18156 Use char because int might match the return type of a GCC
18157 builtin and then its argument prototype would still apply. */
18158 #ifdef __cplusplus
18159 extern "C"
18160 #endif
18161 char poll ();
18163 main ()
18165 return poll ();
18167 return 0;
18169 _ACEOF
18170 if ac_fn_c_try_link "$LINENO"; then :
18171 ac_cv_lib_poll_poll=yes
18172 else
18173 ac_cv_lib_poll_poll=no
18175 rm -f core conftest.err conftest.$ac_objext \
18176 conftest$ac_exeext conftest.$ac_ext
18177 LIBS=$ac_check_lib_save_LIBS
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18180 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18181 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18182 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18183 POLL_LIBS="-lpoll"
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18190 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18191 if ${ac_cv_search_gethostbyname+:} false; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18194 ac_func_search_save_LIBS=$LIBS
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 #ifdef __cplusplus
18202 extern "C"
18203 #endif
18204 char gethostbyname ();
18206 main ()
18208 return gethostbyname ();
18210 return 0;
18212 _ACEOF
18213 for ac_lib in '' nsl; do
18214 if test -z "$ac_lib"; then
18215 ac_res="none required"
18216 else
18217 ac_res=-l$ac_lib
18218 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18220 if ac_fn_c_try_link "$LINENO"; then :
18221 ac_cv_search_gethostbyname=$ac_res
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext
18225 if ${ac_cv_search_gethostbyname+:} false; then :
18226 break
18228 done
18229 if ${ac_cv_search_gethostbyname+:} false; then :
18231 else
18232 ac_cv_search_gethostbyname=no
18234 rm conftest.$ac_ext
18235 LIBS=$ac_func_search_save_LIBS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18238 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18239 ac_res=$ac_cv_search_gethostbyname
18240 if test "$ac_res" != no; then :
18241 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18247 $as_echo_n "checking for library containing connect... " >&6; }
18248 if ${ac_cv_search_connect+:} false; then :
18249 $as_echo_n "(cached) " >&6
18250 else
18251 ac_func_search_save_LIBS=$LIBS
18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253 /* end confdefs.h. */
18255 /* Override any GCC internal prototype to avoid an error.
18256 Use char because int might match the return type of a GCC
18257 builtin and then its argument prototype would still apply. */
18258 #ifdef __cplusplus
18259 extern "C"
18260 #endif
18261 char connect ();
18263 main ()
18265 return connect ();
18267 return 0;
18269 _ACEOF
18270 for ac_lib in '' socket; do
18271 if test -z "$ac_lib"; then
18272 ac_res="none required"
18273 else
18274 ac_res=-l$ac_lib
18275 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18277 if ac_fn_c_try_link "$LINENO"; then :
18278 ac_cv_search_connect=$ac_res
18280 rm -f core conftest.err conftest.$ac_objext \
18281 conftest$ac_exeext
18282 if ${ac_cv_search_connect+:} false; then :
18283 break
18285 done
18286 if ${ac_cv_search_connect+:} false; then :
18288 else
18289 ac_cv_search_connect=no
18291 rm conftest.$ac_ext
18292 LIBS=$ac_func_search_save_LIBS
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18295 $as_echo "$ac_cv_search_connect" >&6; }
18296 ac_res=$ac_cv_search_connect
18297 if test "$ac_res" != no; then :
18298 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18304 $as_echo_n "checking for library containing inet_aton... " >&6; }
18305 if ${ac_cv_search_inet_aton+:} false; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18308 ac_func_search_save_LIBS=$LIBS
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 /* Override any GCC internal prototype to avoid an error.
18313 Use char because int might match the return type of a GCC
18314 builtin and then its argument prototype would still apply. */
18315 #ifdef __cplusplus
18316 extern "C"
18317 #endif
18318 char inet_aton ();
18320 main ()
18322 return inet_aton ();
18324 return 0;
18326 _ACEOF
18327 for ac_lib in '' resolv; do
18328 if test -z "$ac_lib"; then
18329 ac_res="none required"
18330 else
18331 ac_res=-l$ac_lib
18332 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18334 if ac_fn_c_try_link "$LINENO"; then :
18335 ac_cv_search_inet_aton=$ac_res
18337 rm -f core conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext
18339 if ${ac_cv_search_inet_aton+:} false; then :
18340 break
18342 done
18343 if ${ac_cv_search_inet_aton+:} false; then :
18345 else
18346 ac_cv_search_inet_aton=no
18348 rm conftest.$ac_ext
18349 LIBS=$ac_func_search_save_LIBS
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18352 $as_echo "$ac_cv_search_inet_aton" >&6; }
18353 ac_res=$ac_cv_search_inet_aton
18354 if test "$ac_res" != no; then :
18355 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18360 for ac_func in \
18361 getaddrinfo \
18362 getnameinfo \
18363 getservbyport \
18365 do :
18366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18368 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18369 cat >>confdefs.h <<_ACEOF
18370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18371 _ACEOF
18374 done
18377 case $host_os in
18378 darwin*|macosx*) ;;
18379 *) ac_save_LIBS=$LIBS
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18381 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18382 if ${ac_cv_search_clock_gettime+:} false; then :
18383 $as_echo_n "(cached) " >&6
18384 else
18385 ac_func_search_save_LIBS=$LIBS
18386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h. */
18389 /* Override any GCC internal prototype to avoid an error.
18390 Use char because int might match the return type of a GCC
18391 builtin and then its argument prototype would still apply. */
18392 #ifdef __cplusplus
18393 extern "C"
18394 #endif
18395 char clock_gettime ();
18397 main ()
18399 return clock_gettime ();
18401 return 0;
18403 _ACEOF
18404 for ac_lib in '' rt; do
18405 if test -z "$ac_lib"; then
18406 ac_res="none required"
18407 else
18408 ac_res=-l$ac_lib
18409 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18411 if ac_fn_c_try_link "$LINENO"; then :
18412 ac_cv_search_clock_gettime=$ac_res
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext
18416 if ${ac_cv_search_clock_gettime+:} false; then :
18417 break
18419 done
18420 if ${ac_cv_search_clock_gettime+:} false; then :
18422 else
18423 ac_cv_search_clock_gettime=no
18425 rm conftest.$ac_ext
18426 LIBS=$ac_func_search_save_LIBS
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18429 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18430 ac_res=$ac_cv_search_clock_gettime
18431 if test "$ac_res" != no; then :
18432 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18434 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18436 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18440 LIBS=$ac_save_LIBS
18442 esac
18444 if test "x$with_ldap" != "xno"
18445 then
18446 if ${LDAP_CFLAGS:+false} :; then :
18447 if ${PKG_CONFIG+:} false; then :
18448 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18452 if ${LDAP_LIBS:+false} :; then :
18453 if ${PKG_CONFIG+:} false; then :
18454 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18458 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18459 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18460 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18461 ac_save_CPPFLAGS=$CPPFLAGS
18462 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18463 for ac_header in ldap.h lber.h
18464 do :
18465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18466 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18468 cat >>confdefs.h <<_ACEOF
18469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18470 _ACEOF
18474 done
18476 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18477 then
18478 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18480 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18482 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18483 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18484 $as_echo_n "(cached) " >&6
18485 else
18486 ac_check_lib_save_LIBS=$LIBS
18487 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18491 /* Override any GCC internal prototype to avoid an error.
18492 Use char because int might match the return type of a GCC
18493 builtin and then its argument prototype would still apply. */
18494 #ifdef __cplusplus
18495 extern "C"
18496 #endif
18497 char ldap_initialize ();
18499 main ()
18501 return ldap_initialize ();
18503 return 0;
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"; then :
18507 ac_cv_lib_ldap_r_ldap_initialize=yes
18508 else
18509 ac_cv_lib_ldap_r_ldap_initialize=no
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18513 LIBS=$ac_check_lib_save_LIBS
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18516 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18517 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18519 $as_echo_n "checking for ber_init in -llber... " >&6; }
18520 if ${ac_cv_lib_lber_ber_init+:} false; then :
18521 $as_echo_n "(cached) " >&6
18522 else
18523 ac_check_lib_save_LIBS=$LIBS
18524 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18528 /* Override any GCC internal prototype to avoid an error.
18529 Use char because int might match the return type of a GCC
18530 builtin and then its argument prototype would still apply. */
18531 #ifdef __cplusplus
18532 extern "C"
18533 #endif
18534 char ber_init ();
18536 main ()
18538 return ber_init ();
18540 return 0;
18542 _ACEOF
18543 if ac_fn_c_try_link "$LINENO"; then :
18544 ac_cv_lib_lber_ber_init=yes
18545 else
18546 ac_cv_lib_lber_ber_init=no
18548 rm -f core conftest.err conftest.$ac_objext \
18549 conftest$ac_exeext conftest.$ac_ext
18550 LIBS=$ac_check_lib_save_LIBS
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18553 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18554 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18556 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18558 else
18559 LDAP_LIBS=""
18562 else
18563 LDAP_LIBS=""
18566 else
18567 LDAP_LIBS=""
18570 ac_wine_check_funcs_save_LIBS="$LIBS"
18571 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18572 for ac_func in \
18573 ldap_count_references \
18574 ldap_first_reference \
18575 ldap_next_reference \
18576 ldap_parse_reference \
18577 ldap_parse_sort_control \
18578 ldap_parse_sortresponse_control \
18579 ldap_parse_vlv_control \
18580 ldap_parse_vlvresponse_control
18581 do :
18582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18585 cat >>confdefs.h <<_ACEOF
18586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18587 _ACEOF
18590 done
18592 LIBS="$ac_wine_check_funcs_save_LIBS"
18593 else
18594 LDAP_LIBS=""
18596 CPPFLAGS=$ac_save_CPPFLAGS
18599 if test "x$LDAP_LIBS" = "x"; then :
18600 case "x$with_ldap" in
18601 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18602 xno) ;;
18603 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18604 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18605 esac
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18610 $as_echo_n "checking for sched_setaffinity... " >&6; }
18611 if ${wine_cv_have_sched_setaffinity+:} false; then :
18612 $as_echo_n "(cached) " >&6
18613 else
18614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18615 /* end confdefs.h. */
18616 #define _GNU_SOURCE
18617 #include <sched.h>
18619 main ()
18621 sched_setaffinity(0, 0, 0);
18623 return 0;
18625 _ACEOF
18626 if ac_fn_c_try_link "$LINENO"; then :
18627 wine_cv_have_sched_setaffinity=yes
18628 else
18629 wine_cv_have_sched_setaffinity=no
18631 rm -f core conftest.err conftest.$ac_objext \
18632 conftest$ac_exeext conftest.$ac_ext
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18635 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18636 if test "$wine_cv_have_sched_setaffinity" = "yes"
18637 then
18639 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18644 $as_echo_n "checking for fallocate... " >&6; }
18645 if ${wine_cv_have_fallocate+:} false; then :
18646 $as_echo_n "(cached) " >&6
18647 else
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #define _GNU_SOURCE
18651 #include <fcntl.h>
18653 main ()
18655 fallocate(-1, 0, 0, 0);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_c_try_link "$LINENO"; then :
18661 wine_cv_have_fallocate=yes
18662 else
18663 wine_cv_have_fallocate=no
18665 rm -f core conftest.err conftest.$ac_objext \
18666 conftest$ac_exeext conftest.$ac_ext
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18669 $as_echo "$wine_cv_have_fallocate" >&6; }
18670 if test "$wine_cv_have_fallocate" = "yes"
18671 then
18673 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18679 $as_echo_n "checking for inline... " >&6; }
18680 if ${ac_cv_c_inline+:} false; then :
18681 $as_echo_n "(cached) " >&6
18682 else
18683 ac_cv_c_inline=no
18684 for ac_kw in inline __inline__ __inline; do
18685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18687 #ifndef __cplusplus
18688 typedef int foo_t;
18689 static $ac_kw foo_t static_foo () {return 0; }
18690 $ac_kw foo_t foo () {return 0; }
18691 #endif
18693 _ACEOF
18694 if ac_fn_c_try_compile "$LINENO"; then :
18695 ac_cv_c_inline=$ac_kw
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 test "$ac_cv_c_inline" != no && break
18699 done
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18703 $as_echo "$ac_cv_c_inline" >&6; }
18705 case $ac_cv_c_inline in
18706 inline | yes) ;;
18708 case $ac_cv_c_inline in
18709 no) ac_val=;;
18710 *) ac_val=$ac_cv_c_inline;;
18711 esac
18712 cat >>confdefs.h <<_ACEOF
18713 #ifndef __cplusplus
18714 #define inline $ac_val
18715 #endif
18716 _ACEOF
18718 esac
18720 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18721 #include <signal.h>
18723 if test "x$ac_cv_type_sigset_t" = xyes; then :
18725 cat >>confdefs.h <<_ACEOF
18726 #define HAVE_SIGSET_T 1
18727 _ACEOF
18732 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18734 if test "x$ac_cv_type_request_sense" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_REQUEST_SENSE 1
18738 _ACEOF
18744 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18745 #ifdef HAVE_SYS_SOCKET_H
18746 #include <sys/socket.h>
18747 #endif
18748 #ifdef HAVE_SYS_SOCKETVAR_H
18749 #include <sys/socketvar.h>
18750 #endif
18751 #ifdef HAVE_NET_ROUTE_H
18752 #include <net/route.h>
18753 #endif
18754 #ifdef HAVE_NETINET_IN_H
18755 #include <netinet/in.h>
18756 #endif
18757 #ifdef HAVE_NETINET_IN_SYSTM_H
18758 #include <netinet/in_systm.h>
18759 #endif
18760 #ifdef HAVE_NETINET_IP_H
18761 #include <netinet/ip.h>
18762 #endif
18763 #ifdef HAVE_NETINET_IN_PCB_H
18764 #include <netinet/in_pcb.h>
18765 #endif
18767 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18769 cat >>confdefs.h <<_ACEOF
18770 #define HAVE_STRUCT_XINPGEN 1
18771 _ACEOF
18777 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18778 #include <linux/input.h>
18779 #endif
18781 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18785 _ACEOF
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18792 $as_echo_n "checking for if_nameindex... " >&6; }
18793 if ${wine_cv_have_if_nameindex+:} false; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798 #ifdef HAVE_SYS_TYPES_H
18799 #include <sys/types.h>
18800 #endif
18801 #ifdef HAVE_SYS_SOCKET_H
18802 #include <sys/socket.h>
18803 #endif
18804 #ifdef HAVE_NET_IF_H
18805 # include <net/if.h>
18806 #endif
18808 main ()
18810 struct if_nameindex *p = if_nameindex(); return p->if_index;
18812 return 0;
18814 _ACEOF
18815 if ac_fn_c_try_link "$LINENO"; then :
18816 wine_cv_have_if_nameindex=yes
18817 else
18818 wine_cv_have_if_nameindex=no
18820 rm -f core conftest.err conftest.$ac_objext \
18821 conftest$ac_exeext conftest.$ac_ext
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18824 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18825 if test "$wine_cv_have_if_nameindex" = "yes"
18826 then
18828 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18833 $as_echo_n "checking for sigaddset... " >&6; }
18834 if ${wine_cv_have_sigaddset+:} false; then :
18835 $as_echo_n "(cached) " >&6
18836 else
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 #include <signal.h>
18841 main ()
18843 sigset_t set; sigaddset(&set,SIGTERM);
18845 return 0;
18847 _ACEOF
18848 if ac_fn_c_try_link "$LINENO"; then :
18849 wine_cv_have_sigaddset=yes
18850 else
18851 wine_cv_have_sigaddset=no
18853 rm -f core conftest.err conftest.$ac_objext \
18854 conftest$ac_exeext conftest.$ac_ext
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18857 $as_echo "$wine_cv_have_sigaddset" >&6; }
18858 if test "$wine_cv_have_sigaddset" = "yes"
18859 then
18861 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18867 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18868 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18869 $as_echo_n "(cached) " >&6
18870 else
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 #include <netdb.h>
18875 main ()
18878 char *name=0;
18879 struct hostent he;
18880 struct hostent *result;
18881 char *buf=0;
18882 int bufsize=0;
18883 int errnr;
18884 char *addr=0;
18885 int addrlen=0;
18886 int addrtype=0;
18887 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18888 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18891 return 0;
18893 _ACEOF
18894 if ac_fn_c_try_link "$LINENO"; then :
18895 wine_cv_linux_gethostbyname_r_6=yes
18896 else
18897 wine_cv_linux_gethostbyname_r_6=no
18900 rm -f core conftest.err conftest.$ac_objext \
18901 conftest$ac_exeext conftest.$ac_ext
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18905 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18906 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18907 then
18909 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18913 if test "$ac_cv_header_linux_joystick_h" = "yes"
18914 then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18916 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18917 if ${wine_cv_linux_joystick_22_api+:} false; then :
18918 $as_echo_n "(cached) " >&6
18919 else
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18923 #include <sys/ioctl.h>
18924 #include <sys/types.h>
18925 #include <linux/joystick.h>
18927 struct js_event blub;
18928 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18929 #error "no 2.2 header"
18930 #endif
18933 main ()
18935 /*empty*/
18937 return 0;
18939 _ACEOF
18940 if ac_fn_c_try_compile "$LINENO"; then :
18941 wine_cv_linux_joystick_22_api=yes
18942 else
18943 wine_cv_linux_joystick_22_api=no
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18949 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18950 if test "$wine_cv_linux_joystick_22_api" = "yes"
18951 then
18953 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18958 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18959 #ifdef HAVE_SYS_SOCKET_H
18960 # include <sys/socket.h>
18961 #endif
18962 #ifdef HAVE_SYS_UN_H
18963 # include <sys/un.h>
18964 #endif
18966 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18970 _ACEOF
18974 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18975 #ifdef HAVE_SYS_SOCKET_H
18976 # include <sys/socket.h>
18977 #endif
18978 #ifdef HAVE_SYS_UN_H
18979 # include <sys/un.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_SOCKET_H
18992 # include <sys/socket.h>
18993 #endif
18994 #ifdef HAVE_SYS_UN_H
18995 # include <sys/un.h>
18996 #endif
18998 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19002 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19009 #ifdef HAVE_SCSI_SG_H
19010 #include <scsi/sg.h>
19011 #endif
19013 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_SCSIREQ_T_CMD 1
19017 _ACEOF
19021 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>
19022 #ifdef HAVE_SCSI_SG_H
19023 #include <scsi/sg.h>
19024 #endif
19026 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19030 _ACEOF
19036 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19038 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_SIGINFO_T_SI_FD 1
19042 _ACEOF
19048 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19049 #ifdef HAVE_SYS_MTIO_H
19050 #include <sys/mtio.h>
19051 #endif
19053 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19062 #ifdef HAVE_SYS_MTIO_H
19063 #include <sys/mtio.h>
19064 #endif
19066 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19070 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19075 #ifdef HAVE_SYS_MTIO_H
19076 #include <sys/mtio.h>
19077 #endif
19079 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19083 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19090 #include <getopt.h>
19091 #endif
19093 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_OPTION_NAME 1
19097 _ACEOF
19103 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19104 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19108 _ACEOF
19112 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19113 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_STRUCT_STAT_ST_MTIM 1
19117 _ACEOF
19121 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19122 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19126 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19131 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_STAT_ST_CTIM 1
19135 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19140 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19144 _ACEOF
19148 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19149 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT_STAT_ST_ATIM 1
19153 _ACEOF
19157 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19158 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19160 cat >>confdefs.h <<_ACEOF
19161 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19162 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19167 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19171 _ACEOF
19175 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19176 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19180 _ACEOF
19184 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19185 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19187 cat >>confdefs.h <<_ACEOF
19188 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19189 _ACEOF
19193 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19194 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19198 _ACEOF
19202 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19203 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19207 _ACEOF
19213 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
19214 #include <sys/types.h>
19215 #endif
19216 #ifdef HAVE_NETINET_IN_H
19217 #include <netinet/in.h>
19218 #endif
19220 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19222 cat >>confdefs.h <<_ACEOF
19223 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19224 _ACEOF
19230 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19231 #include <sys/types.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IN_H
19234 #include <netinet/in.h>
19235 #endif
19236 #ifdef HAVE_RESOLV_H
19237 #include <resolv.h>
19238 #endif
19240 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT___RES_STATE 1
19244 _ACEOF
19250 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
19251 #include <resolv.h>
19252 #endif
19254 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19258 _ACEOF
19264 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19265 #include <sys/types.h>
19266 #endif
19267 #ifdef HAVE_NETINET_IN_H
19268 # include <netinet/in.h>
19269 #endif
19270 #ifdef HAVE_ARPA_NAMESER_H
19271 # include <arpa/nameser.h>
19272 #endif
19274 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_NS_MSG__MSG_PTR 1
19278 _ACEOF
19284 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#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_NETINET_IP_H
19291 #include <netinet/ip.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IP_ICMP_H
19294 #include <netinet/ip_icmp.h>
19295 #endif
19296 #ifdef HAVE_NETINET_ICMP_VAR_H
19297 #include <netinet/icmp_var.h>
19298 #endif
19300 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19302 cat >>confdefs.h <<_ACEOF
19303 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19304 _ACEOF
19310 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19311 #include <sys/types.h>
19312 #endif
19313 #ifdef HAVE_ALIAS_H
19314 #include <alias.h>
19315 #endif
19316 #ifdef HAVE_SYS_SOCKET_H
19317 #include <sys/socket.h>
19318 #endif
19319 #ifdef HAVE_SYS_SOCKETVAR_H
19320 #include <sys/socketvar.h>
19321 #endif
19322 #ifdef HAVE_SYS_TIMEOUT_H
19323 #include <sys/timeout.h>
19324 #endif
19325 #ifdef HAVE_NETINET_IN_H
19326 #include <netinet/in.h>
19327 #endif
19328 #ifdef HAVE_NETINET_IN_SYSTM_H
19329 #include <netinet/in_systm.h>
19330 #endif
19331 #ifdef HAVE_NETINET_IP_H
19332 #include <netinet/ip.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IP_VAR_H
19335 #include <netinet/ip_var.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IP_ICMP_H
19338 #include <netinet/ip_icmp.h>
19339 #endif
19340 #ifdef HAVE_NETINET_ICMP_VAR_H
19341 #include <netinet/icmp_var.h>
19342 #endif
19344 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19346 cat >>confdefs.h <<_ACEOF
19347 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19348 _ACEOF
19354 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19355 #include <sys/types.h>
19356 #endif
19357 #ifdef HAVE_SYS_SOCKETVAR_H
19358 #include <sys/socketvar.h>
19359 #endif
19360 #ifdef HAVE_NETINET_IN_H
19361 #include <netinet/in.h>
19362 #endif
19363 #ifdef HAVE_NETINET_IP_VAR_H
19364 #include <netinet/ip_var.h>
19365 #endif
19367 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19371 _ACEOF
19377 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
19378 #include <netinet/ip_var.h>
19379 #endif
19381 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19385 _ACEOF
19391 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19392 #include <sys/types.h>
19393 #endif
19394 #ifdef HAVE_SYS_SOCKETVAR_H
19395 #include <sys/socketvar.h>
19396 #endif
19397 #ifdef HAVE_NETINET_IN_H
19398 #include <netinet/in.h>
19399 #endif
19400 #ifdef HAVE_NETINET_TCP_H
19401 #include <netinet/tcp.h>
19402 #endif
19403 #ifdef HAVE_NETINET_TCP_VAR_H
19404 #include <netinet/tcp_var.h>
19405 #endif
19407 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19409 cat >>confdefs.h <<_ACEOF
19410 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19411 _ACEOF
19417 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
19418 #include <netinet/tcp_var.h>
19419 #endif
19421 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19425 _ACEOF
19431 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19432 #include <sys/types.h>
19433 #endif
19434 #ifdef HAVE_NETINET_IN_H
19435 #include <netinet/in.h>
19436 #endif
19437 #ifdef HAVE_NETINET_IP_VAR_H
19438 #include <netinet/ip_var.h>
19439 #endif
19440 #ifdef HAVE_NETINET_UDP_H
19441 #include <netinet/udp.h>
19442 #endif
19443 #ifdef HAVE_NETINET_UDP_VAR_H
19444 #include <netinet/udp_var.h>
19445 #endif
19447 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19451 _ACEOF
19457 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19458 #include <sys/types.h>
19459 #endif
19460 #ifdef HAVE_NET_IF_H
19461 # include <net/if.h>
19462 #endif
19464 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19466 cat >>confdefs.h <<_ACEOF
19467 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19468 _ACEOF
19474 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19475 # include <sys/sysinfo.h>
19476 #endif
19478 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19480 cat >>confdefs.h <<_ACEOF
19481 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19482 _ACEOF
19486 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19487 # include <sys/sysinfo.h>
19488 #endif
19490 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19492 cat >>confdefs.h <<_ACEOF
19493 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19494 _ACEOF
19500 ac_save_LIBS="$LIBS"
19501 LIBS="$LIBS -lm"
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19503 $as_echo_n "checking for isfinite... " >&6; }
19504 if ${ac_cv_have_isfinite+:} false; then :
19505 $as_echo_n "(cached) " >&6
19506 else
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #define _GNU_SOURCE
19510 #include <math.h>
19512 main ()
19514 float f = 0.0; return isfinite(f)
19516 return 0;
19518 _ACEOF
19519 if ac_fn_c_try_link "$LINENO"; then :
19520 ac_cv_have_isfinite="yes"
19521 else
19522 ac_cv_have_isfinite="no"
19524 rm -f core conftest.err conftest.$ac_objext \
19525 conftest$ac_exeext conftest.$ac_ext
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19528 $as_echo "$ac_cv_have_isfinite" >&6; }
19529 if test "$ac_cv_have_isfinite" = "yes"
19530 then
19532 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19537 $as_echo_n "checking for isinf... " >&6; }
19538 if ${ac_cv_have_isinf+:} false; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 #include <math.h>
19545 main ()
19547 float f = 0.0; return isinf(f)
19549 return 0;
19551 _ACEOF
19552 if ac_fn_c_try_link "$LINENO"; then :
19553 ac_cv_have_isinf="yes"
19554 else
19555 ac_cv_have_isinf="no"
19557 rm -f core conftest.err conftest.$ac_objext \
19558 conftest$ac_exeext conftest.$ac_ext
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19561 $as_echo "$ac_cv_have_isinf" >&6; }
19562 if test "$ac_cv_have_isinf" = "yes"
19563 then
19565 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19570 $as_echo_n "checking for isnan... " >&6; }
19571 if ${ac_cv_have_isnan+:} false; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #include <math.h>
19578 main ()
19580 float f = 0.0; return isnan(f)
19582 return 0;
19584 _ACEOF
19585 if ac_fn_c_try_link "$LINENO"; then :
19586 ac_cv_have_isnan="yes"
19587 else
19588 ac_cv_have_isnan="no"
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext conftest.$ac_ext
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19594 $as_echo "$ac_cv_have_isnan" >&6; }
19595 if test "$ac_cv_have_isnan" = "yes"
19596 then
19598 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19602 for ac_func in \
19603 acosh \
19604 acoshf \
19605 asinh \
19606 asinhf \
19607 atanh \
19608 atanhf \
19609 cbrt \
19610 cbrtf \
19611 erf \
19612 erfc \
19613 erfcf \
19614 erff \
19615 exp2 \
19616 exp2f \
19617 expm1 \
19618 expm1f \
19619 fma \
19620 fmaf \
19621 j0 \
19622 j1 \
19623 jn \
19624 lgamma \
19625 lgammaf \
19626 llrint \
19627 llrintf \
19628 llround \
19629 llroundf \
19630 log1p \
19631 log1pf \
19632 log2 \
19633 log2f \
19634 lrint \
19635 lrintf \
19636 lround \
19637 lroundf \
19638 nearbyint \
19639 nearbyintf \
19640 nexttoward \
19641 nexttowardf \
19642 remainder \
19643 remainderf \
19644 remquo \
19645 remquof \
19646 rint \
19647 rintf \
19648 round \
19649 roundf \
19650 tgamma \
19651 tgammaf \
19652 trunc \
19653 truncf \
19654 y0 \
19655 y1 \
19658 do :
19659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19661 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19662 cat >>confdefs.h <<_ACEOF
19663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19664 _ACEOF
19667 done
19669 LIBS="$ac_save_LIBS"
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19672 $as_echo_n "checking for __builtin_popcount... " >&6; }
19673 if ${ac_cv_have___builtin_popcount+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19680 main ()
19682 return __builtin_popcount(1)
19684 return 0;
19686 _ACEOF
19687 if ac_fn_c_try_link "$LINENO"; then :
19688 ac_cv_have___builtin_popcount="yes"
19689 else
19690 ac_cv_have___builtin_popcount="no"
19692 rm -f core conftest.err conftest.$ac_objext \
19693 conftest$ac_exeext conftest.$ac_ext
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19696 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19697 if test "$ac_cv_have___builtin_popcount" = "yes"
19698 then
19700 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19705 $as_echo_n "checking for __clear_cache... " >&6; }
19706 if ${ac_cv_have___clear_cache+:} false; then :
19707 $as_echo_n "(cached) " >&6
19708 else
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19713 main ()
19715 __clear_cache((void*)0, (void*)0); return 0;
19717 return 0;
19719 _ACEOF
19720 if ac_fn_c_try_link "$LINENO"; then :
19721 ac_cv_have___clear_cache="yes"
19722 else
19723 ac_cv_have___clear_cache="no"
19725 rm -f core conftest.err conftest.$ac_objext \
19726 conftest$ac_exeext conftest.$ac_ext
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19729 $as_echo "$ac_cv_have___clear_cache" >&6; }
19730 if test "$ac_cv_have___clear_cache" = "yes"
19731 then
19733 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19738 case $host_cpu in
19739 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19740 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19741 if ${ac_cv_cpp_def___i386__+:} false; then :
19742 $as_echo_n "(cached) " >&6
19743 else
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19746 #ifndef __i386__
19748 #endif
19749 _ACEOF
19750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19751 $EGREP "yes" >/dev/null 2>&1; then :
19752 ac_cv_cpp_def___i386__=yes
19753 else
19754 ac_cv_cpp_def___i386__=no
19756 rm -f conftest*
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19760 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19761 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19762 CFLAGS="$CFLAGS -D__i386__"
19763 LINTFLAGS="$LINTFLAGS -D__i386__"
19764 fi ;;
19765 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19766 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19767 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19772 #ifndef __x86_64__
19774 #endif
19775 _ACEOF
19776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19777 $EGREP "yes" >/dev/null 2>&1; then :
19778 ac_cv_cpp_def___x86_64__=yes
19779 else
19780 ac_cv_cpp_def___x86_64__=no
19782 rm -f conftest*
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19786 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19787 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19788 CFLAGS="$CFLAGS -D__x86_64__"
19789 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19790 fi ;;
19791 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19792 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19793 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19794 $as_echo_n "(cached) " >&6
19795 else
19796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19797 /* end confdefs.h. */
19798 #ifndef __sparc64__
19800 #endif
19801 _ACEOF
19802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19803 $EGREP "yes" >/dev/null 2>&1; then :
19804 ac_cv_cpp_def___sparc64__=yes
19805 else
19806 ac_cv_cpp_def___sparc64__=no
19808 rm -f conftest*
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19812 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19813 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19814 CFLAGS="$CFLAGS -D__sparc64__"
19815 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19816 fi ;;
19817 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19818 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19819 if ${ac_cv_cpp_def___sparc__+:} false; then :
19820 $as_echo_n "(cached) " >&6
19821 else
19822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19824 #ifndef __sparc__
19826 #endif
19827 _ACEOF
19828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19829 $EGREP "yes" >/dev/null 2>&1; then :
19830 ac_cv_cpp_def___sparc__=yes
19831 else
19832 ac_cv_cpp_def___sparc__=no
19834 rm -f conftest*
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19838 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19839 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19840 CFLAGS="$CFLAGS -D__sparc__"
19841 LINTFLAGS="$LINTFLAGS -D__sparc__"
19842 fi ;;
19843 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19844 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19845 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19846 $as_echo_n "(cached) " >&6
19847 else
19848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19850 #ifndef __powerpc64__
19852 #endif
19853 _ACEOF
19854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19855 $EGREP "yes" >/dev/null 2>&1; then :
19856 ac_cv_cpp_def___powerpc64__=yes
19857 else
19858 ac_cv_cpp_def___powerpc64__=no
19860 rm -f conftest*
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19864 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19865 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19866 CFLAGS="$CFLAGS -D__powerpc64__"
19867 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19868 fi ;;
19869 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19870 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19871 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19872 $as_echo_n "(cached) " >&6
19873 else
19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19876 #ifndef __powerpc__
19878 #endif
19879 _ACEOF
19880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19881 $EGREP "yes" >/dev/null 2>&1; then :
19882 ac_cv_cpp_def___powerpc__=yes
19883 else
19884 ac_cv_cpp_def___powerpc__=no
19886 rm -f conftest*
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19890 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19891 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19892 CFLAGS="$CFLAGS -D__powerpc__"
19893 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19894 fi ;;
19895 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19896 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19897 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19898 $as_echo_n "(cached) " >&6
19899 else
19900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h. */
19902 #ifndef __aarch64__
19904 #endif
19905 _ACEOF
19906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19907 $EGREP "yes" >/dev/null 2>&1; then :
19908 ac_cv_cpp_def___aarch64__=yes
19909 else
19910 ac_cv_cpp_def___aarch64__=no
19912 rm -f conftest*
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19916 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19917 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19918 CFLAGS="$CFLAGS -D__aarch64__"
19919 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19920 fi ;;
19921 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19922 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19923 if ${ac_cv_cpp_def___arm__+:} false; then :
19924 $as_echo_n "(cached) " >&6
19925 else
19926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19927 /* end confdefs.h. */
19928 #ifndef __arm__
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___arm__=yes
19935 else
19936 ac_cv_cpp_def___arm__=no
19938 rm -f conftest*
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19942 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19943 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19944 CFLAGS="$CFLAGS -D__arm__"
19945 LINTFLAGS="$LINTFLAGS -D__arm__"
19946 fi ;;
19947 esac
19949 case $host_vendor in
19950 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19951 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19952 if ${ac_cv_cpp_def___sun__+:} false; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #ifndef __sun__
19959 #endif
19960 _ACEOF
19961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19962 $EGREP "yes" >/dev/null 2>&1; then :
19963 ac_cv_cpp_def___sun__=yes
19964 else
19965 ac_cv_cpp_def___sun__=no
19967 rm -f conftest*
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19971 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19972 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19973 CFLAGS="$CFLAGS -D__sun__"
19974 LINTFLAGS="$LINTFLAGS -D__sun__"
19975 fi ;;
19976 esac
19982 ac_config_commands="$ac_config_commands include/stamp-h"
19984 $as_echo_n "creating Makefile rules..." >&6
19986 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19987 OPENGL_LIBS = $OPENGL_LIBS
19988 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19989 IOKIT_LIBS = $IOKIT_LIBS
19990 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19991 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19992 CORESERVICES_LIBS = $CORESERVICES_LIBS
19993 APPKIT_LIBS = $APPKIT_LIBS
19994 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19995 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19996 SECURITY_LIBS = $SECURITY_LIBS
19997 COREAUDIO_LIBS = $COREAUDIO_LIBS
19998 OPENAL_LIBS = $OPENAL_LIBS
19999 OPENCL_LIBS = $OPENCL_LIBS
20000 QUICKTIME_LIBS = $QUICKTIME_LIBS
20001 CARBON_LIBS = $CARBON_LIBS
20002 METAL_LIBS = $METAL_LIBS
20003 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20004 PTHREAD_LIBS = $PTHREAD_LIBS
20005 X_CFLAGS = $X_CFLAGS
20006 X_PRE_LIBS = $X_PRE_LIBS
20007 X_LIBS = $X_LIBS
20008 X_EXTRA_LIBS = $X_EXTRA_LIBS
20009 PCAP_LIBS = $PCAP_LIBS
20010 XML2_CFLAGS = $XML2_CFLAGS
20011 XML2_LIBS = $XML2_LIBS
20012 XSLT_CFLAGS = $XSLT_CFLAGS
20013 XSLT_LIBS = $XSLT_LIBS
20014 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20015 INOTIFY_LIBS = $INOTIFY_LIBS
20016 DBUS_CFLAGS = $DBUS_CFLAGS
20017 DBUS_LIBS = $DBUS_LIBS
20018 HAL_CFLAGS = $HAL_CFLAGS
20019 HAL_LIBS = $HAL_LIBS
20020 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20021 GNUTLS_LIBS = $GNUTLS_LIBS
20022 SANE_CFLAGS = $SANE_CFLAGS
20023 SANE_LIBS = $SANE_LIBS
20024 USB_CFLAGS = $USB_CFLAGS
20025 USB_LIBS = $USB_LIBS
20026 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20027 GPHOTO2_LIBS = $GPHOTO2_LIBS
20028 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20029 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20030 RESOLV_LIBS = $RESOLV_LIBS
20031 LCMS2_CFLAGS = $LCMS2_CFLAGS
20032 LCMS2_LIBS = $LCMS2_LIBS
20033 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20034 FREETYPE_LIBS = $FREETYPE_LIBS
20035 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20036 PULSE_CFLAGS = $PULSE_CFLAGS
20037 PULSE_LIBS = $PULSE_LIBS
20038 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20039 GSTREAMER_LIBS = $GSTREAMER_LIBS
20040 ALSA_LIBS = $ALSA_LIBS
20041 OSS4_CFLAGS = $OSS4_CFLAGS
20042 OSS4_LIBS = $OSS4_LIBS
20043 UDEV_CFLAGS = $UDEV_CFLAGS
20044 UDEV_LIBS = $UDEV_LIBS
20045 UNWIND_CFLAGS = $UNWIND_CFLAGS
20046 UNWIND_LIBS = $UNWIND_LIBS
20047 SDL2_CFLAGS = $SDL2_CFLAGS
20048 SDL2_LIBS = $SDL2_LIBS
20049 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20050 FAUDIO_LIBS = $FAUDIO_LIBS
20051 CAPI20_CFLAGS = $CAPI20_CFLAGS
20052 CAPI20_LIBS = $CAPI20_LIBS
20053 CUPS_CFLAGS = $CUPS_CFLAGS
20054 CUPS_LIBS = $CUPS_LIBS
20055 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20056 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20057 KRB5_CFLAGS = $KRB5_CFLAGS
20058 KRB5_LIBS = $KRB5_LIBS
20059 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20060 GSSAPI_LIBS = $GSSAPI_LIBS
20061 JPEG_CFLAGS = $JPEG_CFLAGS
20062 JPEG_LIBS = $JPEG_LIBS
20063 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20064 JXRLIB_LIBS = $JXRLIB_LIBS
20065 PNG_CFLAGS = $PNG_CFLAGS
20066 PNG_LIBS = $PNG_LIBS
20067 TIFF_CFLAGS = $TIFF_CFLAGS
20068 TIFF_LIBS = $TIFF_LIBS
20069 MPG123_CFLAGS = $MPG123_CFLAGS
20070 MPG123_LIBS = $MPG123_LIBS
20071 KSTAT_LIBS = $KSTAT_LIBS
20072 PROCSTAT_LIBS = $PROCSTAT_LIBS
20073 NETAPI_CFLAGS = $NETAPI_CFLAGS
20074 NETAPI_LIBS = $NETAPI_LIBS
20075 VKD3D_CFLAGS = $VKD3D_CFLAGS
20076 VKD3D_LIBS = $VKD3D_LIBS
20077 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20078 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20079 POLL_LIBS = $POLL_LIBS
20080 RT_LIBS = $RT_LIBS
20081 LDAP_CFLAGS = $LDAP_CFLAGS
20082 LDAP_LIBS = $LDAP_LIBS
20086 makedep_flags=""
20087 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20090 wine_fn_append_rule "
20091 # Rules automatically generated by configure
20093 .INIT: Makefile
20094 .MAKEFILEDEPS:
20095 all: Makefile
20096 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20097 @./config.status Make.tmp Makefile
20098 depend: \$(MAKEDEP)
20099 \$(MAKEDEP)$makedep_flags
20100 dummy:
20101 .PHONY: depend dummy"
20103 ac_config_links="$ac_config_links wine:tools/winewrapper"
20104 wine_fn_config_symlink wine
20105 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20106 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20107 wine_fn_config_symlink wine64
20110 wine_fn_config_makefile dlls/acledit enable_acledit
20111 wine_fn_config_makefile dlls/aclui enable_aclui
20112 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20113 wine_fn_config_makefile dlls/activeds enable_activeds
20114 wine_fn_config_makefile dlls/activeds/tests enable_tests
20115 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20116 wine_fn_config_makefile dlls/adsiid enable_adsiid
20117 wine_fn_config_makefile dlls/adsldp enable_adsldp
20118 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20119 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20120 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20121 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20122 wine_fn_config_makefile dlls/advpack enable_advpack
20123 wine_fn_config_makefile dlls/advpack/tests enable_tests
20124 wine_fn_config_makefile dlls/amsi enable_amsi
20125 wine_fn_config_makefile dlls/amstream enable_amstream
20126 wine_fn_config_makefile dlls/amstream/tests enable_tests
20127 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20130 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20152 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20153 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20164 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20198 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20201 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20209 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20214 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20215 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20242 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20245 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20309 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20324 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20326 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20328 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20329 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20334 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20342 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20345 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20347 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20353 wine_fn_config_makefile dlls/apphelp enable_apphelp
20354 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20355 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20356 wine_fn_config_makefile dlls/atl enable_atl
20357 wine_fn_config_makefile dlls/atl/tests enable_tests
20358 wine_fn_config_makefile dlls/atl100 enable_atl100
20359 wine_fn_config_makefile dlls/atl100/tests enable_tests
20360 wine_fn_config_makefile dlls/atl110 enable_atl110
20361 wine_fn_config_makefile dlls/atl80 enable_atl80
20362 wine_fn_config_makefile dlls/atl80/tests enable_tests
20363 wine_fn_config_makefile dlls/atl90 enable_atl90
20364 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20365 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20366 wine_fn_config_makefile dlls/atmlib enable_atmlib
20367 wine_fn_config_makefile dlls/authz enable_authz
20368 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20369 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20370 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20371 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20372 wine_fn_config_makefile dlls/avrt enable_avrt
20373 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20374 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20375 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20376 wine_fn_config_makefile dlls/browseui enable_browseui
20377 wine_fn_config_makefile dlls/browseui/tests enable_tests
20378 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20379 wine_fn_config_makefile dlls/cabinet enable_cabinet
20380 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20381 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20382 wine_fn_config_makefile dlls/cards enable_cards
20383 wine_fn_config_makefile dlls/cdosys enable_cdosys
20384 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20385 wine_fn_config_makefile dlls/clusapi enable_clusapi
20386 wine_fn_config_makefile dlls/combase enable_combase
20387 wine_fn_config_makefile dlls/combase/tests enable_tests
20388 wine_fn_config_makefile dlls/comcat enable_comcat
20389 wine_fn_config_makefile dlls/comcat/tests enable_tests
20390 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20391 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20392 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20393 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20394 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20395 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20396 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20397 wine_fn_config_makefile dlls/compstui enable_compstui
20398 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20399 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20400 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20401 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20402 wine_fn_config_makefile dlls/connect enable_connect
20403 wine_fn_config_makefile dlls/credui enable_credui
20404 wine_fn_config_makefile dlls/credui/tests enable_tests
20405 wine_fn_config_makefile dlls/crtdll enable_crtdll
20406 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20407 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20408 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20409 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20410 wine_fn_config_makefile dlls/cryptext enable_cryptext
20411 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20412 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20413 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20414 wine_fn_config_makefile dlls/cryptui enable_cryptui
20415 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20416 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20417 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20418 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20419 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20420 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20421 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20422 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20423 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20424 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20425 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20426 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20427 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20428 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20429 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20430 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20431 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20432 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20433 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20434 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20435 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20436 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20437 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20438 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20439 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20440 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20441 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20442 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20443 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20444 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20445 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20446 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20447 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20448 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20449 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20450 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20451 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20452 wine_fn_config_makefile dlls/d3dim enable_d3dim
20453 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20454 wine_fn_config_makefile dlls/d3drm enable_d3drm
20455 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20456 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20457 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20458 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20459 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20460 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20461 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20462 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20463 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20464 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20465 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20466 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20467 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20468 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20469 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20470 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20471 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20472 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20473 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20474 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20475 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20476 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20477 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20478 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20479 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20480 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20481 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20482 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20483 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20484 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20485 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20486 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20487 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20488 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20489 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20490 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20491 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20492 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20493 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20494 wine_fn_config_makefile dlls/davclnt enable_davclnt
20495 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20496 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20497 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20498 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20499 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20500 wine_fn_config_makefile dlls/dcomp enable_dcomp
20501 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20502 wine_fn_config_makefile dlls/ddraw enable_ddraw
20503 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20504 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20505 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20506 wine_fn_config_makefile dlls/devenum enable_devenum
20507 wine_fn_config_makefile dlls/devenum/tests enable_tests
20508 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20509 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20510 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20511 wine_fn_config_makefile dlls/difxapi enable_difxapi
20512 wine_fn_config_makefile dlls/dinput enable_dinput
20513 wine_fn_config_makefile dlls/dinput/tests enable_tests
20514 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20515 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20516 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20517 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20518 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20519 wine_fn_config_makefile dlls/dispex enable_dispex
20520 wine_fn_config_makefile dlls/dispex/tests enable_tests
20521 wine_fn_config_makefile dlls/display.drv16 enable_win16
20522 wine_fn_config_makefile dlls/dmband enable_dmband
20523 wine_fn_config_makefile dlls/dmband/tests enable_tests
20524 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20525 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20526 wine_fn_config_makefile dlls/dmime enable_dmime
20527 wine_fn_config_makefile dlls/dmime/tests enable_tests
20528 wine_fn_config_makefile dlls/dmloader enable_dmloader
20529 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20530 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20531 wine_fn_config_makefile dlls/dmscript enable_dmscript
20532 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20533 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20534 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20535 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20536 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20537 wine_fn_config_makefile dlls/dmusic enable_dmusic
20538 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20539 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20540 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20541 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20542 wine_fn_config_makefile dlls/dplay enable_dplay
20543 wine_fn_config_makefile dlls/dplayx enable_dplayx
20544 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20545 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20546 wine_fn_config_makefile dlls/dpnet enable_dpnet
20547 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20548 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20549 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20550 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20551 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20552 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20553 wine_fn_config_makefile dlls/drmclien enable_drmclien
20554 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20555 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20556 wine_fn_config_makefile dlls/dsound enable_dsound
20557 wine_fn_config_makefile dlls/dsound/tests enable_tests
20558 wine_fn_config_makefile dlls/dsquery enable_dsquery
20559 wine_fn_config_makefile dlls/dssenh enable_dssenh
20560 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20561 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20562 wine_fn_config_makefile dlls/dswave enable_dswave
20563 wine_fn_config_makefile dlls/dswave/tests enable_tests
20564 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20565 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20566 wine_fn_config_makefile dlls/dwrite enable_dwrite
20567 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20568 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20569 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20570 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20571 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20572 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20573 wine_fn_config_makefile dlls/dxgi enable_dxgi
20574 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20575 wine_fn_config_makefile dlls/dxguid enable_dxguid
20576 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20577 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20578 wine_fn_config_makefile dlls/esent enable_esent
20579 wine_fn_config_makefile dlls/evr enable_evr
20580 wine_fn_config_makefile dlls/evr/tests enable_tests
20581 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20582 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20583 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20597 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20617 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20623 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
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20634 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20635 wine_fn_config_makefile dlls/faultrep enable_faultrep
20636 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20637 wine_fn_config_makefile dlls/feclient enable_feclient
20638 wine_fn_config_makefile dlls/fltlib enable_fltlib
20639 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20640 wine_fn_config_makefile dlls/fntcache enable_fntcache
20641 wine_fn_config_makefile dlls/fontsub enable_fontsub
20642 wine_fn_config_makefile dlls/fusion enable_fusion
20643 wine_fn_config_makefile dlls/fusion/tests enable_tests
20644 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20645 wine_fn_config_makefile dlls/gameux enable_gameux
20646 wine_fn_config_makefile dlls/gameux/tests enable_tests
20647 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20648 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20649 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20650 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20651 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20652 wine_fn_config_makefile dlls/glu32 enable_glu32
20653 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20654 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20655 wine_fn_config_makefile dlls/hal enable_hal
20656 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20657 wine_fn_config_makefile dlls/hid enable_hid
20658 wine_fn_config_makefile dlls/hid/tests enable_tests
20659 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20660 wine_fn_config_makefile dlls/hlink enable_hlink
20661 wine_fn_config_makefile dlls/hlink/tests enable_tests
20662 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20663 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20664 wine_fn_config_makefile dlls/http.sys enable_http_sys
20665 wine_fn_config_makefile dlls/httpapi enable_httpapi
20666 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20667 wine_fn_config_makefile dlls/iccvid enable_iccvid
20668 wine_fn_config_makefile dlls/icmp enable_icmp
20669 wine_fn_config_makefile dlls/ieframe enable_ieframe
20670 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20671 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20672 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20673 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20674 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20675 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20676 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20677 wine_fn_config_makefile dlls/imm32 enable_imm32
20678 wine_fn_config_makefile dlls/imm32/tests enable_tests
20679 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20680 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20681 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20682 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20683 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20684 wine_fn_config_makefile dlls/infosoft enable_infosoft
20685 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20686 wine_fn_config_makefile dlls/initpki enable_initpki
20687 wine_fn_config_makefile dlls/inkobj enable_inkobj
20688 wine_fn_config_makefile dlls/inseng enable_inseng
20689 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20690 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20691 wine_fn_config_makefile dlls/iprop enable_iprop
20692 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20693 wine_fn_config_makefile dlls/itircl enable_itircl
20694 wine_fn_config_makefile dlls/itss enable_itss
20695 wine_fn_config_makefile dlls/itss/tests enable_tests
20696 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20697 wine_fn_config_makefile dlls/jscript enable_jscript
20698 wine_fn_config_makefile dlls/jscript/tests enable_tests
20699 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20700 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20701 wine_fn_config_makefile dlls/kerberos enable_kerberos
20702 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20703 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20704 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20705 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20706 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20707 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20708 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20709 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20710 wine_fn_config_makefile dlls/ksuser enable_ksuser
20711 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20712 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20713 wine_fn_config_makefile dlls/loadperf enable_loadperf
20714 wine_fn_config_makefile dlls/localspl enable_localspl
20715 wine_fn_config_makefile dlls/localspl/tests enable_tests
20716 wine_fn_config_makefile dlls/localui enable_localui
20717 wine_fn_config_makefile dlls/localui/tests enable_tests
20718 wine_fn_config_makefile dlls/lz32 enable_lz32
20719 wine_fn_config_makefile dlls/lz32/tests enable_tests
20720 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20721 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20722 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20723 wine_fn_config_makefile dlls/mapistub enable_mapistub
20724 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20725 wine_fn_config_makefile dlls/mcicda enable_mcicda
20726 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20727 wine_fn_config_makefile dlls/mciseq enable_mciseq
20728 wine_fn_config_makefile dlls/mciwave enable_mciwave
20729 wine_fn_config_makefile dlls/mf enable_mf
20730 wine_fn_config_makefile dlls/mf/tests enable_tests
20731 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20732 wine_fn_config_makefile dlls/mferror enable_mferror
20733 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20734 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20735 wine_fn_config_makefile dlls/mfplat enable_mfplat
20736 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20737 wine_fn_config_makefile dlls/mfplay enable_mfplay
20738 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20739 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20740 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20741 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20742 wine_fn_config_makefile dlls/midimap enable_midimap
20743 wine_fn_config_makefile dlls/mlang enable_mlang
20744 wine_fn_config_makefile dlls/mlang/tests enable_tests
20745 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20746 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20747 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20748 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20749 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20750 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20751 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20752 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20753 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20754 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20755 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20756 wine_fn_config_makefile dlls/mpr enable_mpr
20757 wine_fn_config_makefile dlls/mpr/tests enable_tests
20758 wine_fn_config_makefile dlls/mprapi enable_mprapi
20759 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20760 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20761 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20762 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20763 wine_fn_config_makefile dlls/msado15 enable_msado15
20764 wine_fn_config_makefile dlls/msado15/tests enable_tests
20765 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20766 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20767 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20768 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20769 wine_fn_config_makefile dlls/mscms enable_mscms
20770 wine_fn_config_makefile dlls/mscms/tests enable_tests
20771 wine_fn_config_makefile dlls/mscoree enable_mscoree
20772 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20773 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20774 wine_fn_config_makefile dlls/msctf enable_msctf
20775 wine_fn_config_makefile dlls/msctf/tests enable_tests
20776 wine_fn_config_makefile dlls/msctfp enable_msctfp
20777 wine_fn_config_makefile dlls/msdaps enable_msdaps
20778 wine_fn_config_makefile dlls/msdelta enable_msdelta
20779 wine_fn_config_makefile dlls/msdmo enable_msdmo
20780 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20781 wine_fn_config_makefile dlls/msdrm enable_msdrm
20782 wine_fn_config_makefile dlls/msftedit enable_msftedit
20783 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20784 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20785 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20786 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20787 wine_fn_config_makefile dlls/mshtml enable_mshtml
20788 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20789 wine_fn_config_makefile dlls/msi enable_msi
20790 wine_fn_config_makefile dlls/msi/tests enable_tests
20791 wine_fn_config_makefile dlls/msident enable_msident
20792 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20793 wine_fn_config_makefile dlls/msimsg enable_msimsg
20794 wine_fn_config_makefile dlls/msimtf enable_msimtf
20795 wine_fn_config_makefile dlls/msisip enable_msisip
20796 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20797 wine_fn_config_makefile dlls/msls31 enable_msls31
20798 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20799 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20800 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20801 wine_fn_config_makefile dlls/msports enable_msports
20802 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20803 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20804 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20805 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20806 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20807 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20808 wine_fn_config_makefile dlls/mstask enable_mstask
20809 wine_fn_config_makefile dlls/mstask/tests enable_tests
20810 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20811 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20812 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20813 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20814 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20815 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20817 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20819 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20821 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20822 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20823 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20824 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20825 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20826 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20827 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20828 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20829 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20830 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20831 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20832 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20833 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20834 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20835 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20836 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20838 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20839 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20840 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20841 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20842 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20843 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20844 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20845 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20846 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20847 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20848 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20849 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20850 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20851 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20852 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20853 wine_fn_config_makefile dlls/mswsock enable_mswsock
20854 wine_fn_config_makefile dlls/msxml enable_msxml
20855 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20856 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20857 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20858 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20859 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20860 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20861 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20862 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20863 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20864 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20865 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20866 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20867 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20868 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20869 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20870 wine_fn_config_makefile dlls/netprofm enable_netprofm
20871 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20872 wine_fn_config_makefile dlls/netutils enable_netutils
20873 wine_fn_config_makefile dlls/newdev enable_newdev
20874 wine_fn_config_makefile dlls/ninput enable_ninput
20875 wine_fn_config_makefile dlls/ninput/tests enable_tests
20876 wine_fn_config_makefile dlls/normaliz enable_normaliz
20877 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20878 wine_fn_config_makefile dlls/npptools enable_npptools
20879 wine_fn_config_makefile dlls/ntdll enable_ntdll
20880 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20881 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20882 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20883 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20884 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20885 wine_fn_config_makefile dlls/ntprint enable_ntprint
20886 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20887 wine_fn_config_makefile dlls/objsel enable_objsel
20888 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20889 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20890 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20891 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20892 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20893 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20894 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20895 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20896 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole32 enable_ole32
20900 wine_fn_config_makefile dlls/ole32/tests enable_tests
20901 wine_fn_config_makefile dlls/oleacc enable_oleacc
20902 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20903 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20904 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20905 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20906 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20907 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20908 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20909 wine_fn_config_makefile dlls/oledlg enable_oledlg
20910 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20911 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20912 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20913 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20914 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20915 wine_fn_config_makefile dlls/opcservices enable_opcservices
20916 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20917 wine_fn_config_makefile dlls/openal32 enable_openal32
20918 wine_fn_config_makefile dlls/opencl enable_opencl
20919 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20920 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20921 wine_fn_config_makefile dlls/packager enable_packager
20922 wine_fn_config_makefile dlls/packager/tests enable_tests
20923 wine_fn_config_makefile dlls/pdh enable_pdh
20924 wine_fn_config_makefile dlls/pdh/tests enable_tests
20925 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20926 wine_fn_config_makefile dlls/pidgen enable_pidgen
20927 wine_fn_config_makefile dlls/powrprof enable_powrprof
20928 wine_fn_config_makefile dlls/printui enable_printui
20929 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20930 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20931 wine_fn_config_makefile dlls/propsys enable_propsys
20932 wine_fn_config_makefile dlls/propsys/tests enable_tests
20933 wine_fn_config_makefile dlls/psapi enable_psapi
20934 wine_fn_config_makefile dlls/psapi/tests enable_tests
20935 wine_fn_config_makefile dlls/pstorec enable_pstorec
20936 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20937 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20938 wine_fn_config_makefile dlls/qasf enable_qasf
20939 wine_fn_config_makefile dlls/qasf/tests enable_tests
20940 wine_fn_config_makefile dlls/qcap enable_qcap
20941 wine_fn_config_makefile dlls/qcap/tests enable_tests
20942 wine_fn_config_makefile dlls/qdvd enable_qdvd
20943 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20944 wine_fn_config_makefile dlls/qedit enable_qedit
20945 wine_fn_config_makefile dlls/qedit/tests enable_tests
20946 wine_fn_config_makefile dlls/qmgr enable_qmgr
20947 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20948 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20949 wine_fn_config_makefile dlls/quartz enable_quartz
20950 wine_fn_config_makefile dlls/quartz/tests enable_tests
20951 wine_fn_config_makefile dlls/query enable_query
20952 wine_fn_config_makefile dlls/qwave enable_qwave
20953 wine_fn_config_makefile dlls/qwave/tests enable_tests
20954 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20955 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20956 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20957 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20958 wine_fn_config_makefile dlls/regapi enable_regapi
20959 wine_fn_config_makefile dlls/resutils enable_resutils
20960 wine_fn_config_makefile dlls/riched20 enable_riched20
20961 wine_fn_config_makefile dlls/riched20/tests enable_tests
20962 wine_fn_config_makefile dlls/riched32 enable_riched32
20963 wine_fn_config_makefile dlls/riched32/tests enable_tests
20964 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20965 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20966 wine_fn_config_makefile dlls/rsabase enable_rsabase
20967 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20968 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20969 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20970 wine_fn_config_makefile dlls/rtutils enable_rtutils
20971 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20972 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20973 wine_fn_config_makefile dlls/samlib enable_samlib
20974 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20975 wine_fn_config_makefile dlls/sapi enable_sapi
20976 wine_fn_config_makefile dlls/sapi/tests enable_tests
20977 wine_fn_config_makefile dlls/sas enable_sas
20978 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20979 wine_fn_config_makefile dlls/sccbase enable_sccbase
20980 wine_fn_config_makefile dlls/schannel enable_schannel
20981 wine_fn_config_makefile dlls/schannel/tests enable_tests
20982 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20983 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20984 wine_fn_config_makefile dlls/scrobj enable_scrobj
20985 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20986 wine_fn_config_makefile dlls/scrrun enable_scrrun
20987 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20988 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20989 wine_fn_config_makefile dlls/sechost enable_sechost
20990 wine_fn_config_makefile dlls/secur32 enable_secur32
20991 wine_fn_config_makefile dlls/secur32/tests enable_tests
20992 wine_fn_config_makefile dlls/security enable_security
20993 wine_fn_config_makefile dlls/sensapi enable_sensapi
20994 wine_fn_config_makefile dlls/serialui enable_serialui
20995 wine_fn_config_makefile dlls/serialui/tests enable_tests
20996 wine_fn_config_makefile dlls/setupapi enable_setupapi
20997 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20998 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20999 wine_fn_config_makefile dlls/sfc enable_sfc
21000 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21001 wine_fn_config_makefile dlls/shcore enable_shcore
21002 wine_fn_config_makefile dlls/shcore/tests enable_tests
21003 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21004 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21005 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21006 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21007 wine_fn_config_makefile dlls/shell32 enable_shell32
21008 wine_fn_config_makefile dlls/shell32/tests enable_tests
21009 wine_fn_config_makefile dlls/shfolder enable_shfolder
21010 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21011 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21012 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21013 wine_fn_config_makefile dlls/slc enable_slc
21014 wine_fn_config_makefile dlls/slc/tests enable_tests
21015 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21016 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21017 wine_fn_config_makefile dlls/softpub enable_softpub
21018 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21019 wine_fn_config_makefile dlls/spoolss enable_spoolss
21020 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21021 wine_fn_config_makefile dlls/srclient enable_srclient
21022 wine_fn_config_makefile dlls/srvcli enable_srvcli
21023 wine_fn_config_makefile dlls/sspicli enable_sspicli
21024 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21025 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21026 wine_fn_config_makefile dlls/sti enable_sti
21027 wine_fn_config_makefile dlls/sti/tests enable_tests
21028 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21029 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21030 wine_fn_config_makefile dlls/strmbase enable_strmbase
21031 wine_fn_config_makefile dlls/strmdll enable_strmdll
21032 wine_fn_config_makefile dlls/strmiids enable_strmiids
21033 wine_fn_config_makefile dlls/svrapi enable_svrapi
21034 wine_fn_config_makefile dlls/sxs enable_sxs
21035 wine_fn_config_makefile dlls/sxs/tests enable_tests
21036 wine_fn_config_makefile dlls/system.drv16 enable_win16
21037 wine_fn_config_makefile dlls/t2embed enable_t2embed
21038 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21039 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21040 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21041 wine_fn_config_makefile dlls/taskschd enable_taskschd
21042 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21043 wine_fn_config_makefile dlls/tdh enable_tdh
21044 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21045 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21046 wine_fn_config_makefile dlls/traffic enable_traffic
21047 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21048 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21049 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21050 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21051 wine_fn_config_makefile dlls/tzres enable_tzres
21052 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21053 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21054 wine_fn_config_makefile dlls/uianimation enable_uianimation
21055 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21056 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21057 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21058 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21059 wine_fn_config_makefile dlls/unicows enable_unicows
21060 wine_fn_config_makefile dlls/updspapi enable_updspapi
21061 wine_fn_config_makefile dlls/url enable_url
21062 wine_fn_config_makefile dlls/urlmon enable_urlmon
21063 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21064 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21065 wine_fn_config_makefile dlls/user.exe16 enable_win16
21066 wine_fn_config_makefile dlls/user32 enable_user32
21067 wine_fn_config_makefile dlls/user32/tests enable_tests
21068 wine_fn_config_makefile dlls/userenv enable_userenv
21069 wine_fn_config_makefile dlls/userenv/tests enable_tests
21070 wine_fn_config_makefile dlls/usp10 enable_usp10
21071 wine_fn_config_makefile dlls/usp10/tests enable_tests
21072 wine_fn_config_makefile dlls/utildll enable_utildll
21073 wine_fn_config_makefile dlls/uuid enable_uuid
21074 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21075 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21076 wine_fn_config_makefile dlls/vbscript enable_vbscript
21077 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21078 wine_fn_config_makefile dlls/vcomp enable_vcomp
21079 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21080 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21081 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21082 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21083 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21084 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21085 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21086 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21087 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21088 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21089 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21090 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21091 wine_fn_config_makefile dlls/version enable_version
21092 wine_fn_config_makefile dlls/version/tests enable_tests
21093 wine_fn_config_makefile dlls/vga enable_vga
21094 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21095 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21096 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21097 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21098 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21099 wine_fn_config_makefile dlls/vssapi enable_vssapi
21100 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21101 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21102 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21103 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21104 wine_fn_config_makefile dlls/w32skrnl enable_win16
21105 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21106 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21107 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21108 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21109 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21110 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21111 wine_fn_config_makefile dlls/wdscore enable_wdscore
21112 wine_fn_config_makefile dlls/webservices enable_webservices
21113 wine_fn_config_makefile dlls/webservices/tests enable_tests
21114 wine_fn_config_makefile dlls/wer enable_wer
21115 wine_fn_config_makefile dlls/wer/tests enable_tests
21116 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21117 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21118 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21119 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21120 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21121 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21122 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21123 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21124 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21125 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21126 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21127 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21128 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21129 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21130 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21131 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21132 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21133 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21134 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21135 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21136 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21137 wine_fn_config_makefile dlls/wined3d enable_wined3d
21138 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21139 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21140 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21141 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21142 wine_fn_config_makefile dlls/winemapi enable_winemapi
21143 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21144 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21145 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21146 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21147 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21148 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21149 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21150 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21151 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21152 wine_fn_config_makefile dlls/wing32 enable_wing32
21153 wine_fn_config_makefile dlls/winhttp enable_winhttp
21154 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21155 wine_fn_config_makefile dlls/wininet enable_wininet
21156 wine_fn_config_makefile dlls/wininet/tests enable_tests
21157 wine_fn_config_makefile dlls/winmm enable_winmm
21158 wine_fn_config_makefile dlls/winmm/tests enable_tests
21159 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21160 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21161 wine_fn_config_makefile dlls/winscard enable_winscard
21162 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21163 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21164 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21165 wine_fn_config_makefile dlls/winsta enable_winsta
21166 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21167 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21168 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21169 wine_fn_config_makefile dlls/wintrust enable_wintrust
21170 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21171 wine_fn_config_makefile dlls/winusb enable_winusb
21172 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21173 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21174 wine_fn_config_makefile dlls/wlanui enable_wlanui
21175 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21176 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21177 wine_fn_config_makefile dlls/wmasf enable_wmasf
21178 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21179 wine_fn_config_makefile dlls/wmi enable_wmi
21180 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21181 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21182 wine_fn_config_makefile dlls/wmp enable_wmp
21183 wine_fn_config_makefile dlls/wmp/tests enable_tests
21184 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21185 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21186 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21187 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21188 wine_fn_config_makefile dlls/wow32 enable_win16
21189 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21190 wine_fn_config_makefile dlls/wpc enable_wpc
21191 wine_fn_config_makefile dlls/wpc/tests enable_tests
21192 wine_fn_config_makefile dlls/wpcap enable_wpcap
21193 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21194 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21195 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21196 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21197 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21198 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21199 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21200 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21201 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21202 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21203 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21204 wine_fn_config_makefile dlls/wuapi enable_wuapi
21205 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21206 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21207 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21208 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21209 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21210 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21211 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21212 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21213 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21214 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21215 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21216 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21217 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21218 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21219 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21220 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21221 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21222 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21223 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21224 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21225 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21226 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21227 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21228 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21229 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21230 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21231 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21232 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21233 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21234 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21235 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21236 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21237 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21238 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21239 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21240 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21241 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21242 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21243 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21244 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21245 wine_fn_config_makefile dlls/xmllite enable_xmllite
21246 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21247 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21248 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21249 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21250 wine_fn_config_makefile fonts enable_fonts
21251 wine_fn_config_makefile include enable_include
21252 wine_fn_config_makefile libs/port enable_port
21253 wine_fn_config_makefile libs/wine enable_wine
21254 wine_fn_config_makefile libs/wpp enable_wpp
21255 wine_fn_config_makefile loader enable_loader
21256 wine_fn_config_makefile nls enable_nls
21257 wine_fn_config_makefile po enable_po
21258 wine_fn_config_makefile programs/arp enable_arp
21259 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21260 wine_fn_config_makefile programs/attrib enable_attrib
21261 wine_fn_config_makefile programs/cabarc enable_cabarc
21262 wine_fn_config_makefile programs/cacls enable_cacls
21263 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21264 wine_fn_config_makefile programs/clock enable_clock
21265 wine_fn_config_makefile programs/cmd enable_cmd
21266 wine_fn_config_makefile programs/cmd/tests enable_tests
21267 wine_fn_config_makefile programs/conhost enable_conhost
21268 wine_fn_config_makefile programs/conhost/tests enable_tests
21269 wine_fn_config_makefile programs/control enable_control
21270 wine_fn_config_makefile programs/cscript enable_cscript
21271 wine_fn_config_makefile programs/dism enable_dism
21272 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21273 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21274 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21275 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21276 wine_fn_config_makefile programs/eject enable_eject
21277 wine_fn_config_makefile programs/expand enable_expand
21278 wine_fn_config_makefile programs/explorer enable_explorer
21279 wine_fn_config_makefile programs/extrac32 enable_extrac32
21280 wine_fn_config_makefile programs/fc enable_fc
21281 wine_fn_config_makefile programs/find enable_find
21282 wine_fn_config_makefile programs/find/tests enable_tests
21283 wine_fn_config_makefile programs/findstr enable_findstr
21284 wine_fn_config_makefile programs/fsutil enable_fsutil
21285 wine_fn_config_makefile programs/fsutil/tests enable_tests
21286 wine_fn_config_makefile programs/hh enable_hh
21287 wine_fn_config_makefile programs/hostname enable_hostname
21288 wine_fn_config_makefile programs/icacls enable_icacls
21289 wine_fn_config_makefile programs/icinfo enable_icinfo
21290 wine_fn_config_makefile programs/iexplore enable_iexplore
21291 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21292 wine_fn_config_makefile programs/lodctr enable_lodctr
21293 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21294 wine_fn_config_makefile programs/mshta enable_mshta
21295 wine_fn_config_makefile programs/msidb enable_msidb
21296 wine_fn_config_makefile programs/msiexec enable_msiexec
21297 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21298 wine_fn_config_makefile programs/net enable_net
21299 wine_fn_config_makefile programs/netsh enable_netsh
21300 wine_fn_config_makefile programs/netstat enable_netstat
21301 wine_fn_config_makefile programs/ngen enable_ngen
21302 wine_fn_config_makefile programs/notepad enable_notepad
21303 wine_fn_config_makefile programs/oleview enable_oleview
21304 wine_fn_config_makefile programs/ping enable_ping
21305 wine_fn_config_makefile programs/plugplay enable_plugplay
21306 wine_fn_config_makefile programs/powershell enable_powershell
21307 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21308 wine_fn_config_makefile programs/progman enable_progman
21309 wine_fn_config_makefile programs/reg enable_reg
21310 wine_fn_config_makefile programs/reg/tests enable_tests
21311 wine_fn_config_makefile programs/regasm enable_regasm
21312 wine_fn_config_makefile programs/regedit enable_regedit
21313 wine_fn_config_makefile programs/regedit/tests enable_tests
21314 wine_fn_config_makefile programs/regini enable_regini
21315 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21316 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21317 wine_fn_config_makefile programs/rpcss enable_rpcss
21318 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21319 wine_fn_config_makefile programs/rundll32 enable_rundll32
21320 wine_fn_config_makefile programs/sc enable_sc
21321 wine_fn_config_makefile programs/schtasks enable_schtasks
21322 wine_fn_config_makefile programs/schtasks/tests enable_tests
21323 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21324 wine_fn_config_makefile programs/secedit enable_secedit
21325 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21326 wine_fn_config_makefile programs/services enable_services
21327 wine_fn_config_makefile programs/services/tests enable_tests
21328 wine_fn_config_makefile programs/shutdown enable_shutdown
21329 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21330 wine_fn_config_makefile programs/start enable_start
21331 wine_fn_config_makefile programs/subst enable_subst
21332 wine_fn_config_makefile programs/svchost enable_svchost
21333 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21334 wine_fn_config_makefile programs/taskkill enable_taskkill
21335 wine_fn_config_makefile programs/tasklist enable_tasklist
21336 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21337 wine_fn_config_makefile programs/termsv enable_termsv
21338 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21339 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21340 wine_fn_config_makefile programs/view enable_view
21341 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21342 wine_fn_config_makefile programs/where enable_where
21343 wine_fn_config_makefile programs/whoami enable_whoami
21344 wine_fn_config_makefile programs/wineboot enable_wineboot
21345 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21346 wine_fn_config_makefile programs/winecfg enable_winecfg
21347 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21348 wine_fn_config_makefile programs/winedbg enable_winedbg
21349 wine_fn_config_makefile programs/winedevice enable_winedevice
21350 wine_fn_config_makefile programs/winefile enable_winefile
21351 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21352 wine_fn_config_makefile programs/winemine enable_winemine
21353 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21354 wine_fn_config_makefile programs/winepath enable_winepath
21355 wine_fn_config_makefile programs/winetest enable_winetest
21356 wine_fn_config_makefile programs/winevdm enable_win16
21357 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21358 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21359 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21360 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21361 wine_fn_config_makefile programs/winver enable_winver
21362 wine_fn_config_makefile programs/wmic enable_wmic
21363 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21364 wine_fn_config_makefile programs/wordpad enable_wordpad
21365 wine_fn_config_makefile programs/write enable_write
21366 wine_fn_config_makefile programs/wscript enable_wscript
21367 wine_fn_config_makefile programs/wscript/tests enable_tests
21368 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21369 wine_fn_config_makefile programs/wusa enable_wusa
21370 wine_fn_config_makefile programs/xcopy enable_xcopy
21371 wine_fn_config_makefile programs/xcopy/tests enable_tests
21372 wine_fn_config_makefile server enable_server
21373 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21374 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21375 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21376 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21377 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21379 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21384 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21385 wine_fn_append_file CONFIGURE_TARGETS "tags"
21386 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21387 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21388 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21389 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21390 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21391 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21393 if test "x$enable_tools" != xno
21394 then
21395 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21396 ac_config_commands="$ac_config_commands tools/makedep"
21400 ac_config_commands="$ac_config_commands Makefile"
21403 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21407 if test "x$enable_maintainer_mode" = xyes
21408 then
21409 wine_fn_append_rule "configure: configure.ac aclocal.m4
21410 autoconf --warnings=all
21411 include/config.h.in: include/stamp-h.in
21412 include/stamp-h.in: configure.ac aclocal.m4
21413 autoheader --warnings=all
21414 @echo timestamp > \$@"
21417 if test "x$enable_tools" != xno
21418 then
21419 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21420 @./config.status tools/makedep
21421 Makefile: tools/makedep$ac_exeext"
21422 else
21423 wine_fn_append_rule "\$(MAKEDEP):
21424 @echo \"You need to run make in $TOOLSDIR first\" && false"
21427 if test -n "$with_wine64"
21428 then
21429 case "$with_wine64" in
21430 /*) reldir="" ;;
21431 *) reldir="../" ;;
21432 esac
21433 rm -f fonts server 2>/dev/null
21434 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21435 loader/wine64 loader/wine64-preloader:
21436 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21437 $with_wine64/loader/wine:
21438 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21439 $with_wine64/loader/wine-preloader:
21440 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21441 clean::
21442 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21443 else
21444 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21445 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21446 fonts \
21447 loader/wine.inf \
21448 nls \
21449 programs/msidb/msidb \
21450 programs/msiexec/msiexec \
21451 programs/notepad/notepad \
21452 programs/regedit/regedit \
21453 programs/regsvr32/regsvr32 \
21454 programs/wineboot/wineboot \
21455 programs/winecfg/winecfg \
21456 programs/wineconsole/wineconsole \
21457 programs/winedbg/winedbg \
21458 programs/winefile/winefile \
21459 programs/winemine/winemine \
21460 programs/winepath/winepath \
21461 server/wineserver"
21463 case $host_os in
21464 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21465 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21466 esac
21469 $as_echo " done" >&6
21470 cat >confcache <<\_ACEOF
21471 # This file is a shell script that caches the results of configure
21472 # tests run on this system so they can be shared between configure
21473 # scripts and configure runs, see configure's option --config-cache.
21474 # It is not useful on other systems. If it contains results you don't
21475 # want to keep, you may remove or edit it.
21477 # config.status only pays attention to the cache file if you give it
21478 # the --recheck option to rerun configure.
21480 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21481 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21482 # following values.
21484 _ACEOF
21486 # The following way of writing the cache mishandles newlines in values,
21487 # but we know of no workaround that is simple, portable, and efficient.
21488 # So, we kill variables containing newlines.
21489 # Ultrix sh set writes to stderr and can't be redirected directly,
21490 # and sets the high bit in the cache file unless we assign to the vars.
21492 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21493 eval ac_val=\$$ac_var
21494 case $ac_val in #(
21495 *${as_nl}*)
21496 case $ac_var in #(
21497 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21498 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21499 esac
21500 case $ac_var in #(
21501 _ | IFS | as_nl) ;; #(
21502 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21503 *) { eval $ac_var=; unset $ac_var;} ;;
21504 esac ;;
21505 esac
21506 done
21508 (set) 2>&1 |
21509 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21510 *${as_nl}ac_space=\ *)
21511 # `set' does not quote correctly, so add quotes: double-quote
21512 # substitution turns \\\\ into \\, and sed turns \\ into \.
21513 sed -n \
21514 "s/'/'\\\\''/g;
21515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21516 ;; #(
21518 # `set' quotes correctly as required by POSIX, so do not add quotes.
21519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21521 esac |
21522 sort
21524 sed '
21525 /^ac_cv_env_/b end
21526 t clear
21527 :clear
21528 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21529 t end
21530 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21531 :end' >>confcache
21532 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21533 if test -w "$cache_file"; then
21534 if test "x$cache_file" != "x/dev/null"; then
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21536 $as_echo "$as_me: updating cache $cache_file" >&6;}
21537 if test ! -f "$cache_file" || test -h "$cache_file"; then
21538 cat confcache >"$cache_file"
21539 else
21540 case $cache_file in #(
21541 */* | ?:*)
21542 mv -f confcache "$cache_file"$$ &&
21543 mv -f "$cache_file"$$ "$cache_file" ;; #(
21545 mv -f confcache "$cache_file" ;;
21546 esac
21549 else
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21551 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21554 rm -f confcache
21556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21557 # Let make expand exec_prefix.
21558 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21560 DEFS=-DHAVE_CONFIG_H
21562 ac_libobjs=
21563 ac_ltlibobjs=
21565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21566 # 1. Remove the extension, and $U if already installed.
21567 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21568 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21569 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21570 # will be set to the directory where LIBOBJS objects are built.
21571 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21572 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21573 done
21574 LIBOBJS=$ac_libobjs
21576 LTLIBOBJS=$ac_ltlibobjs
21580 : "${CONFIG_STATUS=./config.status}"
21581 ac_write_fail=0
21582 ac_clean_files_save=$ac_clean_files
21583 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21585 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21586 as_write_fail=0
21587 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21588 #! $SHELL
21589 # Generated by $as_me.
21590 # Run this file to recreate the current configuration.
21591 # Compiler output produced by configure, useful for debugging
21592 # configure, is in config.log if it exists.
21594 debug=false
21595 ac_cs_recheck=false
21596 ac_cs_silent=false
21598 SHELL=\${CONFIG_SHELL-$SHELL}
21599 export SHELL
21600 _ASEOF
21601 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21602 ## -------------------- ##
21603 ## M4sh Initialization. ##
21604 ## -------------------- ##
21606 # Be more Bourne compatible
21607 DUALCASE=1; export DUALCASE # for MKS sh
21608 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21609 emulate sh
21610 NULLCMD=:
21611 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21612 # is contrary to our usage. Disable this feature.
21613 alias -g '${1+"$@"}'='"$@"'
21614 setopt NO_GLOB_SUBST
21615 else
21616 case `(set -o) 2>/dev/null` in #(
21617 *posix*) :
21618 set -o posix ;; #(
21619 *) :
21621 esac
21625 as_nl='
21627 export as_nl
21628 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21629 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21632 # Prefer a ksh shell builtin over an external printf program on Solaris,
21633 # but without wasting forks for bash or zsh.
21634 if test -z "$BASH_VERSION$ZSH_VERSION" \
21635 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21636 as_echo='print -r --'
21637 as_echo_n='print -rn --'
21638 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21639 as_echo='printf %s\n'
21640 as_echo_n='printf %s'
21641 else
21642 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21643 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21644 as_echo_n='/usr/ucb/echo -n'
21645 else
21646 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21647 as_echo_n_body='eval
21648 arg=$1;
21649 case $arg in #(
21650 *"$as_nl"*)
21651 expr "X$arg" : "X\\(.*\\)$as_nl";
21652 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21653 esac;
21654 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21656 export as_echo_n_body
21657 as_echo_n='sh -c $as_echo_n_body as_echo'
21659 export as_echo_body
21660 as_echo='sh -c $as_echo_body as_echo'
21663 # The user is always right.
21664 if test "${PATH_SEPARATOR+set}" != set; then
21665 PATH_SEPARATOR=:
21666 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21667 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21668 PATH_SEPARATOR=';'
21673 # IFS
21674 # We need space, tab and new line, in precisely that order. Quoting is
21675 # there to prevent editors from complaining about space-tab.
21676 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21677 # splitting by setting IFS to empty value.)
21678 IFS=" "" $as_nl"
21680 # Find who we are. Look in the path if we contain no directory separator.
21681 as_myself=
21682 case $0 in #((
21683 *[\\/]* ) as_myself=$0 ;;
21684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21685 for as_dir in $PATH
21687 IFS=$as_save_IFS
21688 test -z "$as_dir" && as_dir=.
21689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21690 done
21691 IFS=$as_save_IFS
21694 esac
21695 # We did not find ourselves, most probably we were run as `sh COMMAND'
21696 # in which case we are not to be found in the path.
21697 if test "x$as_myself" = x; then
21698 as_myself=$0
21700 if test ! -f "$as_myself"; then
21701 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21702 exit 1
21705 # Unset variables that we do not need and which cause bugs (e.g. in
21706 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21707 # suppresses any "Segmentation fault" message there. '((' could
21708 # trigger a bug in pdksh 5.2.14.
21709 for as_var in BASH_ENV ENV MAIL MAILPATH
21710 do eval test x\${$as_var+set} = xset \
21711 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21712 done
21713 PS1='$ '
21714 PS2='> '
21715 PS4='+ '
21717 # NLS nuisances.
21718 LC_ALL=C
21719 export LC_ALL
21720 LANGUAGE=C
21721 export LANGUAGE
21723 # CDPATH.
21724 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21727 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21728 # ----------------------------------------
21729 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21730 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21731 # script with STATUS, using 1 if that was 0.
21732 as_fn_error ()
21734 as_status=$1; test $as_status -eq 0 && as_status=1
21735 if test "$4"; then
21736 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21737 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21739 $as_echo "$as_me: error: $2" >&2
21740 as_fn_exit $as_status
21741 } # as_fn_error
21744 # as_fn_set_status STATUS
21745 # -----------------------
21746 # Set $? to STATUS, without forking.
21747 as_fn_set_status ()
21749 return $1
21750 } # as_fn_set_status
21752 # as_fn_exit STATUS
21753 # -----------------
21754 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21755 as_fn_exit ()
21757 set +e
21758 as_fn_set_status $1
21759 exit $1
21760 } # as_fn_exit
21762 # as_fn_unset VAR
21763 # ---------------
21764 # Portably unset VAR.
21765 as_fn_unset ()
21767 { eval $1=; unset $1;}
21769 as_unset=as_fn_unset
21770 # as_fn_append VAR VALUE
21771 # ----------------------
21772 # Append the text in VALUE to the end of the definition contained in VAR. Take
21773 # advantage of any shell optimizations that allow amortized linear growth over
21774 # repeated appends, instead of the typical quadratic growth present in naive
21775 # implementations.
21776 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21777 eval 'as_fn_append ()
21779 eval $1+=\$2
21781 else
21782 as_fn_append ()
21784 eval $1=\$$1\$2
21786 fi # as_fn_append
21788 # as_fn_arith ARG...
21789 # ------------------
21790 # Perform arithmetic evaluation on the ARGs, and store the result in the
21791 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21792 # must be portable across $(()) and expr.
21793 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21794 eval 'as_fn_arith ()
21796 as_val=$(( $* ))
21798 else
21799 as_fn_arith ()
21801 as_val=`expr "$@" || test $? -eq 1`
21803 fi # as_fn_arith
21806 if expr a : '\(a\)' >/dev/null 2>&1 &&
21807 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21808 as_expr=expr
21809 else
21810 as_expr=false
21813 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21814 as_basename=basename
21815 else
21816 as_basename=false
21819 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21820 as_dirname=dirname
21821 else
21822 as_dirname=false
21825 as_me=`$as_basename -- "$0" ||
21826 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21827 X"$0" : 'X\(//\)$' \| \
21828 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21829 $as_echo X/"$0" |
21830 sed '/^.*\/\([^/][^/]*\)\/*$/{
21831 s//\1/
21834 /^X\/\(\/\/\)$/{
21835 s//\1/
21838 /^X\/\(\/\).*/{
21839 s//\1/
21842 s/.*/./; q'`
21844 # Avoid depending upon Character Ranges.
21845 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21846 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21847 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21848 as_cr_digits='0123456789'
21849 as_cr_alnum=$as_cr_Letters$as_cr_digits
21851 ECHO_C= ECHO_N= ECHO_T=
21852 case `echo -n x` in #(((((
21853 -n*)
21854 case `echo 'xy\c'` in
21855 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21856 xy) ECHO_C='\c';;
21857 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21858 ECHO_T=' ';;
21859 esac;;
21861 ECHO_N='-n';;
21862 esac
21864 rm -f conf$$ conf$$.exe conf$$.file
21865 if test -d conf$$.dir; then
21866 rm -f conf$$.dir/conf$$.file
21867 else
21868 rm -f conf$$.dir
21869 mkdir conf$$.dir 2>/dev/null
21871 if (echo >conf$$.file) 2>/dev/null; then
21872 if ln -s conf$$.file conf$$ 2>/dev/null; then
21873 as_ln_s='ln -s'
21874 # ... but there are two gotchas:
21875 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21876 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21877 # In both cases, we have to default to `cp -pR'.
21878 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21879 as_ln_s='cp -pR'
21880 elif ln conf$$.file conf$$ 2>/dev/null; then
21881 as_ln_s=ln
21882 else
21883 as_ln_s='cp -pR'
21885 else
21886 as_ln_s='cp -pR'
21888 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21889 rmdir conf$$.dir 2>/dev/null
21892 # as_fn_mkdir_p
21893 # -------------
21894 # Create "$as_dir" as a directory, including parents if necessary.
21895 as_fn_mkdir_p ()
21898 case $as_dir in #(
21899 -*) as_dir=./$as_dir;;
21900 esac
21901 test -d "$as_dir" || eval $as_mkdir_p || {
21902 as_dirs=
21903 while :; do
21904 case $as_dir in #(
21905 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21906 *) as_qdir=$as_dir;;
21907 esac
21908 as_dirs="'$as_qdir' $as_dirs"
21909 as_dir=`$as_dirname -- "$as_dir" ||
21910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21911 X"$as_dir" : 'X\(//\)[^/]' \| \
21912 X"$as_dir" : 'X\(//\)$' \| \
21913 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21914 $as_echo X"$as_dir" |
21915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21916 s//\1/
21919 /^X\(\/\/\)[^/].*/{
21920 s//\1/
21923 /^X\(\/\/\)$/{
21924 s//\1/
21927 /^X\(\/\).*/{
21928 s//\1/
21931 s/.*/./; q'`
21932 test -d "$as_dir" && break
21933 done
21934 test -z "$as_dirs" || eval "mkdir $as_dirs"
21935 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21938 } # as_fn_mkdir_p
21939 if mkdir -p . 2>/dev/null; then
21940 as_mkdir_p='mkdir -p "$as_dir"'
21941 else
21942 test -d ./-p && rmdir ./-p
21943 as_mkdir_p=false
21947 # as_fn_executable_p FILE
21948 # -----------------------
21949 # Test if FILE is an executable regular file.
21950 as_fn_executable_p ()
21952 test -f "$1" && test -x "$1"
21953 } # as_fn_executable_p
21954 as_test_x='test -x'
21955 as_executable_p=as_fn_executable_p
21957 # Sed expression to map a string onto a valid CPP name.
21958 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21960 # Sed expression to map a string onto a valid variable name.
21961 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21964 exec 6>&1
21965 ## ----------------------------------- ##
21966 ## Main body of $CONFIG_STATUS script. ##
21967 ## ----------------------------------- ##
21968 _ASEOF
21969 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21972 # Save the log message, to keep $0 and so on meaningful, and to
21973 # report actual input values of CONFIG_FILES etc. instead of their
21974 # values after options handling.
21975 ac_log="
21976 This file was extended by Wine $as_me 6.4, which was
21977 generated by GNU Autoconf 2.69. Invocation command line was
21979 CONFIG_FILES = $CONFIG_FILES
21980 CONFIG_HEADERS = $CONFIG_HEADERS
21981 CONFIG_LINKS = $CONFIG_LINKS
21982 CONFIG_COMMANDS = $CONFIG_COMMANDS
21983 $ $0 $@
21985 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21988 _ACEOF
21990 case $ac_config_files in *"
21991 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21992 esac
21994 case $ac_config_headers in *"
21995 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21996 esac
21999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22000 # Files that config.status was made for.
22001 config_files="$ac_config_files"
22002 config_headers="$ac_config_headers"
22003 config_links="$ac_config_links"
22004 config_commands="$ac_config_commands"
22006 _ACEOF
22008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22009 ac_cs_usage="\
22010 \`$as_me' instantiates files and other configuration actions
22011 from templates according to the current configuration. Unless the files
22012 and actions are specified as TAGs, all are instantiated by default.
22014 Usage: $0 [OPTION]... [TAG]...
22016 -h, --help print this help, then exit
22017 -V, --version print version number and configuration settings, then exit
22018 --config print configuration, then exit
22019 -q, --quiet, --silent
22020 do not print progress messages
22021 -d, --debug don't remove temporary files
22022 --recheck update $as_me by reconfiguring in the same conditions
22023 --file=FILE[:TEMPLATE]
22024 instantiate the configuration file FILE
22025 --header=FILE[:TEMPLATE]
22026 instantiate the configuration header FILE
22028 Configuration files:
22029 $config_files
22031 Configuration headers:
22032 $config_headers
22034 Configuration links:
22035 $config_links
22037 Configuration commands:
22038 $config_commands
22040 Report bugs to <wine-devel@winehq.org>.
22041 Wine home page: <https://www.winehq.org>."
22043 _ACEOF
22044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22045 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22046 ac_cs_version="\\
22047 Wine config.status 6.4
22048 configured by $0, generated by GNU Autoconf 2.69,
22049 with options \\"\$ac_cs_config\\"
22051 Copyright (C) 2012 Free Software Foundation, Inc.
22052 This config.status script is free software; the Free Software Foundation
22053 gives unlimited permission to copy, distribute and modify it."
22055 ac_pwd='$ac_pwd'
22056 srcdir='$srcdir'
22057 test -n "\$AWK" || AWK=awk
22058 _ACEOF
22060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22061 # The default lists apply if the user does not specify any file.
22062 ac_need_defaults=:
22063 while test $# != 0
22065 case $1 in
22066 --*=?*)
22067 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22068 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22069 ac_shift=:
22071 --*=)
22072 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22073 ac_optarg=
22074 ac_shift=:
22077 ac_option=$1
22078 ac_optarg=$2
22079 ac_shift=shift
22081 esac
22083 case $ac_option in
22084 # Handling of the options.
22085 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22086 ac_cs_recheck=: ;;
22087 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22088 $as_echo "$ac_cs_version"; exit ;;
22089 --config | --confi | --conf | --con | --co | --c )
22090 $as_echo "$ac_cs_config"; exit ;;
22091 --debug | --debu | --deb | --de | --d | -d )
22092 debug=: ;;
22093 --file | --fil | --fi | --f )
22094 $ac_shift
22095 case $ac_optarg in
22096 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22097 '') as_fn_error $? "missing file argument" ;;
22098 esac
22099 as_fn_append CONFIG_FILES " '$ac_optarg'"
22100 ac_need_defaults=false;;
22101 --header | --heade | --head | --hea )
22102 $ac_shift
22103 case $ac_optarg in
22104 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22105 esac
22106 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22107 ac_need_defaults=false;;
22108 --he | --h)
22109 # Conflict between --help and --header
22110 as_fn_error $? "ambiguous option: \`$1'
22111 Try \`$0 --help' for more information.";;
22112 --help | --hel | -h )
22113 $as_echo "$ac_cs_usage"; exit ;;
22114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22115 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22116 ac_cs_silent=: ;;
22118 # This is an error.
22119 -*) as_fn_error $? "unrecognized option: \`$1'
22120 Try \`$0 --help' for more information." ;;
22122 *) as_fn_append ac_config_targets " $1"
22123 ac_need_defaults=false ;;
22125 esac
22126 shift
22127 done
22129 ac_configure_extra_args=
22131 if $ac_cs_silent; then
22132 exec 6>/dev/null
22133 ac_configure_extra_args="$ac_configure_extra_args --silent"
22136 _ACEOF
22137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22138 if \$ac_cs_recheck; then
22139 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22140 shift
22141 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22142 CONFIG_SHELL='$SHELL'
22143 export CONFIG_SHELL
22144 exec "\$@"
22147 _ACEOF
22148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22149 exec 5>>config.log
22151 echo
22152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22153 ## Running $as_me. ##
22154 _ASBOX
22155 $as_echo "$ac_log"
22156 } >&5
22158 _ACEOF
22159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22161 # INIT-COMMANDS
22163 wine_fn_output_makedep ()
22165 as_dir=tools; as_fn_mkdir_p
22166 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22168 wine_fn_output_makefile ()
22170 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22171 `cat $wine_rules_file`
22172 _WINE_EOF
22173 as_fn_error $? "could not create Makefile" "$LINENO" 5
22176 _ACEOF
22178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22180 # Handling of arguments.
22181 for ac_config_target in $ac_config_targets
22183 case $ac_config_target in
22184 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22185 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22186 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22187 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22188 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22189 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22190 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22192 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22193 esac
22194 done
22197 # If the user did not use the arguments to specify the items to instantiate,
22198 # then the envvar interface is used. Set only those that are not.
22199 # We use the long form for the default assignment because of an extremely
22200 # bizarre bug on SunOS 4.1.3.
22201 if $ac_need_defaults; then
22202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22204 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22205 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22208 # Have a temporary directory for convenience. Make it in the build tree
22209 # simply because there is no reason against having it here, and in addition,
22210 # creating and moving files from /tmp can sometimes cause problems.
22211 # Hook for its removal unless debugging.
22212 # Note that there is a small window in which the directory will not be cleaned:
22213 # after its creation but before its name has been assigned to `$tmp'.
22214 $debug ||
22216 tmp= ac_tmp=
22217 trap 'exit_status=$?
22218 : "${ac_tmp:=$tmp}"
22219 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22221 trap 'as_fn_exit 1' 1 2 13 15
22223 # Create a (secure) tmp directory for tmp files.
22226 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22227 test -d "$tmp"
22228 } ||
22230 tmp=./conf$$-$RANDOM
22231 (umask 077 && mkdir "$tmp")
22232 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22233 ac_tmp=$tmp
22235 # Set up the scripts for CONFIG_FILES section.
22236 # No need to generate them if there are no CONFIG_FILES.
22237 # This happens for instance with `./config.status config.h'.
22238 if test -n "$CONFIG_FILES"; then
22241 ac_cr=`echo X | tr X '\015'`
22242 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22243 # But we know of no other shell where ac_cr would be empty at this
22244 # point, so we can use a bashism as a fallback.
22245 if test "x$ac_cr" = x; then
22246 eval ac_cr=\$\'\\r\'
22248 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22249 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22250 ac_cs_awk_cr='\\r'
22251 else
22252 ac_cs_awk_cr=$ac_cr
22255 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22256 _ACEOF
22260 echo "cat >conf$$subs.awk <<_ACEOF" &&
22261 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22262 echo "_ACEOF"
22263 } >conf$$subs.sh ||
22264 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22265 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22266 ac_delim='%!_!# '
22267 for ac_last_try in false false false false false :; do
22268 . ./conf$$subs.sh ||
22269 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22271 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22272 if test $ac_delim_n = $ac_delim_num; then
22273 break
22274 elif $ac_last_try; then
22275 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22276 else
22277 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22279 done
22280 rm -f conf$$subs.sh
22282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22283 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22284 _ACEOF
22285 sed -n '
22287 s/^/S["/; s/!.*/"]=/
22290 s/^[^!]*!//
22291 :repl
22292 t repl
22293 s/'"$ac_delim"'$//
22294 t delim
22297 s/\(.\{148\}\)..*/\1/
22298 t more1
22299 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22302 b repl
22303 :more1
22304 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22307 s/.\{148\}//
22308 t nl
22309 :delim
22311 s/\(.\{148\}\)..*/\1/
22312 t more2
22313 s/["\\]/\\&/g; s/^/"/; s/$/"/
22316 :more2
22317 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22320 s/.\{148\}//
22321 t delim
22322 ' <conf$$subs.awk | sed '
22323 /^[^""]/{
22325 s/\n//
22327 ' >>$CONFIG_STATUS || ac_write_fail=1
22328 rm -f conf$$subs.awk
22329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22330 _ACAWK
22331 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22332 for (key in S) S_is_set[key] = 1
22333 FS = "\a"
22337 line = $ 0
22338 nfields = split(line, field, "@")
22339 substed = 0
22340 len = length(field[1])
22341 for (i = 2; i < nfields; i++) {
22342 key = field[i]
22343 keylen = length(key)
22344 if (S_is_set[key]) {
22345 value = S[key]
22346 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22347 len += length(value) + length(field[++i])
22348 substed = 1
22349 } else
22350 len += 1 + keylen
22353 print line
22356 _ACAWK
22357 _ACEOF
22358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22359 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22360 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22361 else
22363 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22364 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22365 _ACEOF
22367 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22368 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22369 # trailing colons and then remove the whole line if VPATH becomes empty
22370 # (actually we leave an empty line to preserve line numbers).
22371 if test "x$srcdir" = x.; then
22372 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22374 s///
22375 s/^/:/
22376 s/[ ]*$/:/
22377 s/:\$(srcdir):/:/g
22378 s/:\${srcdir}:/:/g
22379 s/:@srcdir@:/:/g
22380 s/^:*//
22381 s/:*$//
22383 s/\(=[ ]*\).*/\1/
22385 s/\n//
22386 s/^[^=]*=[ ]*$//
22390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22391 fi # test -n "$CONFIG_FILES"
22393 # Set up the scripts for CONFIG_HEADERS section.
22394 # No need to generate them if there are no CONFIG_HEADERS.
22395 # This happens for instance with `./config.status Makefile'.
22396 if test -n "$CONFIG_HEADERS"; then
22397 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22398 BEGIN {
22399 _ACEOF
22401 # Transform confdefs.h into an awk script `defines.awk', embedded as
22402 # here-document in config.status, that substitutes the proper values into
22403 # config.h.in to produce config.h.
22405 # Create a delimiter string that does not exist in confdefs.h, to ease
22406 # handling of long lines.
22407 ac_delim='%!_!# '
22408 for ac_last_try in false false :; do
22409 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22410 if test -z "$ac_tt"; then
22411 break
22412 elif $ac_last_try; then
22413 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22414 else
22415 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22417 done
22419 # For the awk script, D is an array of macro values keyed by name,
22420 # likewise P contains macro parameters if any. Preserve backslash
22421 # newline sequences.
22423 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22424 sed -n '
22425 s/.\{148\}/&'"$ac_delim"'/g
22426 t rset
22427 :rset
22428 s/^[ ]*#[ ]*define[ ][ ]*/ /
22429 t def
22431 :def
22432 s/\\$//
22433 t bsnl
22434 s/["\\]/\\&/g
22435 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22436 D["\1"]=" \3"/p
22437 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22439 :bsnl
22440 s/["\\]/\\&/g
22441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22442 D["\1"]=" \3\\\\\\n"\\/p
22443 t cont
22444 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22445 t cont
22447 :cont
22449 s/.\{148\}/&'"$ac_delim"'/g
22450 t clear
22451 :clear
22452 s/\\$//
22453 t bsnlc
22454 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22456 :bsnlc
22457 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22458 b cont
22459 ' <confdefs.h | sed '
22460 s/'"$ac_delim"'/"\\\
22461 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22464 for (key in D) D_is_set[key] = 1
22465 FS = "\a"
22467 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22468 line = \$ 0
22469 split(line, arg, " ")
22470 if (arg[1] == "#") {
22471 defundef = arg[2]
22472 mac1 = arg[3]
22473 } else {
22474 defundef = substr(arg[1], 2)
22475 mac1 = arg[2]
22477 split(mac1, mac2, "(") #)
22478 macro = mac2[1]
22479 prefix = substr(line, 1, index(line, defundef) - 1)
22480 if (D_is_set[macro]) {
22481 # Preserve the white space surrounding the "#".
22482 print prefix "define", macro P[macro] D[macro]
22483 next
22484 } else {
22485 # Replace #undef with comments. This is necessary, for example,
22486 # in the case of _POSIX_SOURCE, which is predefined and required
22487 # on some systems where configure will not decide to define it.
22488 if (defundef == "undef") {
22489 print "/*", prefix defundef, macro, "*/"
22490 next
22494 { print }
22495 _ACAWK
22496 _ACEOF
22497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22498 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22499 fi # test -n "$CONFIG_HEADERS"
22502 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22503 shift
22504 for ac_tag
22506 case $ac_tag in
22507 :[FHLC]) ac_mode=$ac_tag; continue;;
22508 esac
22509 case $ac_mode$ac_tag in
22510 :[FHL]*:*);;
22511 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22512 :[FH]-) ac_tag=-:-;;
22513 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22514 esac
22515 ac_save_IFS=$IFS
22516 IFS=:
22517 set x $ac_tag
22518 IFS=$ac_save_IFS
22519 shift
22520 ac_file=$1
22521 shift
22523 case $ac_mode in
22524 :L) ac_source=$1;;
22525 :[FH])
22526 ac_file_inputs=
22527 for ac_f
22529 case $ac_f in
22530 -) ac_f="$ac_tmp/stdin";;
22531 *) # Look for the file first in the build tree, then in the source tree
22532 # (if the path is not absolute). The absolute path cannot be DOS-style,
22533 # because $ac_f cannot contain `:'.
22534 test -f "$ac_f" ||
22535 case $ac_f in
22536 [\\/$]*) false;;
22537 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22538 esac ||
22539 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22540 esac
22541 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22542 as_fn_append ac_file_inputs " '$ac_f'"
22543 done
22545 # Let's still pretend it is `configure' which instantiates (i.e., don't
22546 # use $as_me), people would be surprised to read:
22547 # /* config.h. Generated by config.status. */
22548 configure_input='Generated from '`
22549 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22550 `' by configure.'
22551 if test x"$ac_file" != x-; then
22552 configure_input="$ac_file. $configure_input"
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22554 $as_echo "$as_me: creating $ac_file" >&6;}
22556 # Neutralize special characters interpreted by sed in replacement strings.
22557 case $configure_input in #(
22558 *\&* | *\|* | *\\* )
22559 ac_sed_conf_input=`$as_echo "$configure_input" |
22560 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22561 *) ac_sed_conf_input=$configure_input;;
22562 esac
22564 case $ac_tag in
22565 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22566 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22567 esac
22569 esac
22571 ac_dir=`$as_dirname -- "$ac_file" ||
22572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22573 X"$ac_file" : 'X\(//\)[^/]' \| \
22574 X"$ac_file" : 'X\(//\)$' \| \
22575 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22576 $as_echo X"$ac_file" |
22577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22578 s//\1/
22581 /^X\(\/\/\)[^/].*/{
22582 s//\1/
22585 /^X\(\/\/\)$/{
22586 s//\1/
22589 /^X\(\/\).*/{
22590 s//\1/
22593 s/.*/./; q'`
22594 as_dir="$ac_dir"; as_fn_mkdir_p
22595 ac_builddir=.
22597 case "$ac_dir" in
22598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22600 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22601 # A ".." for each directory in $ac_dir_suffix.
22602 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22603 case $ac_top_builddir_sub in
22604 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22605 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22606 esac ;;
22607 esac
22608 ac_abs_top_builddir=$ac_pwd
22609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22610 # for backward compatibility:
22611 ac_top_builddir=$ac_top_build_prefix
22613 case $srcdir in
22614 .) # We are building in place.
22615 ac_srcdir=.
22616 ac_top_srcdir=$ac_top_builddir_sub
22617 ac_abs_top_srcdir=$ac_pwd ;;
22618 [\\/]* | ?:[\\/]* ) # Absolute name.
22619 ac_srcdir=$srcdir$ac_dir_suffix;
22620 ac_top_srcdir=$srcdir
22621 ac_abs_top_srcdir=$srcdir ;;
22622 *) # Relative name.
22623 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22624 ac_top_srcdir=$ac_top_build_prefix$srcdir
22625 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22626 esac
22627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22630 case $ac_mode in
22633 # CONFIG_FILE
22636 _ACEOF
22638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22639 # If the template does not know about datarootdir, expand it.
22640 # FIXME: This hack should be removed a few years after 2.60.
22641 ac_datarootdir_hack=; ac_datarootdir_seen=
22642 ac_sed_dataroot='
22643 /datarootdir/ {
22647 /@datadir@/p
22648 /@docdir@/p
22649 /@infodir@/p
22650 /@localedir@/p
22651 /@mandir@/p'
22652 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22653 *datarootdir*) ac_datarootdir_seen=yes;;
22654 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22656 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22657 _ACEOF
22658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22659 ac_datarootdir_hack='
22660 s&@datadir@&$datadir&g
22661 s&@docdir@&$docdir&g
22662 s&@infodir@&$infodir&g
22663 s&@localedir@&$localedir&g
22664 s&@mandir@&$mandir&g
22665 s&\\\${datarootdir}&$datarootdir&g' ;;
22666 esac
22667 _ACEOF
22669 # Neutralize VPATH when `$srcdir' = `.'.
22670 # Shell code in configure.ac might set extrasub.
22671 # FIXME: do we really want to maintain this feature?
22672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22673 ac_sed_extra="$ac_vpsub
22674 $extrasub
22675 _ACEOF
22676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22679 s|@configure_input@|$ac_sed_conf_input|;t t
22680 s&@top_builddir@&$ac_top_builddir_sub&;t t
22681 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22682 s&@srcdir@&$ac_srcdir&;t t
22683 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22684 s&@top_srcdir@&$ac_top_srcdir&;t t
22685 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22686 s&@builddir@&$ac_builddir&;t t
22687 s&@abs_builddir@&$ac_abs_builddir&;t t
22688 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22689 $ac_datarootdir_hack
22691 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22692 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22694 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22695 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22696 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22697 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22699 which seems to be undefined. Please make sure it is defined" >&5
22700 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22701 which seems to be undefined. Please make sure it is defined" >&2;}
22703 rm -f "$ac_tmp/stdin"
22704 case $ac_file in
22705 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22706 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22707 esac \
22708 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22712 # CONFIG_HEADER
22714 if test x"$ac_file" != x-; then
22716 $as_echo "/* $configure_input */" \
22717 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22718 } >"$ac_tmp/config.h" \
22719 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22720 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22722 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22723 else
22724 rm -f "$ac_file"
22725 mv "$ac_tmp/config.h" "$ac_file" \
22726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22728 else
22729 $as_echo "/* $configure_input */" \
22730 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22731 || as_fn_error $? "could not create -" "$LINENO" 5
22736 # CONFIG_LINK
22739 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22741 else
22742 # Prefer the file from the source tree if names are identical.
22743 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22744 ac_source=$srcdir/$ac_source
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22748 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22750 if test ! -r "$ac_source"; then
22751 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22753 rm -f "$ac_file"
22755 # Try a relative symlink, then a hard link, then a copy.
22756 case $ac_source in
22757 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22758 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22759 esac
22760 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22761 ln "$ac_source" "$ac_file" 2>/dev/null ||
22762 cp -p "$ac_source" "$ac_file" ||
22763 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22766 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22767 $as_echo "$as_me: executing $ac_file commands" >&6;}
22769 esac
22772 case $ac_file$ac_mode in
22773 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22774 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22775 "Makefile":C) wine_fn_output_makefile Makefile ;;
22777 esac
22778 done # for ac_tag
22781 as_fn_exit 0
22782 _ACEOF
22783 ac_clean_files=$ac_clean_files_save
22785 test $ac_write_fail = 0 ||
22786 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22789 # configure is writing to config.log, and then calls config.status.
22790 # config.status does its own redirection, appending to config.log.
22791 # Unfortunately, on DOS this fails, as config.log is still kept open
22792 # by configure, so config.status won't be able to write to it; its
22793 # output is simply discarded. So we exec the FD to /dev/null,
22794 # effectively closing config.log, so it can be properly (re)opened and
22795 # appended to by config.status. When coming back to configure, we
22796 # need to make the FD available again.
22797 if test "$no_create" != yes; then
22798 ac_cs_success=:
22799 ac_config_status_args=
22800 test "$silent" = yes &&
22801 ac_config_status_args="$ac_config_status_args --quiet"
22802 exec 5>/dev/null
22803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22804 exec 5>>config.log
22805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22806 # would make configure fail if this is the last instruction.
22807 $ac_cs_success || as_fn_exit 1
22809 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22811 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22815 if test "$no_create" = "yes"
22816 then
22817 exit 0
22820 ac_save_IFS="$IFS"
22821 if test "x$wine_notices" != x; then
22822 echo >&6
22823 IFS="|"
22824 for msg in $wine_notices; do
22825 IFS="$ac_save_IFS"
22826 if ${msg:+false} :; then :
22828 else
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22830 $as_echo "$as_me: $msg" >&6;}
22832 done
22834 IFS="|"
22835 for msg in $wine_warnings; do
22836 IFS="$ac_save_IFS"
22837 if ${msg:+false} :; then :
22839 else
22840 echo >&2
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22842 $as_echo "$as_me: WARNING: $msg" >&2;}
22844 done
22845 IFS="$ac_save_IFS"
22847 $as_echo "
22848 $as_me: Finished. Do '${ac_make}' to compile Wine.
22849 " >&6