dwrite: Check for vertical variants only when asked.
[wine/zf.git] / configure
blob3b5a50cef5342723ede48d644be0cfdea7a662eb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.3.
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.3'
584 PACKAGE_STRING='Wine 6.3'
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_private_l1_1_1
974 enable_api_ms_win_core_largeinteger_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_1
977 enable_api_ms_win_core_libraryloader_l1_2_0
978 enable_api_ms_win_core_libraryloader_l1_2_1
979 enable_api_ms_win_core_libraryloader_l1_2_2
980 enable_api_ms_win_core_libraryloader_l2_1_0
981 enable_api_ms_win_core_localization_l1_1_0
982 enable_api_ms_win_core_localization_l1_2_0
983 enable_api_ms_win_core_localization_l1_2_1
984 enable_api_ms_win_core_localization_l1_2_2
985 enable_api_ms_win_core_localization_l2_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_2_0
988 enable_api_ms_win_core_localization_obsolete_l1_3_0
989 enable_api_ms_win_core_localization_private_l1_1_0
990 enable_api_ms_win_core_localregistry_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_1
993 enable_api_ms_win_core_memory_l1_1_2
994 enable_api_ms_win_core_memory_l1_1_3
995 enable_api_ms_win_core_memory_l1_1_4
996 enable_api_ms_win_core_misc_l1_1_0
997 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_2_0
1000 enable_api_ms_win_core_namespace_l1_1_0
1001 enable_api_ms_win_core_normalization_l1_1_0
1002 enable_api_ms_win_core_path_l1_1_0
1003 enable_api_ms_win_core_privateprofile_l1_1_1
1004 enable_api_ms_win_core_processenvironment_l1_1_0
1005 enable_api_ms_win_core_processenvironment_l1_2_0
1006 enable_api_ms_win_core_processthreads_l1_1_0
1007 enable_api_ms_win_core_processthreads_l1_1_1
1008 enable_api_ms_win_core_processthreads_l1_1_2
1009 enable_api_ms_win_core_processthreads_l1_1_3
1010 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1011 enable_api_ms_win_core_profile_l1_1_0
1012 enable_api_ms_win_core_psapi_ansi_l1_1_0
1013 enable_api_ms_win_core_psapi_l1_1_0
1014 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1015 enable_api_ms_win_core_quirks_l1_1_0
1016 enable_api_ms_win_core_realtime_l1_1_0
1017 enable_api_ms_win_core_registry_l1_1_0
1018 enable_api_ms_win_core_registry_l2_1_0
1019 enable_api_ms_win_core_registry_l2_2_0
1020 enable_api_ms_win_core_registryuserspecific_l1_1_0
1021 enable_api_ms_win_core_rtlsupport_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_2_0
1023 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1024 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1026 enable_api_ms_win_core_shutdown_l1_1_0
1027 enable_api_ms_win_core_sidebyside_l1_1_0
1028 enable_api_ms_win_core_string_l1_1_0
1029 enable_api_ms_win_core_string_l2_1_0
1030 enable_api_ms_win_core_string_obsolete_l1_1_0
1031 enable_api_ms_win_core_stringansi_l1_1_0
1032 enable_api_ms_win_core_stringloader_l1_1_1
1033 enable_api_ms_win_core_synch_ansi_l1_1_0
1034 enable_api_ms_win_core_synch_l1_1_0
1035 enable_api_ms_win_core_synch_l1_2_0
1036 enable_api_ms_win_core_synch_l1_2_1
1037 enable_api_ms_win_core_sysinfo_l1_1_0
1038 enable_api_ms_win_core_sysinfo_l1_2_0
1039 enable_api_ms_win_core_sysinfo_l1_2_1
1040 enable_api_ms_win_core_systemtopology_l1_1_0
1041 enable_api_ms_win_core_threadpool_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_2_0
1043 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1044 enable_api_ms_win_core_threadpool_private_l1_1_0
1045 enable_api_ms_win_core_timezone_l1_1_0
1046 enable_api_ms_win_core_toolhelp_l1_1_0
1047 enable_api_ms_win_core_url_l1_1_0
1048 enable_api_ms_win_core_util_l1_1_0
1049 enable_api_ms_win_core_version_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_1
1051 enable_api_ms_win_core_version_private_l1_1_0
1052 enable_api_ms_win_core_versionansi_l1_1_0
1053 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1054 enable_api_ms_win_core_winrt_error_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_1
1056 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1057 enable_api_ms_win_core_winrt_l1_1_0
1058 enable_api_ms_win_core_winrt_registration_l1_1_0
1059 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1060 enable_api_ms_win_core_winrt_string_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_1
1062 enable_api_ms_win_core_wow64_l1_1_0
1063 enable_api_ms_win_core_wow64_l1_1_1
1064 enable_api_ms_win_core_xstate_l1_1_0
1065 enable_api_ms_win_core_xstate_l2_1_0
1066 enable_api_ms_win_crt_conio_l1_1_0
1067 enable_api_ms_win_crt_convert_l1_1_0
1068 enable_api_ms_win_crt_environment_l1_1_0
1069 enable_api_ms_win_crt_filesystem_l1_1_0
1070 enable_api_ms_win_crt_heap_l1_1_0
1071 enable_api_ms_win_crt_locale_l1_1_0
1072 enable_api_ms_win_crt_math_l1_1_0
1073 enable_api_ms_win_crt_multibyte_l1_1_0
1074 enable_api_ms_win_crt_private_l1_1_0
1075 enable_api_ms_win_crt_process_l1_1_0
1076 enable_api_ms_win_crt_runtime_l1_1_0
1077 enable_api_ms_win_crt_stdio_l1_1_0
1078 enable_api_ms_win_crt_string_l1_1_0
1079 enable_api_ms_win_crt_time_l1_1_0
1080 enable_api_ms_win_crt_utility_l1_1_0
1081 enable_api_ms_win_devices_config_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_1
1083 enable_api_ms_win_devices_query_l1_1_1
1084 enable_api_ms_win_downlevel_advapi32_l1_1_0
1085 enable_api_ms_win_downlevel_advapi32_l2_1_0
1086 enable_api_ms_win_downlevel_kernel32_l2_1_0
1087 enable_api_ms_win_downlevel_normaliz_l1_1_0
1088 enable_api_ms_win_downlevel_ole32_l1_1_0
1089 enable_api_ms_win_downlevel_shell32_l1_1_0
1090 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1092 enable_api_ms_win_downlevel_user32_l1_1_0
1093 enable_api_ms_win_downlevel_version_l1_1_0
1094 enable_api_ms_win_dx_d3dkmt_l1_1_0
1095 enable_api_ms_win_eventing_classicprovider_l1_1_0
1096 enable_api_ms_win_eventing_consumer_l1_1_0
1097 enable_api_ms_win_eventing_controller_l1_1_0
1098 enable_api_ms_win_eventing_legacy_l1_1_0
1099 enable_api_ms_win_eventing_provider_l1_1_0
1100 enable_api_ms_win_eventlog_legacy_l1_1_0
1101 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1102 enable_api_ms_win_mm_joystick_l1_1_0
1103 enable_api_ms_win_mm_misc_l1_1_1
1104 enable_api_ms_win_mm_mme_l1_1_0
1105 enable_api_ms_win_mm_time_l1_1_0
1106 enable_api_ms_win_ntuser_dc_access_l1_1_0
1107 enable_api_ms_win_ntuser_rectangle_l1_1_0
1108 enable_api_ms_win_ntuser_sysparams_l1_1_0
1109 enable_api_ms_win_perf_legacy_l1_1_0
1110 enable_api_ms_win_power_base_l1_1_0
1111 enable_api_ms_win_power_setting_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1115 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1119 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1120 enable_api_ms_win_security_audit_l1_1_1
1121 enable_api_ms_win_security_base_l1_1_0
1122 enable_api_ms_win_security_base_l1_2_0
1123 enable_api_ms_win_security_base_private_l1_1_1
1124 enable_api_ms_win_security_credentials_l1_1_0
1125 enable_api_ms_win_security_cryptoapi_l1_1_0
1126 enable_api_ms_win_security_grouppolicy_l1_1_0
1127 enable_api_ms_win_security_lsalookup_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_1
1129 enable_api_ms_win_security_lsalookup_l2_1_0
1130 enable_api_ms_win_security_lsalookup_l2_1_1
1131 enable_api_ms_win_security_lsapolicy_l1_1_0
1132 enable_api_ms_win_security_provider_l1_1_0
1133 enable_api_ms_win_security_sddl_l1_1_0
1134 enable_api_ms_win_security_systemfunctions_l1_1_0
1135 enable_api_ms_win_service_core_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_1
1137 enable_api_ms_win_service_management_l1_1_0
1138 enable_api_ms_win_service_management_l2_1_0
1139 enable_api_ms_win_service_private_l1_1_1
1140 enable_api_ms_win_service_winsvc_l1_1_0
1141 enable_api_ms_win_service_winsvc_l1_2_0
1142 enable_api_ms_win_shcore_obsolete_l1_1_0
1143 enable_api_ms_win_shcore_scaling_l1_1_1
1144 enable_api_ms_win_shcore_stream_l1_1_0
1145 enable_api_ms_win_shcore_thread_l1_1_0
1146 enable_api_ms_win_shell_shellcom_l1_1_0
1147 enable_api_ms_win_shell_shellfolders_l1_1_0
1148 enable_apphelp
1149 enable_appwiz_cpl
1150 enable_atl
1151 enable_atl100
1152 enable_atl110
1153 enable_atl80
1154 enable_atl90
1155 enable_atlthunk
1156 enable_atmlib
1157 enable_authz
1158 enable_avicap32
1159 enable_avifil32
1160 enable_avrt
1161 enable_bcrypt
1162 enable_bluetoothapis
1163 enable_browseui
1164 enable_bthprops_cpl
1165 enable_cabinet
1166 enable_capi2032
1167 enable_cards
1168 enable_cdosys
1169 enable_cfgmgr32
1170 enable_clusapi
1171 enable_combase
1172 enable_comcat
1173 enable_comctl32
1174 enable_comdlg32
1175 enable_compstui
1176 enable_comsvcs
1177 enable_concrt140
1178 enable_connect
1179 enable_credui
1180 enable_crtdll
1181 enable_crypt32
1182 enable_cryptdlg
1183 enable_cryptdll
1184 enable_cryptext
1185 enable_cryptnet
1186 enable_cryptsp
1187 enable_cryptui
1188 enable_ctapi32
1189 enable_ctl3d32
1190 enable_d2d1
1191 enable_d3d10
1192 enable_d3d10_1
1193 enable_d3d10core
1194 enable_d3d11
1195 enable_d3d12
1196 enable_d3d8
1197 enable_d3d8thk
1198 enable_d3d9
1199 enable_d3dcompiler_33
1200 enable_d3dcompiler_34
1201 enable_d3dcompiler_35
1202 enable_d3dcompiler_36
1203 enable_d3dcompiler_37
1204 enable_d3dcompiler_38
1205 enable_d3dcompiler_39
1206 enable_d3dcompiler_40
1207 enable_d3dcompiler_41
1208 enable_d3dcompiler_42
1209 enable_d3dcompiler_43
1210 enable_d3dcompiler_46
1211 enable_d3dcompiler_47
1212 enable_d3dim
1213 enable_d3dim700
1214 enable_d3drm
1215 enable_d3dx10_33
1216 enable_d3dx10_34
1217 enable_d3dx10_35
1218 enable_d3dx10_36
1219 enable_d3dx10_37
1220 enable_d3dx10_38
1221 enable_d3dx10_39
1222 enable_d3dx10_40
1223 enable_d3dx10_41
1224 enable_d3dx10_42
1225 enable_d3dx10_43
1226 enable_d3dx11_42
1227 enable_d3dx11_43
1228 enable_d3dx9_24
1229 enable_d3dx9_25
1230 enable_d3dx9_26
1231 enable_d3dx9_27
1232 enable_d3dx9_28
1233 enable_d3dx9_29
1234 enable_d3dx9_30
1235 enable_d3dx9_31
1236 enable_d3dx9_32
1237 enable_d3dx9_33
1238 enable_d3dx9_34
1239 enable_d3dx9_35
1240 enable_d3dx9_36
1241 enable_d3dx9_37
1242 enable_d3dx9_38
1243 enable_d3dx9_39
1244 enable_d3dx9_40
1245 enable_d3dx9_41
1246 enable_d3dx9_42
1247 enable_d3dx9_43
1248 enable_d3dxof
1249 enable_davclnt
1250 enable_dbgeng
1251 enable_dbghelp
1252 enable_dciman32
1253 enable_dcomp
1254 enable_ddraw
1255 enable_ddrawex
1256 enable_devenum
1257 enable_dhcpcsvc
1258 enable_dhtmled_ocx
1259 enable_difxapi
1260 enable_dinput
1261 enable_dinput8
1262 enable_directmanipulation
1263 enable_dispex
1264 enable_dmband
1265 enable_dmcompos
1266 enable_dmime
1267 enable_dmloader
1268 enable_dmoguids
1269 enable_dmscript
1270 enable_dmstyle
1271 enable_dmsynth
1272 enable_dmusic
1273 enable_dmusic32
1274 enable_dnsapi
1275 enable_dplay
1276 enable_dplayx
1277 enable_dpnaddr
1278 enable_dpnet
1279 enable_dpnhpast
1280 enable_dpnlobby
1281 enable_dpvoice
1282 enable_dpwsockx
1283 enable_drmclien
1284 enable_dsdmo
1285 enable_dsound
1286 enable_dsquery
1287 enable_dssenh
1288 enable_dsuiext
1289 enable_dswave
1290 enable_dwmapi
1291 enable_dwrite
1292 enable_dx8vb
1293 enable_dxdiagn
1294 enable_dxerr8
1295 enable_dxerr9
1296 enable_dxgi
1297 enable_dxguid
1298 enable_dxva2
1299 enable_esent
1300 enable_evr
1301 enable_explorerframe
1302 enable_ext_ms_win_authz_context_l1_1_0
1303 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1304 enable_ext_ms_win_dwmapi_ext_l1_1_0
1305 enable_ext_ms_win_gdi_dc_create_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_1
1307 enable_ext_ms_win_gdi_dc_l1_2_0
1308 enable_ext_ms_win_gdi_devcaps_l1_1_0
1309 enable_ext_ms_win_gdi_draw_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_1
1311 enable_ext_ms_win_gdi_font_l1_1_0
1312 enable_ext_ms_win_gdi_font_l1_1_1
1313 enable_ext_ms_win_gdi_render_l1_1_0
1314 enable_ext_ms_win_kernel32_package_current_l1_1_0
1315 enable_ext_ms_win_kernel32_package_l1_1_1
1316 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1317 enable_ext_ms_win_ntuser_draw_l1_1_0
1318 enable_ext_ms_win_ntuser_gui_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_3_0
1320 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1321 enable_ext_ms_win_ntuser_message_l1_1_0
1322 enable_ext_ms_win_ntuser_message_l1_1_1
1323 enable_ext_ms_win_ntuser_misc_l1_1_0
1324 enable_ext_ms_win_ntuser_misc_l1_2_0
1325 enable_ext_ms_win_ntuser_misc_l1_5_1
1326 enable_ext_ms_win_ntuser_mouse_l1_1_0
1327 enable_ext_ms_win_ntuser_private_l1_1_1
1328 enable_ext_ms_win_ntuser_private_l1_3_1
1329 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1330 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_window_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_1
1333 enable_ext_ms_win_ntuser_window_l1_1_4
1334 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1336 enable_ext_ms_win_oleacc_l1_1_0
1337 enable_ext_ms_win_ras_rasapi32_l1_1_0
1338 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1345 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1348 enable_ext_ms_win_security_credui_l1_1_0
1349 enable_ext_ms_win_security_cryptui_l1_1_0
1350 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1351 enable_ext_ms_win_shell_comdlg32_l1_1_0
1352 enable_ext_ms_win_shell_shell32_l1_2_0
1353 enable_ext_ms_win_uxtheme_themes_l1_1_0
1354 enable_faultrep
1355 enable_feclient
1356 enable_fltlib
1357 enable_fltmgr_sys
1358 enable_fntcache
1359 enable_fontsub
1360 enable_fusion
1361 enable_fwpuclnt
1362 enable_gameux
1363 enable_gdi32
1364 enable_gdiplus
1365 enable_glu32
1366 enable_gphoto2_ds
1367 enable_gpkcsp
1368 enable_hal
1369 enable_hhctrl_ocx
1370 enable_hid
1371 enable_hidclass_sys
1372 enable_hlink
1373 enable_hnetcfg
1374 enable_http_sys
1375 enable_httpapi
1376 enable_iccvid
1377 enable_icmp
1378 enable_ieframe
1379 enable_ieproxy
1380 enable_imaadp32_acm
1381 enable_imagehlp
1382 enable_imm32
1383 enable_inetcomm
1384 enable_inetcpl_cpl
1385 enable_inetmib1
1386 enable_infosoft
1387 enable_initpki
1388 enable_inkobj
1389 enable_inseng
1390 enable_iphlpapi
1391 enable_iprop
1392 enable_irprops_cpl
1393 enable_itircl
1394 enable_itss
1395 enable_joy_cpl
1396 enable_jscript
1397 enable_jsproxy
1398 enable_kerberos
1399 enable_kernel32
1400 enable_kernelbase
1401 enable_ksecdd_sys
1402 enable_ksproxy_ax
1403 enable_ksuser
1404 enable_ktmw32
1405 enable_l3codeca_acm
1406 enable_loadperf
1407 enable_localspl
1408 enable_localui
1409 enable_lz32
1410 enable_mapi32
1411 enable_mapistub
1412 enable_mciavi32
1413 enable_mcicda
1414 enable_mciqtz32
1415 enable_mciseq
1416 enable_mciwave
1417 enable_mf
1418 enable_mf3216
1419 enable_mferror
1420 enable_mfmediaengine
1421 enable_mfplat
1422 enable_mfplay
1423 enable_mfreadwrite
1424 enable_mfuuid
1425 enable_mgmtapi
1426 enable_midimap
1427 enable_mlang
1428 enable_mmcndmgr
1429 enable_mmdevapi
1430 enable_mountmgr_sys
1431 enable_mp3dmod
1432 enable_mpr
1433 enable_mprapi
1434 enable_msacm32_drv
1435 enable_msacm32
1436 enable_msado15
1437 enable_msadp32_acm
1438 enable_msasn1
1439 enable_mscat32
1440 enable_mscms
1441 enable_mscoree
1442 enable_mscorwks
1443 enable_msctf
1444 enable_msctfp
1445 enable_msdaps
1446 enable_msdelta
1447 enable_msdmo
1448 enable_msdrm
1449 enable_msftedit
1450 enable_msg711_acm
1451 enable_msgsm32_acm
1452 enable_mshtml_tlb
1453 enable_mshtml
1454 enable_msi
1455 enable_msident
1456 enable_msimg32
1457 enable_msimsg
1458 enable_msimtf
1459 enable_msisip
1460 enable_msisys_ocx
1461 enable_msls31
1462 enable_msnet32
1463 enable_mspatcha
1464 enable_msports
1465 enable_msrle32
1466 enable_msscript_ocx
1467 enable_mssign32
1468 enable_mssip32
1469 enable_mstask
1470 enable_msvcirt
1471 enable_msvcm80
1472 enable_msvcm90
1473 enable_msvcp100
1474 enable_msvcp110
1475 enable_msvcp120
1476 enable_msvcp120_app
1477 enable_msvcp140
1478 enable_msvcp140_1
1479 enable_msvcp60
1480 enable_msvcp70
1481 enable_msvcp71
1482 enable_msvcp80
1483 enable_msvcp90
1484 enable_msvcr100
1485 enable_msvcr110
1486 enable_msvcr120
1487 enable_msvcr120_app
1488 enable_msvcr70
1489 enable_msvcr71
1490 enable_msvcr80
1491 enable_msvcr90
1492 enable_msvcrt
1493 enable_msvcrt20
1494 enable_msvcrt40
1495 enable_msvcrtd
1496 enable_msvfw32
1497 enable_msvidc32
1498 enable_mswsock
1499 enable_msxml
1500 enable_msxml2
1501 enable_msxml3
1502 enable_msxml4
1503 enable_msxml6
1504 enable_mtxdm
1505 enable_ncrypt
1506 enable_nddeapi
1507 enable_ndis_sys
1508 enable_netapi32
1509 enable_netcfgx
1510 enable_netio_sys
1511 enable_netprofm
1512 enable_netutils
1513 enable_newdev
1514 enable_ninput
1515 enable_normaliz
1516 enable_npmshtml
1517 enable_npptools
1518 enable_ntdll
1519 enable_ntdsapi
1520 enable_ntoskrnl_exe
1521 enable_ntprint
1522 enable_objsel
1523 enable_odbc32
1524 enable_odbcbcp
1525 enable_odbccp32
1526 enable_odbccu32
1527 enable_ole32
1528 enable_oleacc
1529 enable_oleaut32
1530 enable_olecli32
1531 enable_oledb32
1532 enable_oledlg
1533 enable_olepro32
1534 enable_olesvr32
1535 enable_olethk32
1536 enable_opcservices
1537 enable_openal32
1538 enable_opencl
1539 enable_opengl32
1540 enable_packager
1541 enable_pdh
1542 enable_photometadatahandler
1543 enable_pidgen
1544 enable_powrprof
1545 enable_printui
1546 enable_prntvpt
1547 enable_propsys
1548 enable_psapi
1549 enable_pstorec
1550 enable_pwrshplugin
1551 enable_qasf
1552 enable_qcap
1553 enable_qdvd
1554 enable_qedit
1555 enable_qmgr
1556 enable_qmgrprxy
1557 enable_quartz
1558 enable_query
1559 enable_qwave
1560 enable_rasapi32
1561 enable_rasdlg
1562 enable_regapi
1563 enable_resutils
1564 enable_riched20
1565 enable_riched32
1566 enable_rpcrt4
1567 enable_rsabase
1568 enable_rsaenh
1569 enable_rstrtmgr
1570 enable_rtutils
1571 enable_rtworkq
1572 enable_samlib
1573 enable_sane_ds
1574 enable_sapi
1575 enable_sas
1576 enable_scarddlg
1577 enable_sccbase
1578 enable_schannel
1579 enable_schedsvc
1580 enable_scrobj
1581 enable_scrrun
1582 enable_scsiport_sys
1583 enable_sechost
1584 enable_secur32
1585 enable_security
1586 enable_sensapi
1587 enable_serialui
1588 enable_setupapi
1589 enable_sfc
1590 enable_sfc_os
1591 enable_shcore
1592 enable_shdoclc
1593 enable_shdocvw
1594 enable_shell32
1595 enable_shfolder
1596 enable_shlwapi
1597 enable_slbcsp
1598 enable_slc
1599 enable_snmpapi
1600 enable_softpub
1601 enable_spoolss
1602 enable_srclient
1603 enable_srvcli
1604 enable_sspicli
1605 enable_stdole2_tlb
1606 enable_stdole32_tlb
1607 enable_sti
1608 enable_strmbase
1609 enable_strmdll
1610 enable_strmiids
1611 enable_svrapi
1612 enable_sxs
1613 enable_t2embed
1614 enable_tapi32
1615 enable_taskschd
1616 enable_tdh
1617 enable_tdi_sys
1618 enable_traffic
1619 enable_twain_32
1620 enable_tzres
1621 enable_ucrtbase
1622 enable_uianimation
1623 enable_uiautomationcore
1624 enable_uiribbon
1625 enable_unicows
1626 enable_updspapi
1627 enable_url
1628 enable_urlmon
1629 enable_usbd_sys
1630 enable_user32
1631 enable_userenv
1632 enable_usp10
1633 enable_utildll
1634 enable_uuid
1635 enable_uxtheme
1636 enable_vbscript
1637 enable_vcomp
1638 enable_vcomp100
1639 enable_vcomp110
1640 enable_vcomp120
1641 enable_vcomp140
1642 enable_vcomp90
1643 enable_vcruntime140
1644 enable_vcruntime140_1
1645 enable_vdmdbg
1646 enable_version
1647 enable_vga
1648 enable_virtdisk
1649 enable_vssapi
1650 enable_vulkan_1
1651 enable_wbemdisp
1652 enable_wbemprox
1653 enable_wbemuuid
1654 enable_wdscore
1655 enable_webservices
1656 enable_wer
1657 enable_wevtapi
1658 enable_wevtsvc
1659 enable_wiaservc
1660 enable_wimgapi
1661 enable_windowscodecs
1662 enable_windowscodecsext
1663 enable_winealsa_drv
1664 enable_wineandroid_drv
1665 enable_winebus_sys
1666 enable_winecoreaudio_drv
1667 enable_winecrt0
1668 enable_wined3d
1669 enable_winegstreamer
1670 enable_winehid_sys
1671 enable_winejoystick_drv
1672 enable_winemac_drv
1673 enable_winemapi
1674 enable_wineoss_drv
1675 enable_wineps_drv
1676 enable_winepulse_drv
1677 enable_wineqtdecoder
1678 enable_wineusb_sys
1679 enable_winevulkan
1680 enable_winex11_drv
1681 enable_wing32
1682 enable_winhttp
1683 enable_wininet
1684 enable_winmm
1685 enable_winnls32
1686 enable_winscard
1687 enable_winspool_drv
1688 enable_winsta
1689 enable_wintab32
1690 enable_wintrust
1691 enable_winusb
1692 enable_wlanapi
1693 enable_wlanui
1694 enable_wldap32
1695 enable_wmasf
1696 enable_wmcodecdspuuid
1697 enable_wmi
1698 enable_wmiutils
1699 enable_wmp
1700 enable_wmphoto
1701 enable_wmvcore
1702 enable_wnaspi32
1703 enable_wow64cpu
1704 enable_wpc
1705 enable_wpcap
1706 enable_ws2_32
1707 enable_wsdapi
1708 enable_wshom_ocx
1709 enable_wsnmp32
1710 enable_wsock32
1711 enable_wtsapi32
1712 enable_wuapi
1713 enable_wuaueng
1714 enable_x3daudio1_0
1715 enable_x3daudio1_1
1716 enable_x3daudio1_2
1717 enable_x3daudio1_3
1718 enable_x3daudio1_4
1719 enable_x3daudio1_5
1720 enable_x3daudio1_6
1721 enable_x3daudio1_7
1722 enable_xactengine3_0
1723 enable_xactengine3_1
1724 enable_xactengine3_2
1725 enable_xactengine3_3
1726 enable_xactengine3_4
1727 enable_xactengine3_5
1728 enable_xactengine3_6
1729 enable_xactengine3_7
1730 enable_xapofx1_1
1731 enable_xapofx1_2
1732 enable_xapofx1_3
1733 enable_xapofx1_4
1734 enable_xapofx1_5
1735 enable_xaudio2_0
1736 enable_xaudio2_1
1737 enable_xaudio2_2
1738 enable_xaudio2_3
1739 enable_xaudio2_4
1740 enable_xaudio2_5
1741 enable_xaudio2_6
1742 enable_xaudio2_7
1743 enable_xaudio2_8
1744 enable_xaudio2_9
1745 enable_xinput1_1
1746 enable_xinput1_2
1747 enable_xinput1_3
1748 enable_xinput1_4
1749 enable_xinput9_1_0
1750 enable_xmllite
1751 enable_xolehlp
1752 enable_xpsprint
1753 enable_xpssvcs
1754 enable_fonts
1755 enable_include
1756 enable_port
1757 enable_wine
1758 enable_wpp
1759 enable_loader
1760 enable_nls
1761 enable_po
1762 enable_arp
1763 enable_aspnet_regiis
1764 enable_attrib
1765 enable_cabarc
1766 enable_cacls
1767 enable_chcp_com
1768 enable_clock
1769 enable_cmd
1770 enable_conhost
1771 enable_control
1772 enable_cscript
1773 enable_dism
1774 enable_dplaysvr
1775 enable_dpnsvr
1776 enable_dpvsetup
1777 enable_dxdiag
1778 enable_eject
1779 enable_expand
1780 enable_explorer
1781 enable_extrac32
1782 enable_fc
1783 enable_find
1784 enable_findstr
1785 enable_fsutil
1786 enable_hh
1787 enable_hostname
1788 enable_icacls
1789 enable_icinfo
1790 enable_iexplore
1791 enable_ipconfig
1792 enable_lodctr
1793 enable_mofcomp
1794 enable_mshta
1795 enable_msidb
1796 enable_msiexec
1797 enable_msinfo32
1798 enable_net
1799 enable_netsh
1800 enable_netstat
1801 enable_ngen
1802 enable_notepad
1803 enable_oleview
1804 enable_ping
1805 enable_plugplay
1806 enable_powershell
1807 enable_presentationfontcache
1808 enable_progman
1809 enable_reg
1810 enable_regasm
1811 enable_regedit
1812 enable_regini
1813 enable_regsvcs
1814 enable_regsvr32
1815 enable_rpcss
1816 enable_rundll32
1817 enable_sc
1818 enable_schtasks
1819 enable_sdbinst
1820 enable_secedit
1821 enable_servicemodelreg
1822 enable_services
1823 enable_shutdown
1824 enable_spoolsv
1825 enable_start
1826 enable_subst
1827 enable_svchost
1828 enable_systeminfo
1829 enable_taskkill
1830 enable_tasklist
1831 enable_taskmgr
1832 enable_termsv
1833 enable_uninstaller
1834 enable_unlodctr
1835 enable_view
1836 enable_wevtutil
1837 enable_where
1838 enable_whoami
1839 enable_wineboot
1840 enable_winebrowser
1841 enable_winecfg
1842 enable_wineconsole
1843 enable_winedbg
1844 enable_winedevice
1845 enable_winefile
1846 enable_winemenubuilder
1847 enable_winemine
1848 enable_winemsibuilder
1849 enable_winepath
1850 enable_winetest
1851 enable_winhlp32
1852 enable_winmgmt
1853 enable_winver
1854 enable_wmic
1855 enable_wmplayer
1856 enable_wordpad
1857 enable_write
1858 enable_wscript
1859 enable_wuauserv
1860 enable_wusa
1861 enable_xcopy
1862 enable_server
1863 enable_tools
1864 enable_sfnt2fon
1865 enable_widl
1866 enable_winebuild
1867 enable_winedump
1868 enable_winegcc
1869 enable_winemaker
1870 enable_wmc
1871 enable_wrc
1873 ac_precious_vars='build_alias
1874 host_alias
1875 target_alias
1877 CFLAGS
1878 LDFLAGS
1879 LIBS
1880 CPPFLAGS
1882 CXXFLAGS
1885 OBJC
1886 OBJCFLAGS
1887 OBJCPP
1888 XMKMF
1889 XML2_CFLAGS
1890 XML2_LIBS
1891 XSLT_CFLAGS
1892 XSLT_LIBS
1893 INOTIFY_CFLAGS
1894 INOTIFY_LIBS
1895 DBUS_CFLAGS
1896 DBUS_LIBS
1897 HAL_CFLAGS
1898 HAL_LIBS
1899 GNUTLS_CFLAGS
1900 GNUTLS_LIBS
1901 SANE_CFLAGS
1902 SANE_LIBS
1903 USB_CFLAGS
1904 USB_LIBS
1905 GPHOTO2_CFLAGS
1906 GPHOTO2_LIBS
1907 GPHOTO2_PORT_CFLAGS
1908 GPHOTO2_PORT_LIBS
1909 LCMS2_CFLAGS
1910 LCMS2_LIBS
1911 FREETYPE_CFLAGS
1912 FREETYPE_LIBS
1913 PULSE_CFLAGS
1914 PULSE_LIBS
1915 GSTREAMER_CFLAGS
1916 GSTREAMER_LIBS
1917 UDEV_CFLAGS
1918 UDEV_LIBS
1919 UNWIND_CFLAGS
1920 UNWIND_LIBS
1921 SDL2_CFLAGS
1922 SDL2_LIBS
1923 FAUDIO_CFLAGS
1924 FAUDIO_LIBS
1925 CAPI20_CFLAGS
1926 CAPI20_LIBS
1927 CUPS_CFLAGS
1928 CUPS_LIBS
1929 FONTCONFIG_CFLAGS
1930 FONTCONFIG_LIBS
1931 KRB5_CFLAGS
1932 KRB5_LIBS
1933 GSSAPI_CFLAGS
1934 GSSAPI_LIBS
1935 JPEG_CFLAGS
1936 JPEG_LIBS
1937 JXRLIB_CFLAGS
1938 JXRLIB_LIBS
1939 PNG_CFLAGS
1940 PNG_LIBS
1941 TIFF_CFLAGS
1942 TIFF_LIBS
1943 MPG123_CFLAGS
1944 MPG123_LIBS
1945 NETAPI_CFLAGS
1946 NETAPI_LIBS
1947 VKD3D_CFLAGS
1948 VKD3D_LIBS
1949 VKD3D_SHADER_CFLAGS
1950 VKD3D_SHADER_LIBS
1951 LDAP_CFLAGS
1952 LDAP_LIBS'
1955 # Initialize some variables set by options.
1956 ac_init_help=
1957 ac_init_version=false
1958 ac_unrecognized_opts=
1959 ac_unrecognized_sep=
1960 # The variables have the same names as the options, with
1961 # dashes changed to underlines.
1962 cache_file=/dev/null
1963 exec_prefix=NONE
1964 no_create=
1965 no_recursion=
1966 prefix=NONE
1967 program_prefix=NONE
1968 program_suffix=NONE
1969 program_transform_name=s,x,x,
1970 silent=
1971 site=
1972 srcdir=
1973 verbose=
1974 x_includes=NONE
1975 x_libraries=NONE
1977 # Installation directory options.
1978 # These are left unexpanded so users can "make install exec_prefix=/foo"
1979 # and all the variables that are supposed to be based on exec_prefix
1980 # by default will actually change.
1981 # Use braces instead of parens because sh, perl, etc. also accept them.
1982 # (The list follows the same order as the GNU Coding Standards.)
1983 bindir='${exec_prefix}/bin'
1984 sbindir='${exec_prefix}/sbin'
1985 libexecdir='${exec_prefix}/libexec'
1986 datarootdir='${prefix}/share'
1987 datadir='${datarootdir}'
1988 sysconfdir='${prefix}/etc'
1989 sharedstatedir='${prefix}/com'
1990 localstatedir='${prefix}/var'
1991 runstatedir='${localstatedir}/run'
1992 includedir='${prefix}/include'
1993 oldincludedir='/usr/include'
1994 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1995 infodir='${datarootdir}/info'
1996 htmldir='${docdir}'
1997 dvidir='${docdir}'
1998 pdfdir='${docdir}'
1999 psdir='${docdir}'
2000 libdir='${exec_prefix}/lib'
2001 localedir='${datarootdir}/locale'
2002 mandir='${datarootdir}/man'
2004 ac_prev=
2005 ac_dashdash=
2006 for ac_option
2008 # If the previous option needs an argument, assign it.
2009 if test -n "$ac_prev"; then
2010 eval $ac_prev=\$ac_option
2011 ac_prev=
2012 continue
2015 case $ac_option in
2016 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2017 *=) ac_optarg= ;;
2018 *) ac_optarg=yes ;;
2019 esac
2021 # Accept the important Cygnus configure options, so we can diagnose typos.
2023 case $ac_dashdash$ac_option in
2025 ac_dashdash=yes ;;
2027 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2028 ac_prev=bindir ;;
2029 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2030 bindir=$ac_optarg ;;
2032 -build | --build | --buil | --bui | --bu)
2033 ac_prev=build_alias ;;
2034 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2035 build_alias=$ac_optarg ;;
2037 -cache-file | --cache-file | --cache-fil | --cache-fi \
2038 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2039 ac_prev=cache_file ;;
2040 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2041 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2042 cache_file=$ac_optarg ;;
2044 --config-cache | -C)
2045 cache_file=config.cache ;;
2047 -datadir | --datadir | --datadi | --datad)
2048 ac_prev=datadir ;;
2049 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2050 datadir=$ac_optarg ;;
2052 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2053 | --dataroo | --dataro | --datar)
2054 ac_prev=datarootdir ;;
2055 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2056 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2057 datarootdir=$ac_optarg ;;
2059 -disable-* | --disable-*)
2060 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2061 # Reject names that are not valid shell variable names.
2062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2063 as_fn_error $? "invalid feature name: $ac_useropt"
2064 ac_useropt_orig=$ac_useropt
2065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2066 case $ac_user_opts in
2068 "enable_$ac_useropt"
2069 "*) ;;
2070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2071 ac_unrecognized_sep=', ';;
2072 esac
2073 eval enable_$ac_useropt=no ;;
2075 -docdir | --docdir | --docdi | --doc | --do)
2076 ac_prev=docdir ;;
2077 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2078 docdir=$ac_optarg ;;
2080 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2081 ac_prev=dvidir ;;
2082 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2083 dvidir=$ac_optarg ;;
2085 -enable-* | --enable-*)
2086 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2087 # Reject names that are not valid shell variable names.
2088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2089 as_fn_error $? "invalid feature name: $ac_useropt"
2090 ac_useropt_orig=$ac_useropt
2091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2092 case $ac_user_opts in
2094 "enable_$ac_useropt"
2095 "*) ;;
2096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2097 ac_unrecognized_sep=', ';;
2098 esac
2099 eval enable_$ac_useropt=\$ac_optarg ;;
2101 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2102 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2103 | --exec | --exe | --ex)
2104 ac_prev=exec_prefix ;;
2105 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2106 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2107 | --exec=* | --exe=* | --ex=*)
2108 exec_prefix=$ac_optarg ;;
2110 -gas | --gas | --ga | --g)
2111 # Obsolete; use --with-gas.
2112 with_gas=yes ;;
2114 -help | --help | --hel | --he | -h)
2115 ac_init_help=long ;;
2116 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2117 ac_init_help=recursive ;;
2118 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2119 ac_init_help=short ;;
2121 -host | --host | --hos | --ho)
2122 ac_prev=host_alias ;;
2123 -host=* | --host=* | --hos=* | --ho=*)
2124 host_alias=$ac_optarg ;;
2126 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2127 ac_prev=htmldir ;;
2128 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2129 | --ht=*)
2130 htmldir=$ac_optarg ;;
2132 -includedir | --includedir | --includedi | --included | --include \
2133 | --includ | --inclu | --incl | --inc)
2134 ac_prev=includedir ;;
2135 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2136 | --includ=* | --inclu=* | --incl=* | --inc=*)
2137 includedir=$ac_optarg ;;
2139 -infodir | --infodir | --infodi | --infod | --info | --inf)
2140 ac_prev=infodir ;;
2141 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2142 infodir=$ac_optarg ;;
2144 -libdir | --libdir | --libdi | --libd)
2145 ac_prev=libdir ;;
2146 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2147 libdir=$ac_optarg ;;
2149 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2150 | --libexe | --libex | --libe)
2151 ac_prev=libexecdir ;;
2152 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2153 | --libexe=* | --libex=* | --libe=*)
2154 libexecdir=$ac_optarg ;;
2156 -localedir | --localedir | --localedi | --localed | --locale)
2157 ac_prev=localedir ;;
2158 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2159 localedir=$ac_optarg ;;
2161 -localstatedir | --localstatedir | --localstatedi | --localstated \
2162 | --localstate | --localstat | --localsta | --localst | --locals)
2163 ac_prev=localstatedir ;;
2164 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2165 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2166 localstatedir=$ac_optarg ;;
2168 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2169 ac_prev=mandir ;;
2170 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2171 mandir=$ac_optarg ;;
2173 -nfp | --nfp | --nf)
2174 # Obsolete; use --without-fp.
2175 with_fp=no ;;
2177 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2178 | --no-cr | --no-c | -n)
2179 no_create=yes ;;
2181 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2182 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2183 no_recursion=yes ;;
2185 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2186 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2187 | --oldin | --oldi | --old | --ol | --o)
2188 ac_prev=oldincludedir ;;
2189 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2190 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2191 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2192 oldincludedir=$ac_optarg ;;
2194 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2195 ac_prev=prefix ;;
2196 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2197 prefix=$ac_optarg ;;
2199 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2200 | --program-pre | --program-pr | --program-p)
2201 ac_prev=program_prefix ;;
2202 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2203 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2204 program_prefix=$ac_optarg ;;
2206 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2207 | --program-suf | --program-su | --program-s)
2208 ac_prev=program_suffix ;;
2209 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2210 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2211 program_suffix=$ac_optarg ;;
2213 -program-transform-name | --program-transform-name \
2214 | --program-transform-nam | --program-transform-na \
2215 | --program-transform-n | --program-transform- \
2216 | --program-transform | --program-transfor \
2217 | --program-transfo | --program-transf \
2218 | --program-trans | --program-tran \
2219 | --progr-tra | --program-tr | --program-t)
2220 ac_prev=program_transform_name ;;
2221 -program-transform-name=* | --program-transform-name=* \
2222 | --program-transform-nam=* | --program-transform-na=* \
2223 | --program-transform-n=* | --program-transform-=* \
2224 | --program-transform=* | --program-transfor=* \
2225 | --program-transfo=* | --program-transf=* \
2226 | --program-trans=* | --program-tran=* \
2227 | --progr-tra=* | --program-tr=* | --program-t=*)
2228 program_transform_name=$ac_optarg ;;
2230 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2231 ac_prev=pdfdir ;;
2232 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2233 pdfdir=$ac_optarg ;;
2235 -psdir | --psdir | --psdi | --psd | --ps)
2236 ac_prev=psdir ;;
2237 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2238 psdir=$ac_optarg ;;
2240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2241 | -silent | --silent | --silen | --sile | --sil)
2242 silent=yes ;;
2244 -runstatedir | --runstatedir | --runstatedi | --runstated \
2245 | --runstate | --runstat | --runsta | --runst | --runs \
2246 | --run | --ru | --r)
2247 ac_prev=runstatedir ;;
2248 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2249 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2250 | --run=* | --ru=* | --r=*)
2251 runstatedir=$ac_optarg ;;
2253 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2254 ac_prev=sbindir ;;
2255 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2256 | --sbi=* | --sb=*)
2257 sbindir=$ac_optarg ;;
2259 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2260 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2261 | --sharedst | --shareds | --shared | --share | --shar \
2262 | --sha | --sh)
2263 ac_prev=sharedstatedir ;;
2264 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2265 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2266 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2267 | --sha=* | --sh=*)
2268 sharedstatedir=$ac_optarg ;;
2270 -site | --site | --sit)
2271 ac_prev=site ;;
2272 -site=* | --site=* | --sit=*)
2273 site=$ac_optarg ;;
2275 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2276 ac_prev=srcdir ;;
2277 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2278 srcdir=$ac_optarg ;;
2280 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2281 | --syscon | --sysco | --sysc | --sys | --sy)
2282 ac_prev=sysconfdir ;;
2283 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2284 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2285 sysconfdir=$ac_optarg ;;
2287 -target | --target | --targe | --targ | --tar | --ta | --t)
2288 ac_prev=target_alias ;;
2289 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2290 target_alias=$ac_optarg ;;
2292 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2293 verbose=yes ;;
2295 -version | --version | --versio | --versi | --vers | -V)
2296 ac_init_version=: ;;
2298 -with-* | --with-*)
2299 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2300 # Reject names that are not valid shell variable names.
2301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2302 as_fn_error $? "invalid package name: $ac_useropt"
2303 ac_useropt_orig=$ac_useropt
2304 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2305 case $ac_user_opts in
2307 "with_$ac_useropt"
2308 "*) ;;
2309 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2310 ac_unrecognized_sep=', ';;
2311 esac
2312 eval with_$ac_useropt=\$ac_optarg ;;
2314 -without-* | --without-*)
2315 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2316 # Reject names that are not valid shell variable names.
2317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2318 as_fn_error $? "invalid package name: $ac_useropt"
2319 ac_useropt_orig=$ac_useropt
2320 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2321 case $ac_user_opts in
2323 "with_$ac_useropt"
2324 "*) ;;
2325 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2326 ac_unrecognized_sep=', ';;
2327 esac
2328 eval with_$ac_useropt=no ;;
2330 --x)
2331 # Obsolete; use --with-x.
2332 with_x=yes ;;
2334 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2335 | --x-incl | --x-inc | --x-in | --x-i)
2336 ac_prev=x_includes ;;
2337 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2338 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2339 x_includes=$ac_optarg ;;
2341 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2342 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2343 ac_prev=x_libraries ;;
2344 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2345 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2346 x_libraries=$ac_optarg ;;
2348 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2349 Try \`$0 --help' for more information"
2352 *=*)
2353 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2354 # Reject names that are not valid shell variable names.
2355 case $ac_envvar in #(
2356 '' | [0-9]* | *[!_$as_cr_alnum]* )
2357 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2358 esac
2359 eval $ac_envvar=\$ac_optarg
2360 export $ac_envvar ;;
2363 # FIXME: should be removed in autoconf 3.0.
2364 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2365 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2366 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2367 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2370 esac
2371 done
2373 if test -n "$ac_prev"; then
2374 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2375 as_fn_error $? "missing argument to $ac_option"
2378 if test -n "$ac_unrecognized_opts"; then
2379 case $enable_option_checking in
2380 no) ;;
2381 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2382 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2383 esac
2386 # Check all directory arguments for consistency.
2387 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2388 datadir sysconfdir sharedstatedir localstatedir includedir \
2389 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2390 libdir localedir mandir runstatedir
2392 eval ac_val=\$$ac_var
2393 # Remove trailing slashes.
2394 case $ac_val in
2395 */ )
2396 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2397 eval $ac_var=\$ac_val;;
2398 esac
2399 # Be sure to have absolute directory names.
2400 case $ac_val in
2401 [\\/$]* | ?:[\\/]* ) continue;;
2402 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2403 esac
2404 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2405 done
2407 # There might be people who depend on the old broken behavior: `$host'
2408 # used to hold the argument of --host etc.
2409 # FIXME: To remove some day.
2410 build=$build_alias
2411 host=$host_alias
2412 target=$target_alias
2414 # FIXME: To remove some day.
2415 if test "x$host_alias" != x; then
2416 if test "x$build_alias" = x; then
2417 cross_compiling=maybe
2418 elif test "x$build_alias" != "x$host_alias"; then
2419 cross_compiling=yes
2423 ac_tool_prefix=
2424 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2426 test "$silent" = yes && exec 6>/dev/null
2429 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2430 ac_ls_di=`ls -di .` &&
2431 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2432 as_fn_error $? "working directory cannot be determined"
2433 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2434 as_fn_error $? "pwd does not report name of working directory"
2437 # Find the source files, if location was not specified.
2438 if test -z "$srcdir"; then
2439 ac_srcdir_defaulted=yes
2440 # Try the directory containing this script, then the parent directory.
2441 ac_confdir=`$as_dirname -- "$as_myself" ||
2442 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2443 X"$as_myself" : 'X\(//\)[^/]' \| \
2444 X"$as_myself" : 'X\(//\)$' \| \
2445 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2446 $as_echo X"$as_myself" |
2447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2448 s//\1/
2451 /^X\(\/\/\)[^/].*/{
2452 s//\1/
2455 /^X\(\/\/\)$/{
2456 s//\1/
2459 /^X\(\/\).*/{
2460 s//\1/
2463 s/.*/./; q'`
2464 srcdir=$ac_confdir
2465 if test ! -r "$srcdir/$ac_unique_file"; then
2466 srcdir=..
2468 else
2469 ac_srcdir_defaulted=no
2471 if test ! -r "$srcdir/$ac_unique_file"; then
2472 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2473 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2475 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2476 ac_abs_confdir=`(
2477 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2478 pwd)`
2479 # When building in place, set srcdir=.
2480 if test "$ac_abs_confdir" = "$ac_pwd"; then
2481 srcdir=.
2483 # Remove unnecessary trailing slashes from srcdir.
2484 # Double slashes in file names in object file debugging info
2485 # mess up M-x gdb in Emacs.
2486 case $srcdir in
2487 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2488 esac
2489 for ac_var in $ac_precious_vars; do
2490 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2491 eval ac_env_${ac_var}_value=\$${ac_var}
2492 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2493 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2494 done
2497 # Report the --help message.
2499 if test "$ac_init_help" = "long"; then
2500 # Omit some internal or obsolete options to make the list less imposing.
2501 # This message is too long to be a string in the A/UX 3.1 sh.
2502 cat <<_ACEOF
2503 \`configure' configures Wine 6.3 to adapt to many kinds of systems.
2505 Usage: $0 [OPTION]... [VAR=VALUE]...
2507 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2508 VAR=VALUE. See below for descriptions of some of the useful variables.
2510 Defaults for the options are specified in brackets.
2512 Configuration:
2513 -h, --help display this help and exit
2514 --help=short display options specific to this package
2515 --help=recursive display the short help of all the included packages
2516 -V, --version display version information and exit
2517 -q, --quiet, --silent do not print \`checking ...' messages
2518 --cache-file=FILE cache test results in FILE [disabled]
2519 -C, --config-cache alias for \`--cache-file=config.cache'
2520 -n, --no-create do not create output files
2521 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2523 Installation directories:
2524 --prefix=PREFIX install architecture-independent files in PREFIX
2525 [$ac_default_prefix]
2526 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2527 [PREFIX]
2529 By default, \`make install' will install all the files in
2530 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2531 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2532 for instance \`--prefix=\$HOME'.
2534 For better control, use the options below.
2536 Fine tuning of the installation directories:
2537 --bindir=DIR user executables [EPREFIX/bin]
2538 --sbindir=DIR system admin executables [EPREFIX/sbin]
2539 --libexecdir=DIR program executables [EPREFIX/libexec]
2540 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2541 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2542 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2543 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2544 --libdir=DIR object code libraries [EPREFIX/lib]
2545 --includedir=DIR C header files [PREFIX/include]
2546 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2547 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2548 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2549 --infodir=DIR info documentation [DATAROOTDIR/info]
2550 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2551 --mandir=DIR man documentation [DATAROOTDIR/man]
2552 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2553 --htmldir=DIR html documentation [DOCDIR]
2554 --dvidir=DIR dvi documentation [DOCDIR]
2555 --pdfdir=DIR pdf documentation [DOCDIR]
2556 --psdir=DIR ps documentation [DOCDIR]
2557 _ACEOF
2559 cat <<\_ACEOF
2561 X features:
2562 --x-includes=DIR X include files are in DIR
2563 --x-libraries=DIR X library files are in DIR
2565 System types:
2566 --build=BUILD configure for building on BUILD [guessed]
2567 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2568 _ACEOF
2571 if test -n "$ac_init_help"; then
2572 case $ac_init_help in
2573 short | recursive ) echo "Configuration of Wine 6.3:";;
2574 esac
2575 cat <<\_ACEOF
2577 Optional Features:
2578 --disable-option-checking ignore unrecognized --enable/--with options
2579 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2580 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2581 --disable-win16 do not include Win16 support
2582 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2583 binaries)
2584 --disable-tests do not build the regression tests
2585 --enable-build-id include .buildid section in output objects
2586 --enable-maintainer-mode
2587 enable maintainer-specific build rules
2588 --enable-silent-rules use silent build rules (override: "make V=1")
2589 --enable-werror treat compilation warnings as errors
2590 --disable-largefile omit support for large files
2592 Optional Packages:
2593 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2594 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2595 --without-alsa do not use the Alsa sound support
2596 --without-capi do not use CAPI (ISDN support)
2597 --without-cms do not use CMS (color management support)
2598 --without-coreaudio do not use the CoreAudio sound support
2599 --without-cups do not use CUPS
2600 --without-dbus do not use DBus (dynamic device support)
2601 --without-faudio do not use FAudio (XAudio2 support)
2602 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2603 --without-fontconfig do not use fontconfig
2604 --without-freetype do not use the FreeType library
2605 --without-gettext do not use gettext
2606 --with-gettextpo use the GetTextPO library to rebuild po files
2607 --without-gphoto do not use gphoto (Digital Camera support)
2608 --without-gnutls do not use GnuTLS (schannel support)
2609 --without-gsm do not use libgsm (GSM 06.10 codec support)
2610 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2611 --without-gstreamer do not use GStreamer (codecs support)
2612 --without-hal do not use HAL (dynamic device support)
2613 --without-inotify do not use inotify (filesystem change notifications)
2614 --without-jpeg do not use JPEG
2615 --without-jxrlib do not use JPEG-XR
2616 --without-krb5 do not use krb5 (Kerberos)
2617 --without-ldap do not use LDAP
2618 --without-mingw do not use the MinGW cross-compiler
2619 --without-mpg123 do not use the mpg123 library
2620 --without-netapi do not use the Samba NetAPI library
2621 --without-openal do not use OpenAL
2622 --without-opencl do not use OpenCL
2623 --without-opengl do not use OpenGL
2624 --without-osmesa do not use the OSMesa library
2625 --without-oss do not use the OSS sound support
2626 --without-pcap do not use the Packet Capture library
2627 --without-png do not use PNG
2628 --without-pthread do not use the pthread library
2629 --without-pulse do not use PulseAudio sound support
2630 --without-quicktime do not use QuickTime support
2631 --without-sane do not use SANE (scanner support)
2632 --without-sdl do not use SDL
2633 --without-tiff do not use TIFF
2634 --without-udev do not use udev (plug and play support)
2635 --without-unwind do not use the libunwind library (exception
2636 handling)
2637 --without-usb do not use the libusb library
2638 --without-v4l2 do not use v4l2 (video capture)
2639 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2640 --without-vulkan do not use Vulkan
2641 --without-xcomposite do not use the Xcomposite extension
2642 --without-xcursor do not use the Xcursor extension
2643 --without-xfixes do not use Xfixes for clipboard change notifications
2644 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2645 --without-xinput do not use the Xinput extension
2646 --without-xinput2 do not use the Xinput 2 extension
2647 --without-xml do not use XML
2648 --without-xrandr do not use Xrandr (multi-monitor support)
2649 --without-xrender do not use the Xrender extension
2650 --without-xshape do not use the Xshape extension
2651 --without-xshm do not use XShm (shared memory extension)
2652 --without-xslt do not use XSLT
2653 --without-xxf86vm do not use XFree video mode extension
2654 --with-wine-tools=DIR use Wine tools from directory DIR
2655 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2656 --with-x use the X Window System
2658 Some influential environment variables:
2659 CC C compiler command
2660 CFLAGS C compiler flags
2661 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2662 nonstandard directory <lib dir>
2663 LIBS libraries to pass to the linker, e.g. -l<library>
2664 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2665 you have headers in a nonstandard directory <include dir>
2666 CXX C++ compiler command
2667 CXXFLAGS C++ compiler flags
2668 CPP C preprocessor
2669 OBJC Objective C compiler command
2670 OBJCFLAGS Objective C compiler flags
2671 OBJCPP Objective C preprocessor
2672 XMKMF Path to xmkmf, Makefile generator for X Window System
2673 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2674 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2675 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2676 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2677 INOTIFY_CFLAGS
2678 C compiler flags for libinotify, overriding pkg-config
2679 INOTIFY_LIBS
2680 Linker flags for libinotify, overriding pkg-config
2681 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2682 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2683 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2684 HAL_LIBS Linker flags for hal, overriding pkg-config
2685 GNUTLS_CFLAGS
2686 C compiler flags for gnutls, overriding pkg-config
2687 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2688 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2689 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2690 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2691 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2692 GPHOTO2_CFLAGS
2693 C compiler flags for libgphoto2, overriding pkg-config
2694 GPHOTO2_LIBS
2695 Linker flags for libgphoto2, overriding pkg-config
2696 GPHOTO2_PORT_CFLAGS
2697 C compiler flags for libgphoto2_port, overriding pkg-config
2698 GPHOTO2_PORT_LIBS
2699 Linker flags for libgphoto2_port, overriding pkg-config
2700 LCMS2_CFLAGS
2701 C compiler flags for lcms2, overriding pkg-config
2702 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2703 FREETYPE_CFLAGS
2704 C compiler flags for freetype2, overriding pkg-config
2705 FREETYPE_LIBS
2706 Linker flags for freetype2, overriding pkg-config
2707 PULSE_CFLAGS
2708 C compiler flags for libpulse, overriding pkg-config
2709 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2710 GSTREAMER_CFLAGS
2711 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2712 gstreamer-audio-1.0, overriding pkg-config
2713 GSTREAMER_LIBS
2714 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2715 gstreamer-audio-1.0, overriding pkg-config
2716 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2717 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2718 UNWIND_CFLAGS
2719 C compiler flags for libunwind, overriding pkg-config
2720 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2721 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2722 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2723 FAUDIO_CFLAGS
2724 C compiler flags for faudio, overriding pkg-config
2725 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2726 CAPI20_CFLAGS
2727 C compiler flags for capi20, overriding pkg-config
2728 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2729 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2730 CUPS_LIBS Linker flags for cups, overriding pkg-config
2731 FONTCONFIG_CFLAGS
2732 C compiler flags for fontconfig, overriding pkg-config
2733 FONTCONFIG_LIBS
2734 Linker flags for fontconfig, overriding pkg-config
2735 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2736 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2737 GSSAPI_CFLAGS
2738 C compiler flags for krb5-gssapi, overriding pkg-config
2739 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2740 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2741 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2742 JXRLIB_CFLAGS
2743 C compiler flags for jxrlib, overriding pkg-config
2744 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2745 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2746 PNG_LIBS Linker flags for libpng, overriding pkg-config
2747 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2748 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2749 MPG123_CFLAGS
2750 C compiler flags for libmpg123, overriding pkg-config
2751 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2752 NETAPI_CFLAGS
2753 C compiler flags for netapi, overriding pkg-config
2754 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2755 VKD3D_CFLAGS
2756 C compiler flags for libvkd3d, overriding pkg-config
2757 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2758 VKD3D_SHADER_CFLAGS
2759 C compiler flags for libvkd3d-shader, overriding pkg-config
2760 VKD3D_SHADER_LIBS
2761 Linker flags for libvkd3d-shader, overriding pkg-config
2762 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2763 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2765 Use these variables to override the choices made by `configure' or to help
2766 it to find libraries and programs with nonstandard names/locations.
2768 Report bugs to <wine-devel@winehq.org>.
2769 Wine home page: <https://www.winehq.org>.
2770 _ACEOF
2771 ac_status=$?
2774 if test "$ac_init_help" = "recursive"; then
2775 # If there are subdirs, report their specific --help.
2776 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2777 test -d "$ac_dir" ||
2778 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2779 continue
2780 ac_builddir=.
2782 case "$ac_dir" in
2783 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2785 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2786 # A ".." for each directory in $ac_dir_suffix.
2787 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2788 case $ac_top_builddir_sub in
2789 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2790 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2791 esac ;;
2792 esac
2793 ac_abs_top_builddir=$ac_pwd
2794 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2795 # for backward compatibility:
2796 ac_top_builddir=$ac_top_build_prefix
2798 case $srcdir in
2799 .) # We are building in place.
2800 ac_srcdir=.
2801 ac_top_srcdir=$ac_top_builddir_sub
2802 ac_abs_top_srcdir=$ac_pwd ;;
2803 [\\/]* | ?:[\\/]* ) # Absolute name.
2804 ac_srcdir=$srcdir$ac_dir_suffix;
2805 ac_top_srcdir=$srcdir
2806 ac_abs_top_srcdir=$srcdir ;;
2807 *) # Relative name.
2808 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2809 ac_top_srcdir=$ac_top_build_prefix$srcdir
2810 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2811 esac
2812 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2814 cd "$ac_dir" || { ac_status=$?; continue; }
2815 # Check for guested configure.
2816 if test -f "$ac_srcdir/configure.gnu"; then
2817 echo &&
2818 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2819 elif test -f "$ac_srcdir/configure"; then
2820 echo &&
2821 $SHELL "$ac_srcdir/configure" --help=recursive
2822 else
2823 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2824 fi || ac_status=$?
2825 cd "$ac_pwd" || { ac_status=$?; break; }
2826 done
2829 test -n "$ac_init_help" && exit $ac_status
2830 if $ac_init_version; then
2831 cat <<\_ACEOF
2832 Wine configure 6.3
2833 generated by GNU Autoconf 2.69
2835 Copyright (C) 2012 Free Software Foundation, Inc.
2836 This configure script is free software; the Free Software Foundation
2837 gives unlimited permission to copy, distribute and modify it.
2838 _ACEOF
2839 exit
2842 ## ------------------------ ##
2843 ## Autoconf initialization. ##
2844 ## ------------------------ ##
2846 # ac_fn_c_try_compile LINENO
2847 # --------------------------
2848 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2849 ac_fn_c_try_compile ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 rm -f conftest.$ac_objext
2853 if { { ac_try="$ac_compile"
2854 case "(($ac_try" in
2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2857 esac
2858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859 $as_echo "$ac_try_echo"; } >&5
2860 (eval "$ac_compile") 2>conftest.err
2861 ac_status=$?
2862 if test -s conftest.err; then
2863 grep -v '^ *+' conftest.err >conftest.er1
2864 cat conftest.er1 >&5
2865 mv -f conftest.er1 conftest.err
2867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2868 test $ac_status = 0; } && {
2869 test -z "$ac_c_werror_flag" ||
2870 test ! -s conftest.err
2871 } && test -s conftest.$ac_objext; then :
2872 ac_retval=0
2873 else
2874 $as_echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2877 ac_retval=1
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2880 as_fn_set_status $ac_retval
2882 } # ac_fn_c_try_compile
2884 # ac_fn_cxx_try_compile LINENO
2885 # ----------------------------
2886 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2887 ac_fn_cxx_try_compile ()
2889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2890 rm -f conftest.$ac_objext
2891 if { { ac_try="$ac_compile"
2892 case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895 esac
2896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2897 $as_echo "$ac_try_echo"; } >&5
2898 (eval "$ac_compile") 2>conftest.err
2899 ac_status=$?
2900 if test -s conftest.err; then
2901 grep -v '^ *+' conftest.err >conftest.er1
2902 cat conftest.er1 >&5
2903 mv -f conftest.er1 conftest.err
2905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2906 test $ac_status = 0; } && {
2907 test -z "$ac_cxx_werror_flag" ||
2908 test ! -s conftest.err
2909 } && test -s conftest.$ac_objext; then :
2910 ac_retval=0
2911 else
2912 $as_echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2915 ac_retval=1
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status $ac_retval
2920 } # ac_fn_cxx_try_compile
2922 # ac_fn_c_try_link LINENO
2923 # -----------------------
2924 # Try to link conftest.$ac_ext, and return whether this succeeded.
2925 ac_fn_c_try_link ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 rm -f conftest.$ac_objext conftest$ac_exeext
2929 if { { ac_try="$ac_link"
2930 case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2933 esac
2934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935 $as_echo "$ac_try_echo"; } >&5
2936 (eval "$ac_link") 2>conftest.err
2937 ac_status=$?
2938 if test -s conftest.err; then
2939 grep -v '^ *+' conftest.err >conftest.er1
2940 cat conftest.er1 >&5
2941 mv -f conftest.er1 conftest.err
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; } && {
2945 test -z "$ac_c_werror_flag" ||
2946 test ! -s conftest.err
2947 } && test -s conftest$ac_exeext && {
2948 test "$cross_compiling" = yes ||
2949 test -x conftest$ac_exeext
2950 }; then :
2951 ac_retval=0
2952 else
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.$ac_ext >&5
2956 ac_retval=1
2958 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2959 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2960 # interfere with the next link command; also delete a directory that is
2961 # left behind by Apple's compiler. We do this before executing the actions.
2962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 as_fn_set_status $ac_retval
2966 } # ac_fn_c_try_link
2968 # ac_fn_c_try_cpp LINENO
2969 # ----------------------
2970 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2971 ac_fn_c_try_cpp ()
2973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 if { { ac_try="$ac_cpp conftest.$ac_ext"
2975 case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2982 ac_status=$?
2983 if test -s conftest.err; then
2984 grep -v '^ *+' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2986 mv -f conftest.er1 conftest.err
2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; } > conftest.i && {
2990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2992 }; then :
2993 ac_retval=0
2994 else
2995 $as_echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2998 ac_retval=1
3000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3001 as_fn_set_status $ac_retval
3003 } # ac_fn_c_try_cpp
3005 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3006 # -------------------------------------------------------
3007 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3008 # the include files in INCLUDES and setting the cache variable VAR
3009 # accordingly.
3010 ac_fn_c_check_header_mongrel ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 if eval \${$3+:} false; then :
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3015 $as_echo_n "checking for $2... " >&6; }
3016 if eval \${$3+:} false; then :
3017 $as_echo_n "(cached) " >&6
3019 eval ac_res=\$$3
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3021 $as_echo "$ac_res" >&6; }
3022 else
3023 # Is the header compilable?
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3025 $as_echo_n "checking $2 usability... " >&6; }
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3029 #include <$2>
3030 _ACEOF
3031 if ac_fn_c_try_compile "$LINENO"; then :
3032 ac_header_compiler=yes
3033 else
3034 ac_header_compiler=no
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3038 $as_echo "$ac_header_compiler" >&6; }
3040 # Is the header present?
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3042 $as_echo_n "checking $2 presence... " >&6; }
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3045 #include <$2>
3046 _ACEOF
3047 if ac_fn_c_try_cpp "$LINENO"; then :
3048 ac_header_preproc=yes
3049 else
3050 ac_header_preproc=no
3052 rm -f conftest.err conftest.i conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3054 $as_echo "$ac_header_preproc" >&6; }
3056 # So? What about this header?
3057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3058 yes:no: )
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3060 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3062 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3064 no:yes:* )
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3066 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3068 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3070 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3072 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3074 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3075 ( $as_echo "## ------------------------------------ ##
3076 ## Report this to wine-devel@winehq.org ##
3077 ## ------------------------------------ ##"
3078 ) | sed "s/^/$as_me: WARNING: /" >&2
3080 esac
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval \${$3+:} false; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 eval "$3=\$ac_header_compiler"
3088 eval ac_res=\$$3
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3090 $as_echo "$ac_res" >&6; }
3092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 } # ac_fn_c_check_header_mongrel
3096 # ac_fn_c_try_run LINENO
3097 # ----------------------
3098 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3099 # that executables *can* be run.
3100 ac_fn_c_try_run ()
3102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3103 if { { ac_try="$ac_link"
3104 case "(($ac_try" in
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3107 esac
3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 $as_echo "$ac_try_echo"; } >&5
3110 (eval "$ac_link") 2>&5
3111 ac_status=$?
3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3114 { { case "(($ac_try" in
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3117 esac
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_try") 2>&5
3121 ac_status=$?
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; }; then :
3124 ac_retval=0
3125 else
3126 $as_echo "$as_me: program exited with status $ac_status" >&5
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3130 ac_retval=$ac_status
3132 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3134 as_fn_set_status $ac_retval
3136 } # ac_fn_c_try_run
3138 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3139 # -------------------------------------------------------
3140 # Tests whether HEADER exists and can be compiled using the include files in
3141 # INCLUDES, setting the cache variable VAR accordingly.
3142 ac_fn_c_check_header_compile ()
3144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3146 $as_echo_n "checking for $2... " >&6; }
3147 if eval \${$3+:} false; then :
3148 $as_echo_n "(cached) " >&6
3149 else
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3153 #include <$2>
3154 _ACEOF
3155 if ac_fn_c_try_compile "$LINENO"; then :
3156 eval "$3=yes"
3157 else
3158 eval "$3=no"
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 eval ac_res=\$$3
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3164 $as_echo "$ac_res" >&6; }
3165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3167 } # ac_fn_c_check_header_compile
3169 # ac_fn_objc_try_compile LINENO
3170 # -----------------------------
3171 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3172 ac_fn_objc_try_compile ()
3174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3175 rm -f conftest.$ac_objext
3176 if { { ac_try="$ac_compile"
3177 case "(($ac_try" in
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;;
3180 esac
3181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3182 $as_echo "$ac_try_echo"; } >&5
3183 (eval "$ac_compile") 2>conftest.err
3184 ac_status=$?
3185 if test -s conftest.err; then
3186 grep -v '^ *+' conftest.err >conftest.er1
3187 cat conftest.er1 >&5
3188 mv -f conftest.er1 conftest.err
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; } && {
3192 test -z "$ac_objc_werror_flag" ||
3193 test ! -s conftest.err
3194 } && test -s conftest.$ac_objext; then :
3195 ac_retval=0
3196 else
3197 $as_echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3200 ac_retval=1
3202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3203 as_fn_set_status $ac_retval
3205 } # ac_fn_objc_try_compile
3207 # ac_fn_objc_try_cpp LINENO
3208 # -------------------------
3209 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3210 ac_fn_objc_try_cpp ()
3212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3213 if { { ac_try="$ac_cpp conftest.$ac_ext"
3214 case "(($ac_try" in
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3217 esac
3218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3219 $as_echo "$ac_try_echo"; } >&5
3220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3221 ac_status=$?
3222 if test -s conftest.err; then
3223 grep -v '^ *+' conftest.err >conftest.er1
3224 cat conftest.er1 >&5
3225 mv -f conftest.er1 conftest.err
3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3228 test $ac_status = 0; } > conftest.i && {
3229 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3230 test ! -s conftest.err
3231 }; then :
3232 ac_retval=0
3233 else
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_retval=1
3239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3240 as_fn_set_status $ac_retval
3242 } # ac_fn_objc_try_cpp
3244 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3245 # ----------------------------------------------------------
3246 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3247 # the include files in INCLUDES and setting the cache variable VAR
3248 # accordingly.
3249 ac_fn_objc_check_header_mongrel ()
3251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3252 if eval \${$3+:} false; then :
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3254 $as_echo_n "checking for $2... " >&6; }
3255 if eval \${$3+:} false; then :
3256 $as_echo_n "(cached) " >&6
3258 eval ac_res=\$$3
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3260 $as_echo "$ac_res" >&6; }
3261 else
3262 # Is the header compilable?
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3264 $as_echo_n "checking $2 usability... " >&6; }
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3268 #include <$2>
3269 _ACEOF
3270 if ac_fn_objc_try_compile "$LINENO"; then :
3271 ac_header_compiler=yes
3272 else
3273 ac_header_compiler=no
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3277 $as_echo "$ac_header_compiler" >&6; }
3279 # Is the header present?
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3281 $as_echo_n "checking $2 presence... " >&6; }
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3284 #include <$2>
3285 _ACEOF
3286 if ac_fn_objc_try_cpp "$LINENO"; then :
3287 ac_header_preproc=yes
3288 else
3289 ac_header_preproc=no
3291 rm -f conftest.err conftest.i conftest.$ac_ext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3293 $as_echo "$ac_header_preproc" >&6; }
3295 # So? What about this header?
3296 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3297 yes:no: )
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3299 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3301 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3303 no:yes:* )
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3305 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3307 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3309 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3311 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3313 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3314 ( $as_echo "## ------------------------------------ ##
3315 ## Report this to wine-devel@winehq.org ##
3316 ## ------------------------------------ ##"
3317 ) | sed "s/^/$as_me: WARNING: /" >&2
3319 esac
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3321 $as_echo_n "checking for $2... " >&6; }
3322 if eval \${$3+:} false; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 eval "$3=\$ac_header_compiler"
3327 eval ac_res=\$$3
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3329 $as_echo "$ac_res" >&6; }
3331 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3333 } # ac_fn_objc_check_header_mongrel
3335 # ac_fn_c_check_func LINENO FUNC VAR
3336 # ----------------------------------
3337 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3338 ac_fn_c_check_func ()
3340 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3342 $as_echo_n "checking for $2... " >&6; }
3343 if eval \${$3+:} false; then :
3344 $as_echo_n "(cached) " >&6
3345 else
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3348 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3350 #define $2 innocuous_$2
3352 /* System header to define __stub macros and hopefully few prototypes,
3353 which can conflict with char $2 (); below.
3354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3355 <limits.h> exists even on freestanding compilers. */
3357 #ifdef __STDC__
3358 # include <limits.h>
3359 #else
3360 # include <assert.h>
3361 #endif
3363 #undef $2
3365 /* Override any GCC internal prototype to avoid an error.
3366 Use char because int might match the return type of a GCC
3367 builtin and then its argument prototype would still apply. */
3368 #ifdef __cplusplus
3369 extern "C"
3370 #endif
3371 char $2 ();
3372 /* The GNU C library defines this for functions which it implements
3373 to always fail with ENOSYS. Some functions are actually named
3374 something starting with __ and the normal name is an alias. */
3375 #if defined __stub_$2 || defined __stub___$2
3376 choke me
3377 #endif
3380 main ()
3382 return $2 ();
3384 return 0;
3386 _ACEOF
3387 if ac_fn_c_try_link "$LINENO"; then :
3388 eval "$3=yes"
3389 else
3390 eval "$3=no"
3392 rm -f core conftest.err conftest.$ac_objext \
3393 conftest$ac_exeext conftest.$ac_ext
3395 eval ac_res=\$$3
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3397 $as_echo "$ac_res" >&6; }
3398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3400 } # ac_fn_c_check_func
3402 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3403 # ----------------------------------------------------
3404 # Tries to find if the field MEMBER exists in type AGGR, after including
3405 # INCLUDES, setting cache variable VAR accordingly.
3406 ac_fn_c_check_member ()
3408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3410 $as_echo_n "checking for $2.$3... " >&6; }
3411 if eval \${$4+:} false; then :
3412 $as_echo_n "(cached) " >&6
3413 else
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 static $2 ac_aggr;
3421 if (ac_aggr.$3)
3422 return 0;
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 eval "$4=yes"
3429 else
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3434 main ()
3436 static $2 ac_aggr;
3437 if (sizeof ac_aggr.$3)
3438 return 0;
3440 return 0;
3442 _ACEOF
3443 if ac_fn_c_try_compile "$LINENO"; then :
3444 eval "$4=yes"
3445 else
3446 eval "$4=no"
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 eval ac_res=\$$4
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3454 $as_echo "$ac_res" >&6; }
3455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3457 } # ac_fn_c_check_member
3459 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3460 # -------------------------------------------
3461 # Tests whether TYPE exists after having included INCLUDES, setting cache
3462 # variable VAR accordingly.
3463 ac_fn_c_check_type ()
3465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3467 $as_echo_n "checking for $2... " >&6; }
3468 if eval \${$3+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 eval "$3=no"
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3476 main ()
3478 if (sizeof ($2))
3479 return 0;
3481 return 0;
3483 _ACEOF
3484 if ac_fn_c_try_compile "$LINENO"; then :
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3489 main ()
3491 if (sizeof (($2)))
3492 return 0;
3494 return 0;
3496 _ACEOF
3497 if ac_fn_c_try_compile "$LINENO"; then :
3499 else
3500 eval "$3=yes"
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 eval ac_res=\$$3
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3508 $as_echo "$ac_res" >&6; }
3509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3511 } # ac_fn_c_check_type
3512 cat >config.log <<_ACEOF
3513 This file contains any messages produced by compilers while
3514 running configure, to aid debugging if configure makes a mistake.
3516 It was created by Wine $as_me 6.3, which was
3517 generated by GNU Autoconf 2.69. Invocation command line was
3519 $ $0 $@
3521 _ACEOF
3522 exec 5>>config.log
3524 cat <<_ASUNAME
3525 ## --------- ##
3526 ## Platform. ##
3527 ## --------- ##
3529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3546 _ASUNAME
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH
3551 IFS=$as_save_IFS
3552 test -z "$as_dir" && as_dir=.
3553 $as_echo "PATH: $as_dir"
3554 done
3555 IFS=$as_save_IFS
3557 } >&5
3559 cat >&5 <<_ACEOF
3562 ## ----------- ##
3563 ## Core tests. ##
3564 ## ----------- ##
3566 _ACEOF
3569 # Keep a trace of the command line.
3570 # Strip out --no-create and --no-recursion so they do not pile up.
3571 # Strip out --silent because we don't want to record it for future runs.
3572 # Also quote any args containing shell meta-characters.
3573 # Make two passes to allow for proper duplicate-argument suppression.
3574 ac_configure_args=
3575 ac_configure_args0=
3576 ac_configure_args1=
3577 ac_must_keep_next=false
3578 for ac_pass in 1 2
3580 for ac_arg
3582 case $ac_arg in
3583 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3585 | -silent | --silent | --silen | --sile | --sil)
3586 continue ;;
3587 *\'*)
3588 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3589 esac
3590 case $ac_pass in
3591 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3593 as_fn_append ac_configure_args1 " '$ac_arg'"
3594 if test $ac_must_keep_next = true; then
3595 ac_must_keep_next=false # Got value, back to normal.
3596 else
3597 case $ac_arg in
3598 *=* | --config-cache | -C | -disable-* | --disable-* \
3599 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3600 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3601 | -with-* | --with-* | -without-* | --without-* | --x)
3602 case "$ac_configure_args0 " in
3603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3604 esac
3606 -* ) ac_must_keep_next=true ;;
3607 esac
3609 as_fn_append ac_configure_args " '$ac_arg'"
3611 esac
3612 done
3613 done
3614 { ac_configure_args0=; unset ac_configure_args0;}
3615 { ac_configure_args1=; unset ac_configure_args1;}
3617 # When interrupted or exit'd, cleanup temporary files, and complete
3618 # config.log. We remove comments because anyway the quotes in there
3619 # would cause problems or look ugly.
3620 # WARNING: Use '\'' to represent an apostrophe within the trap.
3621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3622 trap 'exit_status=$?
3623 # Save into config.log some information that might help in debugging.
3625 echo
3627 $as_echo "## ---------------- ##
3628 ## Cache variables. ##
3629 ## ---------------- ##"
3630 echo
3631 # The following way of writing the cache mishandles newlines in values,
3633 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3634 eval ac_val=\$$ac_var
3635 case $ac_val in #(
3636 *${as_nl}*)
3637 case $ac_var in #(
3638 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3640 esac
3641 case $ac_var in #(
3642 _ | IFS | as_nl) ;; #(
3643 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3644 *) { eval $ac_var=; unset $ac_var;} ;;
3645 esac ;;
3646 esac
3647 done
3648 (set) 2>&1 |
3649 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3650 *${as_nl}ac_space=\ *)
3651 sed -n \
3652 "s/'\''/'\''\\\\'\'''\''/g;
3653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3654 ;; #(
3656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3658 esac |
3659 sort
3661 echo
3663 $as_echo "## ----------------- ##
3664 ## Output variables. ##
3665 ## ----------------- ##"
3666 echo
3667 for ac_var in $ac_subst_vars
3669 eval ac_val=\$$ac_var
3670 case $ac_val in
3671 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3672 esac
3673 $as_echo "$ac_var='\''$ac_val'\''"
3674 done | sort
3675 echo
3677 if test -n "$ac_subst_files"; then
3678 $as_echo "## ------------------- ##
3679 ## File substitutions. ##
3680 ## ------------------- ##"
3681 echo
3682 for ac_var in $ac_subst_files
3684 eval ac_val=\$$ac_var
3685 case $ac_val in
3686 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3687 esac
3688 $as_echo "$ac_var='\''$ac_val'\''"
3689 done | sort
3690 echo
3693 if test -s confdefs.h; then
3694 $as_echo "## ----------- ##
3695 ## confdefs.h. ##
3696 ## ----------- ##"
3697 echo
3698 cat confdefs.h
3699 echo
3701 test "$ac_signal" != 0 &&
3702 $as_echo "$as_me: caught signal $ac_signal"
3703 $as_echo "$as_me: exit $exit_status"
3704 } >&5
3705 rm -f core *.core core.conftest.* &&
3706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3707 exit $exit_status
3709 for ac_signal in 1 2 13 15; do
3710 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3711 done
3712 ac_signal=0
3714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3715 rm -f -r conftest* confdefs.h
3717 $as_echo "/* confdefs.h */" > confdefs.h
3719 # Predefined preprocessor variables.
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_NAME "$PACKAGE_NAME"
3723 _ACEOF
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3727 _ACEOF
3729 cat >>confdefs.h <<_ACEOF
3730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3731 _ACEOF
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_STRING "$PACKAGE_STRING"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3739 _ACEOF
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_URL "$PACKAGE_URL"
3743 _ACEOF
3746 # Let the site file select an alternate cache file if it wants to.
3747 # Prefer an explicitly selected file to automatically selected ones.
3748 ac_site_file1=NONE
3749 ac_site_file2=NONE
3750 if test -n "$CONFIG_SITE"; then
3751 # We do not want a PATH search for config.site.
3752 case $CONFIG_SITE in #((
3753 -*) ac_site_file1=./$CONFIG_SITE;;
3754 */*) ac_site_file1=$CONFIG_SITE;;
3755 *) ac_site_file1=./$CONFIG_SITE;;
3756 esac
3757 elif test "x$prefix" != xNONE; then
3758 ac_site_file1=$prefix/share/config.site
3759 ac_site_file2=$prefix/etc/config.site
3760 else
3761 ac_site_file1=$ac_default_prefix/share/config.site
3762 ac_site_file2=$ac_default_prefix/etc/config.site
3764 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3766 test "x$ac_site_file" = xNONE && continue
3767 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3769 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3770 sed 's/^/| /' "$ac_site_file" >&5
3771 . "$ac_site_file" \
3772 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3774 as_fn_error $? "failed to load site script $ac_site_file
3775 See \`config.log' for more details" "$LINENO" 5; }
3777 done
3779 if test -r "$cache_file"; then
3780 # Some versions of bash will fail to source /dev/null (special files
3781 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3782 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3784 $as_echo "$as_me: loading cache $cache_file" >&6;}
3785 case $cache_file in
3786 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3787 *) . "./$cache_file";;
3788 esac
3790 else
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3792 $as_echo "$as_me: creating cache $cache_file" >&6;}
3793 >$cache_file
3796 # Check that the precious variables saved in the cache have kept the same
3797 # value.
3798 ac_cache_corrupted=false
3799 for ac_var in $ac_precious_vars; do
3800 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3801 eval ac_new_set=\$ac_env_${ac_var}_set
3802 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3803 eval ac_new_val=\$ac_env_${ac_var}_value
3804 case $ac_old_set,$ac_new_set in
3805 set,)
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3807 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3808 ac_cache_corrupted=: ;;
3809 ,set)
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3811 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3812 ac_cache_corrupted=: ;;
3813 ,);;
3815 if test "x$ac_old_val" != "x$ac_new_val"; then
3816 # differences in whitespace do not lead to failure.
3817 ac_old_val_w=`echo x $ac_old_val`
3818 ac_new_val_w=`echo x $ac_new_val`
3819 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3821 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3822 ac_cache_corrupted=:
3823 else
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3825 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3826 eval $ac_var=\$ac_old_val
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3829 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3831 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3832 fi;;
3833 esac
3834 # Pass precious variables to config.status.
3835 if test "$ac_new_set" = set; then
3836 case $ac_new_val in
3837 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3838 *) ac_arg=$ac_var=$ac_new_val ;;
3839 esac
3840 case " $ac_configure_args " in
3841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3842 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3843 esac
3845 done
3846 if $ac_cache_corrupted; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3850 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3851 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3853 ## -------------------- ##
3854 ## Main body of script. ##
3855 ## -------------------- ##
3857 ac_ext=c
3858 ac_cpp='$CPP $CPPFLAGS'
3859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3865 ac_config_headers="$ac_config_headers include/config.h"
3867 ac_aux_dir=
3868 for ac_dir in tools "$srcdir"/tools; do
3869 if test -f "$ac_dir/install-sh"; then
3870 ac_aux_dir=$ac_dir
3871 ac_install_sh="$ac_aux_dir/install-sh -c"
3872 break
3873 elif test -f "$ac_dir/install.sh"; then
3874 ac_aux_dir=$ac_dir
3875 ac_install_sh="$ac_aux_dir/install.sh -c"
3876 break
3877 elif test -f "$ac_dir/shtool"; then
3878 ac_aux_dir=$ac_dir
3879 ac_install_sh="$ac_aux_dir/shtool install -c"
3880 break
3882 done
3883 if test -z "$ac_aux_dir"; then
3884 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3887 # These three variables are undocumented and unsupported,
3888 # and are intended to be withdrawn in a future Autoconf release.
3889 # They can cause serious problems if a builder's source tree is in a directory
3890 # whose full name contains unusual characters.
3891 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3892 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3893 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3897 libwine_version="1.0"
3901 # Check whether --enable-win16 was given.
3902 if test "${enable_win16+set}" = set; then :
3903 enableval=$enable_win16;
3906 # Check whether --enable-win64 was given.
3907 if test "${enable_win64+set}" = set; then :
3908 enableval=$enable_win64;
3911 # Check whether --enable-tests was given.
3912 if test "${enable_tests+set}" = set; then :
3913 enableval=$enable_tests;
3916 # Check whether --enable-build-id was given.
3917 if test "${enable_build_id+set}" = set; then :
3918 enableval=$enable_build_id;
3921 # Check whether --enable-maintainer-mode was given.
3922 if test "${enable_maintainer_mode+set}" = set; then :
3923 enableval=$enable_maintainer_mode;
3926 # Check whether --enable-silent-rules was given.
3927 if test "${enable_silent_rules+set}" = set; then :
3928 enableval=$enable_silent_rules;
3931 # Check whether --enable-werror was given.
3932 if test "${enable_werror+set}" = set; then :
3933 enableval=$enable_werror;
3938 # Check whether --with-alsa was given.
3939 if test "${with_alsa+set}" = set; then :
3940 withval=$with_alsa;
3944 # Check whether --with-capi was given.
3945 if test "${with_capi+set}" = set; then :
3946 withval=$with_capi;
3950 # Check whether --with-cms was given.
3951 if test "${with_cms+set}" = set; then :
3952 withval=$with_cms;
3956 # Check whether --with-coreaudio was given.
3957 if test "${with_coreaudio+set}" = set; then :
3958 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3962 # Check whether --with-cups was given.
3963 if test "${with_cups+set}" = set; then :
3964 withval=$with_cups;
3968 # Check whether --with-dbus was given.
3969 if test "${with_dbus+set}" = set; then :
3970 withval=$with_dbus;
3974 # Check whether --with-faudio was given.
3975 if test "${with_faudio+set}" = set; then :
3976 withval=$with_faudio;
3980 # Check whether --with-float-abi was given.
3981 if test "${with_float_abi+set}" = set; then :
3982 withval=$with_float_abi;
3986 # Check whether --with-fontconfig was given.
3987 if test "${with_fontconfig+set}" = set; then :
3988 withval=$with_fontconfig;
3992 # Check whether --with-freetype was given.
3993 if test "${with_freetype+set}" = set; then :
3994 withval=$with_freetype;
3998 # Check whether --with-gettext was given.
3999 if test "${with_gettext+set}" = set; then :
4000 withval=$with_gettext;
4004 # Check whether --with-gettextpo was given.
4005 if test "${with_gettextpo+set}" = set; then :
4006 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4010 # Check whether --with-gphoto was given.
4011 if test "${with_gphoto+set}" = set; then :
4012 withval=$with_gphoto;
4016 # Check whether --with-gnutls was given.
4017 if test "${with_gnutls+set}" = set; then :
4018 withval=$with_gnutls;
4022 # Check whether --with-gsm was given.
4023 if test "${with_gsm+set}" = set; then :
4024 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4028 # Check whether --with-gssapi was given.
4029 if test "${with_gssapi+set}" = set; then :
4030 withval=$with_gssapi;
4034 # Check whether --with-gstreamer was given.
4035 if test "${with_gstreamer+set}" = set; then :
4036 withval=$with_gstreamer;
4040 # Check whether --with-hal was given.
4041 if test "${with_hal+set}" = set; then :
4042 withval=$with_hal;
4046 # Check whether --with-inotify was given.
4047 if test "${with_inotify+set}" = set; then :
4048 withval=$with_inotify;
4052 # Check whether --with-jpeg was given.
4053 if test "${with_jpeg+set}" = set; then :
4054 withval=$with_jpeg;
4058 # Check whether --with-jxrlib was given.
4059 if test "${with_jxrlib+set}" = set; then :
4060 withval=$with_jxrlib;
4064 # Check whether --with-krb5 was given.
4065 if test "${with_krb5+set}" = set; then :
4066 withval=$with_krb5;
4070 # Check whether --with-ldap was given.
4071 if test "${with_ldap+set}" = set; then :
4072 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4076 # Check whether --with-mingw was given.
4077 if test "${with_mingw+set}" = set; then :
4078 withval=$with_mingw;
4082 # Check whether --with-mpg123 was given.
4083 if test "${with_mpg123+set}" = set; then :
4084 withval=$with_mpg123;
4088 # Check whether --with-netapi was given.
4089 if test "${with_netapi+set}" = set; then :
4090 withval=$with_netapi;
4094 # Check whether --with-openal was given.
4095 if test "${with_openal+set}" = set; then :
4096 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4100 # Check whether --with-opencl was given.
4101 if test "${with_opencl+set}" = set; then :
4102 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4106 # Check whether --with-opengl was given.
4107 if test "${with_opengl+set}" = set; then :
4108 withval=$with_opengl;
4112 # Check whether --with-osmesa was given.
4113 if test "${with_osmesa+set}" = set; then :
4114 withval=$with_osmesa;
4118 # Check whether --with-oss was given.
4119 if test "${with_oss+set}" = set; then :
4120 withval=$with_oss;
4124 # Check whether --with-pcap was given.
4125 if test "${with_pcap+set}" = set; then :
4126 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4130 # Check whether --with-png was given.
4131 if test "${with_png+set}" = set; then :
4132 withval=$with_png;
4136 # Check whether --with-pthread was given.
4137 if test "${with_pthread+set}" = set; then :
4138 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4142 # Check whether --with-pulse was given.
4143 if test "${with_pulse+set}" = set; then :
4144 withval=$with_pulse;
4148 # Check whether --with-quicktime was given.
4149 if test "${with_quicktime+set}" = set; then :
4150 withval=$with_quicktime;
4154 # Check whether --with-sane was given.
4155 if test "${with_sane+set}" = set; then :
4156 withval=$with_sane;
4160 # Check whether --with-sdl was given.
4161 if test "${with_sdl+set}" = set; then :
4162 withval=$with_sdl;
4166 # Check whether --with-tiff was given.
4167 if test "${with_tiff+set}" = set; then :
4168 withval=$with_tiff;
4172 # Check whether --with-udev was given.
4173 if test "${with_udev+set}" = set; then :
4174 withval=$with_udev;
4178 # Check whether --with-unwind was given.
4179 if test "${with_unwind+set}" = set; then :
4180 withval=$with_unwind;
4184 # Check whether --with-usb was given.
4185 if test "${with_usb+set}" = set; then :
4186 withval=$with_usb;
4190 # Check whether --with-v4l2 was given.
4191 if test "${with_v4l2+set}" = set; then :
4192 withval=$with_v4l2;
4196 # Check whether --with-vkd3d was given.
4197 if test "${with_vkd3d+set}" = set; then :
4198 withval=$with_vkd3d;
4202 # Check whether --with-vulkan was given.
4203 if test "${with_vulkan+set}" = set; then :
4204 withval=$with_vulkan;
4208 # Check whether --with-xcomposite was given.
4209 if test "${with_xcomposite+set}" = set; then :
4210 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4214 # Check whether --with-xcursor was given.
4215 if test "${with_xcursor+set}" = set; then :
4216 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4220 # Check whether --with-xfixes was given.
4221 if test "${with_xfixes+set}" = set; then :
4222 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4226 # Check whether --with-xinerama was given.
4227 if test "${with_xinerama+set}" = set; then :
4228 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4232 # Check whether --with-xinput was given.
4233 if test "${with_xinput+set}" = set; then :
4234 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4238 # Check whether --with-xinput2 was given.
4239 if test "${with_xinput2+set}" = set; then :
4240 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4244 # Check whether --with-xml was given.
4245 if test "${with_xml+set}" = set; then :
4246 withval=$with_xml;
4250 # Check whether --with-xrandr was given.
4251 if test "${with_xrandr+set}" = set; then :
4252 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4256 # Check whether --with-xrender was given.
4257 if test "${with_xrender+set}" = set; then :
4258 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4262 # Check whether --with-xshape was given.
4263 if test "${with_xshape+set}" = set; then :
4264 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4268 # Check whether --with-xshm was given.
4269 if test "${with_xshm+set}" = set; then :
4270 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4274 # Check whether --with-xslt was given.
4275 if test "${with_xslt+set}" = set; then :
4276 withval=$with_xslt;
4280 # Check whether --with-xxf86vm was given.
4281 if test "${with_xxf86vm+set}" = set; then :
4282 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
4287 # Check whether --with-wine-tools was given.
4288 if test "${with_wine_tools+set}" = set; then :
4289 withval=$with_wine_tools;
4293 # Check whether --with-wine64 was given.
4294 if test "${with_wine64+set}" = set; then :
4295 withval=$with_wine64;
4299 # Make sure we can run config.sub.
4300 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4301 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4304 $as_echo_n "checking build system type... " >&6; }
4305 if ${ac_cv_build+:} false; then :
4306 $as_echo_n "(cached) " >&6
4307 else
4308 ac_build_alias=$build_alias
4309 test "x$ac_build_alias" = x &&
4310 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4311 test "x$ac_build_alias" = x &&
4312 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4313 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4314 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4318 $as_echo "$ac_cv_build" >&6; }
4319 case $ac_cv_build in
4320 *-*-*) ;;
4321 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4322 esac
4323 build=$ac_cv_build
4324 ac_save_IFS=$IFS; IFS='-'
4325 set x $ac_cv_build
4326 shift
4327 build_cpu=$1
4328 build_vendor=$2
4329 shift; shift
4330 # Remember, the first character of IFS is used to create $*,
4331 # except with old shells:
4332 build_os=$*
4333 IFS=$ac_save_IFS
4334 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4338 $as_echo_n "checking host system type... " >&6; }
4339 if ${ac_cv_host+:} false; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 if test "x$host_alias" = x; then
4343 ac_cv_host=$ac_cv_build
4344 else
4345 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4346 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4351 $as_echo "$ac_cv_host" >&6; }
4352 case $ac_cv_host in
4353 *-*-*) ;;
4354 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4355 esac
4356 host=$ac_cv_host
4357 ac_save_IFS=$IFS; IFS='-'
4358 set x $ac_cv_host
4359 shift
4360 host_cpu=$1
4361 host_vendor=$2
4362 shift; shift
4363 # Remember, the first character of IFS is used to create $*,
4364 # except with old shells:
4365 host_os=$*
4366 IFS=$ac_save_IFS
4367 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4373 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4374 set x ${MAKE-make}
4375 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4376 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 cat >conftest.make <<\_ACEOF
4380 SHELL = /bin/sh
4381 all:
4382 @echo '@@@%%%=$(MAKE)=@@@%%%'
4383 _ACEOF
4384 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4385 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4386 *@@@%%%=?*=@@@%%%*)
4387 eval ac_cv_prog_make_${ac_make}_set=yes;;
4389 eval ac_cv_prog_make_${ac_make}_set=no;;
4390 esac
4391 rm -f conftest.make
4393 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4395 $as_echo "yes" >&6; }
4396 SET_MAKE=
4397 else
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4400 SET_MAKE="MAKE=${MAKE-make}"
4403 ac_ext=c
4404 ac_cpp='$CPP $CPPFLAGS'
4405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4408 if test -n "$ac_tool_prefix"; then
4409 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4410 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412 $as_echo_n "checking for $ac_word... " >&6; }
4413 if ${ac_cv_prog_CC+:} false; then :
4414 $as_echo_n "(cached) " >&6
4415 else
4416 if test -n "$CC"; then
4417 ac_cv_prog_CC="$CC" # Let the user override the test.
4418 else
4419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 for as_dir in $PATH
4422 IFS=$as_save_IFS
4423 test -z "$as_dir" && as_dir=.
4424 for ac_exec_ext in '' $ac_executable_extensions; do
4425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4426 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 break 2
4430 done
4431 done
4432 IFS=$as_save_IFS
4436 CC=$ac_cv_prog_CC
4437 if test -n "$CC"; then
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4439 $as_echo "$CC" >&6; }
4440 else
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442 $as_echo "no" >&6; }
4447 if test -z "$ac_cv_prog_CC"; then
4448 ac_ct_CC=$CC
4449 # Extract the first word of "gcc", so it can be a program name with args.
4450 set dummy gcc; ac_word=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4454 $as_echo_n "(cached) " >&6
4455 else
4456 if test -n "$ac_ct_CC"; then
4457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4458 else
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH
4462 IFS=$as_save_IFS
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4466 ac_cv_prog_ac_ct_CC="gcc"
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 break 2
4470 done
4471 done
4472 IFS=$as_save_IFS
4476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4477 if test -n "$ac_ct_CC"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4479 $as_echo "$ac_ct_CC" >&6; }
4480 else
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4485 if test "x$ac_ct_CC" = x; then
4486 CC=""
4487 else
4488 case $cross_compiling:$ac_tool_warned in
4489 yes:)
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4492 ac_tool_warned=yes ;;
4493 esac
4494 CC=$ac_ct_CC
4496 else
4497 CC="$ac_cv_prog_CC"
4500 if test -z "$CC"; then
4501 if test -n "$ac_tool_prefix"; then
4502 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4503 set dummy ${ac_tool_prefix}cc; ac_word=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if ${ac_cv_prog_CC+:} false; then :
4507 $as_echo_n "(cached) " >&6
4508 else
4509 if test -n "$CC"; then
4510 ac_cv_prog_CC="$CC" # Let the user override the test.
4511 else
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH
4515 IFS=$as_save_IFS
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519 ac_cv_prog_CC="${ac_tool_prefix}cc"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 break 2
4523 done
4524 done
4525 IFS=$as_save_IFS
4529 CC=$ac_cv_prog_CC
4530 if test -n "$CC"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4532 $as_echo "$CC" >&6; }
4533 else
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4541 if test -z "$CC"; then
4542 # Extract the first word of "cc", so it can be a program name with args.
4543 set dummy cc; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_CC+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$CC"; then
4550 ac_cv_prog_CC="$CC" # Let the user override the test.
4551 else
4552 ac_prog_rejected=no
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4561 ac_prog_rejected=yes
4562 continue
4564 ac_cv_prog_CC="cc"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 break 2
4568 done
4569 done
4570 IFS=$as_save_IFS
4572 if test $ac_prog_rejected = yes; then
4573 # We found a bogon in the path, so make sure we never use it.
4574 set dummy $ac_cv_prog_CC
4575 shift
4576 if test $# != 0; then
4577 # We chose a different compiler from the bogus one.
4578 # However, it has the same basename, so the bogon will be chosen
4579 # first if we set CC to just the basename; use the full file name.
4580 shift
4581 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4586 CC=$ac_cv_prog_CC
4587 if test -n "$CC"; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4589 $as_echo "$CC" >&6; }
4590 else
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592 $as_echo "no" >&6; }
4597 if test -z "$CC"; then
4598 if test -n "$ac_tool_prefix"; then
4599 for ac_prog in cl.exe
4601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_CC+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 if test -n "$CC"; then
4609 ac_cv_prog_CC="$CC" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4614 IFS=$as_save_IFS
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 break 2
4622 done
4623 done
4624 IFS=$as_save_IFS
4628 CC=$ac_cv_prog_CC
4629 if test -n "$CC"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4631 $as_echo "$CC" >&6; }
4632 else
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$CC" && break
4639 done
4641 if test -z "$CC"; then
4642 ac_ct_CC=$CC
4643 for ac_prog in cl.exe
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy $ac_prog; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 if test -n "$ac_ct_CC"; then
4653 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4654 else
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 for as_dir in $PATH
4658 IFS=$as_save_IFS
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_ac_ct_CC="$ac_prog"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 break 2
4666 done
4667 done
4668 IFS=$as_save_IFS
4672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4673 if test -n "$ac_ct_CC"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4675 $as_echo "$ac_ct_CC" >&6; }
4676 else
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4682 test -n "$ac_ct_CC" && break
4683 done
4685 if test "x$ac_ct_CC" = x; then
4686 CC=""
4687 else
4688 case $cross_compiling:$ac_tool_warned in
4689 yes:)
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned=yes ;;
4693 esac
4694 CC=$ac_ct_CC
4701 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4703 as_fn_error $? "no acceptable C compiler found in \$PATH
4704 See \`config.log' for more details" "$LINENO" 5; }
4706 # Provide some information about the compiler.
4707 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4708 set X $ac_compile
4709 ac_compiler=$2
4710 for ac_option in --version -v -V -qversion; do
4711 { { ac_try="$ac_compiler $ac_option >&5"
4712 case "(($ac_try" in
4713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4714 *) ac_try_echo=$ac_try;;
4715 esac
4716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4717 $as_echo "$ac_try_echo"; } >&5
4718 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4719 ac_status=$?
4720 if test -s conftest.err; then
4721 sed '10a\
4722 ... rest of stderr output deleted ...
4723 10q' conftest.err >conftest.er1
4724 cat conftest.er1 >&5
4726 rm -f conftest.er1 conftest.err
4727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4728 test $ac_status = 0; }
4729 done
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4735 main ()
4739 return 0;
4741 _ACEOF
4742 ac_clean_files_save=$ac_clean_files
4743 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4744 # Try to create an executable without -o first, disregard a.out.
4745 # It will help us diagnose broken compilers, and finding out an intuition
4746 # of exeext.
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4748 $as_echo_n "checking whether the C compiler works... " >&6; }
4749 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4751 # The possible output files:
4752 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4754 ac_rmfiles=
4755 for ac_file in $ac_files
4757 case $ac_file in
4758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4759 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4760 esac
4761 done
4762 rm -f $ac_rmfiles
4764 if { { ac_try="$ac_link_default"
4765 case "(($ac_try" in
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4768 esac
4769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4770 $as_echo "$ac_try_echo"; } >&5
4771 (eval "$ac_link_default") 2>&5
4772 ac_status=$?
4773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4774 test $ac_status = 0; }; then :
4775 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4776 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4777 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4778 # so that the user can short-circuit this test for compilers unknown to
4779 # Autoconf.
4780 for ac_file in $ac_files ''
4782 test -f "$ac_file" || continue
4783 case $ac_file in
4784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4786 [ab].out )
4787 # We found the default executable, but exeext='' is most
4788 # certainly right.
4789 break;;
4790 *.* )
4791 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4792 then :; else
4793 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4795 # We set ac_cv_exeext here because the later test for it is not
4796 # safe: cross compilers may not add the suffix if given an `-o'
4797 # argument, so we may need to know it at that point already.
4798 # Even if this section looks crufty: it has the advantage of
4799 # actually working.
4800 break;;
4802 break;;
4803 esac
4804 done
4805 test "$ac_cv_exeext" = no && ac_cv_exeext=
4807 else
4808 ac_file=''
4810 if test -z "$ac_file"; then :
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4813 $as_echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.$ac_ext >&5
4816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4818 as_fn_error 77 "C compiler cannot create executables
4819 See \`config.log' for more details" "$LINENO" 5; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4822 $as_echo "yes" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4825 $as_echo_n "checking for C compiler default output file name... " >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4827 $as_echo "$ac_file" >&6; }
4828 ac_exeext=$ac_cv_exeext
4830 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4831 ac_clean_files=$ac_clean_files_save
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4833 $as_echo_n "checking for suffix of executables... " >&6; }
4834 if { { ac_try="$ac_link"
4835 case "(($ac_try" in
4836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4837 *) ac_try_echo=$ac_try;;
4838 esac
4839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4840 $as_echo "$ac_try_echo"; } >&5
4841 (eval "$ac_link") 2>&5
4842 ac_status=$?
4843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4844 test $ac_status = 0; }; then :
4845 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4846 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4847 # work properly (i.e., refer to `conftest.exe'), while it won't with
4848 # `rm'.
4849 for ac_file in conftest.exe conftest conftest.*; do
4850 test -f "$ac_file" || continue
4851 case $ac_file in
4852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4853 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4854 break;;
4855 * ) break;;
4856 esac
4857 done
4858 else
4859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4861 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4862 See \`config.log' for more details" "$LINENO" 5; }
4864 rm -f conftest conftest$ac_cv_exeext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4866 $as_echo "$ac_cv_exeext" >&6; }
4868 rm -f conftest.$ac_ext
4869 EXEEXT=$ac_cv_exeext
4870 ac_exeext=$EXEEXT
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4873 #include <stdio.h>
4875 main ()
4877 FILE *f = fopen ("conftest.out", "w");
4878 return ferror (f) || fclose (f) != 0;
4881 return 0;
4883 _ACEOF
4884 ac_clean_files="$ac_clean_files conftest.out"
4885 # Check that the compiler produces executables we can run. If not, either
4886 # the compiler is broken, or we cross compile.
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4888 $as_echo_n "checking whether we are cross compiling... " >&6; }
4889 if test "$cross_compiling" != yes; then
4890 { { ac_try="$ac_link"
4891 case "(($ac_try" in
4892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4893 *) ac_try_echo=$ac_try;;
4894 esac
4895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4896 $as_echo "$ac_try_echo"; } >&5
4897 (eval "$ac_link") 2>&5
4898 ac_status=$?
4899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4900 test $ac_status = 0; }
4901 if { ac_try='./conftest$ac_cv_exeext'
4902 { { case "(($ac_try" in
4903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4905 esac
4906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4907 $as_echo "$ac_try_echo"; } >&5
4908 (eval "$ac_try") 2>&5
4909 ac_status=$?
4910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4911 test $ac_status = 0; }; }; then
4912 cross_compiling=no
4913 else
4914 if test "$cross_compiling" = maybe; then
4915 cross_compiling=yes
4916 else
4917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4919 as_fn_error $? "cannot run C compiled programs.
4920 If you meant to cross compile, use \`--host'.
4921 See \`config.log' for more details" "$LINENO" 5; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4926 $as_echo "$cross_compiling" >&6; }
4928 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4929 ac_clean_files=$ac_clean_files_save
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4931 $as_echo_n "checking for suffix of object files... " >&6; }
4932 if ${ac_cv_objext+:} false; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 main ()
4943 return 0;
4945 _ACEOF
4946 rm -f conftest.o conftest.obj
4947 if { { ac_try="$ac_compile"
4948 case "(($ac_try" in
4949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950 *) ac_try_echo=$ac_try;;
4951 esac
4952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4953 $as_echo "$ac_try_echo"; } >&5
4954 (eval "$ac_compile") 2>&5
4955 ac_status=$?
4956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4957 test $ac_status = 0; }; then :
4958 for ac_file in conftest.o conftest.obj conftest.*; do
4959 test -f "$ac_file" || continue;
4960 case $ac_file in
4961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4962 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4963 break;;
4964 esac
4965 done
4966 else
4967 $as_echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5
4970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4972 as_fn_error $? "cannot compute suffix of object files: cannot compile
4973 See \`config.log' for more details" "$LINENO" 5; }
4975 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4978 $as_echo "$ac_cv_objext" >&6; }
4979 OBJEXT=$ac_cv_objext
4980 ac_objext=$OBJEXT
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4982 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4983 if ${ac_cv_c_compiler_gnu+:} false; then :
4984 $as_echo_n "(cached) " >&6
4985 else
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4990 main ()
4992 #ifndef __GNUC__
4993 choke me
4994 #endif
4997 return 0;
4999 _ACEOF
5000 if ac_fn_c_try_compile "$LINENO"; then :
5001 ac_compiler_gnu=yes
5002 else
5003 ac_compiler_gnu=no
5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5010 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5011 if test $ac_compiler_gnu = yes; then
5012 GCC=yes
5013 else
5014 GCC=
5016 ac_test_CFLAGS=${CFLAGS+set}
5017 ac_save_CFLAGS=$CFLAGS
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5019 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5020 if ${ac_cv_prog_cc_g+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 ac_save_c_werror_flag=$ac_c_werror_flag
5024 ac_c_werror_flag=yes
5025 ac_cv_prog_cc_g=no
5026 CFLAGS="-g"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_compile "$LINENO"; then :
5039 ac_cv_prog_cc_g=yes
5040 else
5041 CFLAGS=""
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5046 main ()
5050 return 0;
5052 _ACEOF
5053 if ac_fn_c_try_compile "$LINENO"; then :
5055 else
5056 ac_c_werror_flag=$ac_save_c_werror_flag
5057 CFLAGS="-g"
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5062 main ()
5066 return 0;
5068 _ACEOF
5069 if ac_fn_c_try_compile "$LINENO"; then :
5070 ac_cv_prog_cc_g=yes
5072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 ac_c_werror_flag=$ac_save_c_werror_flag
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5080 $as_echo "$ac_cv_prog_cc_g" >&6; }
5081 if test "$ac_test_CFLAGS" = set; then
5082 CFLAGS=$ac_save_CFLAGS
5083 elif test $ac_cv_prog_cc_g = yes; then
5084 if test "$GCC" = yes; then
5085 CFLAGS="-g -O2"
5086 else
5087 CFLAGS="-g"
5089 else
5090 if test "$GCC" = yes; then
5091 CFLAGS="-O2"
5092 else
5093 CFLAGS=
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5097 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5098 if ${ac_cv_prog_cc_c89+:} false; then :
5099 $as_echo_n "(cached) " >&6
5100 else
5101 ac_cv_prog_cc_c89=no
5102 ac_save_CC=$CC
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5105 #include <stdarg.h>
5106 #include <stdio.h>
5107 struct stat;
5108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5109 struct buf { int x; };
5110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5111 static char *e (p, i)
5112 char **p;
5113 int i;
5115 return p[i];
5117 static char *f (char * (*g) (char **, int), char **p, ...)
5119 char *s;
5120 va_list v;
5121 va_start (v,p);
5122 s = g (p, va_arg (v,int));
5123 va_end (v);
5124 return s;
5127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5128 function prototypes and stuff, but not '\xHH' hex character constants.
5129 These don't provoke an error unfortunately, instead are silently treated
5130 as 'x'. The following induces an error, until -std is added to get
5131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5132 array size at least. It's necessary to write '\x00'==0 to get something
5133 that's true only with -std. */
5134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5136 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5137 inside strings and character constants. */
5138 #define FOO(x) 'x'
5139 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5141 int test (int i, double x);
5142 struct s1 {int (*f) (int a);};
5143 struct s2 {int (*f) (double a);};
5144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5145 int argc;
5146 char **argv;
5148 main ()
5150 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5152 return 0;
5154 _ACEOF
5155 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5156 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5158 CC="$ac_save_CC $ac_arg"
5159 if ac_fn_c_try_compile "$LINENO"; then :
5160 ac_cv_prog_cc_c89=$ac_arg
5162 rm -f core conftest.err conftest.$ac_objext
5163 test "x$ac_cv_prog_cc_c89" != "xno" && break
5164 done
5165 rm -f conftest.$ac_ext
5166 CC=$ac_save_CC
5169 # AC_CACHE_VAL
5170 case "x$ac_cv_prog_cc_c89" in
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5173 $as_echo "none needed" >&6; } ;;
5174 xno)
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5176 $as_echo "unsupported" >&6; } ;;
5178 CC="$CC $ac_cv_prog_cc_c89"
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5180 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5181 esac
5182 if test "x$ac_cv_prog_cc_c89" != xno; then :
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5192 ac_ext=cpp
5193 ac_cpp='$CXXCPP $CPPFLAGS'
5194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5197 if test -z "$CXX"; then
5198 if test -n "$CCC"; then
5199 CXX=$CCC
5200 else
5201 if test -n "$ac_tool_prefix"; then
5202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_CXX+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$CXX"; then
5212 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 CXX=$ac_cv_prog_CXX
5232 if test -n "$CXX"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5234 $as_echo "$CXX" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$CXX" && break
5242 done
5244 if test -z "$CXX"; then
5245 ac_ct_CXX=$CXX
5246 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5248 # Extract the first word of "$ac_prog", so it can be a program name with args.
5249 set dummy $ac_prog; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_CXX"; then
5256 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_ac_ct_CXX="$ac_prog"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5276 if test -n "$ac_ct_CXX"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5278 $as_echo "$ac_ct_CXX" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5285 test -n "$ac_ct_CXX" && break
5286 done
5288 if test "x$ac_ct_CXX" = x; then
5289 CXX="g++"
5290 else
5291 case $cross_compiling:$ac_tool_warned in
5292 yes:)
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5295 ac_tool_warned=yes ;;
5296 esac
5297 CXX=$ac_ct_CXX
5303 # Provide some information about the compiler.
5304 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5305 set X $ac_compile
5306 ac_compiler=$2
5307 for ac_option in --version -v -V -qversion; do
5308 { { ac_try="$ac_compiler $ac_option >&5"
5309 case "(($ac_try" in
5310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5311 *) ac_try_echo=$ac_try;;
5312 esac
5313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5314 $as_echo "$ac_try_echo"; } >&5
5315 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5316 ac_status=$?
5317 if test -s conftest.err; then
5318 sed '10a\
5319 ... rest of stderr output deleted ...
5320 10q' conftest.err >conftest.er1
5321 cat conftest.er1 >&5
5323 rm -f conftest.er1 conftest.err
5324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5325 test $ac_status = 0; }
5326 done
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5329 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5330 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5337 main ()
5339 #ifndef __GNUC__
5340 choke me
5341 #endif
5344 return 0;
5346 _ACEOF
5347 if ac_fn_cxx_try_compile "$LINENO"; then :
5348 ac_compiler_gnu=yes
5349 else
5350 ac_compiler_gnu=no
5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5353 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5357 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5358 if test $ac_compiler_gnu = yes; then
5359 GXX=yes
5360 else
5361 GXX=
5363 ac_test_CXXFLAGS=${CXXFLAGS+set}
5364 ac_save_CXXFLAGS=$CXXFLAGS
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5366 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5367 if ${ac_cv_prog_cxx_g+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5371 ac_cxx_werror_flag=yes
5372 ac_cv_prog_cxx_g=no
5373 CXXFLAGS="-g"
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main ()
5382 return 0;
5384 _ACEOF
5385 if ac_fn_cxx_try_compile "$LINENO"; then :
5386 ac_cv_prog_cxx_g=yes
5387 else
5388 CXXFLAGS=""
5389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h. */
5393 main ()
5397 return 0;
5399 _ACEOF
5400 if ac_fn_cxx_try_compile "$LINENO"; then :
5402 else
5403 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5404 CXXFLAGS="-g"
5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406 /* end confdefs.h. */
5409 main ()
5413 return 0;
5415 _ACEOF
5416 if ac_fn_cxx_try_compile "$LINENO"; then :
5417 ac_cv_prog_cxx_g=yes
5419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5427 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5428 if test "$ac_test_CXXFLAGS" = set; then
5429 CXXFLAGS=$ac_save_CXXFLAGS
5430 elif test $ac_cv_prog_cxx_g = yes; then
5431 if test "$GXX" = yes; then
5432 CXXFLAGS="-g -O2"
5433 else
5434 CXXFLAGS="-g"
5436 else
5437 if test "$GXX" = yes; then
5438 CXXFLAGS="-O2"
5439 else
5440 CXXFLAGS=
5443 ac_ext=c
5444 ac_cpp='$CPP $CPPFLAGS'
5445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5449 if test -n "$ac_tool_prefix"; then
5450 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5451 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_CPPBIN+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 if test -n "$CPPBIN"; then
5458 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5477 CPPBIN=$ac_cv_prog_CPPBIN
5478 if test -n "$CPPBIN"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5480 $as_echo "$CPPBIN" >&6; }
5481 else
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5488 if test -z "$ac_cv_prog_CPPBIN"; then
5489 ac_ct_CPPBIN=$CPPBIN
5490 # Extract the first word of "cpp", so it can be a program name with args.
5491 set dummy cpp; ac_word=$2
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5493 $as_echo_n "checking for $ac_word... " >&6; }
5494 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5495 $as_echo_n "(cached) " >&6
5496 else
5497 if test -n "$ac_ct_CPPBIN"; then
5498 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5507 ac_cv_prog_ac_ct_CPPBIN="cpp"
5508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5511 done
5512 done
5513 IFS=$as_save_IFS
5517 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5518 if test -n "$ac_ct_CPPBIN"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5520 $as_echo "$ac_ct_CPPBIN" >&6; }
5521 else
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5526 if test "x$ac_ct_CPPBIN" = x; then
5527 CPPBIN="cpp"
5528 else
5529 case $cross_compiling:$ac_tool_warned in
5530 yes:)
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5533 ac_tool_warned=yes ;;
5534 esac
5535 CPPBIN=$ac_ct_CPPBIN
5537 else
5538 CPPBIN="$ac_cv_prog_CPPBIN"
5542 cat >>confdefs.h <<_ACEOF
5543 #define EXEEXT "$ac_exeext"
5544 _ACEOF
5546 if test -n "$ac_tool_prefix"; then
5547 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5548 set dummy ${ac_tool_prefix}ld; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_LD+:} false; then :
5552 $as_echo_n "(cached) " >&6
5553 else
5554 if test -n "$LD"; then
5555 ac_cv_prog_LD="$LD" # Let the user override the test.
5556 else
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH
5560 IFS=$as_save_IFS
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_LD="${ac_tool_prefix}ld"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 break 2
5568 done
5569 done
5570 IFS=$as_save_IFS
5574 LD=$ac_cv_prog_LD
5575 if test -n "$LD"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5577 $as_echo "$LD" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5585 if test -z "$ac_cv_prog_LD"; then
5586 ac_ct_LD=$LD
5587 # Extract the first word of "ld", so it can be a program name with args.
5588 set dummy ld; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test -n "$ac_ct_LD"; then
5595 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_ac_ct_LD="ld"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5615 if test -n "$ac_ct_LD"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5617 $as_echo "$ac_ct_LD" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5623 if test "x$ac_ct_LD" = x; then
5624 LD=""
5625 else
5626 case $cross_compiling:$ac_tool_warned in
5627 yes:)
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5630 ac_tool_warned=yes ;;
5631 esac
5632 LD=$ac_ct_LD
5634 else
5635 LD="$ac_cv_prog_LD"
5639 case $host in
5640 *-darwin*)
5641 with_fontconfig=${with_fontconfig:-no}
5643 *-mingw32*|*-cygwin*)
5644 enable_win16=${enable_win16:-no}
5645 with_mingw=${with_mingw:-no}
5646 CFLAGS="$CFLAGS -D_WIN32"
5648 esac
5651 case $host in
5652 x86_64*|amd64*)
5653 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5654 then
5655 CC="$CC -m32"
5656 CXX="$CXX -m32"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5659 $as_echo_n "checking whether $CC works... " >&6; }
5660 if ${wine_cv_cc_m32+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5667 main ()
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_link "$LINENO"; then :
5675 wine_cv_cc_m32=yes
5676 else
5677 wine_cv_cc_m32=no
5679 rm -f core conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5683 $as_echo "$wine_cv_cc_m32" >&6; }
5684 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
5685 host_cpu="i386"
5686 notice_platform="32-bit "
5687 TARGETFLAGS="$TARGETFLAGS -m32"
5688 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5689 export PKG_CONFIG_PATH
5690 enable_win16=${enable_win16:-yes}
5691 with_unwind=${with_unwind:-no}
5692 else
5693 if test "x${GCC}" = "xyes"
5694 then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5696 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5697 if ${wine_cv_builtin_ms_va_list+:} false; then :
5698 $as_echo_n "(cached) " >&6
5699 else
5700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5702 #include <stdarg.h>
5704 main ()
5706 void func(__builtin_ms_va_list *args);
5708 return 0;
5710 _ACEOF
5711 if ac_fn_c_try_compile "$LINENO"; then :
5712 wine_cv_builtin_ms_va_list=yes
5713 else
5714 wine_cv_builtin_ms_va_list=no
5716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5719 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5720 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
5722 CC="$CC -m64"
5723 CXX="$CXX -m64"
5724 host_cpu="x86_64"
5725 notice_platform="64-bit "
5726 TARGETFLAGS="$TARGETFLAGS -m64"
5727 enable_wow64cpu=${enable_wow64cpu:-yes}
5730 arm*)
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5732 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5733 if ${wine_cv_thumb2+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5740 main ()
5742 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5744 return 0;
5746 _ACEOF
5747 if ac_fn_c_try_link "$LINENO"; then :
5748 wine_cv_thumb2=yes
5749 else
5750 wine_cv_thumb2=no
5752 rm -f core conftest.err conftest.$ac_objext \
5753 conftest$ac_exeext conftest.$ac_ext
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5756 $as_echo "$wine_cv_thumb2" >&6; }
5757 if test x"$wine_cv_thumb2" = xyes
5758 then
5759 CFLAGS="$CFLAGS -mthumb"
5760 TARGETFLAGS="$TARGETFLAGS -mthumb"
5761 else
5762 CFLAGS="$CFLAGS -marm"
5763 TARGETFLAGS="$TARGETFLAGS -marm"
5765 case $with_float_abi in
5766 soft|softfp|hard)
5767 float_abi=$with_float_abi ;;
5769 case $host_os in
5770 *eabihf)
5771 float_abi=hard ;;
5773 float_abi=softfp
5774 saved_CFLAGS=$CFLAGS
5775 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5777 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5778 if ${wine_cv_float_abi+:} false; then :
5779 $as_echo_n "(cached) " >&6
5780 else
5781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5785 main ()
5787 asm("vmrs r2,fpscr");
5789 return 0;
5791 _ACEOF
5792 if ac_fn_c_try_link "$LINENO"; then :
5793 wine_cv_float_abi=yes
5794 else
5795 wine_cv_float_abi=no
5797 rm -f core conftest.err conftest.$ac_objext \
5798 conftest$ac_exeext conftest.$ac_ext
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5801 $as_echo "$wine_cv_float_abi" >&6; }
5802 if test $wine_cv_float_abi = no
5803 then
5804 float_abi=soft
5805 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5807 CFLAGS=$saved_CFLAGS
5808 esac
5810 esac
5811 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5812 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5814 aarch64*)
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5816 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5817 if ${wine_cv_builtin_ms_va_list+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5822 #include <stdarg.h>
5824 main ()
5826 void func(__builtin_ms_va_list *args);
5828 return 0;
5830 _ACEOF
5831 if ac_fn_c_try_compile "$LINENO"; then :
5832 wine_cv_builtin_ms_va_list=yes
5833 else
5834 wine_cv_builtin_ms_va_list=no
5836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5839 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5840 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5842 i[3456789]86*)
5843 enable_win16=${enable_win16:-yes}
5844 with_unwind=${with_unwind:-no}
5846 esac
5848 enable_win16=${enable_win16:-no}
5849 enable_win64=${enable_win64:-no}
5850 enable_wow64cpu=${enable_wow64cpu:-no}
5852 enable_winetest=${enable_winetest:-$enable_tests}
5854 if test "x$enable_win64" = "xyes"
5855 then
5856 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5857 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5858 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5862 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5863 if ${wine_cv_toolsdir+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 wine_cv_toolsdir="$with_wine_tools"
5867 if test -z "$with_wine_tools"; then
5868 if test "$cross_compiling" = "yes"; then
5869 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5870 elif test -n "$with_wine64"; then
5871 wine_cv_toolsdir="$with_wine64"
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5876 $as_echo "$wine_cv_toolsdir" >&6; }
5877 if test -z "$wine_cv_toolsdir"; then
5878 wine_makedep=tools/makedep
5879 TOOLSDIR="."
5881 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5882 wine_makedep=$wine_cv_toolsdir/tools/makedep
5883 TOOLSDIR=$wine_cv_toolsdir
5885 enable_tools=${enable_tools:-no}
5886 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5887 else
5888 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5890 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5891 then
5892 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5895 for ac_prog in flex
5897 # Extract the first word of "$ac_prog", so it can be a program name with args.
5898 set dummy $ac_prog; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_FLEX+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$FLEX"; then
5905 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_FLEX="$ac_prog"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 FLEX=$ac_cv_prog_FLEX
5925 if test -n "$FLEX"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5927 $as_echo "$FLEX" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5934 test -n "$FLEX" && break
5935 done
5936 test -n "$FLEX" || FLEX="none"
5938 if test "$FLEX" = "none"
5939 then
5940 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5943 $as_echo_n "checking whether flex is recent enough... " >&6; }
5944 if ${wine_cv_recent_flex+:} false; then :
5945 $as_echo_n "(cached) " >&6
5946 else
5947 cat >conftest.l <<EOF
5948 %top{
5949 #include "prediluvian.h"
5953 if $FLEX -t conftest.l >/dev/null 2>&5
5954 then
5955 wine_cv_recent_flex=yes
5956 else
5957 wine_cv_recent_flex=no
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5961 $as_echo "$wine_cv_recent_flex" >&6; }
5962 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
5964 for ac_prog in bison
5966 # Extract the first word of "$ac_prog", so it can be a program name with args.
5967 set dummy $ac_prog; ac_word=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if ${ac_cv_prog_BISON+:} false; then :
5971 $as_echo_n "(cached) " >&6
5972 else
5973 if test -n "$BISON"; then
5974 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5975 else
5976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 for as_dir in $PATH
5979 IFS=$as_save_IFS
5980 test -z "$as_dir" && as_dir=.
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_BISON="$ac_prog"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 BISON=$ac_cv_prog_BISON
5994 if test -n "$BISON"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5996 $as_echo "$BISON" >&6; }
5997 else
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6003 test -n "$BISON" && break
6004 done
6005 test -n "$BISON" || BISON="none"
6007 if test "$BISON" = "none"
6008 then
6009 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6012 $as_echo_n "checking whether bison is recent enough... " >&6; }
6013 if ${wine_cv_recent_bison+:} false; then :
6014 $as_echo_n "(cached) " >&6
6015 else
6016 cat >conftest.y <<EOF
6017 %define parse.error verbose
6019 empty: ;
6021 if $BISON conftest.y >/dev/null 2>&5
6022 then
6023 wine_cv_recent_bison=yes
6024 else
6025 wine_cv_recent_bison=no
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6029 $as_echo "$wine_cv_recent_bison" >&6; }
6030 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
6032 if test -n "$ac_tool_prefix"; then
6033 for ac_prog in ar gar
6035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_AR+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 if test -n "$AR"; then
6043 ac_cv_prog_AR="$AR" # Let the user override the test.
6044 else
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 for as_dir in $PATH
6048 IFS=$as_save_IFS
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 break 2
6056 done
6057 done
6058 IFS=$as_save_IFS
6062 AR=$ac_cv_prog_AR
6063 if test -n "$AR"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6065 $as_echo "$AR" >&6; }
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6072 test -n "$AR" && break
6073 done
6075 if test -z "$AR"; then
6076 ac_ct_AR=$AR
6077 for ac_prog in ar gar
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy $ac_prog; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$ac_ct_AR"; then
6087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_ac_ct_AR="$ac_prog"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6107 if test -n "$ac_ct_AR"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6109 $as_echo "$ac_ct_AR" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6116 test -n "$ac_ct_AR" && break
6117 done
6119 if test "x$ac_ct_AR" = x; then
6120 AR="ar"
6121 else
6122 case $cross_compiling:$ac_tool_warned in
6123 yes:)
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6126 ac_tool_warned=yes ;;
6127 esac
6128 AR=$ac_ct_AR
6132 if test -n "$ac_tool_prefix"; then
6133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6134 set dummy ${ac_tool_prefix}strip; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 $as_echo_n "checking for $ac_word... " >&6; }
6137 if ${ac_cv_prog_STRIP+:} false; then :
6138 $as_echo_n "(cached) " >&6
6139 else
6140 if test -n "$STRIP"; then
6141 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6142 else
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6160 STRIP=$ac_cv_prog_STRIP
6161 if test -n "$STRIP"; then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6163 $as_echo "$STRIP" >&6; }
6164 else
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6171 if test -z "$ac_cv_prog_STRIP"; then
6172 ac_ct_STRIP=$STRIP
6173 # Extract the first word of "strip", so it can be a program name with args.
6174 set dummy strip; ac_word=$2
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176 $as_echo_n "checking for $ac_word... " >&6; }
6177 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 if test -n "$ac_ct_STRIP"; then
6181 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6186 IFS=$as_save_IFS
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_STRIP="strip"
6191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6196 IFS=$as_save_IFS
6200 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6201 if test -n "$ac_ct_STRIP"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6203 $as_echo "$ac_ct_STRIP" >&6; }
6204 else
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 $as_echo "no" >&6; }
6209 if test "x$ac_ct_STRIP" = x; then
6210 STRIP="strip"
6211 else
6212 case $cross_compiling:$ac_tool_warned in
6213 yes:)
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned=yes ;;
6217 esac
6218 STRIP=$ac_ct_STRIP
6220 else
6221 STRIP="$ac_cv_prog_STRIP"
6224 if test -n "$ac_tool_prefix"; then
6225 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228 $as_echo_n "checking for $ac_word... " >&6; }
6229 if ${ac_cv_prog_RANLIB+:} false; then :
6230 $as_echo_n "(cached) " >&6
6231 else
6232 if test -n "$RANLIB"; then
6233 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6234 else
6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6236 for as_dir in $PATH
6238 IFS=$as_save_IFS
6239 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
6241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 break 2
6246 done
6247 done
6248 IFS=$as_save_IFS
6252 RANLIB=$ac_cv_prog_RANLIB
6253 if test -n "$RANLIB"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6255 $as_echo "$RANLIB" >&6; }
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258 $as_echo "no" >&6; }
6263 if test -z "$ac_cv_prog_RANLIB"; then
6264 ac_ct_RANLIB=$RANLIB
6265 # Extract the first word of "ranlib", so it can be a program name with args.
6266 set dummy ranlib; ac_word=$2
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268 $as_echo_n "checking for $ac_word... " >&6; }
6269 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6270 $as_echo_n "(cached) " >&6
6271 else
6272 if test -n "$ac_ct_RANLIB"; then
6273 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6274 else
6275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276 for as_dir in $PATH
6278 IFS=$as_save_IFS
6279 test -z "$as_dir" && as_dir=.
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6282 ac_cv_prog_ac_ct_RANLIB="ranlib"
6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 break 2
6286 done
6287 done
6288 IFS=$as_save_IFS
6292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6293 if test -n "$ac_ct_RANLIB"; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6295 $as_echo "$ac_ct_RANLIB" >&6; }
6296 else
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298 $as_echo "no" >&6; }
6301 if test "x$ac_ct_RANLIB" = x; then
6302 RANLIB=":"
6303 else
6304 case $cross_compiling:$ac_tool_warned in
6305 yes:)
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6308 ac_tool_warned=yes ;;
6309 esac
6310 RANLIB=$ac_ct_RANLIB
6312 else
6313 RANLIB="$ac_cv_prog_RANLIB"
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6317 $as_echo_n "checking whether ln -s works... " >&6; }
6318 LN_S=$as_ln_s
6319 if test "$LN_S" = "ln -s"; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6321 $as_echo "yes" >&6; }
6322 else
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6324 $as_echo "no, using $LN_S" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6328 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6329 if ${ac_cv_path_GREP+:} false; then :
6330 $as_echo_n "(cached) " >&6
6331 else
6332 if test -z "$GREP"; then
6333 ac_path_GREP_found=false
6334 # Loop through the user's path and test for each of PROGNAME-LIST
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_prog in grep ggrep; do
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6343 as_fn_executable_p "$ac_path_GREP" || continue
6344 # Check for GNU ac_path_GREP and select it if it is found.
6345 # Check for GNU $ac_path_GREP
6346 case `"$ac_path_GREP" --version 2>&1` in
6347 *GNU*)
6348 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6350 ac_count=0
6351 $as_echo_n 0123456789 >"conftest.in"
6352 while :
6354 cat "conftest.in" "conftest.in" >"conftest.tmp"
6355 mv "conftest.tmp" "conftest.in"
6356 cp "conftest.in" "conftest.nl"
6357 $as_echo 'GREP' >> "conftest.nl"
6358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6360 as_fn_arith $ac_count + 1 && ac_count=$as_val
6361 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6362 # Best one so far, save it but keep looking for a better one
6363 ac_cv_path_GREP="$ac_path_GREP"
6364 ac_path_GREP_max=$ac_count
6366 # 10*(2^10) chars as input seems more than enough
6367 test $ac_count -gt 10 && break
6368 done
6369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6370 esac
6372 $ac_path_GREP_found && break 3
6373 done
6374 done
6375 done
6376 IFS=$as_save_IFS
6377 if test -z "$ac_cv_path_GREP"; then
6378 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6380 else
6381 ac_cv_path_GREP=$GREP
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6386 $as_echo "$ac_cv_path_GREP" >&6; }
6387 GREP="$ac_cv_path_GREP"
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6391 $as_echo_n "checking for egrep... " >&6; }
6392 if ${ac_cv_path_EGREP+:} false; then :
6393 $as_echo_n "(cached) " >&6
6394 else
6395 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6396 then ac_cv_path_EGREP="$GREP -E"
6397 else
6398 if test -z "$EGREP"; then
6399 ac_path_EGREP_found=false
6400 # Loop through the user's path and test for each of PROGNAME-LIST
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_prog in egrep; do
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6409 as_fn_executable_p "$ac_path_EGREP" || continue
6410 # Check for GNU ac_path_EGREP and select it if it is found.
6411 # Check for GNU $ac_path_EGREP
6412 case `"$ac_path_EGREP" --version 2>&1` in
6413 *GNU*)
6414 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6416 ac_count=0
6417 $as_echo_n 0123456789 >"conftest.in"
6418 while :
6420 cat "conftest.in" "conftest.in" >"conftest.tmp"
6421 mv "conftest.tmp" "conftest.in"
6422 cp "conftest.in" "conftest.nl"
6423 $as_echo 'EGREP' >> "conftest.nl"
6424 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6425 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6426 as_fn_arith $ac_count + 1 && ac_count=$as_val
6427 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6428 # Best one so far, save it but keep looking for a better one
6429 ac_cv_path_EGREP="$ac_path_EGREP"
6430 ac_path_EGREP_max=$ac_count
6432 # 10*(2^10) chars as input seems more than enough
6433 test $ac_count -gt 10 && break
6434 done
6435 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6436 esac
6438 $ac_path_EGREP_found && break 3
6439 done
6440 done
6441 done
6442 IFS=$as_save_IFS
6443 if test -z "$ac_cv_path_EGREP"; then
6444 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6446 else
6447 ac_cv_path_EGREP=$EGREP
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6453 $as_echo "$ac_cv_path_EGREP" >&6; }
6454 EGREP="$ac_cv_path_EGREP"
6457 # Extract the first word of "ldconfig", so it can be a program name with args.
6458 set dummy ldconfig; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if ${ac_cv_path_LDCONFIG+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 case $LDCONFIG in
6465 [\\/]* | ?:[\\/]*)
6466 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in /sbin /usr/sbin $PATH
6472 IFS=$as_save_IFS
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 break 2
6480 done
6481 done
6482 IFS=$as_save_IFS
6484 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6486 esac
6488 LDCONFIG=$ac_cv_path_LDCONFIG
6489 if test -n "$LDCONFIG"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6491 $as_echo "$LDCONFIG" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6498 for ac_prog in msgfmt
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if ${ac_cv_prog_MSGFMT+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$MSGFMT"; then
6508 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_MSGFMT="$ac_prog"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 MSGFMT=$ac_cv_prog_MSGFMT
6528 if test -n "$MSGFMT"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6530 $as_echo "$MSGFMT" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6537 test -n "$MSGFMT" && break
6538 done
6539 test -n "$MSGFMT" || MSGFMT="false"
6541 if ${ac_tool_prefix+:} false; then :
6542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6543 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$PKG_CONFIG"; then
6550 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6559 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6570 if test -n "$PKG_CONFIG"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6572 $as_echo "$PKG_CONFIG" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6580 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6581 if test "x$cross_compiling" = xyes; then :
6583 else
6584 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6585 # Extract the first word of "pkg-config", so it can be a program name with args.
6586 set dummy pkg-config; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 if test -n "$PKG_CONFIG"; then
6593 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6598 IFS=$as_save_IFS
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_PKG_CONFIG="pkg-config"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 break 2
6606 done
6607 done
6608 IFS=$as_save_IFS
6612 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6613 if test -n "$PKG_CONFIG"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6615 $as_echo "$PKG_CONFIG" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6623 else
6624 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6627 if test "x$enable_maintainer_mode" != "xyes"
6628 then
6629 FONTFORGE=""
6630 RSVG=""
6631 CONVERT=""
6632 ICOTOOL=""
6633 else
6634 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6635 for ac_prog in fontforge
6637 # Extract the first word of "$ac_prog", so it can be a program name with args.
6638 set dummy $ac_prog; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if ${ac_cv_prog_FONTFORGE+:} false; then :
6642 $as_echo_n "(cached) " >&6
6643 else
6644 if test -n "$FONTFORGE"; then
6645 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6646 else
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 for as_dir in $PATH
6650 IFS=$as_save_IFS
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6654 ac_cv_prog_FONTFORGE="$ac_prog"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 break 2
6658 done
6659 done
6660 IFS=$as_save_IFS
6664 FONTFORGE=$ac_cv_prog_FONTFORGE
6665 if test -n "$FONTFORGE"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6667 $as_echo "$FONTFORGE" >&6; }
6668 else
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6674 test -n "$FONTFORGE" && break
6675 done
6676 test -n "$FONTFORGE" || FONTFORGE="false"
6678 for ac_prog in rsvg-convert rsvg
6680 # Extract the first word of "$ac_prog", so it can be a program name with args.
6681 set dummy $ac_prog; ac_word=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_RSVG+:} false; then :
6685 $as_echo_n "(cached) " >&6
6686 else
6687 if test -n "$RSVG"; then
6688 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6689 else
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 for as_dir in $PATH
6693 IFS=$as_save_IFS
6694 test -z "$as_dir" && as_dir=.
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6697 ac_cv_prog_RSVG="$ac_prog"
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699 break 2
6701 done
6702 done
6703 IFS=$as_save_IFS
6707 RSVG=$ac_cv_prog_RSVG
6708 if test -n "$RSVG"; then
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6710 $as_echo "$RSVG" >&6; }
6711 else
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6717 test -n "$RSVG" && break
6718 done
6719 test -n "$RSVG" || RSVG="false"
6721 for ac_prog in convert
6723 # Extract the first word of "$ac_prog", so it can be a program name with args.
6724 set dummy $ac_prog; ac_word=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if ${ac_cv_prog_CONVERT+:} false; then :
6728 $as_echo_n "(cached) " >&6
6729 else
6730 if test -n "$CONVERT"; then
6731 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6732 else
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 for as_dir in $PATH
6736 IFS=$as_save_IFS
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6740 ac_cv_prog_CONVERT="$ac_prog"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 break 2
6744 done
6745 done
6746 IFS=$as_save_IFS
6750 CONVERT=$ac_cv_prog_CONVERT
6751 if test -n "$CONVERT"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6753 $as_echo "$CONVERT" >&6; }
6754 else
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6760 test -n "$CONVERT" && break
6761 done
6762 test -n "$CONVERT" || CONVERT="false"
6764 for ac_prog in icotool
6766 # Extract the first word of "$ac_prog", so it can be a program name with args.
6767 set dummy $ac_prog; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if ${ac_cv_prog_ICOTOOL+:} false; then :
6771 $as_echo_n "(cached) " >&6
6772 else
6773 if test -n "$ICOTOOL"; then
6774 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6779 IFS=$as_save_IFS
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_ICOTOOL="$ac_prog"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 break 2
6787 done
6788 done
6789 IFS=$as_save_IFS
6793 ICOTOOL=$ac_cv_prog_ICOTOOL
6794 if test -n "$ICOTOOL"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6796 $as_echo "$ICOTOOL" >&6; }
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6803 test -n "$ICOTOOL" && break
6804 done
6805 test -n "$ICOTOOL" || ICOTOOL="false"
6807 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6808 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6810 if test "$CONVERT" = false
6811 then
6812 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6813 else
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6815 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6816 convert_version=`convert --version | head -n1`
6817 if test "x$convert_version" != "x"
6818 then
6819 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6820 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6821 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6822 then
6823 CONVERT=false
6826 if test "$CONVERT" = false
6827 then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6829 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6830 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6831 else
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6833 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6837 if test "$ICOTOOL" = false
6838 then
6839 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6840 else
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6842 $as_echo_n "checking for recent enough icotool... " >&6; }
6843 icotool_version=`icotool --version | head -n1`
6844 if test "x$icotool_version" != "x"
6845 then
6846 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6847 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6848 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6849 then
6850 ICOTOOL=false
6851 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6854 if test "$ICOTOOL" = false
6855 then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6857 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6858 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6859 else
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6861 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6865 with_gettext=yes
6866 with_gettextpo=yes
6868 enable_werror=yes
6871 test "x$with_gettext" != xno || MSGFMT=false
6872 if test "$MSGFMT" != "false"
6873 then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6875 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6876 if ${wine_cv_msgfmt_contexts+:} false; then :
6877 $as_echo_n "(cached) " >&6
6878 else
6879 cat >conftest.po <<EOF
6880 # comment
6881 msgctxt "ctxt"
6882 msgid "id"
6883 msgstr "str"
6885 if $MSGFMT -o /dev/null conftest.po 2>&5
6886 then
6887 wine_cv_msgfmt_contexts=yes
6888 else
6889 wine_cv_msgfmt_contexts=no
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6893 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6894 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6896 if test "$MSGFMT" = false; then :
6897 case "x$with_gettext" in
6898 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6899 xno) ;;
6900 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6901 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6902 esac
6903 enable_po=${enable_po:-no}
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6908 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6909 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 ac_check_lib_save_LIBS=$LIBS
6913 LIBS="-li386 $LIBS"
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6917 /* Override any GCC internal prototype to avoid an error.
6918 Use char because int might match the return type of a GCC
6919 builtin and then its argument prototype would still apply. */
6920 #ifdef __cplusplus
6921 extern "C"
6922 #endif
6923 char i386_set_ldt ();
6925 main ()
6927 return i386_set_ldt ();
6929 return 0;
6931 _ACEOF
6932 if ac_fn_c_try_link "$LINENO"; then :
6933 ac_cv_lib_i386_i386_set_ldt=yes
6934 else
6935 ac_cv_lib_i386_i386_set_ldt=no
6937 rm -f core conftest.err conftest.$ac_objext \
6938 conftest$ac_exeext conftest.$ac_ext
6939 LIBS=$ac_check_lib_save_LIBS
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6942 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6943 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6944 I386_LIBS="-li386"
6949 OPENGL_LIBS=""
6953 # Check whether --enable-largefile was given.
6954 if test "${enable_largefile+set}" = set; then :
6955 enableval=$enable_largefile;
6958 if test "$enable_largefile" != no; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6961 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6962 if ${ac_cv_sys_largefile_CC+:} false; then :
6963 $as_echo_n "(cached) " >&6
6964 else
6965 ac_cv_sys_largefile_CC=no
6966 if test "$GCC" != yes; then
6967 ac_save_CC=$CC
6968 while :; do
6969 # IRIX 6.2 and later do not support large files by default,
6970 # so use the C compiler's -n32 option if that helps.
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <sys/types.h>
6974 /* Check that off_t can represent 2**63 - 1 correctly.
6975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6976 since some C++ compilers masquerading as C compilers
6977 incorrectly reject 9223372036854775807. */
6978 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6980 && LARGE_OFF_T % 2147483647 == 1)
6981 ? 1 : -1];
6983 main ()
6987 return 0;
6989 _ACEOF
6990 if ac_fn_c_try_compile "$LINENO"; then :
6991 break
6993 rm -f core conftest.err conftest.$ac_objext
6994 CC="$CC -n32"
6995 if ac_fn_c_try_compile "$LINENO"; then :
6996 ac_cv_sys_largefile_CC=' -n32'; break
6998 rm -f core conftest.err conftest.$ac_objext
6999 break
7000 done
7001 CC=$ac_save_CC
7002 rm -f conftest.$ac_ext
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7006 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7007 if test "$ac_cv_sys_largefile_CC" != no; then
7008 CC=$CC$ac_cv_sys_largefile_CC
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7012 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7013 if ${ac_cv_sys_file_offset_bits+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 while :; do
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7019 #include <sys/types.h>
7020 /* Check that off_t can represent 2**63 - 1 correctly.
7021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7022 since some C++ compilers masquerading as C compilers
7023 incorrectly reject 9223372036854775807. */
7024 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7026 && LARGE_OFF_T % 2147483647 == 1)
7027 ? 1 : -1];
7029 main ()
7033 return 0;
7035 _ACEOF
7036 if ac_fn_c_try_compile "$LINENO"; then :
7037 ac_cv_sys_file_offset_bits=no; break
7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 #define _FILE_OFFSET_BITS 64
7043 #include <sys/types.h>
7044 /* Check that off_t can represent 2**63 - 1 correctly.
7045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7046 since some C++ compilers masquerading as C compilers
7047 incorrectly reject 9223372036854775807. */
7048 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7050 && LARGE_OFF_T % 2147483647 == 1)
7051 ? 1 : -1];
7053 main ()
7057 return 0;
7059 _ACEOF
7060 if ac_fn_c_try_compile "$LINENO"; then :
7061 ac_cv_sys_file_offset_bits=64; break
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7064 ac_cv_sys_file_offset_bits=unknown
7065 break
7066 done
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7069 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7070 case $ac_cv_sys_file_offset_bits in #(
7071 no | unknown) ;;
7073 cat >>confdefs.h <<_ACEOF
7074 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7075 _ACEOF
7077 esac
7078 rm -rf conftest*
7079 if test $ac_cv_sys_file_offset_bits = unknown; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7081 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7082 if ${ac_cv_sys_large_files+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 while :; do
7086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7087 /* end confdefs.h. */
7088 #include <sys/types.h>
7089 /* Check that off_t can represent 2**63 - 1 correctly.
7090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7091 since some C++ compilers masquerading as C compilers
7092 incorrectly reject 9223372036854775807. */
7093 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7095 && LARGE_OFF_T % 2147483647 == 1)
7096 ? 1 : -1];
7098 main ()
7102 return 0;
7104 _ACEOF
7105 if ac_fn_c_try_compile "$LINENO"; then :
7106 ac_cv_sys_large_files=no; break
7108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110 /* end confdefs.h. */
7111 #define _LARGE_FILES 1
7112 #include <sys/types.h>
7113 /* Check that off_t can represent 2**63 - 1 correctly.
7114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7115 since some C++ compilers masquerading as C compilers
7116 incorrectly reject 9223372036854775807. */
7117 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7119 && LARGE_OFF_T % 2147483647 == 1)
7120 ? 1 : -1];
7122 main ()
7126 return 0;
7128 _ACEOF
7129 if ac_fn_c_try_compile "$LINENO"; then :
7130 ac_cv_sys_large_files=1; break
7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7133 ac_cv_sys_large_files=unknown
7134 break
7135 done
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7138 $as_echo "$ac_cv_sys_large_files" >&6; }
7139 case $ac_cv_sys_large_files in #(
7140 no | unknown) ;;
7142 cat >>confdefs.h <<_ACEOF
7143 #define _LARGE_FILES $ac_cv_sys_large_files
7144 _ACEOF
7146 esac
7147 rm -rf conftest*
7154 ac_ext=c
7155 ac_cpp='$CPP $CPPFLAGS'
7156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7160 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7161 # On Suns, sometimes $CPP names a directory.
7162 if test -n "$CPP" && test -d "$CPP"; then
7163 CPP=
7165 if test -z "$CPP"; then
7166 if ${ac_cv_prog_CPP+:} false; then :
7167 $as_echo_n "(cached) " >&6
7168 else
7169 # Double quotes because CPP needs to be expanded
7170 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7172 ac_preproc_ok=false
7173 for ac_c_preproc_warn_flag in '' yes
7175 # Use a header file that comes with gcc, so configuring glibc
7176 # with a fresh cross-compiler works.
7177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7178 # <limits.h> exists even on freestanding compilers.
7179 # On the NeXT, cc -E runs the code through the compiler's parser,
7180 # not just through cpp. "Syntax error" is here to catch this case.
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #ifdef __STDC__
7184 # include <limits.h>
7185 #else
7186 # include <assert.h>
7187 #endif
7188 Syntax error
7189 _ACEOF
7190 if ac_fn_c_try_cpp "$LINENO"; then :
7192 else
7193 # Broken: fails on valid input.
7194 continue
7196 rm -f conftest.err conftest.i conftest.$ac_ext
7198 # OK, works on sane cases. Now check whether nonexistent headers
7199 # can be detected and how.
7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7202 #include <ac_nonexistent.h>
7203 _ACEOF
7204 if ac_fn_c_try_cpp "$LINENO"; then :
7205 # Broken: success on invalid input.
7206 continue
7207 else
7208 # Passes both tests.
7209 ac_preproc_ok=:
7210 break
7212 rm -f conftest.err conftest.i conftest.$ac_ext
7214 done
7215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7216 rm -f conftest.i conftest.err conftest.$ac_ext
7217 if $ac_preproc_ok; then :
7218 break
7221 done
7222 ac_cv_prog_CPP=$CPP
7225 CPP=$ac_cv_prog_CPP
7226 else
7227 ac_cv_prog_CPP=$CPP
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7230 $as_echo "$CPP" >&6; }
7231 ac_preproc_ok=false
7232 for ac_c_preproc_warn_flag in '' yes
7234 # Use a header file that comes with gcc, so configuring glibc
7235 # with a fresh cross-compiler works.
7236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7237 # <limits.h> exists even on freestanding compilers.
7238 # On the NeXT, cc -E runs the code through the compiler's parser,
7239 # not just through cpp. "Syntax error" is here to catch this case.
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 #ifdef __STDC__
7243 # include <limits.h>
7244 #else
7245 # include <assert.h>
7246 #endif
7247 Syntax error
7248 _ACEOF
7249 if ac_fn_c_try_cpp "$LINENO"; then :
7251 else
7252 # Broken: fails on valid input.
7253 continue
7255 rm -f conftest.err conftest.i conftest.$ac_ext
7257 # OK, works on sane cases. Now check whether nonexistent headers
7258 # can be detected and how.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <ac_nonexistent.h>
7262 _ACEOF
7263 if ac_fn_c_try_cpp "$LINENO"; then :
7264 # Broken: success on invalid input.
7265 continue
7266 else
7267 # Passes both tests.
7268 ac_preproc_ok=:
7269 break
7271 rm -f conftest.err conftest.i conftest.$ac_ext
7273 done
7274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7275 rm -f conftest.i conftest.err conftest.$ac_ext
7276 if $ac_preproc_ok; then :
7278 else
7279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7281 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7282 See \`config.log' for more details" "$LINENO" 5; }
7285 ac_ext=c
7286 ac_cpp='$CPP $CPPFLAGS'
7287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7293 $as_echo_n "checking for ANSI C header files... " >&6; }
7294 if ${ac_cv_header_stdc+:} false; then :
7295 $as_echo_n "(cached) " >&6
7296 else
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <stdlib.h>
7300 #include <stdarg.h>
7301 #include <string.h>
7302 #include <float.h>
7305 main ()
7309 return 0;
7311 _ACEOF
7312 if ac_fn_c_try_compile "$LINENO"; then :
7313 ac_cv_header_stdc=yes
7314 else
7315 ac_cv_header_stdc=no
7317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319 if test $ac_cv_header_stdc = yes; then
7320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7323 #include <string.h>
7325 _ACEOF
7326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7327 $EGREP "memchr" >/dev/null 2>&1; then :
7329 else
7330 ac_cv_header_stdc=no
7332 rm -f conftest*
7336 if test $ac_cv_header_stdc = yes; then
7337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7339 /* end confdefs.h. */
7340 #include <stdlib.h>
7342 _ACEOF
7343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7344 $EGREP "free" >/dev/null 2>&1; then :
7346 else
7347 ac_cv_header_stdc=no
7349 rm -f conftest*
7353 if test $ac_cv_header_stdc = yes; then
7354 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7355 if test "$cross_compiling" = yes; then :
7357 else
7358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7360 #include <ctype.h>
7361 #include <stdlib.h>
7362 #if ((' ' & 0x0FF) == 0x020)
7363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7365 #else
7366 # define ISLOWER(c) \
7367 (('a' <= (c) && (c) <= 'i') \
7368 || ('j' <= (c) && (c) <= 'r') \
7369 || ('s' <= (c) && (c) <= 'z'))
7370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7371 #endif
7373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7375 main ()
7377 int i;
7378 for (i = 0; i < 256; i++)
7379 if (XOR (islower (i), ISLOWER (i))
7380 || toupper (i) != TOUPPER (i))
7381 return 2;
7382 return 0;
7384 _ACEOF
7385 if ac_fn_c_try_run "$LINENO"; then :
7387 else
7388 ac_cv_header_stdc=no
7390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7391 conftest.$ac_objext conftest.beam conftest.$ac_ext
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7397 $as_echo "$ac_cv_header_stdc" >&6; }
7398 if test $ac_cv_header_stdc = yes; then
7400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7405 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7406 inttypes.h stdint.h unistd.h
7407 do :
7408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7412 cat >>confdefs.h <<_ACEOF
7413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7414 _ACEOF
7418 done
7421 for ac_header in \
7422 AL/al.h \
7423 ApplicationServices/ApplicationServices.h \
7424 AudioToolbox/AudioConverter.h \
7425 AudioUnit/AudioUnit.h \
7426 AudioUnit/AudioComponent.h \
7427 CL/cl.h \
7428 Carbon/Carbon.h \
7429 CommonCrypto/CommonCryptor.h \
7430 CoreAudio/CoreAudio.h \
7431 DiskArbitration/DiskArbitration.h \
7432 EGL/egl.h \
7433 IOKit/IOKitLib.h \
7434 IOKit/hid/IOHIDLib.h \
7435 OpenAL/al.h \
7436 OpenCL/opencl.h \
7437 QuickTime/ImageCompression.h \
7438 Security/Security.h \
7439 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7440 SystemConfiguration/SCNetworkConfiguration.h \
7441 alias.h \
7442 arpa/inet.h \
7443 arpa/nameser.h \
7444 asm/types.h \
7445 asm/user.h \
7446 dirent.h \
7447 dlfcn.h \
7448 elf.h \
7449 float.h \
7450 fnmatch.h \
7451 getopt.h \
7452 gettext-po.h \
7453 grp.h \
7454 gsm.h \
7455 gsm/gsm.h \
7456 ieeefp.h \
7457 inet/mib2.h \
7458 kstat.h \
7459 libproc.h \
7460 link.h \
7461 linux/cdrom.h \
7462 linux/filter.h \
7463 linux/hdreg.h \
7464 linux/hidraw.h \
7465 linux/input.h \
7466 linux/ioctl.h \
7467 linux/joystick.h \
7468 linux/major.h \
7469 linux/param.h \
7470 linux/serial.h \
7471 linux/types.h \
7472 linux/ucdrom.h \
7473 lwp.h \
7474 mach-o/loader.h \
7475 mach/mach.h \
7476 machine/cpu.h \
7477 machine/sysarch.h \
7478 mntent.h \
7479 netdb.h \
7480 netinet/in.h \
7481 netinet/in_systm.h \
7482 netinet/tcp.h \
7483 netinet/tcp_fsm.h \
7484 pcap/pcap.h \
7485 poll.h \
7486 port.h \
7487 pthread.h \
7488 pwd.h \
7489 sasl/sasl.h \
7490 sched.h \
7491 scsi/scsi.h \
7492 scsi/scsi_ioctl.h \
7493 scsi/sg.h \
7494 stdint.h \
7495 stropts.h \
7496 sys/attr.h \
7497 sys/auxv.h \
7498 sys/cdio.h \
7499 sys/epoll.h \
7500 sys/event.h \
7501 sys/filio.h \
7502 sys/ioctl.h \
7503 sys/ipc.h \
7504 sys/link.h \
7505 sys/mman.h \
7506 sys/modem.h \
7507 sys/msg.h \
7508 sys/mtio.h \
7509 sys/param.h \
7510 sys/poll.h \
7511 sys/prctl.h \
7512 sys/protosw.h \
7513 sys/ptrace.h \
7514 sys/queue.h \
7515 sys/random.h \
7516 sys/resource.h \
7517 sys/scsiio.h \
7518 sys/shm.h \
7519 sys/signal.h \
7520 sys/socket.h \
7521 sys/socketvar.h \
7522 sys/sockio.h \
7523 sys/statvfs.h \
7524 sys/strtio.h \
7525 sys/syscall.h \
7526 sys/sysinfo.h \
7527 sys/tihdr.h \
7528 sys/time.h \
7529 sys/timeout.h \
7530 sys/times.h \
7531 sys/uio.h \
7532 sys/user.h \
7533 sys/utsname.h \
7534 sys/vnode.h \
7535 sys/wait.h \
7536 syscall.h \
7537 termios.h \
7538 unistd.h \
7539 utime.h \
7540 valgrind/memcheck.h \
7541 valgrind/valgrind.h
7543 do :
7544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7546 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7547 cat >>confdefs.h <<_ACEOF
7548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7549 _ACEOF
7553 done
7555 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7556 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7558 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7563 if test $ac_cv_header_sys_mkdev_h = no; then
7564 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7565 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7567 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7574 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7575 if ${ac_cv_header_stat_broken+:} false; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7580 #include <sys/types.h>
7581 #include <sys/stat.h>
7583 #if defined S_ISBLK && defined S_IFDIR
7584 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7585 #endif
7587 #if defined S_ISBLK && defined S_IFCHR
7588 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7589 #endif
7591 #if defined S_ISLNK && defined S_IFREG
7592 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7593 #endif
7595 #if defined S_ISSOCK && defined S_IFREG
7596 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7597 #endif
7599 _ACEOF
7600 if ac_fn_c_try_compile "$LINENO"; then :
7601 ac_cv_header_stat_broken=no
7602 else
7603 ac_cv_header_stat_broken=yes
7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7608 $as_echo "$ac_cv_header_stat_broken" >&6; }
7609 if test $ac_cv_header_stat_broken = yes; then
7611 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7617 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7621 #ifdef HAVE_SYS_PARAM_H
7622 # include <sys/param.h>
7623 #endif
7625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7626 cat >>confdefs.h <<_ACEOF
7627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7628 _ACEOF
7632 done
7635 saved_sysctl_h_CFLAGS=$CFLAGS
7636 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7637 for ac_header in sys/sysctl.h
7638 do :
7639 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7640 #ifdef HAVE_SYS_PARAM_H
7641 # include <sys/param.h>
7642 #endif
7644 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7645 cat >>confdefs.h <<_ACEOF
7646 #define HAVE_SYS_SYSCTL_H 1
7647 _ACEOF
7651 done
7653 CFLAGS=$saved_sysctl_h_CFLAGS
7655 for ac_header in \
7656 netinet/ip.h \
7657 net/if.h \
7658 net/if_arp.h \
7659 net/if_dl.h \
7660 net/if_types.h \
7661 net/route.h \
7662 netinet/if_ether.h \
7663 netinet/if_inarp.h \
7664 netinet/in_pcb.h \
7665 netinet/ip_icmp.h \
7666 netinet/ip_var.h \
7667 netinet/udp.h \
7668 netipx/ipx.h \
7669 sys/un.h \
7671 do :
7672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7674 #ifdef HAVE_SYS_SOCKET_H
7675 # include <sys/socket.h>
7676 #endif
7677 #ifdef HAVE_SYS_SOCKETVAR_H
7678 # include <sys/socketvar.h>
7679 #endif
7680 #ifdef HAVE_NET_ROUTE_H
7681 # include <net/route.h>
7682 #endif
7683 #ifdef HAVE_NETINET_IN_H
7684 # include <netinet/in.h>
7685 #endif
7686 #ifdef HAVE_NETINET_IN_SYSTM_H
7687 # include <netinet/in_systm.h>
7688 #endif
7689 #ifdef HAVE_NET_IF_H
7690 # include <net/if.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IP_H
7693 # include <netinet/ip.h>
7694 #endif
7696 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7699 _ACEOF
7703 done
7706 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7707 do :
7708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7709 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7710 #ifdef HAVE_ALIAS_H
7711 # include <alias.h>
7712 #endif
7713 #ifdef HAVE_SYS_SOCKET_H
7714 # include <sys/socket.h>
7715 #endif
7716 #ifdef HAVE_SYS_SOCKETVAR_H
7717 # include <sys/socketvar.h>
7718 #endif
7719 #ifdef HAVE_SYS_TIMEOUT_H
7720 # include <sys/timeout.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IN_H
7723 # include <netinet/in.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IN_SYSTM_H
7726 # include <netinet/in_systm.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IP_H
7729 # include <netinet/ip.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IP_VAR_H
7732 # include <netinet/ip_var.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IP_ICMP_H
7735 # include <netinet/ip_icmp.h>
7736 #endif
7737 #ifdef HAVE_NETINET_UDP_H
7738 # include <netinet/udp.h>
7739 #endif
7740 #ifdef HAVE_NETINET_TCP_H
7741 # include <netinet/tcp.h>
7742 #endif
7743 #ifdef HAVE_NETINET_TCP_TIMER_H
7744 #include <netinet/tcp_timer.h>
7745 #endif
7747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 _ACEOF
7754 done
7757 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7758 do :
7759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7760 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7761 #ifdef HAVE_ASM_TYPES_H
7762 # include <asm/types.h>
7763 #endif
7764 #ifdef HAVE_SYS_SOCKET_H
7765 # include <sys/socket.h>
7766 #endif
7767 #ifdef HAVE_LINUX_TYPES_H
7768 # include <linux/types.h>
7769 #endif
7771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7772 cat >>confdefs.h <<_ACEOF
7773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7774 _ACEOF
7778 done
7781 for ac_header in resolv.h
7782 do :
7783 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7784 #ifdef HAVE_SYS_SOCKET_H
7785 # include <sys/socket.h>
7786 #endif
7787 #ifdef HAVE_NETINET_IN_H
7788 # include <netinet/in.h>
7789 #endif
7790 #ifdef HAVE_ARPA_NAMESER_H
7791 # include <arpa/nameser.h>
7792 #endif
7794 if test "x$ac_cv_header_resolv_h" = xyes; then :
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_RESOLV_H 1
7797 _ACEOF
7801 done
7804 for ac_header in ifaddrs.h
7805 do :
7806 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7808 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7809 cat >>confdefs.h <<_ACEOF
7810 #define HAVE_IFADDRS_H 1
7811 _ACEOF
7815 done
7818 for ac_header in sys/ucontext.h
7819 do :
7820 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7822 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_SYS_UCONTEXT_H 1
7825 _ACEOF
7829 done
7832 for ac_header in sys/thr.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7835 #ifdef HAVE_SYS_UCONTEXT_H
7836 #include <sys/ucontext.h>
7837 #endif
7839 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_SYS_THR_H 1
7842 _ACEOF
7846 done
7849 for ac_header in pthread_np.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7852 #include <pthread.h>
7853 #endif
7855 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7856 cat >>confdefs.h <<_ACEOF
7857 #define HAVE_PTHREAD_NP_H 1
7858 _ACEOF
7862 done
7865 for ac_header in linux/videodev2.h
7866 do :
7867 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7868 #include <sys/time.h>
7869 #endif
7870 #include <sys/types.h>
7871 #ifdef HAVE_ASM_TYPES_H
7872 #include <asm/types.h>
7873 #endif
7875 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7876 cat >>confdefs.h <<_ACEOF
7877 #define HAVE_LINUX_VIDEODEV2_H 1
7878 _ACEOF
7882 done
7885 for ac_header in libprocstat.h
7886 do :
7887 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7888 #include <sys/param.h>
7889 #endif
7890 #ifdef HAVE_SYS_QUEUE_H
7891 #include <sys/queue.h>
7892 #endif
7893 #ifdef HAVE_SYS_SOCKET_H
7894 #include <sys/socket.h>
7895 #endif
7897 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7898 cat >>confdefs.h <<_ACEOF
7899 #define HAVE_LIBPROCSTAT_H 1
7900 _ACEOF
7904 done
7908 DLLFLAGS="-D_REENTRANT"
7910 LDDLLFLAGS=""
7912 LDEXECFLAGS=""
7914 TOP_INSTALL_LIB=""
7916 TOP_INSTALL_DEV=""
7918 WINELOADER_LDFLAGS=""
7920 WINEPRELOADER_LDFLAGS=""
7922 LIBEXT="so"
7923 DLLEXT=".so"
7924 # Extract the first word of "ldd", so it can be a program name with args.
7925 set dummy ldd; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 $as_echo_n "checking for $ac_word... " >&6; }
7928 if ${ac_cv_path_LDD+:} false; then :
7929 $as_echo_n "(cached) " >&6
7930 else
7931 case $LDD in
7932 [\\/]* | ?:[\\/]*)
7933 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 as_dummy="/sbin:/usr/sbin:$PATH"
7938 for as_dir in $as_dummy
7940 IFS=$as_save_IFS
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 break 2
7948 done
7949 done
7950 IFS=$as_save_IFS
7952 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7954 esac
7956 LDD=$ac_cv_path_LDD
7957 if test -n "$LDD"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7959 $as_echo "$LDD" >&6; }
7960 else
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7966 if test -n "$ac_tool_prefix"; then
7967 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7968 set dummy ${ac_tool_prefix}otool; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7970 $as_echo_n "checking for $ac_word... " >&6; }
7971 if ${ac_cv_prog_OTOOL+:} false; then :
7972 $as_echo_n "(cached) " >&6
7973 else
7974 if test -n "$OTOOL"; then
7975 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7976 else
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 for as_dir in $PATH
7980 IFS=$as_save_IFS
7981 test -z "$as_dir" && as_dir=.
7982 for ac_exec_ext in '' $ac_executable_extensions; do
7983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7984 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7986 break 2
7988 done
7989 done
7990 IFS=$as_save_IFS
7994 OTOOL=$ac_cv_prog_OTOOL
7995 if test -n "$OTOOL"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7997 $as_echo "$OTOOL" >&6; }
7998 else
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8005 if test -z "$ac_cv_prog_OTOOL"; then
8006 ac_ct_OTOOL=$OTOOL
8007 # Extract the first word of "otool", so it can be a program name with args.
8008 set dummy otool; ac_word=$2
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8010 $as_echo_n "checking for $ac_word... " >&6; }
8011 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8012 $as_echo_n "(cached) " >&6
8013 else
8014 if test -n "$ac_ct_OTOOL"; then
8015 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8016 else
8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 for as_dir in $PATH
8020 IFS=$as_save_IFS
8021 test -z "$as_dir" && as_dir=.
8022 for ac_exec_ext in '' $ac_executable_extensions; do
8023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8024 ac_cv_prog_ac_ct_OTOOL="otool"
8025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8026 break 2
8028 done
8029 done
8030 IFS=$as_save_IFS
8034 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8035 if test -n "$ac_ct_OTOOL"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8037 $as_echo "$ac_ct_OTOOL" >&6; }
8038 else
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8040 $as_echo "no" >&6; }
8043 if test "x$ac_ct_OTOOL" = x; then
8044 OTOOL="otool"
8045 else
8046 case $cross_compiling:$ac_tool_warned in
8047 yes:)
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8050 ac_tool_warned=yes ;;
8051 esac
8052 OTOOL=$ac_ct_OTOOL
8054 else
8055 OTOOL="$ac_cv_prog_OTOOL"
8058 if test -n "$ac_tool_prefix"; then
8059 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8060 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_prog_READELF+:} false; then :
8064 $as_echo_n "(cached) " >&6
8065 else
8066 if test -n "$READELF"; then
8067 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8068 else
8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070 for as_dir in $PATH
8072 IFS=$as_save_IFS
8073 test -z "$as_dir" && as_dir=.
8074 for ac_exec_ext in '' $ac_executable_extensions; do
8075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8076 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 break 2
8080 done
8081 done
8082 IFS=$as_save_IFS
8086 READELF=$ac_cv_prog_READELF
8087 if test -n "$READELF"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8089 $as_echo "$READELF" >&6; }
8090 else
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8097 if test -z "$ac_cv_prog_READELF"; then
8098 ac_ct_READELF=$READELF
8099 # Extract the first word of "readelf", so it can be a program name with args.
8100 set dummy readelf; ac_word=$2
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8102 $as_echo_n "checking for $ac_word... " >&6; }
8103 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8104 $as_echo_n "(cached) " >&6
8105 else
8106 if test -n "$ac_ct_READELF"; then
8107 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8108 else
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8110 for as_dir in $PATH
8112 IFS=$as_save_IFS
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_prog_ac_ct_READELF="readelf"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8118 break 2
8120 done
8121 done
8122 IFS=$as_save_IFS
8126 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8127 if test -n "$ac_ct_READELF"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8129 $as_echo "$ac_ct_READELF" >&6; }
8130 else
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8132 $as_echo "no" >&6; }
8135 if test "x$ac_ct_READELF" = x; then
8136 READELF="true"
8137 else
8138 case $cross_compiling:$ac_tool_warned in
8139 yes:)
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8142 ac_tool_warned=yes ;;
8143 esac
8144 READELF=$ac_ct_READELF
8146 else
8147 READELF="$ac_cv_prog_READELF"
8150 wine_rules_file=conf$$rules.make
8151 rm -f $wine_rules_file
8152 SUBDIRS=""
8154 DISABLED_SUBDIRS=""
8156 CONFIGURE_TARGETS=""
8159 wine_fn_append_file ()
8161 as_fn_append $1 " \\$as_nl $2"
8164 wine_fn_append_rule ()
8166 $as_echo "$1" >>$wine_rules_file
8169 wine_fn_config_makefile ()
8171 wine_fn_append_file SUBDIRS $1
8172 if eval test \"x\$"$2"\" = x"no"; then :
8173 wine_fn_append_file DISABLED_SUBDIRS $1
8177 wine_fn_config_symlink ()
8179 ac_links=$@
8180 wine_fn_append_rule \
8181 "$ac_links:
8182 @./config.status \$@"
8183 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8186 wine_binary="wine"
8187 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8188 WINELOADER_PROGRAMS="$wine_binary"
8190 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8192 case $host_os in
8193 cygwin*|mingw32*)
8194 if test -n "$ac_tool_prefix"; then
8195 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8196 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198 $as_echo_n "checking for $ac_word... " >&6; }
8199 if ${ac_cv_prog_DLLTOOL+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 if test -n "$DLLTOOL"; then
8203 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8204 else
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 for as_dir in $PATH
8208 IFS=$as_save_IFS
8209 test -z "$as_dir" && as_dir=.
8210 for ac_exec_ext in '' $ac_executable_extensions; do
8211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8212 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8214 break 2
8216 done
8217 done
8218 IFS=$as_save_IFS
8222 DLLTOOL=$ac_cv_prog_DLLTOOL
8223 if test -n "$DLLTOOL"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8225 $as_echo "$DLLTOOL" >&6; }
8226 else
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8233 if test -z "$ac_cv_prog_DLLTOOL"; then
8234 ac_ct_DLLTOOL=$DLLTOOL
8235 # Extract the first word of "dlltool", so it can be a program name with args.
8236 set dummy dlltool; ac_word=$2
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8238 $as_echo_n "checking for $ac_word... " >&6; }
8239 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8240 $as_echo_n "(cached) " >&6
8241 else
8242 if test -n "$ac_ct_DLLTOOL"; then
8243 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8244 else
8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8246 for as_dir in $PATH
8248 IFS=$as_save_IFS
8249 test -z "$as_dir" && as_dir=.
8250 for ac_exec_ext in '' $ac_executable_extensions; do
8251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8252 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 break 2
8256 done
8257 done
8258 IFS=$as_save_IFS
8262 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8263 if test -n "$ac_ct_DLLTOOL"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8265 $as_echo "$ac_ct_DLLTOOL" >&6; }
8266 else
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8268 $as_echo "no" >&6; }
8271 if test "x$ac_ct_DLLTOOL" = x; then
8272 DLLTOOL="false"
8273 else
8274 case $cross_compiling:$ac_tool_warned in
8275 yes:)
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8278 ac_tool_warned=yes ;;
8279 esac
8280 DLLTOOL=$ac_ct_DLLTOOL
8282 else
8283 DLLTOOL="$ac_cv_prog_DLLTOOL"
8286 LIBEXT="dll"
8287 DLLEXT=""
8288 case $host_cpu in
8289 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8290 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8291 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 ac_wine_try_cflags_saved=$CFLAGS
8295 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8298 int main(int argc, char **argv) { return 0; }
8299 _ACEOF
8300 if ac_fn_c_try_link "$LINENO"; then :
8301 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8302 else
8303 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8305 rm -f core conftest.err conftest.$ac_objext \
8306 conftest$ac_exeext conftest.$ac_ext
8307 CFLAGS=$ac_wine_try_cflags_saved
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8310 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8311 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8312 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8313 fi ;;
8314 esac
8315 enable_iphlpapi=${enable_iphlpapi:-no}
8316 enable_ws2_32=${enable_ws2_32:-no}
8317 enable_loader=${enable_loader:-no}
8318 enable_server=${enable_server:-no}
8319 with_x=${with_x:-no}
8320 with_pthread=${with_pthread:-no}
8323 darwin*|macosx*)
8324 ac_ext=m
8325 ac_cpp='$OBJCPP $CPPFLAGS'
8326 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8327 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8328 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8330 ac_ext=m
8331 ac_cpp='$OBJCPP $CPPFLAGS'
8332 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8335 if test -n "$ac_tool_prefix"; then
8336 for ac_prog in gcc objcc objc cc CC
8338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8341 $as_echo_n "checking for $ac_word... " >&6; }
8342 if ${ac_cv_prog_OBJC+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 if test -n "$OBJC"; then
8346 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8347 else
8348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 for as_dir in $PATH
8351 IFS=$as_save_IFS
8352 test -z "$as_dir" && as_dir=.
8353 for ac_exec_ext in '' $ac_executable_extensions; do
8354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8355 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8357 break 2
8359 done
8360 done
8361 IFS=$as_save_IFS
8365 OBJC=$ac_cv_prog_OBJC
8366 if test -n "$OBJC"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8368 $as_echo "$OBJC" >&6; }
8369 else
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8375 test -n "$OBJC" && break
8376 done
8378 if test -z "$OBJC"; then
8379 ac_ct_OBJC=$OBJC
8380 for ac_prog in gcc objcc objc cc CC
8382 # Extract the first word of "$ac_prog", so it can be a program name with args.
8383 set dummy $ac_prog; ac_word=$2
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8385 $as_echo_n "checking for $ac_word... " >&6; }
8386 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8387 $as_echo_n "(cached) " >&6
8388 else
8389 if test -n "$ac_ct_OBJC"; then
8390 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8391 else
8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8393 for as_dir in $PATH
8395 IFS=$as_save_IFS
8396 test -z "$as_dir" && as_dir=.
8397 for ac_exec_ext in '' $ac_executable_extensions; do
8398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8399 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401 break 2
8403 done
8404 done
8405 IFS=$as_save_IFS
8409 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8410 if test -n "$ac_ct_OBJC"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8412 $as_echo "$ac_ct_OBJC" >&6; }
8413 else
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8419 test -n "$ac_ct_OBJC" && break
8420 done
8422 if test "x$ac_ct_OBJC" = x; then
8423 OBJC="gcc"
8424 else
8425 case $cross_compiling:$ac_tool_warned in
8426 yes:)
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8429 ac_tool_warned=yes ;;
8430 esac
8431 OBJC=$ac_ct_OBJC
8435 # Provide some information about the compiler.
8436 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8437 set X $ac_compile
8438 ac_compiler=$2
8439 for ac_option in --version -v -V -qversion; do
8440 { { ac_try="$ac_compiler $ac_option >&5"
8441 case "(($ac_try" in
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8444 esac
8445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8446 $as_echo "$ac_try_echo"; } >&5
8447 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8448 ac_status=$?
8449 if test -s conftest.err; then
8450 sed '10a\
8451 ... rest of stderr output deleted ...
8452 10q' conftest.err >conftest.er1
8453 cat conftest.er1 >&5
8455 rm -f conftest.er1 conftest.err
8456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8457 test $ac_status = 0; }
8458 done
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8461 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8462 if ${ac_cv_objc_compiler_gnu+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8469 main ()
8471 #ifndef __GNUC__
8472 choke me
8473 #endif
8476 return 0;
8478 _ACEOF
8479 if ac_fn_objc_try_compile "$LINENO"; then :
8480 ac_compiler_gnu=yes
8481 else
8482 ac_compiler_gnu=no
8484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8485 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8489 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8490 if test $ac_compiler_gnu = yes; then
8491 GOBJC=yes
8492 else
8493 GOBJC=
8495 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8496 ac_save_OBJCFLAGS=$OBJCFLAGS
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8498 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8499 if ${ac_cv_prog_objc_g+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 ac_save_objc_werror_flag=$ac_objc_werror_flag
8503 ac_objc_werror_flag=yes
8504 ac_cv_prog_objc_g=no
8505 OBJCFLAGS="-g"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8510 main ()
8514 return 0;
8516 _ACEOF
8517 if ac_fn_objc_try_compile "$LINENO"; then :
8518 ac_cv_prog_objc_g=yes
8519 else
8520 OBJCFLAGS=""
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8525 main ()
8529 return 0;
8531 _ACEOF
8532 if ac_fn_objc_try_compile "$LINENO"; then :
8534 else
8535 ac_objc_werror_flag=$ac_save_objc_werror_flag
8536 OBJCFLAGS="-g"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8541 main ()
8545 return 0;
8547 _ACEOF
8548 if ac_fn_objc_try_compile "$LINENO"; then :
8549 ac_cv_prog_objc_g=yes
8551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 ac_objc_werror_flag=$ac_save_objc_werror_flag
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8559 $as_echo "$ac_cv_prog_objc_g" >&6; }
8560 if test "$ac_test_OBJCFLAGS" = set; then
8561 OBJCFLAGS=$ac_save_OBJCFLAGS
8562 elif test $ac_cv_prog_objc_g = yes; then
8563 if test "$GOBJC" = yes; then
8564 OBJCFLAGS="-g -O2"
8565 else
8566 OBJCFLAGS="-g"
8568 else
8569 if test "$GOBJC" = yes; then
8570 OBJCFLAGS="-O2"
8571 else
8572 OBJCFLAGS=
8575 ac_ext=m
8576 ac_cpp='$OBJCPP $CPPFLAGS'
8577 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8578 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8579 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8582 ac_ext=m
8583 ac_cpp='$OBJCPP $CPPFLAGS'
8584 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8588 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8589 if test -z "$OBJCPP"; then
8590 if ${ac_cv_prog_OBJCPP+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 # Double quotes because OBJCPP needs to be expanded
8594 for OBJCPP in "$OBJC -E" "/lib/cpp"
8596 ac_preproc_ok=false
8597 for ac_objc_preproc_warn_flag in '' yes
8599 # Use a header file that comes with gcc, so configuring glibc
8600 # with a fresh cross-compiler works.
8601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8602 # <limits.h> exists even on freestanding compilers.
8603 # On the NeXT, cc -E runs the code through the compiler's parser,
8604 # not just through cpp. "Syntax error" is here to catch this case.
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8607 #ifdef __STDC__
8608 # include <limits.h>
8609 #else
8610 # include <assert.h>
8611 #endif
8612 Syntax error
8613 _ACEOF
8614 if ac_fn_objc_try_cpp "$LINENO"; then :
8616 else
8617 # Broken: fails on valid input.
8618 continue
8620 rm -f conftest.err conftest.i conftest.$ac_ext
8622 # OK, works on sane cases. Now check whether nonexistent headers
8623 # can be detected and how.
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 #include <ac_nonexistent.h>
8627 _ACEOF
8628 if ac_fn_objc_try_cpp "$LINENO"; then :
8629 # Broken: success on invalid input.
8630 continue
8631 else
8632 # Passes both tests.
8633 ac_preproc_ok=:
8634 break
8636 rm -f conftest.err conftest.i conftest.$ac_ext
8638 done
8639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8640 rm -f conftest.i conftest.err conftest.$ac_ext
8641 if $ac_preproc_ok; then :
8642 break
8645 done
8646 ac_cv_prog_OBJCPP=$OBJCPP
8649 OBJCPP=$ac_cv_prog_OBJCPP
8650 else
8651 ac_cv_prog_OBJCPP=$OBJCPP
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8654 $as_echo "$OBJCPP" >&6; }
8655 ac_preproc_ok=false
8656 for ac_objc_preproc_warn_flag in '' yes
8658 # Use a header file that comes with gcc, so configuring glibc
8659 # with a fresh cross-compiler works.
8660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8661 # <limits.h> exists even on freestanding compilers.
8662 # On the NeXT, cc -E runs the code through the compiler's parser,
8663 # not just through cpp. "Syntax error" is here to catch this case.
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666 #ifdef __STDC__
8667 # include <limits.h>
8668 #else
8669 # include <assert.h>
8670 #endif
8671 Syntax error
8672 _ACEOF
8673 if ac_fn_objc_try_cpp "$LINENO"; then :
8675 else
8676 # Broken: fails on valid input.
8677 continue
8679 rm -f conftest.err conftest.i conftest.$ac_ext
8681 # OK, works on sane cases. Now check whether nonexistent headers
8682 # can be detected and how.
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 #include <ac_nonexistent.h>
8686 _ACEOF
8687 if ac_fn_objc_try_cpp "$LINENO"; then :
8688 # Broken: success on invalid input.
8689 continue
8690 else
8691 # Passes both tests.
8692 ac_preproc_ok=:
8693 break
8695 rm -f conftest.err conftest.i conftest.$ac_ext
8697 done
8698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8699 rm -f conftest.i conftest.err conftest.$ac_ext
8700 if $ac_preproc_ok; then :
8702 else
8703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8705 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8706 See \`config.log' for more details" "$LINENO" 5; }
8709 ac_ext=m
8710 ac_cpp='$OBJCPP $CPPFLAGS'
8711 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8712 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8713 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8716 for ac_header in Metal/Metal.h
8717 do :
8718 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8719 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8720 cat >>confdefs.h <<_ACEOF
8721 #define HAVE_METAL_METAL_H 1
8722 _ACEOF
8726 done
8728 ac_ext=c
8729 ac_cpp='$CPP $CPPFLAGS'
8730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8734 LIBEXT="dylib"
8735 DLLFLAGS="$DLLFLAGS -fPIC"
8736 LDDLLFLAGS="-fPIC"
8737 COREFOUNDATION_LIBS="-framework CoreFoundation"
8739 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8741 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8743 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8745 CORESERVICES_LIBS="-framework CoreServices"
8747 APPKIT_LIBS="-framework AppKit"
8749 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8752 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8754 wine_can_build_preloader=yes
8755 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"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8757 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8758 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 ac_cv_cflags__Wl__no_new_main__e__main=yes
8769 else
8770 ac_cv_cflags__Wl__no_new_main__e__main=no
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8777 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8778 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8779 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8781 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8782 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_wine_try_cflags_saved=$CFLAGS
8786 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8789 int main(int argc, char **argv) { return 0; }
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8793 else
8794 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 CFLAGS=$ac_wine_try_cflags_saved
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8801 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8802 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8803 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8804 else
8805 { $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
8806 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8807 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 int main(int argc, char **argv) { return 0; }
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8818 else
8819 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 { $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
8826 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8827 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8828 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8829 else
8830 wine_can_build_preloader=no
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8835 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8836 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 int main(int argc, char **argv) { return 0; }
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8847 else
8848 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8855 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8856 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8857 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8860 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8861 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_wine_try_cflags_saved=$CFLAGS
8865 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8868 int main(int argc, char **argv) { return 0; }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8872 else
8873 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8875 rm -f core conftest.err conftest.$ac_objext \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8880 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8881 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8882 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8883 else
8884 wine_can_build_preloader=no
8888 if test "$wine_can_build_preloader" = "yes"
8889 then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8891 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8892 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 ac_wine_try_cflags_saved=$CFLAGS
8896 CFLAGS="$CFLAGS -Wl,-no_pie"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 int main(int argc, char **argv) { return 0; }
8900 _ACEOF
8901 if ac_fn_c_try_link "$LINENO"; then :
8902 ac_cv_cflags__Wl__no_pie=yes
8903 else
8904 ac_cv_cflags__Wl__no_pie=no
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 CFLAGS=$ac_wine_try_cflags_saved
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8911 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8912 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8913 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8915 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8916 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8917 else
8918 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8921 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8922 then
8923 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8926 if test "$ac_cv_header_Security_Security_h" = "yes"
8927 then
8928 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8930 ac_save_LIBS="$LIBS"
8931 LIBS="$LIBS $SECURITY_LIBS"
8932 for ac_func in SSLCopyPeerCertificates
8933 do :
8934 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8935 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8936 cat >>confdefs.h <<_ACEOF
8937 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8938 _ACEOF
8941 done
8943 LIBS="$ac_save_LIBS"
8945 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8946 then
8947 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8948 then
8949 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8951 else
8952 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8955 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8956 ac_save_LIBS="$LIBS"
8957 LIBS="$LIBS $COREAUDIO_LIBS"
8958 for ac_func in AUGraphAddNode
8959 do :
8960 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8961 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8962 cat >>confdefs.h <<_ACEOF
8963 #define HAVE_AUGRAPHADDNODE 1
8964 _ACEOF
8967 done
8969 LIBS="$ac_save_LIBS"
8971 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8972 then
8973 OPENAL_LIBS="-framework OpenAL"
8976 cat >>confdefs.h <<_ACEOF
8977 #define HAVE_OPENAL 1
8978 _ACEOF
8980 ac_cv_lib_openal=yes
8982 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8983 then
8984 OPENCL_LIBS="-framework OpenCL"
8986 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8988 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8989 then
8990 ac_save_LIBS="$LIBS"
8991 LIBS="$LIBS $IOKIT_LIBS"
8992 for ac_func in IOHIDManagerCreate
8993 do :
8994 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8995 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8996 cat >>confdefs.h <<_ACEOF
8997 #define HAVE_IOHIDMANAGERCREATE 1
8998 _ACEOF
9001 done
9003 LIBS="$ac_save_LIBS"
9006 if test "x$with_quicktime" != "xno"
9007 then
9008 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9009 then
9010 ac_save_LIBS="$LIBS"
9011 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9013 $as_echo_n "checking for the QuickTime framework... " >&6; }
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9016 #include <QuickTime/ImageCompression.h>
9018 main ()
9020 CodecManagerVersion(NULL);
9022 return 0;
9024 _ACEOF
9025 if ac_fn_c_try_link "$LINENO"; then :
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9027 $as_echo "yes" >&6; }
9028 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9030 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9031 else
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9033 $as_echo "no" >&6; }
9034 ac_cv_header_QuickTime_ImageCompression_h=no
9036 rm -f core conftest.err conftest.$ac_objext \
9037 conftest$ac_exeext conftest.$ac_ext
9038 LIBS="$ac_save_LIBS"
9041 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9042 case "x$with_quicktime" in
9043 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9044 xno) ;;
9045 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9046 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9047 esac
9051 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9052 then
9053 CARBON_LIBS="-framework Carbon"
9056 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9057 then
9058 METAL_LIBS="-framework Metal -framework QuartzCore"
9062 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9063 then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9065 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9066 ac_ext=m
9067 ac_cpp='$OBJCPP $CPPFLAGS'
9068 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9069 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9070 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 #include <Metal/Metal.h>
9076 main ()
9078 id<MTLDevice> device; device.registryID;
9080 return 0;
9082 _ACEOF
9083 if ac_fn_objc_try_compile "$LINENO"; then :
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9085 $as_echo "yes" >&6; }
9087 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9089 else
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9094 ac_ext=c
9095 ac_cpp='$CPP $CPPFLAGS'
9096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9102 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9103 then
9104 ac_save_LIBS="$LIBS"
9105 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9106 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9107 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9108 enable_winemac_drv=${enable_winemac_drv:-yes}
9111 LIBS="$ac_save_LIBS"
9114 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9116 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9118 WINELOADER_DEPENDS="wine_info.plist"
9120 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9123 linux-android*)
9124 DLLFLAGS="$DLLFLAGS -fPIC"
9125 LDDLLFLAGS="-fPIC"
9126 LDEXECFLAGS="-Wl,-pie"
9127 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9129 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9130 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 ac_wine_try_cflags_saved=$CFLAGS
9134 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 int main(int argc, char **argv) { return 0; }
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9141 else
9142 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9144 rm -f core conftest.err conftest.$ac_objext \
9145 conftest$ac_exeext conftest.$ac_ext
9146 CFLAGS=$ac_wine_try_cflags_saved
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9149 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9150 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9151 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9153 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9155 LIBWINE_SHAREDLIB="libwine.so"
9157 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9159 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9162 $as_echo_n "checking for -lEGL... " >&6; }
9163 if ${ac_cv_lib_soname_EGL+:} false; then :
9164 $as_echo_n "(cached) " >&6
9165 else
9166 ac_check_soname_save_LIBS=$LIBS
9167 LIBS="-lEGL $LIBS"
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9171 /* Override any GCC internal prototype to avoid an error.
9172 Use char because int might match the return type of a GCC
9173 builtin and then its argument prototype would still apply. */
9174 #ifdef __cplusplus
9175 extern "C"
9176 #endif
9177 char eglGetProcAddress ();
9179 main ()
9181 return eglGetProcAddress ();
9183 return 0;
9185 _ACEOF
9186 if ac_fn_c_try_link "$LINENO"; then :
9187 case "$LIBEXT" in
9188 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9189 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'` ;;
9190 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9191 if ${ac_cv_lib_soname_EGL:+false} :; then :
9192 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9193 fi ;;
9194 esac
9195 else
9196 ac_cv_lib_soname_EGL=
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 LIBS=$ac_check_soname_save_LIBS
9202 if ${ac_cv_lib_soname_EGL:+false} :; then :
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9204 $as_echo "not found" >&6; }
9206 else
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9208 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9210 cat >>confdefs.h <<_ACEOF
9211 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9212 _ACEOF
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9217 $as_echo_n "checking for -lGLESv2... " >&6; }
9218 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9219 $as_echo_n "(cached) " >&6
9220 else
9221 ac_check_soname_save_LIBS=$LIBS
9222 LIBS="-lGLESv2 $LIBS"
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9229 #ifdef __cplusplus
9230 extern "C"
9231 #endif
9232 char glFlush ();
9234 main ()
9236 return glFlush ();
9238 return 0;
9240 _ACEOF
9241 if ac_fn_c_try_link "$LINENO"; then :
9242 case "$LIBEXT" in
9243 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9244 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'` ;;
9245 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9246 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9247 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9248 fi ;;
9249 esac
9250 else
9251 ac_cv_lib_soname_GLESv2=
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9255 LIBS=$ac_check_soname_save_LIBS
9257 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9259 $as_echo "not found" >&6; }
9261 else
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9263 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9265 cat >>confdefs.h <<_ACEOF
9266 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9267 _ACEOF
9272 if test "x$exec_prefix" = xNONE
9273 then
9274 case $host_cpu in
9275 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9276 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9277 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9278 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9279 esac
9284 case $host_cpu in
9285 *i[3456789]86*)
9286 DLLFLAGS="$DLLFLAGS -fno-PIC"
9287 LDDLLFLAGS="-fno-PIC"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9289 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9290 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_wine_try_cflags_saved=$CFLAGS
9294 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9297 int main(int argc, char **argv) { return 0; }
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9301 else
9302 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 CFLAGS=$ac_wine_try_cflags_saved
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9309 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9310 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9311 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9315 DLLFLAGS="$DLLFLAGS -fPIC"
9316 LDDLLFLAGS="-fPIC" ;;
9317 esac
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9319 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9320 if ${ac_cv_c_dll_gnuelf+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_wine_try_cflags_saved=$CFLAGS
9324 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9327 void myfunc() {}
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9331 else
9332 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 CFLAGS=$ac_wine_try_cflags_saved
9337 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9338 ac_cv_c_dll_gnuelf="yes"
9339 else
9340 ac_cv_c_dll_gnuelf="no"
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9344 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9345 if test "$ac_cv_c_dll_gnuelf" = "yes"
9346 then
9347 LIBWINE_LDFLAGS="-shared"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9349 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9350 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_wine_try_cflags_saved=$CFLAGS
9354 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9357 int main(int argc, char **argv) { return 0; }
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9361 else
9362 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 CFLAGS=$ac_wine_try_cflags_saved
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9369 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9370 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9371 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9372 else
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9374 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9375 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_wine_try_cflags_saved=$CFLAGS
9379 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9382 int main(int argc, char **argv) { return 0; }
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9386 else
9387 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9389 rm -f core conftest.err conftest.$ac_objext \
9390 conftest$ac_exeext conftest.$ac_ext
9391 CFLAGS=$ac_wine_try_cflags_saved
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9394 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9395 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9396 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9400 echo '{ global: *; };' >conftest.map
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9402 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9403 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9414 else
9415 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9422 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9423 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9424 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9426 rm -f conftest.map
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9429 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9430 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9431 $as_echo_n "(cached) " >&6
9432 else
9433 ac_wine_try_cflags_saved=$CFLAGS
9434 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9437 int main(int argc, char **argv) { return 0; }
9438 _ACEOF
9439 if ac_fn_c_try_link "$LINENO"; then :
9440 ac_cv_cflags__Wl___export_dynamic=yes
9441 else
9442 ac_cv_cflags__Wl___export_dynamic=no
9444 rm -f core conftest.err conftest.$ac_objext \
9445 conftest$ac_exeext conftest.$ac_ext
9446 CFLAGS=$ac_wine_try_cflags_saved
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9449 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9450 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9451 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9453 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9455 case $host_cpu in
9456 *i[3456789]86* | x86_64 | *aarch64*)
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9458 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9459 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_wine_try_cflags_saved=$CFLAGS
9463 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9466 int main(int argc, char **argv) { return 0; }
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9470 else
9471 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9478 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9479 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9480 case $host_os in
9481 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9482 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9483 esac
9484 else
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9486 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9487 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9488 $as_echo_n "(cached) " >&6
9489 else
9490 ac_wine_try_cflags_saved=$CFLAGS
9491 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9494 int main(int argc, char **argv) { return 0; }
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"; then :
9497 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9498 else
9499 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 CFLAGS=$ac_wine_try_cflags_saved
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9506 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9507 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9508 case $host_os in
9509 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9510 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9511 esac
9513 # Extract the first word of "prelink", so it can be a program name with args.
9514 set dummy prelink; ac_word=$2
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9516 $as_echo_n "checking for $ac_word... " >&6; }
9517 if ${ac_cv_path_PRELINK+:} false; then :
9518 $as_echo_n "(cached) " >&6
9519 else
9520 case $PRELINK in
9521 [\\/]* | ?:[\\/]*)
9522 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9526 for as_dir in /sbin /usr/sbin $PATH
9528 IFS=$as_save_IFS
9529 test -z "$as_dir" && as_dir=.
9530 for ac_exec_ext in '' $ac_executable_extensions; do
9531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9532 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9534 break 2
9536 done
9537 done
9538 IFS=$as_save_IFS
9540 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9542 esac
9544 PRELINK=$ac_cv_path_PRELINK
9545 if test -n "$PRELINK"; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9547 $as_echo "$PRELINK" >&6; }
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9550 $as_echo "no" >&6; }
9554 if test "x$PRELINK" = xfalse
9555 then
9556 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9560 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9561 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_wine_try_cflags_saved=$CFLAGS
9565 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9568 int main(int argc, char **argv) { return 0; }
9569 _ACEOF
9570 if ac_fn_c_try_link "$LINENO"; then :
9571 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9572 else
9573 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 CFLAGS=$ac_wine_try_cflags_saved
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9580 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9581 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9582 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9585 esac
9587 else
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9589 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9590 if ${ac_cv_c_dll_unixware+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 ac_wine_try_cflags_saved=$CFLAGS
9594 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9597 void myfunc() {}
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9601 else
9602 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 CFLAGS=$ac_wine_try_cflags_saved
9607 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9608 ac_cv_c_dll_unixware="yes"
9609 else
9610 ac_cv_c_dll_unixware="no"
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9614 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9615 if test "$ac_cv_c_dll_unixware" = "yes"
9616 then
9617 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9620 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9622 LIBWINE_DEPENDS="wine.map"
9624 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9626 esac
9628 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9629 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9630 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9631 enable_winemac_drv=${enable_winemac_drv:-no}
9632 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9635 if test "x$with_mingw" != xno
9636 then
9637 case "x$with_mingw" in
9638 x|xyes) case "$host_cpu" in
9639 aarch64*)
9640 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9641 arm*)
9642 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9643 i[3456789]86*)
9644 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
9645 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9646 mingw32-gcc" ;;
9647 x86_64)
9648 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
9649 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9651 ac_prefix_list="" ;;
9652 esac
9653 for ac_prog in $ac_prefix_list
9655 # Extract the first word of "$ac_prog", so it can be a program name with args.
9656 set dummy $ac_prog; ac_word=$2
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9658 $as_echo_n "checking for $ac_word... " >&6; }
9659 if ${ac_cv_prog_CROSSCC+:} false; then :
9660 $as_echo_n "(cached) " >&6
9661 else
9662 if test -n "$CROSSCC"; then
9663 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9664 else
9665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9666 for as_dir in $PATH
9668 IFS=$as_save_IFS
9669 test -z "$as_dir" && as_dir=.
9670 for ac_exec_ext in '' $ac_executable_extensions; do
9671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9672 ac_cv_prog_CROSSCC="$ac_prog"
9673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9674 break 2
9676 done
9677 done
9678 IFS=$as_save_IFS
9682 CROSSCC=$ac_cv_prog_CROSSCC
9683 if test -n "$CROSSCC"; then
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9685 $as_echo "$CROSSCC" >&6; }
9686 else
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9688 $as_echo "no" >&6; }
9692 test -n "$CROSSCC" && break
9693 done
9694 test -n "$CROSSCC" || CROSSCC="false"
9696 *) CROSSCC=$with_mingw ;;
9697 esac
9698 if test "$CROSSCC" != "false"
9699 then
9700 ac_save_CC="$CC"
9701 saved_CFLAGS=$CFLAGS
9702 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9704 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9708 CC="$CROSSCC"
9709 CFLAGS=$CROSSCFLAGS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9711 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9712 if ${wine_cv_crosscc+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9719 main ()
9723 return 0;
9725 _ACEOF
9726 if ac_fn_c_try_compile "$LINENO"; then :
9727 wine_cv_crosscc=yes
9728 else
9729 wine_cv_crosscc=no
9731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9734 $as_echo "$wine_cv_crosscc" >&6; }
9735 if test $wine_cv_crosscc = yes
9736 then
9737 set x $CROSSCC
9738 shift
9739 while test $# -ge 1
9741 case "$1" in
9742 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9743 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9744 esac
9745 shift
9746 done
9748 llvm_target=$CROSSTARGET
9749 llvm_cflags="-fuse-ld=lld"
9750 if test -z "$llvm_target"
9751 then
9752 case $host_cpu in
9753 *i[3456789]86*) llvm_target=i686-windows ;;
9754 *) llvm_target=$host_cpu-windows ;;
9755 esac
9757 case $llvm_target in
9758 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9759 esac
9760 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9762 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9763 if eval \${$as_ac_var+:} false; then :
9764 $as_echo_n "(cached) " >&6
9765 else
9766 ac_wine_try_cflags_saved=$CFLAGS
9767 ac_wine_try_cflags_saved_cc=$CC
9768 ac_wine_try_cflags_saved_exeext=$ac_exeext
9769 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9770 CC="$CROSSCC"
9771 ac_exeext=".exe"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9774 int __cdecl mainCRTStartup(void) { return 0; }
9775 _ACEOF
9776 if ac_fn_c_try_link "$LINENO"; then :
9777 eval "$as_ac_var=yes"
9778 else
9779 eval "$as_ac_var=no"
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 CFLAGS=$ac_wine_try_cflags_saved
9784 CC=$ac_wine_try_cflags_saved_cc
9785 ac_exeext=$ac_wine_try_cflags_saved_exeext
9787 eval ac_res=\$$as_ac_var
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9789 $as_echo "$ac_res" >&6; }
9790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9791 CROSSTARGET=$llvm_target
9792 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9793 DELAYLOADFLAG="-Wl,-delayload,"
9795 CFLAGS="$CFLAGS $llvm_cflags"
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9799 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9800 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9801 $as_echo_n "(cached) " >&6
9802 else
9803 ac_wine_try_cflags_saved=$CFLAGS
9804 ac_wine_try_cflags_saved_cc=$CC
9805 ac_wine_try_cflags_saved_exeext=$ac_exeext
9806 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9807 CC="$CROSSCC"
9808 ac_exeext=".exe"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9811 int __cdecl mainCRTStartup(void) { return 0; }
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"; then :
9814 ac_cv_crosscflags__fno_strict_aliasing=yes
9815 else
9816 ac_cv_crosscflags__fno_strict_aliasing=no
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 CFLAGS=$ac_wine_try_cflags_saved
9821 CC=$ac_wine_try_cflags_saved_cc
9822 ac_exeext=$ac_wine_try_cflags_saved_exeext
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9825 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9826 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9827 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9830 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9831 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_wine_try_cflags_saved=$CFLAGS
9835 ac_wine_try_cflags_saved_cc=$CC
9836 ac_wine_try_cflags_saved_exeext=$ac_exeext
9837 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9838 CC="$CROSSCC"
9839 ac_exeext=".exe"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9842 int __cdecl mainCRTStartup(void) { return 0; }
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9846 else
9847 ac_cv_crosscflags__Werror_unknown_warning_option=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 CFLAGS=$ac_wine_try_cflags_saved
9852 CC=$ac_wine_try_cflags_saved_cc
9853 ac_exeext=$ac_wine_try_cflags_saved_exeext
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9856 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9857 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9858 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9861 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9862 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_wine_try_cflags_saved=$CFLAGS
9866 ac_wine_try_cflags_saved_cc=$CC
9867 ac_wine_try_cflags_saved_exeext=$ac_exeext
9868 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9869 CC="$CROSSCC"
9870 ac_exeext=".exe"
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9873 int __cdecl mainCRTStartup(void) { return 0; }
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9877 else
9878 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 CFLAGS=$ac_wine_try_cflags_saved
9883 CC=$ac_wine_try_cflags_saved_cc
9884 ac_exeext=$ac_wine_try_cflags_saved_exeext
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9887 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9888 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9889 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9892 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9893 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_wine_try_cflags_saved=$CFLAGS
9897 ac_wine_try_cflags_saved_cc=$CC
9898 ac_wine_try_cflags_saved_exeext=$ac_exeext
9899 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9900 CC="$CROSSCC"
9901 ac_exeext=".exe"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 int __cdecl mainCRTStartup(void) { return 0; }
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9908 else
9909 ac_cv_crosscflags__Wdeclaration_after_statement=no
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 CFLAGS=$ac_wine_try_cflags_saved
9914 CC=$ac_wine_try_cflags_saved_cc
9915 ac_exeext=$ac_wine_try_cflags_saved_exeext
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9918 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9919 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9920 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9923 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9924 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 ac_wine_try_cflags_saved_cc=$CC
9929 ac_wine_try_cflags_saved_exeext=$ac_exeext
9930 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9931 CC="$CROSSCC"
9932 ac_exeext=".exe"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int __cdecl mainCRTStartup(void) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_crosscflags__Wempty_body=yes
9939 else
9940 ac_cv_crosscflags__Wempty_body=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9945 CC=$ac_wine_try_cflags_saved_cc
9946 ac_exeext=$ac_wine_try_cflags_saved_exeext
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9949 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9950 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9951 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9954 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9955 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 ac_wine_try_cflags_saved_cc=$CC
9960 ac_wine_try_cflags_saved_exeext=$ac_exeext
9961 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9962 CC="$CROSSCC"
9963 ac_exeext=".exe"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9966 int __cdecl mainCRTStartup(void) { return 0; }
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_crosscflags__Wignored_qualifiers=yes
9970 else
9971 ac_cv_crosscflags__Wignored_qualifiers=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 CFLAGS=$ac_wine_try_cflags_saved
9976 CC=$ac_wine_try_cflags_saved_cc
9977 ac_exeext=$ac_wine_try_cflags_saved_exeext
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9980 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9981 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9985 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9986 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_wine_try_cflags_saved=$CFLAGS
9990 ac_wine_try_cflags_saved_cc=$CC
9991 ac_wine_try_cflags_saved_exeext=$ac_exeext
9992 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9993 CC="$CROSSCC"
9994 ac_exeext=".exe"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 int __cdecl mainCRTStartup(void) { return 0; }
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 ac_cv_crosscflags__Wpacked_not_aligned=yes
10001 else
10002 ac_cv_crosscflags__Wpacked_not_aligned=no
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 CFLAGS=$ac_wine_try_cflags_saved
10007 CC=$ac_wine_try_cflags_saved_cc
10008 ac_exeext=$ac_wine_try_cflags_saved_exeext
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10011 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10012 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10013 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10016 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10017 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10018 $as_echo_n "(cached) " >&6
10019 else
10020 ac_wine_try_cflags_saved=$CFLAGS
10021 ac_wine_try_cflags_saved_cc=$CC
10022 ac_wine_try_cflags_saved_exeext=$ac_exeext
10023 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10024 CC="$CROSSCC"
10025 ac_exeext=".exe"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 int __cdecl mainCRTStartup(void) { return 0; }
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 ac_cv_crosscflags__Wpragma_pack=yes
10032 else
10033 ac_cv_crosscflags__Wpragma_pack=no
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 CFLAGS=$ac_wine_try_cflags_saved
10038 CC=$ac_wine_try_cflags_saved_cc
10039 ac_exeext=$ac_wine_try_cflags_saved_exeext
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10042 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10043 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10044 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10047 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10048 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_wine_try_cflags_saved=$CFLAGS
10052 ac_wine_try_cflags_saved_cc=$CC
10053 ac_wine_try_cflags_saved_exeext=$ac_exeext
10054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10055 CC="$CROSSCC"
10056 ac_exeext=".exe"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 int __cdecl mainCRTStartup(void) { return 0; }
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 ac_cv_crosscflags__Wshift_overflow_2=yes
10063 else
10064 ac_cv_crosscflags__Wshift_overflow_2=no
10066 rm -f core conftest.err conftest.$ac_objext \
10067 conftest$ac_exeext conftest.$ac_ext
10068 CFLAGS=$ac_wine_try_cflags_saved
10069 CC=$ac_wine_try_cflags_saved_cc
10070 ac_exeext=$ac_wine_try_cflags_saved_exeext
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10073 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10074 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10078 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10079 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_wine_try_cflags_saved=$CFLAGS
10083 ac_wine_try_cflags_saved_cc=$CC
10084 ac_wine_try_cflags_saved_exeext=$ac_exeext
10085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10086 CC="$CROSSCC"
10087 ac_exeext=".exe"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 int __cdecl mainCRTStartup(void) { return 0; }
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_crosscflags__Wstrict_prototypes=yes
10094 else
10095 ac_cv_crosscflags__Wstrict_prototypes=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 CFLAGS=$ac_wine_try_cflags_saved
10100 CC=$ac_wine_try_cflags_saved_cc
10101 ac_exeext=$ac_wine_try_cflags_saved_exeext
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10104 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10105 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10109 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10110 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_wine_try_cflags_saved=$CFLAGS
10114 ac_wine_try_cflags_saved_cc=$CC
10115 ac_wine_try_cflags_saved_exeext=$ac_exeext
10116 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10117 CC="$CROSSCC"
10118 ac_exeext=".exe"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int __cdecl mainCRTStartup(void) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"; then :
10124 ac_cv_crosscflags__Wtype_limits=yes
10125 else
10126 ac_cv_crosscflags__Wtype_limits=no
10128 rm -f core conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10131 CC=$ac_wine_try_cflags_saved_cc
10132 ac_exeext=$ac_wine_try_cflags_saved_exeext
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10135 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10136 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10137 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10140 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10141 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_wine_try_cflags_saved=$CFLAGS
10145 ac_wine_try_cflags_saved_cc=$CC
10146 ac_wine_try_cflags_saved_exeext=$ac_exeext
10147 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10148 CC="$CROSSCC"
10149 ac_exeext=".exe"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int __cdecl mainCRTStartup(void) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10156 else
10157 ac_cv_crosscflags__Wunused_but_set_parameter=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 CFLAGS=$ac_wine_try_cflags_saved
10162 CC=$ac_wine_try_cflags_saved_cc
10163 ac_exeext=$ac_wine_try_cflags_saved_exeext
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10166 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10167 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10168 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10171 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10172 if ${ac_cv_crosscflags__Wvla+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 ac_wine_try_cflags_saved_cc=$CC
10177 ac_wine_try_cflags_saved_exeext=$ac_exeext
10178 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10179 CC="$CROSSCC"
10180 ac_exeext=".exe"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 int __cdecl mainCRTStartup(void) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_crosscflags__Wvla=yes
10187 else
10188 ac_cv_crosscflags__Wvla=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10193 CC=$ac_wine_try_cflags_saved_cc
10194 ac_exeext=$ac_wine_try_cflags_saved_exeext
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10197 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10198 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10199 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10202 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10203 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 ac_wine_try_cflags_saved_cc=$CC
10208 ac_wine_try_cflags_saved_exeext=$ac_exeext
10209 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10210 CC="$CROSSCC"
10211 ac_exeext=".exe"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int __cdecl mainCRTStartup(void) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_crosscflags__Wwrite_strings=yes
10218 else
10219 ac_cv_crosscflags__Wwrite_strings=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10224 CC=$ac_wine_try_cflags_saved_cc
10225 ac_exeext=$ac_wine_try_cflags_saved_exeext
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10228 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10229 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10230 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10233 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10234 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 ac_wine_try_cflags_saved_cc=$CC
10239 ac_wine_try_cflags_saved_exeext=$ac_exeext
10240 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10241 CC="$CROSSCC"
10242 ac_exeext=".exe"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int __cdecl mainCRTStartup(void) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 ac_cv_crosscflags__Wpointer_arith=yes
10249 else
10250 ac_cv_crosscflags__Wpointer_arith=no
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10255 CC=$ac_wine_try_cflags_saved_cc
10256 ac_exeext=$ac_wine_try_cflags_saved_exeext
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10259 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10260 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10261 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10264 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10265 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_wine_try_cflags_saved=$CFLAGS
10269 ac_wine_try_cflags_saved_cc=$CC
10270 ac_wine_try_cflags_saved_exeext=$ac_exeext
10271 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10272 CC="$CROSSCC"
10273 ac_exeext=".exe"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 int __cdecl mainCRTStartup(void) { return 0; }
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 ac_cv_crosscflags__Wlogical_op=yes
10280 else
10281 ac_cv_crosscflags__Wlogical_op=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 CFLAGS=$ac_wine_try_cflags_saved
10286 CC=$ac_wine_try_cflags_saved_cc
10287 ac_exeext=$ac_wine_try_cflags_saved_exeext
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10290 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10291 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10292 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10295 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10296 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10297 $as_echo_n "(cached) " >&6
10298 else
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 ac_wine_try_cflags_saved_cc=$CC
10301 ac_wine_try_cflags_saved_exeext=$ac_exeext
10302 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10303 CC="$CROSSCC"
10304 ac_exeext=".exe"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 int __cdecl mainCRTStartup(void) { return 0; }
10308 _ACEOF
10309 if ac_fn_c_try_link "$LINENO"; then :
10310 ac_cv_crosscflags__Wabsolute_value=yes
10311 else
10312 ac_cv_crosscflags__Wabsolute_value=no
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 CFLAGS=$ac_wine_try_cflags_saved
10317 CC=$ac_wine_try_cflags_saved_cc
10318 ac_exeext=$ac_wine_try_cflags_saved_exeext
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10321 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10322 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10323 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10326 case $host_cpu in
10327 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10329 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} 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 -fno-omit-frame-pointer"
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__fno_omit_frame_pointer=yes
10344 else
10345 ac_cv_crosscflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
10354 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10355 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10357 fi ;;
10358 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10360 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__Wno_format=yes
10375 else
10376 ac_cv_crosscflags__Wno_format=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10385 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10386 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10391 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int __cdecl mainCRTStartup(void) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__Wformat_overflow=yes
10406 else
10407 ac_cv_crosscflags__Wformat_overflow=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10416 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10417 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10421 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10422 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10423 $as_echo_n "(cached) " >&6
10424 else
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 ac_wine_try_cflags_saved_cc=$CC
10427 ac_wine_try_cflags_saved_exeext=$ac_exeext
10428 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10429 CC="$CROSSCC"
10430 ac_exeext=".exe"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 int __cdecl mainCRTStartup(void) { return 0; }
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 ac_cv_crosscflags__Wnonnull=yes
10437 else
10438 ac_cv_crosscflags__Wnonnull=no
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 CFLAGS=$ac_wine_try_cflags_saved
10443 CC=$ac_wine_try_cflags_saved_cc
10444 ac_exeext=$ac_wine_try_cflags_saved_exeext
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10447 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10448 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10449 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10452 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10453 if ${ac_cv_crosscflags__mcx16+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_wine_try_cflags_saved=$CFLAGS
10457 ac_wine_try_cflags_saved_cc=$CC
10458 ac_wine_try_cflags_saved_exeext=$ac_exeext
10459 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10460 CC="$CROSSCC"
10461 ac_exeext=".exe"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10464 int __cdecl mainCRTStartup(void) { return 0; }
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 ac_cv_crosscflags__mcx16=yes
10468 else
10469 ac_cv_crosscflags__mcx16=no
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 CFLAGS=$ac_wine_try_cflags_saved
10474 CC=$ac_wine_try_cflags_saved_cc
10475 ac_exeext=$ac_wine_try_cflags_saved_exeext
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10478 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10479 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10480 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10481 fi ;;
10482 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10483 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10484 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10485 $as_echo_n "(cached) " >&6
10486 else
10487 ac_wine_try_cflags_saved=$CFLAGS
10488 ac_wine_try_cflags_saved_cc=$CC
10489 ac_wine_try_cflags_saved_exeext=$ac_exeext
10490 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10491 CC="$CROSSCC"
10492 ac_exeext=".exe"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10495 int __cdecl mainCRTStartup(void) { return 0; }
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_crosscflags__Wno_format=yes
10499 else
10500 ac_cv_crosscflags__Wno_format=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 CFLAGS=$ac_wine_try_cflags_saved
10505 CC=$ac_wine_try_cflags_saved_cc
10506 ac_exeext=$ac_wine_try_cflags_saved_exeext
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10509 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10510 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10511 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10512 fi ;;
10513 esac
10516 if test -z "$CROSSDEBUG"
10517 then
10518 for ac_flag in $CROSSCFLAGS; do
10519 case $ac_flag in
10520 -gdwarf*) CROSSDEBUG=dwarf ;;
10521 -gcodeview) CROSSDEBUG=pdb ;;
10522 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10523 esac
10524 done
10526 case $CROSSDEBUG in
10527 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10528 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10529 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_wine_try_cflags_saved=$CFLAGS
10533 ac_wine_try_cflags_saved_cc=$CC
10534 ac_wine_try_cflags_saved_exeext=$ac_exeext
10535 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10536 CC="$CROSSCC"
10537 ac_exeext=".exe"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int __cdecl mainCRTStartup(void) { return 0; }
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 ac_cv_crosscflags__gdwarf_2=yes
10544 else
10545 ac_cv_crosscflags__gdwarf_2=no
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 CFLAGS=$ac_wine_try_cflags_saved
10550 CC=$ac_wine_try_cflags_saved_cc
10551 ac_exeext=$ac_wine_try_cflags_saved_exeext
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10554 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10555 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10556 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10559 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10560 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10561 $as_echo_n "(cached) " >&6
10562 else
10563 ac_wine_try_cflags_saved=$CFLAGS
10564 ac_wine_try_cflags_saved_cc=$CC
10565 ac_wine_try_cflags_saved_exeext=$ac_exeext
10566 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10567 CC="$CROSSCC"
10568 ac_exeext=".exe"
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10571 int __cdecl mainCRTStartup(void) { return 0; }
10572 _ACEOF
10573 if ac_fn_c_try_link "$LINENO"; then :
10574 ac_cv_crosscflags__gstrict_dwarf=yes
10575 else
10576 ac_cv_crosscflags__gstrict_dwarf=no
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 CFLAGS=$ac_wine_try_cflags_saved
10581 CC=$ac_wine_try_cflags_saved_cc
10582 ac_exeext=$ac_wine_try_cflags_saved_exeext
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10585 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10586 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10587 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10588 fi ;;
10589 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10590 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10591 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10592 $as_echo_n "(cached) " >&6
10593 else
10594 ac_wine_try_cflags_saved=$CFLAGS
10595 ac_wine_try_cflags_saved_cc=$CC
10596 ac_wine_try_cflags_saved_exeext=$ac_exeext
10597 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10598 CC="$CROSSCC"
10599 ac_exeext=".exe"
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10602 int __cdecl mainCRTStartup(void) { return 0; }
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 ac_cv_crosscflags__gcodeview=yes
10606 else
10607 ac_cv_crosscflags__gcodeview=no
10609 rm -f core conftest.err conftest.$ac_objext \
10610 conftest$ac_exeext conftest.$ac_ext
10611 CFLAGS=$ac_wine_try_cflags_saved
10612 CC=$ac_wine_try_cflags_saved_cc
10613 ac_exeext=$ac_wine_try_cflags_saved_exeext
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10616 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10617 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10618 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10619 fi ;;
10620 esac
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10623 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10624 if ${ac_cv_crosscflags__fexcess_precision_standard+:} 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 -fexcess-precision=standard"
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__fexcess_precision_standard=yes
10639 else
10640 ac_cv_crosscflags__fexcess_precision_standard=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__fexcess_precision_standard" >&5
10649 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10650 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10651 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10655 if test "x$enable_werror" = "xyes"
10656 then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10658 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10659 if ${ac_cv_crosscflags__Werror+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_wine_try_cflags_saved=$CFLAGS
10663 ac_wine_try_cflags_saved_cc=$CC
10664 ac_wine_try_cflags_saved_exeext=$ac_exeext
10665 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10666 CC="$CROSSCC"
10667 ac_exeext=".exe"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10670 int __cdecl mainCRTStartup(void) { return 0; }
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 ac_cv_crosscflags__Werror=yes
10674 else
10675 ac_cv_crosscflags__Werror=no
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 CFLAGS=$ac_wine_try_cflags_saved
10680 CC=$ac_wine_try_cflags_saved_cc
10681 ac_exeext=$ac_wine_try_cflags_saved_exeext
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10684 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10685 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10686 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10689 if test "x$enable_build_id" = "xyes"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10692 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10693 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_wine_try_cflags_saved=$CFLAGS
10697 ac_wine_try_cflags_saved_cc=$CC
10698 ac_wine_try_cflags_saved_exeext=$ac_exeext
10699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10700 CC="$CROSSCC"
10701 ac_exeext=".exe"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int __cdecl mainCRTStartup(void) { return 0; }
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 ac_cv_crosscflags__Wl___build_id=yes
10708 else
10709 ac_cv_crosscflags__Wl___build_id=no
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 CFLAGS=$ac_wine_try_cflags_saved
10714 CC=$ac_wine_try_cflags_saved_cc
10715 ac_exeext=$ac_wine_try_cflags_saved_exeext
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10718 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10719 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10720 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10721 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10725 CFLAGS=$saved_CFLAGS
10726 CC="$ac_save_CC"
10729 if test "x$CROSSTARGET" = "x"; then :
10730 case "x$with_mingw" in
10731 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10732 xno) ;;
10733 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10734 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10735 esac
10740 if test "$ac_cv_header_pthread_h" = "yes"
10741 then
10742 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10743 if test "x$ac_cv_func_pthread_create" = xyes; then :
10745 else
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10747 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10748 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_check_lib_save_LIBS=$LIBS
10752 LIBS="-lpthread $LIBS"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char pthread_create ();
10764 main ()
10766 return pthread_create ();
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 ac_cv_lib_pthread_pthread_create=yes
10773 else
10774 ac_cv_lib_pthread_pthread_create=no
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10781 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10782 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10783 PTHREAD_LIBS="-lpthread"
10790 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10791 case "x$with_pthread" in
10792 xno) ;;
10793 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10794 Wine cannot support threads without libpthread.
10795 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10796 esac
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10802 $as_echo_n "checking for X... " >&6; }
10805 # Check whether --with-x was given.
10806 if test "${with_x+set}" = set; then :
10807 withval=$with_x;
10810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10811 if test "x$with_x" = xno; then
10812 # The user explicitly disabled X.
10813 have_x=disabled
10814 else
10815 case $x_includes,$x_libraries in #(
10816 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10817 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10818 $as_echo_n "(cached) " >&6
10819 else
10820 # One or both of the vars are not set, and there is no cached value.
10821 ac_x_includes=no ac_x_libraries=no
10822 rm -f -r conftest.dir
10823 if mkdir conftest.dir; then
10824 cd conftest.dir
10825 cat >Imakefile <<'_ACEOF'
10826 incroot:
10827 @echo incroot='${INCROOT}'
10828 usrlibdir:
10829 @echo usrlibdir='${USRLIBDIR}'
10830 libdir:
10831 @echo libdir='${LIBDIR}'
10832 _ACEOF
10833 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10835 for ac_var in incroot usrlibdir libdir; do
10836 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10837 done
10838 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10839 for ac_extension in a so sl dylib la dll; do
10840 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10841 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10842 ac_im_usrlibdir=$ac_im_libdir; break
10844 done
10845 # Screen out bogus values from the imake configuration. They are
10846 # bogus both because they are the default anyway, and because
10847 # using them would break gcc on systems where it needs fixed includes.
10848 case $ac_im_incroot in
10849 /usr/include) ac_x_includes= ;;
10850 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10851 esac
10852 case $ac_im_usrlibdir in
10853 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10854 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10855 esac
10857 cd ..
10858 rm -f -r conftest.dir
10861 # Standard set of common directories for X headers.
10862 # Check X11 before X11Rn because it is often a symlink to the current release.
10863 ac_x_header_dirs='
10864 /usr/X11/include
10865 /usr/X11R7/include
10866 /usr/X11R6/include
10867 /usr/X11R5/include
10868 /usr/X11R4/include
10870 /usr/include/X11
10871 /usr/include/X11R7
10872 /usr/include/X11R6
10873 /usr/include/X11R5
10874 /usr/include/X11R4
10876 /usr/local/X11/include
10877 /usr/local/X11R7/include
10878 /usr/local/X11R6/include
10879 /usr/local/X11R5/include
10880 /usr/local/X11R4/include
10882 /usr/local/include/X11
10883 /usr/local/include/X11R7
10884 /usr/local/include/X11R6
10885 /usr/local/include/X11R5
10886 /usr/local/include/X11R4
10888 /usr/X386/include
10889 /usr/x386/include
10890 /usr/XFree86/include/X11
10892 /usr/include
10893 /usr/local/include
10894 /usr/unsupported/include
10895 /usr/athena/include
10896 /usr/local/x11r5/include
10897 /usr/lpp/Xamples/include
10899 /usr/openwin/include
10900 /usr/openwin/share/include'
10902 if test "$ac_x_includes" = no; then
10903 # Guess where to find include files, by looking for Xlib.h.
10904 # First, try using that file with no special directory specified.
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10907 #include <X11/Xlib.h>
10908 _ACEOF
10909 if ac_fn_c_try_cpp "$LINENO"; then :
10910 # We can compile using X headers with no special include directory.
10911 ac_x_includes=
10912 else
10913 for ac_dir in $ac_x_header_dirs; do
10914 if test -r "$ac_dir/X11/Xlib.h"; then
10915 ac_x_includes=$ac_dir
10916 break
10918 done
10920 rm -f conftest.err conftest.i conftest.$ac_ext
10921 fi # $ac_x_includes = no
10923 if test "$ac_x_libraries" = no; then
10924 # Check for the libraries.
10925 # See if we find them without any special options.
10926 # Don't add to $LIBS permanently.
10927 ac_save_LIBS=$LIBS
10928 LIBS="-lX11 $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10931 #include <X11/Xlib.h>
10933 main ()
10935 XrmInitialize ()
10937 return 0;
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 LIBS=$ac_save_LIBS
10942 # We can link X programs with no special library path.
10943 ac_x_libraries=
10944 else
10945 LIBS=$ac_save_LIBS
10946 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10948 # Don't even attempt the hair of trying to link an X program!
10949 for ac_extension in a so sl dylib la dll; do
10950 if test -r "$ac_dir/libX11.$ac_extension"; then
10951 ac_x_libraries=$ac_dir
10952 break 2
10954 done
10955 done
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 fi # $ac_x_libraries = no
10961 case $ac_x_includes,$ac_x_libraries in #(
10962 no,* | *,no | *\'*)
10963 # Didn't find X, or a directory has "'" in its name.
10964 ac_cv_have_x="have_x=no";; #(
10966 # Record where we found X for the cache.
10967 ac_cv_have_x="have_x=yes\
10968 ac_x_includes='$ac_x_includes'\
10969 ac_x_libraries='$ac_x_libraries'"
10970 esac
10972 ;; #(
10973 *) have_x=yes;;
10974 esac
10975 eval "$ac_cv_have_x"
10976 fi # $with_x != no
10978 if test "$have_x" != yes; then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10980 $as_echo "$have_x" >&6; }
10981 no_x=yes
10982 else
10983 # If each of the values was on the command line, it overrides each guess.
10984 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10985 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10986 # Update the cache value to reflect the command line values.
10987 ac_cv_have_x="have_x=yes\
10988 ac_x_includes='$x_includes'\
10989 ac_x_libraries='$x_libraries'"
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10991 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10994 if test "$no_x" = yes; then
10995 # Not all programs may use this symbol, but it does not hurt to define it.
10997 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10999 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11000 else
11001 if test -n "$x_includes"; then
11002 X_CFLAGS="$X_CFLAGS -I$x_includes"
11005 # It would also be nice to do this for all -L options, not just this one.
11006 if test -n "$x_libraries"; then
11007 X_LIBS="$X_LIBS -L$x_libraries"
11008 # For Solaris; some versions of Sun CC require a space after -R and
11009 # others require no space. Words are not sufficient . . . .
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11011 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11012 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11013 ac_xsave_c_werror_flag=$ac_c_werror_flag
11014 ac_c_werror_flag=yes
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11019 main ()
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11028 $as_echo "no" >&6; }
11029 X_LIBS="$X_LIBS -R$x_libraries"
11030 else
11031 LIBS="$ac_xsave_LIBS -R $x_libraries"
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11036 main ()
11040 return 0;
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"; then :
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11045 $as_echo "yes" >&6; }
11046 X_LIBS="$X_LIBS -R $x_libraries"
11047 else
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11049 $as_echo "neither works" >&6; }
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 ac_c_werror_flag=$ac_xsave_c_werror_flag
11057 LIBS=$ac_xsave_LIBS
11060 # Check for system-dependent libraries X programs must link with.
11061 # Do this before checking for the system-independent R6 libraries
11062 # (-lICE), since we may need -lsocket or whatever for X linking.
11064 if test "$ISC" = yes; then
11065 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11066 else
11067 # Martyn Johnson says this is needed for Ultrix, if the X
11068 # libraries were built with DECnet support. And Karl Berry says
11069 # the Alpha needs dnet_stub (dnet does not exist).
11070 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11077 #ifdef __cplusplus
11078 extern "C"
11079 #endif
11080 char XOpenDisplay ();
11082 main ()
11084 return XOpenDisplay ();
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"; then :
11091 else
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11093 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11094 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11095 $as_echo_n "(cached) " >&6
11096 else
11097 ac_check_lib_save_LIBS=$LIBS
11098 LIBS="-ldnet $LIBS"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11102 /* Override any GCC internal prototype to avoid an error.
11103 Use char because int might match the return type of a GCC
11104 builtin and then its argument prototype would still apply. */
11105 #ifdef __cplusplus
11106 extern "C"
11107 #endif
11108 char dnet_ntoa ();
11110 main ()
11112 return dnet_ntoa ();
11114 return 0;
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"; then :
11118 ac_cv_lib_dnet_dnet_ntoa=yes
11119 else
11120 ac_cv_lib_dnet_dnet_ntoa=no
11122 rm -f core conftest.err conftest.$ac_objext \
11123 conftest$ac_exeext conftest.$ac_ext
11124 LIBS=$ac_check_lib_save_LIBS
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11127 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11128 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11129 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11132 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11134 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11135 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_lib_save_LIBS=$LIBS
11139 LIBS="-ldnet_stub $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char dnet_ntoa ();
11151 main ()
11153 return dnet_ntoa ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11160 else
11161 ac_cv_lib_dnet_stub_dnet_ntoa=no
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11168 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11169 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11170 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11175 rm -f core conftest.err conftest.$ac_objext \
11176 conftest$ac_exeext conftest.$ac_ext
11177 LIBS="$ac_xsave_LIBS"
11179 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11180 # to get the SysV transport functions.
11181 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11182 # needs -lnsl.
11183 # The nsl library prevents programs from opening the X display
11184 # on Irix 5.2, according to T.E. Dickey.
11185 # The functions gethostbyname, getservbyname, and inet_addr are
11186 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11187 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11188 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11192 if test $ac_cv_func_gethostbyname = no; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11194 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11195 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lnsl $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char gethostbyname ();
11211 main ()
11213 return gethostbyname ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_nsl_gethostbyname=yes
11220 else
11221 ac_cv_lib_nsl_gethostbyname=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11228 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11229 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11230 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11233 if test $ac_cv_lib_nsl_gethostbyname = no; then
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11235 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11236 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lbsd $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char gethostbyname ();
11252 main ()
11254 return gethostbyname ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_bsd_gethostbyname=yes
11261 else
11262 ac_cv_lib_bsd_gethostbyname=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11269 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11270 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11277 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11278 # socket/setsockopt and other routines are undefined under SCO ODT
11279 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11280 # on later versions), says Simon Leinen: it contains gethostby*
11281 # variants that don't use the name server (or something). -lsocket
11282 # must be given before -lnsl if both are needed. We assume that
11283 # if connect needs -lnsl, so does gethostbyname.
11284 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11285 if test "x$ac_cv_func_connect" = xyes; then :
11289 if test $ac_cv_func_connect = no; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11291 $as_echo_n "checking for connect in -lsocket... " >&6; }
11292 if ${ac_cv_lib_socket_connect+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_lib_save_LIBS=$LIBS
11296 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char connect ();
11308 main ()
11310 return connect ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 ac_cv_lib_socket_connect=yes
11317 else
11318 ac_cv_lib_socket_connect=no
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11325 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11326 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11327 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11332 # Guillermo Gomez says -lposix is necessary on A/UX.
11333 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11334 if test "x$ac_cv_func_remove" = xyes; then :
11338 if test $ac_cv_func_remove = no; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11340 $as_echo_n "checking for remove in -lposix... " >&6; }
11341 if ${ac_cv_lib_posix_remove+:} false; then :
11342 $as_echo_n "(cached) " >&6
11343 else
11344 ac_check_lib_save_LIBS=$LIBS
11345 LIBS="-lposix $LIBS"
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11352 #ifdef __cplusplus
11353 extern "C"
11354 #endif
11355 char remove ();
11357 main ()
11359 return remove ();
11361 return 0;
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"; then :
11365 ac_cv_lib_posix_remove=yes
11366 else
11367 ac_cv_lib_posix_remove=no
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11374 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11375 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11381 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11382 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11383 if test "x$ac_cv_func_shmat" = xyes; then :
11387 if test $ac_cv_func_shmat = no; then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11389 $as_echo_n "checking for shmat in -lipc... " >&6; }
11390 if ${ac_cv_lib_ipc_shmat+:} false; then :
11391 $as_echo_n "(cached) " >&6
11392 else
11393 ac_check_lib_save_LIBS=$LIBS
11394 LIBS="-lipc $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char shmat ();
11406 main ()
11408 return shmat ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_ipc_shmat=yes
11415 else
11416 ac_cv_lib_ipc_shmat=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11423 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11424 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11431 # Check for libraries that X11R6 Xt/Xaw programs need.
11432 ac_save_LDFLAGS=$LDFLAGS
11433 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11435 # check for ICE first), but we must link in the order -lSM -lICE or
11436 # we get undefined symbols. So assume we have SM if we have ICE.
11437 # These have to be linked with before -lX11, unlike the other
11438 # libraries we check for below, so use a different variable.
11439 # John Interrante, Karl Berry
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11441 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11442 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char IceConnectionNumber ();
11458 main ()
11460 return IceConnectionNumber ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_ICE_IceConnectionNumber=yes
11467 else
11468 ac_cv_lib_ICE_IceConnectionNumber=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11475 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11476 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11477 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11480 LDFLAGS=$ac_save_LDFLAGS
11485 if test "$have_x" = "yes"
11486 then
11487 ac_save_CPPFLAGS="$CPPFLAGS"
11488 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11491 $as_echo_n "checking for -lX11... " >&6; }
11492 if ${ac_cv_lib_soname_X11+:} false; then :
11493 $as_echo_n "(cached) " >&6
11494 else
11495 ac_check_soname_save_LIBS=$LIBS
11496 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 #endif
11506 char XCreateWindow ();
11508 main ()
11510 return XCreateWindow ();
11512 return 0;
11514 _ACEOF
11515 if ac_fn_c_try_link "$LINENO"; then :
11516 case "$LIBEXT" in
11517 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11518 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'` ;;
11519 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11520 if ${ac_cv_lib_soname_X11:+false} :; then :
11521 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11522 fi ;;
11523 esac
11524 else
11525 ac_cv_lib_soname_X11=
11527 rm -f core conftest.err conftest.$ac_objext \
11528 conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_soname_save_LIBS
11531 if ${ac_cv_lib_soname_X11:+false} :; then :
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11533 $as_echo "not found" >&6; }
11535 else
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11537 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11539 cat >>confdefs.h <<_ACEOF
11540 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11541 _ACEOF
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11546 $as_echo_n "checking for -lXext... " >&6; }
11547 if ${ac_cv_lib_soname_Xext+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_soname_save_LIBS=$LIBS
11551 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char XextCreateExtension ();
11563 main ()
11565 return XextCreateExtension ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 case "$LIBEXT" in
11572 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11573 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'` ;;
11574 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11575 if ${ac_cv_lib_soname_Xext:+false} :; then :
11576 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11577 fi ;;
11578 esac
11579 else
11580 ac_cv_lib_soname_Xext=
11582 rm -f core conftest.err conftest.$ac_objext \
11583 conftest$ac_exeext conftest.$ac_ext
11584 LIBS=$ac_check_soname_save_LIBS
11586 if ${ac_cv_lib_soname_Xext:+false} :; then :
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11588 $as_echo "not found" >&6; }
11590 else
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11592 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11594 cat >>confdefs.h <<_ACEOF
11595 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11596 _ACEOF
11598 X_LIBS="$X_LIBS -lXext"
11600 X_LIBS="$X_LIBS -lX11"
11602 for ac_header in X11/Xlib.h \
11603 X11/XKBlib.h \
11604 X11/Xutil.h \
11605 X11/Xcursor/Xcursor.h \
11606 X11/extensions/shape.h \
11607 X11/extensions/XInput.h \
11608 X11/extensions/XInput2.h \
11609 X11/extensions/XShm.h \
11610 X11/extensions/Xcomposite.h \
11611 X11/extensions/Xfixes.h \
11612 X11/extensions/Xinerama.h \
11613 X11/extensions/Xrandr.h \
11614 X11/extensions/Xrender.h \
11615 X11/extensions/xf86vmode.h \
11616 X11/extensions/xf86vmproto.h
11617 do :
11618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11620 # include <X11/Xlib.h>
11621 #endif
11622 #ifdef HAVE_X11_XUTIL_H
11623 # include <X11/Xutil.h>
11624 #endif
11626 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11627 cat >>confdefs.h <<_ACEOF
11628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11629 _ACEOF
11633 done
11636 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11637 then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11639 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11640 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char XkbQueryExtension ();
11656 main ()
11658 return XkbQueryExtension ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 ac_cv_lib_X11_XkbQueryExtension=yes
11665 else
11666 ac_cv_lib_X11_XkbQueryExtension=no
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11673 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11674 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11676 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11682 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11683 then
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11685 $as_echo_n "checking for -lXcursor... " >&6; }
11686 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11687 $as_echo_n "(cached) " >&6
11688 else
11689 ac_check_soname_save_LIBS=$LIBS
11690 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11697 #ifdef __cplusplus
11698 extern "C"
11699 #endif
11700 char XcursorImageLoadCursor ();
11702 main ()
11704 return XcursorImageLoadCursor ();
11706 return 0;
11708 _ACEOF
11709 if ac_fn_c_try_link "$LINENO"; then :
11710 case "$LIBEXT" in
11711 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11712 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'` ;;
11713 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11714 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11715 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11716 fi ;;
11717 esac
11718 else
11719 ac_cv_lib_soname_Xcursor=
11721 rm -f core conftest.err conftest.$ac_objext \
11722 conftest$ac_exeext conftest.$ac_ext
11723 LIBS=$ac_check_soname_save_LIBS
11725 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11727 $as_echo "not found" >&6; }
11729 else
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11731 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11733 cat >>confdefs.h <<_ACEOF
11734 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11735 _ACEOF
11740 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11741 case "x$with_xcursor" in
11742 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11743 xno) ;;
11744 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11745 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11746 esac
11750 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11751 then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11753 $as_echo_n "checking for -lXi... " >&6; }
11754 if ${ac_cv_lib_soname_Xi+:} false; then :
11755 $as_echo_n "(cached) " >&6
11756 else
11757 ac_check_soname_save_LIBS=$LIBS
11758 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char XOpenDevice ();
11770 main ()
11772 return XOpenDevice ();
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"; then :
11778 case "$LIBEXT" in
11779 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11780 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'` ;;
11781 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11782 if ${ac_cv_lib_soname_Xi:+false} :; then :
11783 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11784 fi ;;
11785 esac
11786 else
11787 ac_cv_lib_soname_Xi=
11789 rm -f core conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_soname_save_LIBS
11793 if ${ac_cv_lib_soname_Xi:+false} :; then :
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11795 $as_echo "not found" >&6; }
11797 else
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11799 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11801 cat >>confdefs.h <<_ACEOF
11802 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11803 _ACEOF
11808 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11809 case "x$with_xinput" in
11810 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11811 xno) ;;
11812 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11813 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11814 esac
11818 if test "x$ac_cv_lib_soname_Xi" != x
11819 then
11820 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11821 case "x$with_xinput2" in
11822 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11823 xno) ;;
11824 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11825 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11826 esac
11831 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11832 then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11834 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11835 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11836 $as_echo_n "(cached) " >&6
11837 else
11838 ac_check_lib_save_LIBS=$LIBS
11839 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11846 #ifdef __cplusplus
11847 extern "C"
11848 #endif
11849 char XShmQueryExtension ();
11851 main ()
11853 return XShmQueryExtension ();
11855 return 0;
11857 _ACEOF
11858 if ac_fn_c_try_link "$LINENO"; then :
11859 ac_cv_lib_Xext_XShmQueryExtension=yes
11860 else
11861 ac_cv_lib_Xext_XShmQueryExtension=no
11863 rm -f core conftest.err conftest.$ac_objext \
11864 conftest$ac_exeext conftest.$ac_ext
11865 LIBS=$ac_check_lib_save_LIBS
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11868 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11869 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11871 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11876 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11877 case "x$with_xshm" in
11878 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11879 xno) ;;
11880 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11881 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11882 esac
11886 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11887 then
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11889 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11890 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11891 $as_echo_n "(cached) " >&6
11892 else
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char XShapeQueryExtension ();
11906 main ()
11908 return XShapeQueryExtension ();
11910 return 0;
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"; then :
11914 ac_cv_lib_Xext_XShapeQueryExtension=yes
11915 else
11916 ac_cv_lib_Xext_XShapeQueryExtension=no
11918 rm -f core conftest.err conftest.$ac_objext \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_lib_save_LIBS
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11923 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11924 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11926 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11931 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11932 case "x$with_xshape" in
11933 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11934 xno) ;;
11935 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11936 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11937 esac
11941 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11942 then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11944 $as_echo_n "checking for -lXxf86vm... " >&6; }
11945 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 ac_check_soname_save_LIBS=$LIBS
11949 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11956 #ifdef __cplusplus
11957 extern "C"
11958 #endif
11959 char XF86VidModeQueryExtension ();
11961 main ()
11963 return XF86VidModeQueryExtension ();
11965 return 0;
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"; then :
11969 case "$LIBEXT" in
11970 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11971 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'` ;;
11972 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11973 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11974 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11975 fi ;;
11976 esac
11977 else
11978 ac_cv_lib_soname_Xxf86vm=
11980 rm -f core conftest.err conftest.$ac_objext \
11981 conftest$ac_exeext conftest.$ac_ext
11982 LIBS=$ac_check_soname_save_LIBS
11984 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11986 $as_echo "not found" >&6; }
11988 else
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11990 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11992 cat >>confdefs.h <<_ACEOF
11993 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11994 _ACEOF
11999 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12000 case "x$with_xxf86vm" in
12001 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12002 xno) ;;
12003 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12004 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12005 esac
12009 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12010 then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12012 $as_echo_n "checking for -lXrender... " >&6; }
12013 if ${ac_cv_lib_soname_Xrender+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_soname_save_LIBS=$LIBS
12017 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char XRenderQueryExtension ();
12029 main ()
12031 return XRenderQueryExtension ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 case "$LIBEXT" in
12038 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12039 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'` ;;
12040 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12041 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12042 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12043 fi ;;
12044 esac
12045 else
12046 ac_cv_lib_soname_Xrender=
12048 rm -f core conftest.err conftest.$ac_objext \
12049 conftest$ac_exeext conftest.$ac_ext
12050 LIBS=$ac_check_soname_save_LIBS
12052 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12054 $as_echo "not found" >&6; }
12056 else
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12058 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12060 cat >>confdefs.h <<_ACEOF
12061 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12062 _ACEOF
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12065 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12066 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_lib_save_LIBS=$LIBS
12070 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char XRenderSetPictureTransform ();
12082 main ()
12084 return XRenderSetPictureTransform ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12091 else
12092 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12094 rm -f core conftest.err conftest.$ac_objext \
12095 conftest$ac_exeext conftest.$ac_ext
12096 LIBS=$ac_check_lib_save_LIBS
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12099 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12100 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12102 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12107 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12108 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12109 $as_echo_n "(cached) " >&6
12110 else
12111 ac_check_lib_save_LIBS=$LIBS
12112 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12119 #ifdef __cplusplus
12120 extern "C"
12121 #endif
12122 char XRenderCreateLinearGradient ();
12124 main ()
12126 return XRenderCreateLinearGradient ();
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"; then :
12132 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12133 else
12134 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12136 rm -f core conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12141 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12142 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12144 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12151 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12152 case "x$with_xrender" in
12153 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12154 xno) ;;
12155 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12156 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12157 esac
12161 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12162 then
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12165 #include <X11/Xlib.h>
12166 #include <X11/extensions/Xrandr.h>
12168 main ()
12170 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_compile "$LINENO"; then :
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12177 $as_echo_n "checking for -lXrandr... " >&6; }
12178 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 ac_check_soname_save_LIBS=$LIBS
12182 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12186 /* Override any GCC internal prototype to avoid an error.
12187 Use char because int might match the return type of a GCC
12188 builtin and then its argument prototype would still apply. */
12189 #ifdef __cplusplus
12190 extern "C"
12191 #endif
12192 char XRRQueryExtension ();
12194 main ()
12196 return XRRQueryExtension ();
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"; then :
12202 case "$LIBEXT" in
12203 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12204 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'` ;;
12205 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12206 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12207 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12208 fi ;;
12209 esac
12210 else
12211 ac_cv_lib_soname_Xrandr=
12213 rm -f core conftest.err conftest.$ac_objext \
12214 conftest$ac_exeext conftest.$ac_ext
12215 LIBS=$ac_check_soname_save_LIBS
12217 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12219 $as_echo "not found" >&6; }
12221 else
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12223 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12225 cat >>confdefs.h <<_ACEOF
12226 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12227 _ACEOF
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12231 #include <X11/Xlib.h>
12232 #include <X11/extensions/Xrandr.h>
12234 main ()
12236 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_compile "$LINENO"; then :
12243 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12245 else
12246 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12253 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12254 case "x$with_xrandr" in
12255 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12256 xno) ;;
12257 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12258 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12259 esac
12263 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12264 then
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12267 #include <X11/Xlib.h>
12268 #include <X11/extensions/Xfixes.h>
12270 main ()
12272 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12279 $as_echo_n "checking for -lXfixes... " >&6; }
12280 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_soname_save_LIBS=$LIBS
12284 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char XFixesQueryVersion ();
12296 main ()
12298 return XFixesQueryVersion ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 case "$LIBEXT" in
12305 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12306 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'` ;;
12307 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12308 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12309 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12310 fi ;;
12311 esac
12312 else
12313 ac_cv_lib_soname_Xfixes=
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_soname_save_LIBS
12319 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12321 $as_echo "not found" >&6; }
12323 else
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12325 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12327 cat >>confdefs.h <<_ACEOF
12328 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12329 _ACEOF
12334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12336 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12337 case "x$with_xfixes" in
12338 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12339 xno) ;;
12340 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12341 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12342 esac
12346 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12347 then
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12350 #include <X11/Xlib.h>
12351 #include <X11/extensions/Xinerama.h>
12353 main ()
12355 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12357 return 0;
12359 _ACEOF
12360 if ac_fn_c_try_compile "$LINENO"; then :
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12362 $as_echo_n "checking for -lXinerama... " >&6; }
12363 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12364 $as_echo_n "(cached) " >&6
12365 else
12366 ac_check_soname_save_LIBS=$LIBS
12367 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 /* Override any GCC internal prototype to avoid an error.
12372 Use char because int might match the return type of a GCC
12373 builtin and then its argument prototype would still apply. */
12374 #ifdef __cplusplus
12375 extern "C"
12376 #endif
12377 char XineramaQueryScreens ();
12379 main ()
12381 return XineramaQueryScreens ();
12383 return 0;
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387 case "$LIBEXT" in
12388 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12389 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'` ;;
12390 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12391 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12392 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12393 fi ;;
12394 esac
12395 else
12396 ac_cv_lib_soname_Xinerama=
12398 rm -f core conftest.err conftest.$ac_objext \
12399 conftest$ac_exeext conftest.$ac_ext
12400 LIBS=$ac_check_soname_save_LIBS
12402 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12404 $as_echo "not found" >&6; }
12406 else
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12408 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12410 cat >>confdefs.h <<_ACEOF
12411 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12412 _ACEOF
12417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12419 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12420 case "x$with_xinerama" in
12421 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12422 xno) ;;
12423 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12424 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12425 esac
12429 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12430 then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12432 $as_echo_n "checking for -lXcomposite... " >&6; }
12433 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12434 $as_echo_n "(cached) " >&6
12435 else
12436 ac_check_soname_save_LIBS=$LIBS
12437 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12444 #ifdef __cplusplus
12445 extern "C"
12446 #endif
12447 char XCompositeRedirectWindow ();
12449 main ()
12451 return XCompositeRedirectWindow ();
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_link "$LINENO"; then :
12457 case "$LIBEXT" in
12458 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12459 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'` ;;
12460 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12461 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12462 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12463 fi ;;
12464 esac
12465 else
12466 ac_cv_lib_soname_Xcomposite=
12468 rm -f core conftest.err conftest.$ac_objext \
12469 conftest$ac_exeext conftest.$ac_ext
12470 LIBS=$ac_check_soname_save_LIBS
12472 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12474 $as_echo "not found" >&6; }
12476 else
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12478 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12480 cat >>confdefs.h <<_ACEOF
12481 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12482 _ACEOF
12487 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12488 case "x$with_xcomposite" in
12489 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12490 xno) ;;
12491 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12492 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12493 esac
12497 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12498 #include <X11/Xlib.h>
12499 #endif
12501 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12503 cat >>confdefs.h <<_ACEOF
12504 #define HAVE_XICCALLBACK_CALLBACK 1
12505 _ACEOF
12509 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12510 #include <X11/Xlib.h>
12511 #endif
12513 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12515 cat >>confdefs.h <<_ACEOF
12516 #define HAVE_XEVENT_XCOOKIE 1
12517 _ACEOF
12524 opengl_msg=""
12525 if test "x$with_opengl" != "xno"
12526 then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12528 $as_echo_n "checking for -lGL... " >&6; }
12529 if ${ac_cv_lib_soname_GL+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 ac_check_soname_save_LIBS=$LIBS
12533 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 /* Override any GCC internal prototype to avoid an error.
12538 Use char because int might match the return type of a GCC
12539 builtin and then its argument prototype would still apply. */
12540 #ifdef __cplusplus
12541 extern "C"
12542 #endif
12543 char glXCreateContext ();
12545 main ()
12547 return glXCreateContext ();
12549 return 0;
12551 _ACEOF
12552 if ac_fn_c_try_link "$LINENO"; then :
12553 case "$LIBEXT" in
12554 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12555 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'` ;;
12556 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12557 if ${ac_cv_lib_soname_GL:+false} :; then :
12558 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12559 fi ;;
12560 esac
12561 else
12562 ac_cv_lib_soname_GL=
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 LIBS=$ac_check_soname_save_LIBS
12568 if ${ac_cv_lib_soname_GL:+false} :; then :
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12570 $as_echo "not found" >&6; }
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12572 $as_echo_n "checking for -lGL... " >&6; }
12573 if ${ac_cv_lib_soname_GL+:} false; then :
12574 $as_echo_n "(cached) " >&6
12575 else
12576 ac_check_soname_save_LIBS=$LIBS
12577 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"
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12584 #ifdef __cplusplus
12585 extern "C"
12586 #endif
12587 char glXCreateContext ();
12589 main ()
12591 return glXCreateContext ();
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"; then :
12597 case "$LIBEXT" in
12598 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12599 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'` ;;
12600 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12601 if ${ac_cv_lib_soname_GL:+false} :; then :
12602 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12603 fi ;;
12604 esac
12605 else
12606 ac_cv_lib_soname_GL=
12608 rm -f core conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_soname_save_LIBS
12612 if ${ac_cv_lib_soname_GL:+false} :; then :
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12614 $as_echo "not found" >&6; }
12615 if test -f /usr/X11R6/lib/libGL.a
12616 then
12617 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12618 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12619 else
12620 opengl_msg="No OpenGL library found on this system."
12622 else
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12624 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12626 cat >>confdefs.h <<_ACEOF
12627 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12628 _ACEOF
12630 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"
12632 else
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12634 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12636 cat >>confdefs.h <<_ACEOF
12637 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12638 _ACEOF
12640 OPENGL_LIBS="-lGL"
12642 if test "x$with_osmesa" != "xno"
12643 then
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12645 $as_echo_n "checking for -lOSMesa... " >&6; }
12646 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12647 $as_echo_n "(cached) " >&6
12648 else
12649 ac_check_soname_save_LIBS=$LIBS
12650 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 #ifdef __cplusplus
12658 extern "C"
12659 #endif
12660 char OSMesaGetProcAddress ();
12662 main ()
12664 return OSMesaGetProcAddress ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"; then :
12670 case "$LIBEXT" in
12671 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12672 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'` ;;
12673 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12674 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12675 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12676 fi ;;
12677 esac
12678 else
12679 ac_cv_lib_soname_OSMesa=
12681 rm -f core conftest.err conftest.$ac_objext \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_soname_save_LIBS
12685 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12687 $as_echo "not found" >&6; }
12689 else
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12691 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12693 cat >>confdefs.h <<_ACEOF
12694 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12695 _ACEOF
12699 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12700 case "x$with_osmesa" in
12701 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12702 xno) ;;
12703 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12704 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12705 esac
12710 if test -n "$opengl_msg"; then :
12711 case "x$with_opengl" in
12712 x) as_fn_append wine_warnings "|$opengl_msg
12713 OpenGL and Direct3D won't be supported." ;;
12714 xno) ;;
12715 *) as_fn_error $? "$opengl_msg
12716 OpenGL and Direct3D won't be supported.
12717 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12718 esac
12722 CPPFLAGS="$ac_save_CPPFLAGS"
12723 else
12724 X_CFLAGS=""
12725 X_LIBS=""
12728 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12729 then
12730 if test "x$X_LIBS" = "x"; then :
12731 case "x$with_x" in
12732 xno) ;;
12733 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12734 without X support, which probably isn't what you want. You will need
12735 to install ${notice_platform}development packages of Xlib at the very least.
12736 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12737 esac
12738 enable_winex11_drv=${enable_winex11_drv:-no}
12740 else
12741 if test "x$X_LIBS" = "x"; then :
12742 case "x$with_x" in
12743 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12744 xno) ;;
12745 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12746 This is an error since --with-x was requested." "$LINENO" 5 ;;
12747 esac
12748 enable_winex11_drv=${enable_winex11_drv:-no}
12752 if test "$ac_cv_header_CL_cl_h" = "yes"
12753 then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12755 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12756 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12757 $as_echo_n "(cached) " >&6
12758 else
12759 ac_check_lib_save_LIBS=$LIBS
12760 LIBS="-lOpenCL $LIBS"
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12767 #ifdef __cplusplus
12768 extern "C"
12769 #endif
12770 char clGetPlatformInfo ();
12772 main ()
12774 return clGetPlatformInfo ();
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_link "$LINENO"; then :
12780 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12781 else
12782 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12784 rm -f core conftest.err conftest.$ac_objext \
12785 conftest$ac_exeext conftest.$ac_ext
12786 LIBS=$ac_check_lib_save_LIBS
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12789 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12790 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12791 OPENCL_LIBS="-lOpenCL"
12796 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12797 case "x$with_opencl" in
12798 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12799 xno) ;;
12800 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12801 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12802 esac
12803 enable_opencl=${enable_opencl:-no}
12806 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12807 then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12809 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12810 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12811 $as_echo_n "(cached) " >&6
12812 else
12813 ac_check_lib_save_LIBS=$LIBS
12814 LIBS="-lpcap $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 #ifdef __cplusplus
12822 extern "C"
12823 #endif
12824 char pcap_create ();
12826 main ()
12828 return pcap_create ();
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_link "$LINENO"; then :
12834 ac_cv_lib_pcap_pcap_create=yes
12835 else
12836 ac_cv_lib_pcap_pcap_create=no
12838 rm -f core conftest.err conftest.$ac_objext \
12839 conftest$ac_exeext conftest.$ac_ext
12840 LIBS=$ac_check_lib_save_LIBS
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12843 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12844 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12845 PCAP_LIBS="-lpcap"
12850 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12851 case "x$with_pcap" in
12852 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12853 xno) ;;
12854 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12855 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12856 esac
12857 enable_wpcap=${enable_wpcap:-no}
12861 if test "x$with_xml" != "xno"
12862 then
12863 if ${XML2_CFLAGS:+false} :; then :
12864 if ${PKG_CONFIG+:} false; then :
12865 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12868 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12869 if ${XML2_LIBS:+false} :; then :
12870 if ${PKG_CONFIG+:} false; then :
12871 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12874 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12875 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12876 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12877 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12878 ac_save_CPPFLAGS=$CPPFLAGS
12879 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12880 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12881 do :
12882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12883 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12885 cat >>confdefs.h <<_ACEOF
12886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12887 _ACEOF
12891 done
12893 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"
12894 then
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12896 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12897 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12898 $as_echo_n "(cached) " >&6
12899 else
12900 ac_check_lib_save_LIBS=$LIBS
12901 LIBS="-lxml2 $XML2_LIBS $LIBS"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12908 #ifdef __cplusplus
12909 extern "C"
12910 #endif
12911 char xmlParseMemory ();
12913 main ()
12915 return xmlParseMemory ();
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_link "$LINENO"; then :
12921 ac_cv_lib_xml2_xmlParseMemory=yes
12922 else
12923 ac_cv_lib_xml2_xmlParseMemory=no
12925 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12930 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12931 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12933 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12935 else
12936 XML2_LIBS=""
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12940 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12941 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12942 $as_echo_n "(cached) " >&6
12943 else
12944 ac_check_lib_save_LIBS=$LIBS
12945 LIBS="-lxml2 $XML2_LIBS $LIBS"
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12952 #ifdef __cplusplus
12953 extern "C"
12954 #endif
12955 char xmlReadMemory ();
12957 main ()
12959 return xmlReadMemory ();
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_link "$LINENO"; then :
12965 ac_cv_lib_xml2_xmlReadMemory=yes
12966 else
12967 ac_cv_lib_xml2_xmlReadMemory=no
12969 rm -f core conftest.err conftest.$ac_objext \
12970 conftest$ac_exeext conftest.$ac_ext
12971 LIBS=$ac_check_lib_save_LIBS
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12974 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12975 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12977 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12982 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12983 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12984 $as_echo_n "(cached) " >&6
12985 else
12986 ac_check_lib_save_LIBS=$LIBS
12987 LIBS="-lxml2 $XML2_LIBS $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994 #ifdef __cplusplus
12995 extern "C"
12996 #endif
12997 char xmlNewDocPI ();
12999 main ()
13001 return xmlNewDocPI ();
13003 return 0;
13005 _ACEOF
13006 if ac_fn_c_try_link "$LINENO"; then :
13007 ac_cv_lib_xml2_xmlNewDocPI=yes
13008 else
13009 ac_cv_lib_xml2_xmlNewDocPI=no
13011 rm -f core conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_check_lib_save_LIBS
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13016 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13017 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13019 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13024 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13025 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13026 $as_echo_n "(cached) " >&6
13027 else
13028 ac_check_lib_save_LIBS=$LIBS
13029 LIBS="-lxml2 $XML2_LIBS $LIBS"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 char xmlSchemaSetParserStructuredErrors ();
13041 main ()
13043 return xmlSchemaSetParserStructuredErrors ();
13045 return 0;
13047 _ACEOF
13048 if ac_fn_c_try_link "$LINENO"; then :
13049 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13050 else
13051 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13053 rm -f core conftest.err conftest.$ac_objext \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13058 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13059 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13061 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13066 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13067 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13068 $as_echo_n "(cached) " >&6
13069 else
13070 ac_check_lib_save_LIBS=$LIBS
13071 LIBS="-lxml2 $XML2_LIBS $LIBS"
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13078 #ifdef __cplusplus
13079 extern "C"
13080 #endif
13081 char xmlSchemaSetValidStructuredErrors ();
13083 main ()
13085 return xmlSchemaSetValidStructuredErrors ();
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_link "$LINENO"; then :
13091 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13092 else
13093 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13095 rm -f core conftest.err conftest.$ac_objext \
13096 conftest$ac_exeext conftest.$ac_ext
13097 LIBS=$ac_check_lib_save_LIBS
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13100 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13101 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13103 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13108 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13109 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13110 $as_echo_n "(cached) " >&6
13111 else
13112 ac_check_lib_save_LIBS=$LIBS
13113 LIBS="-lxml2 $XML2_LIBS $LIBS"
13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115 /* end confdefs.h. */
13117 /* Override any GCC internal prototype to avoid an error.
13118 Use char because int might match the return type of a GCC
13119 builtin and then its argument prototype would still apply. */
13120 #ifdef __cplusplus
13121 extern "C"
13122 #endif
13123 char xmlFirstElementChild ();
13125 main ()
13127 return xmlFirstElementChild ();
13129 return 0;
13131 _ACEOF
13132 if ac_fn_c_try_link "$LINENO"; then :
13133 ac_cv_lib_xml2_xmlFirstElementChild=yes
13134 else
13135 ac_cv_lib_xml2_xmlFirstElementChild=no
13137 rm -f core conftest.err conftest.$ac_objext \
13138 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_lib_save_LIBS
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13142 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13143 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13145 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13149 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13151 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13153 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13157 else
13158 XML2_CFLAGS=""
13159 XML2_LIBS=""
13161 CPPFLAGS=$ac_save_CPPFLAGS
13164 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13165 case "x$with_xml" in
13166 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13167 xno) ;;
13168 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13169 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13170 esac
13174 if test "x$with_xslt" != "xno"
13175 then
13176 if ${XSLT_CFLAGS:+false} :; then :
13177 if ${PKG_CONFIG+:} false; then :
13178 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13181 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13182 if ${XSLT_LIBS:+false} :; then :
13183 if ${PKG_CONFIG+:} false; then :
13184 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13187 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13188 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13189 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13190 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13191 ac_save_CPPFLAGS=$CPPFLAGS
13192 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13193 for ac_header in libxslt/pattern.h libxslt/transform.h
13194 do :
13195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13196 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13197 # include <libxslt/pattern.h>
13198 #endif
13200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13201 cat >>confdefs.h <<_ACEOF
13202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13203 _ACEOF
13207 done
13209 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13210 then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13212 $as_echo_n "checking for -lxslt... " >&6; }
13213 if ${ac_cv_lib_soname_xslt+:} false; then :
13214 $as_echo_n "(cached) " >&6
13215 else
13216 ac_check_soname_save_LIBS=$LIBS
13217 LIBS="-lxslt $XSLT_LIBS $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 #ifdef __cplusplus
13225 extern "C"
13226 #endif
13227 char xsltCompilePattern ();
13229 main ()
13231 return xsltCompilePattern ();
13233 return 0;
13235 _ACEOF
13236 if ac_fn_c_try_link "$LINENO"; then :
13237 case "$LIBEXT" in
13238 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13239 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'` ;;
13240 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13241 if ${ac_cv_lib_soname_xslt:+false} :; then :
13242 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13243 fi ;;
13244 esac
13245 else
13246 ac_cv_lib_soname_xslt=
13248 rm -f core conftest.err conftest.$ac_objext \
13249 conftest$ac_exeext conftest.$ac_ext
13250 LIBS=$ac_check_soname_save_LIBS
13252 if ${ac_cv_lib_soname_xslt:+false} :; then :
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13254 $as_echo "not found" >&6; }
13256 else
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13258 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13260 cat >>confdefs.h <<_ACEOF
13261 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13262 _ACEOF
13266 else
13267 XSLT_CFLAGS=""
13269 CPPFLAGS=$ac_save_CPPFLAGS
13272 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13273 case "x$with_xslt" in
13274 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13275 xno) ;;
13276 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13277 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13278 esac
13282 if test "x$with_inotify" != "xno"
13283 then
13284 if ${INOTIFY_CFLAGS:+false} :; then :
13285 if ${PKG_CONFIG+:} false; then :
13286 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13290 if ${INOTIFY_LIBS:+false} :; then :
13291 if ${PKG_CONFIG+:} false; then :
13292 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13297 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13298 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13299 ac_save_CPPFLAGS=$CPPFLAGS
13300 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13301 for ac_header in sys/inotify.h
13302 do :
13303 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13304 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13305 cat >>confdefs.h <<_ACEOF
13306 #define HAVE_SYS_INOTIFY_H 1
13307 _ACEOF
13311 done
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13314 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13315 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13316 $as_echo_n "(cached) " >&6
13317 else
13318 ac_check_lib_save_LIBS=$LIBS
13319 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13326 #ifdef __cplusplus
13327 extern "C"
13328 #endif
13329 char inotify_add_watch ();
13331 main ()
13333 return inotify_add_watch ();
13335 return 0;
13337 _ACEOF
13338 if ac_fn_c_try_link "$LINENO"; then :
13339 ac_cv_lib_inotify_inotify_add_watch=yes
13340 else
13341 ac_cv_lib_inotify_inotify_add_watch=no
13343 rm -f core conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_lib_save_LIBS
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13348 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13349 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13351 else
13352 INOTIFY_LIBS=""
13355 CPPFLAGS=$ac_save_CPPFLAGS
13358 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13359 case "x$with_inotify" in
13360 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13361 xno) ;;
13362 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13363 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13364 esac
13368 if test "x$with_dbus" != "xno"
13369 then
13370 if ${DBUS_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13376 if ${DBUS_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13383 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13385 ac_save_CPPFLAGS=$CPPFLAGS
13386 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13387 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13388 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13390 $as_echo_n "checking for -ldbus-1... " >&6; }
13391 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13392 $as_echo_n "(cached) " >&6
13393 else
13394 ac_check_soname_save_LIBS=$LIBS
13395 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13402 #ifdef __cplusplus
13403 extern "C"
13404 #endif
13405 char dbus_connection_close ();
13407 main ()
13409 return dbus_connection_close ();
13411 return 0;
13413 _ACEOF
13414 if ac_fn_c_try_link "$LINENO"; then :
13415 case "$LIBEXT" in
13416 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13417 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'` ;;
13418 *) 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'`
13419 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13420 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13421 fi ;;
13422 esac
13423 else
13424 ac_cv_lib_soname_dbus_1=
13426 rm -f core conftest.err conftest.$ac_objext \
13427 conftest$ac_exeext conftest.$ac_ext
13428 LIBS=$ac_check_soname_save_LIBS
13430 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13432 $as_echo "not found" >&6; }
13433 DBUS_CFLAGS=""
13434 else
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13436 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13438 cat >>confdefs.h <<_ACEOF
13439 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13440 _ACEOF
13444 else
13445 DBUS_CFLAGS=""
13449 CPPFLAGS=$ac_save_CPPFLAGS
13452 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13453 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13454 case "x$with_dbus" in
13455 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13456 xno) ;;
13457 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13458 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13459 esac
13463 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13464 then
13465 if ${HAL_CFLAGS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13471 if ${HAL_LIBS:+false} :; then :
13472 if ${PKG_CONFIG+:} false; then :
13473 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13477 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13478 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13479 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13480 ac_save_CPPFLAGS=$CPPFLAGS
13481 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13482 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13485 $as_echo_n "checking for -lhal... " >&6; }
13486 if ${ac_cv_lib_soname_hal+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 ac_check_soname_save_LIBS=$LIBS
13490 LIBS="-lhal $HAL_LIBS $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 char libhal_ctx_new ();
13502 main ()
13504 return libhal_ctx_new ();
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 case "$LIBEXT" in
13511 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13512 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'` ;;
13513 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13514 if ${ac_cv_lib_soname_hal:+false} :; then :
13515 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13516 fi ;;
13517 esac
13518 else
13519 ac_cv_lib_soname_hal=
13521 rm -f core conftest.err conftest.$ac_objext \
13522 conftest$ac_exeext conftest.$ac_ext
13523 LIBS=$ac_check_soname_save_LIBS
13525 if ${ac_cv_lib_soname_hal:+false} :; then :
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13527 $as_echo "not found" >&6; }
13528 HAL_CFLAGS=""
13529 else
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13531 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13533 cat >>confdefs.h <<_ACEOF
13534 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13535 _ACEOF
13539 else
13540 HAL_CFLAGS=""
13544 CPPFLAGS=$ac_save_CPPFLAGS
13546 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13547 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13548 case "x$with_hal" in
13549 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13550 xno) ;;
13551 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13552 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13553 esac
13558 if test "x$with_gnutls" != "xno"
13559 then
13560 if ${GNUTLS_CFLAGS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13566 if ${GNUTLS_LIBS:+false} :; then :
13567 if ${PKG_CONFIG+:} false; then :
13568 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13572 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13573 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13574 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13575 ac_save_CPPFLAGS=$CPPFLAGS
13576 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13577 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13578 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 #include <gnutls/gnutls.h>
13582 #include <gnutls/crypto.h>
13584 main ()
13586 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13588 return 0;
13590 _ACEOF
13591 if ac_fn_c_try_compile "$LINENO"; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13593 $as_echo_n "checking for -lgnutls... " >&6; }
13594 if ${ac_cv_lib_soname_gnutls+:} false; then :
13595 $as_echo_n "(cached) " >&6
13596 else
13597 ac_check_soname_save_LIBS=$LIBS
13598 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13602 /* Override any GCC internal prototype to avoid an error.
13603 Use char because int might match the return type of a GCC
13604 builtin and then its argument prototype would still apply. */
13605 #ifdef __cplusplus
13606 extern "C"
13607 #endif
13608 char gnutls_global_init ();
13610 main ()
13612 return gnutls_global_init ();
13614 return 0;
13616 _ACEOF
13617 if ac_fn_c_try_link "$LINENO"; then :
13618 case "$LIBEXT" in
13619 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13620 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'` ;;
13621 *) 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'`
13622 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13623 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'`
13624 fi ;;
13625 esac
13626 else
13627 ac_cv_lib_soname_gnutls=
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 LIBS=$ac_check_soname_save_LIBS
13633 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13635 $as_echo "not found" >&6; }
13636 GNUTLS_CFLAGS=""
13637 else
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13639 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13641 cat >>confdefs.h <<_ACEOF
13642 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13643 _ACEOF
13647 ac_wine_check_funcs_save_LIBS="$LIBS"
13648 LIBS="$LIBS $GNUTLS_LIBS"
13649 for ac_func in gnutls_cipher_init
13650 do :
13651 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13652 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13653 cat >>confdefs.h <<_ACEOF
13654 #define HAVE_GNUTLS_CIPHER_INIT 1
13655 _ACEOF
13657 else
13658 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13660 done
13662 LIBS="$ac_wine_check_funcs_save_LIBS"
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13665 else
13666 GNUTLS_CFLAGS=""
13670 CPPFLAGS=$ac_save_CPPFLAGS
13673 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13674 case "x$with_gnutls" in
13675 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13676 xno) ;;
13677 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13678 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13679 esac
13683 if test "x$with_sane" != "xno"
13684 then
13685 if ${SANE_CFLAGS:+false} :; then :
13686 if ${PKG_CONFIG+:} false; then :
13687 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13690 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13691 if ${SANE_LIBS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13696 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13698 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13699 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13700 ac_save_CPPFLAGS=$CPPFLAGS
13701 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13702 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13703 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13705 $as_echo_n "checking for -lsane... " >&6; }
13706 if ${ac_cv_lib_soname_sane+:} false; then :
13707 $as_echo_n "(cached) " >&6
13708 else
13709 ac_check_soname_save_LIBS=$LIBS
13710 LIBS="-lsane $SANE_LIBS $LIBS"
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13714 /* Override any GCC internal prototype to avoid an error.
13715 Use char because int might match the return type of a GCC
13716 builtin and then its argument prototype would still apply. */
13717 #ifdef __cplusplus
13718 extern "C"
13719 #endif
13720 char sane_init ();
13722 main ()
13724 return sane_init ();
13726 return 0;
13728 _ACEOF
13729 if ac_fn_c_try_link "$LINENO"; then :
13730 case "$LIBEXT" in
13731 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13732 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'` ;;
13733 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13734 if ${ac_cv_lib_soname_sane:+false} :; then :
13735 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13736 fi ;;
13737 esac
13738 else
13739 ac_cv_lib_soname_sane=
13741 rm -f core conftest.err conftest.$ac_objext \
13742 conftest$ac_exeext conftest.$ac_ext
13743 LIBS=$ac_check_soname_save_LIBS
13745 if ${ac_cv_lib_soname_sane:+false} :; then :
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13747 $as_echo "not found" >&6; }
13748 SANE_CFLAGS=""
13749 else
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13751 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13753 cat >>confdefs.h <<_ACEOF
13754 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13755 _ACEOF
13759 else
13760 SANE_CFLAGS=""
13764 CPPFLAGS=$ac_save_CPPFLAGS
13767 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13768 case "x$with_sane" in
13769 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13770 xno) ;;
13771 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13772 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13773 esac
13777 if test "x$with_usb" != "xno"
13778 then
13779 if ${USB_CFLAGS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13785 if ${USB_LIBS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13791 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13792 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13793 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13794 ac_save_CPPFLAGS=$CPPFLAGS
13795 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13796 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13797 if test "x$ac_cv_header_libusb_h" = xyes; then :
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13799 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13800 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_check_lib_save_LIBS=$LIBS
13804 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 #ifdef __cplusplus
13812 extern "C"
13813 #endif
13814 char libusb_interrupt_event_handler ();
13816 main ()
13818 return libusb_interrupt_event_handler ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13825 else
13826 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13828 rm -f core conftest.err conftest.$ac_objext \
13829 conftest$ac_exeext conftest.$ac_ext
13830 LIBS=$ac_check_lib_save_LIBS
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13833 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13834 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13836 else
13837 USB_LIBS=""
13840 else
13841 USB_LIBS=""
13845 CPPFLAGS=$ac_save_CPPFLAGS
13848 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13849 case "x$with_usb" in
13850 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13851 xno) ;;
13852 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13853 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13854 esac
13855 enable_wineusb_sys=${enable_wineusb_sys:-no}
13858 if test "x$with_v4l2" != "xno"
13859 then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13861 $as_echo_n "checking for -lv4l2... " >&6; }
13862 if ${ac_cv_lib_soname_v4l2+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 ac_check_soname_save_LIBS=$LIBS
13866 LIBS="-lv4l2 $LIBS"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13870 /* Override any GCC internal prototype to avoid an error.
13871 Use char because int might match the return type of a GCC
13872 builtin and then its argument prototype would still apply. */
13873 #ifdef __cplusplus
13874 extern "C"
13875 #endif
13876 char v4l2_open ();
13878 main ()
13880 return v4l2_open ();
13882 return 0;
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"; then :
13886 case "$LIBEXT" in
13887 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13888 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'` ;;
13889 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13890 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13891 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13892 fi ;;
13893 esac
13894 else
13895 ac_cv_lib_soname_v4l2=
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 LIBS=$ac_check_soname_save_LIBS
13901 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13903 $as_echo "not found" >&6; }
13905 else
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13907 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13909 cat >>confdefs.h <<_ACEOF
13910 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13911 _ACEOF
13916 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13917 case "x$with_v4l2" in
13918 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13919 xno) ;;
13920 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13921 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13922 esac
13926 if test "x$with_gphoto" != "xno"
13927 then
13928 if ${GPHOTO2_CFLAGS:+false} :; then :
13929 if ${PKG_CONFIG+:} false; then :
13930 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13933 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13934 if ${GPHOTO2_LIBS:+false} :; then :
13935 if ${PKG_CONFIG+:} false; then :
13936 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13939 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13940 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13941 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13942 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13943 ac_save_CPPFLAGS=$CPPFLAGS
13944 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13945 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13946 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13948 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13949 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13950 $as_echo_n "(cached) " >&6
13951 else
13952 ac_check_lib_save_LIBS=$LIBS
13953 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13957 /* Override any GCC internal prototype to avoid an error.
13958 Use char because int might match the return type of a GCC
13959 builtin and then its argument prototype would still apply. */
13960 #ifdef __cplusplus
13961 extern "C"
13962 #endif
13963 char gp_camera_new ();
13965 main ()
13967 return gp_camera_new ();
13969 return 0;
13971 _ACEOF
13972 if ac_fn_c_try_link "$LINENO"; then :
13973 ac_cv_lib_gphoto2_gp_camera_new=yes
13974 else
13975 ac_cv_lib_gphoto2_gp_camera_new=no
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_lib_save_LIBS
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13982 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13983 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13985 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13987 else
13988 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13991 else
13992 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13996 CPPFLAGS=$ac_save_CPPFLAGS
13998 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13999 if ${PKG_CONFIG+:} false; then :
14000 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14003 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14004 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14005 if ${PKG_CONFIG+:} false; then :
14006 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14009 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14010 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14011 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14012 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14013 ac_save_CPPFLAGS=$CPPFLAGS
14014 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14015 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14016 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14018 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14019 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14020 $as_echo_n "(cached) " >&6
14021 else
14022 ac_check_lib_save_LIBS=$LIBS
14023 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 /* Override any GCC internal prototype to avoid an error.
14028 Use char because int might match the return type of a GCC
14029 builtin and then its argument prototype would still apply. */
14030 #ifdef __cplusplus
14031 extern "C"
14032 #endif
14033 char gp_port_info_list_new ();
14035 main ()
14037 return gp_port_info_list_new ();
14039 return 0;
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14044 else
14045 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14049 LIBS=$ac_check_lib_save_LIBS
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14052 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14053 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14055 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14057 else
14058 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14061 else
14062 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14066 CPPFLAGS=$ac_save_CPPFLAGS
14069 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14070 case "x$with_gphoto" in
14071 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14072 xno) ;;
14073 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14074 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14075 esac
14078 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14079 case "x$with_gphoto" in
14080 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14081 xno) ;;
14082 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14083 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14084 esac
14089 if test "$ac_cv_header_resolv_h" = "yes"
14090 then
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14092 $as_echo_n "checking for resolver library... " >&6; }
14093 if ${ac_cv_have_resolv+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_save_LIBS="$LIBS"
14097 for lib in '' -lresolv
14099 LIBS="$lib $ac_save_LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 #ifdef HAVE_NETINET_IN_H
14103 #include <netinet/in.h>
14104 #endif
14105 #include <resolv.h>
14107 main ()
14109 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 ac_cv_have_resolv=${lib:-"none required"}
14116 else
14117 ac_cv_have_resolv="not found"
14119 rm -f core conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14121 test "x$ac_cv_have_resolv" = "xnot found" || break
14122 done
14123 LIBS="$ac_save_LIBS"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14126 $as_echo "$ac_cv_have_resolv" >&6; }
14128 case "$ac_cv_have_resolv" in
14129 "not found") ;;
14130 "none required")
14132 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14135 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14137 RESOLV_LIBS=$ac_cv_have_resolv
14139 esac
14141 if test "x$ac_cv_have_resolv" != "xnot found"
14142 then
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14144 $as_echo_n "checking for res_getservers... " >&6; }
14145 if ${ac_cv_have_res_getservers+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_save_LIBS="$LIBS"
14149 LIBS="$RESOLV_LIBS $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 #include <resolv.h>
14154 main ()
14156 res_getservers(NULL, NULL, 0);
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 ac_cv_have_res_getservers=yes
14163 else
14164 ac_cv_have_res_getservers=no
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 LIBS="$ac_save_LIBS"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14171 $as_echo "$ac_cv_have_res_getservers" >&6; }
14172 if test "$ac_cv_have_res_getservers" = "yes"
14173 then
14175 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14181 if test "x$with_cms" != "xno"
14182 then
14183 if ${LCMS2_CFLAGS:+false} :; then :
14184 if ${PKG_CONFIG+:} false; then :
14185 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14189 if ${LCMS2_LIBS:+false} :; then :
14190 if ${PKG_CONFIG+:} false; then :
14191 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14195 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14196 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14197 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14198 ac_save_CPPFLAGS=$CPPFLAGS
14199 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14200 for ac_header in lcms2.h
14201 do :
14202 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14203 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14204 cat >>confdefs.h <<_ACEOF
14205 #define HAVE_LCMS2_H 1
14206 _ACEOF
14210 done
14212 if test "$ac_cv_header_lcms2_h" = "yes"
14213 then
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14215 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14216 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14217 $as_echo_n "(cached) " >&6
14218 else
14219 ac_check_lib_save_LIBS=$LIBS
14220 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14227 #ifdef __cplusplus
14228 extern "C"
14229 #endif
14230 char cmsOpenProfileFromFile ();
14232 main ()
14234 return cmsOpenProfileFromFile ();
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"; then :
14240 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14241 else
14242 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14244 rm -f core conftest.err conftest.$ac_objext \
14245 conftest$ac_exeext conftest.$ac_ext
14246 LIBS=$ac_check_lib_save_LIBS
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14249 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14250 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14252 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14254 else
14255 LCMS2_LIBS=""
14258 else
14259 LCMS2_CFLAGS=""
14260 LCMS2_LIBS=""
14262 CPPFLAGS=$ac_save_CPPFLAGS
14265 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14266 case "x$with_cms" in
14267 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14268 xno) ;;
14269 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14270 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14271 esac
14275 if test "x$with_freetype" != "xno"
14276 then
14277 if ${FREETYPE_CFLAGS:+false} :; then :
14278 if ${PKG_CONFIG+:} false; then :
14279 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14282 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14283 if ${FREETYPE_LIBS:+false} :; then :
14284 if ${PKG_CONFIG+:} false; then :
14285 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14288 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14289 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14290 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14291 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14292 ac_save_CPPFLAGS=$CPPFLAGS
14293 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14294 for ac_header in ft2build.h
14295 do :
14296 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14297 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14298 cat >>confdefs.h <<_ACEOF
14299 #define HAVE_FT2BUILD_H 1
14300 _ACEOF
14304 done
14306 if test "$ac_cv_header_ft2build_h" = "yes"
14307 then
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14309 $as_echo_n "checking for -lfreetype... " >&6; }
14310 if ${ac_cv_lib_soname_freetype+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 ac_check_soname_save_LIBS=$LIBS
14314 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14318 /* Override any GCC internal prototype to avoid an error.
14319 Use char because int might match the return type of a GCC
14320 builtin and then its argument prototype would still apply. */
14321 #ifdef __cplusplus
14322 extern "C"
14323 #endif
14324 char FT_Init_FreeType ();
14326 main ()
14328 return FT_Init_FreeType ();
14330 return 0;
14332 _ACEOF
14333 if ac_fn_c_try_link "$LINENO"; then :
14334 case "$LIBEXT" in
14335 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14336 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'` ;;
14337 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14338 if ${ac_cv_lib_soname_freetype:+false} :; then :
14339 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14340 fi ;;
14341 esac
14342 else
14343 ac_cv_lib_soname_freetype=
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 LIBS=$ac_check_soname_save_LIBS
14349 if ${ac_cv_lib_soname_freetype:+false} :; then :
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14351 $as_echo "not found" >&6; }
14352 FREETYPE_LIBS=""
14353 else
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14355 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14357 cat >>confdefs.h <<_ACEOF
14358 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14359 _ACEOF
14362 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14364 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14365 #include FT_MODULE_H
14367 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14369 cat >>confdefs.h <<_ACEOF
14370 #define HAVE_FT_TRUETYPEENGINETYPE 1
14371 _ACEOF
14377 else
14378 FREETYPE_CFLAGS=""
14379 FREETYPE_LIBS=""
14381 CPPFLAGS=$ac_save_CPPFLAGS
14384 if test "x$ac_cv_lib_soname_freetype" = x; then :
14385 case "x$with_freetype" in
14386 xno) ;;
14387 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14388 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14389 esac
14390 enable_fonts=${enable_fonts:-no}
14393 ac_wine_check_funcs_save_LIBS="$LIBS"
14394 LIBS="$LIBS $PTHREAD_LIBS"
14395 for ac_func in \
14396 pthread_getthreadid_np
14397 do :
14398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14400 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14401 cat >>confdefs.h <<_ACEOF
14402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14403 _ACEOF
14406 done
14408 LIBS="$ac_wine_check_funcs_save_LIBS"
14410 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14411 then
14412 if test "$ac_cv_header_gettext_po_h" = "yes"
14413 then
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14415 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14416 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_check_lib_save_LIBS=$LIBS
14420 LIBS="-lgettextpo $LIBS"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 #ifdef __cplusplus
14428 extern "C"
14429 #endif
14430 char po_message_msgctxt ();
14432 main ()
14434 return po_message_msgctxt ();
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14441 else
14442 ac_cv_lib_gettextpo_po_message_msgctxt=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 LIBS=$ac_check_lib_save_LIBS
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14449 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14450 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14452 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14454 GETTEXTPO_LIBS="-lgettextpo"
14459 if test "x$GETTEXTPO_LIBS" = "x"; then :
14460 case "x$with_gettextpo" in
14461 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14462 xno) ;;
14463 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14464 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14465 esac
14468 if test "$srcdir" != .; then :
14469 case "x$with_gettextpo" in
14470 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14471 xno) ;;
14472 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14473 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14474 esac
14479 if test "x$with_pulse" != "xno";
14480 then
14481 if ${PULSE_CFLAGS:+false} :; then :
14482 if ${PKG_CONFIG+:} false; then :
14483 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14487 if ${PULSE_LIBS:+false} :; then :
14488 if ${PKG_CONFIG+:} false; then :
14489 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14494 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14495 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14496 ac_save_CPPFLAGS=$CPPFLAGS
14497 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14498 for ac_header in pulse/pulseaudio.h
14499 do :
14500 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14501 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14502 cat >>confdefs.h <<_ACEOF
14503 #define HAVE_PULSE_PULSEAUDIO_H 1
14504 _ACEOF
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14506 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14507 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 ac_check_lib_save_LIBS=$LIBS
14511 LIBS="-lpulse $PULSE_LIBS $LIBS"
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14515 /* Override any GCC internal prototype to avoid an error.
14516 Use char because int might match the return type of a GCC
14517 builtin and then its argument prototype would still apply. */
14518 #ifdef __cplusplus
14519 extern "C"
14520 #endif
14521 char pa_stream_is_corked ();
14523 main ()
14525 return pa_stream_is_corked ();
14527 return 0;
14529 _ACEOF
14530 if ac_fn_c_try_link "$LINENO"; then :
14531 ac_cv_lib_pulse_pa_stream_is_corked=yes
14532 else
14533 ac_cv_lib_pulse_pa_stream_is_corked=no
14535 rm -f core conftest.err conftest.$ac_objext \
14536 conftest$ac_exeext conftest.$ac_ext
14537 LIBS=$ac_check_lib_save_LIBS
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14540 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14541 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14543 else
14544 PULSE_LIBS=""
14547 else
14548 PULSE_LIBS=""
14551 done
14553 CPPFLAGS=$ac_save_CPPFLAGS
14556 if test -z "$PULSE_LIBS"; then :
14557 case "x$with_pulse" in
14558 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14559 xno) ;;
14560 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14561 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14562 esac
14563 enable_winepulse_drv=${enable_winepulse_drv:-no}
14566 if test "x$with_gstreamer" != "xno"
14567 then
14568 if ${GSTREAMER_CFLAGS:+false} :; then :
14569 if ${PKG_CONFIG+:} false; then :
14570 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14574 if ${GSTREAMER_LIBS:+false} :; then :
14575 if ${PKG_CONFIG+:} false; then :
14576 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14581 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14582 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14583 ac_save_CPPFLAGS=$CPPFLAGS
14584 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14585 ac_gst_incl=""
14586 for i in $GSTREAMER_CFLAGS
14588 case "$i" in
14589 -I*) ac_gst_incl="$ac_gst_incl $i";;
14590 esac
14591 done
14592 GSTREAMER_CFLAGS=$ac_gst_incl
14593 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14594 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14595 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14597 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 #include <gst/gst.h>
14602 main ()
14604 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_compile "$LINENO"; then :
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14611 $as_echo "yes" >&6; }
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14613 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14614 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 ac_check_lib_save_LIBS=$LIBS
14618 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14622 /* Override any GCC internal prototype to avoid an error.
14623 Use char because int might match the return type of a GCC
14624 builtin and then its argument prototype would still apply. */
14625 #ifdef __cplusplus
14626 extern "C"
14627 #endif
14628 char gst_pad_new ();
14630 main ()
14632 return gst_pad_new ();
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"; then :
14638 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14639 else
14640 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14642 rm -f core conftest.err conftest.$ac_objext \
14643 conftest$ac_exeext conftest.$ac_ext
14644 LIBS=$ac_check_lib_save_LIBS
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14647 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14648 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14652 else
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14654 $as_echo "no" >&6; }
14655 ac_glib2_broken=yes
14656 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 CPPFLAGS=$ac_save_CPPFLAGS
14665 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 :
14666 case "x$with_gstreamer" in
14667 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14668 xno) ;;
14669 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14670 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14671 esac
14674 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14676 ALSA_LIBS=""
14678 if test "x$with_alsa" != "xno"
14679 then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14681 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14682 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 ac_check_lib_save_LIBS=$LIBS
14686 LIBS="-lasound $LIBS"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14690 /* Override any GCC internal prototype to avoid an error.
14691 Use char because int might match the return type of a GCC
14692 builtin and then its argument prototype would still apply. */
14693 #ifdef __cplusplus
14694 extern "C"
14695 #endif
14696 char snd_pcm_hw_params_get_access_mask ();
14698 main ()
14700 return snd_pcm_hw_params_get_access_mask ();
14702 return 0;
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14707 else
14708 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LIBS=$ac_check_lib_save_LIBS
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14715 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14716 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14719 #include <alsa/asoundlib.h>
14721 main ()
14723 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_compile "$LINENO"; then :
14729 ALSA_LIBS="-lasound"
14731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14735 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14737 if test "x$with_oss" != xno
14738 then
14739 ac_save_CPPFLAGS="$CPPFLAGS"
14740 if test -f /etc/oss.conf
14741 then
14742 . /etc/oss.conf
14744 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14745 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14746 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14747 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14748 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14750 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14752 cat >>confdefs.h <<_ACEOF
14753 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14754 _ACEOF
14756 OSS4_CFLAGS="$ac_oss_incl"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14759 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14760 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-lossaudio $LIBS"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 #ifdef __cplusplus
14772 extern "C"
14773 #endif
14774 char _oss_ioctl ();
14776 main ()
14778 return _oss_ioctl ();
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_lib_ossaudio__oss_ioctl=yes
14785 else
14786 ac_cv_lib_ossaudio__oss_ioctl=no
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_lib_save_LIBS
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14793 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14794 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14795 OSS4_LIBS="-lossaudio"
14804 CPPFLAGS="$ac_save_CPPFLAGS"
14806 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14807 case "x$with_oss" in
14808 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14809 xno) ;;
14810 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14811 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14812 esac
14813 enable_wineoss_drv=${enable_wineoss_drv:-no}
14816 if test "x$with_udev" != "xno"
14817 then
14818 if ${UDEV_CFLAGS:+false} :; then :
14819 if ${PKG_CONFIG+:} false; then :
14820 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14824 if ${UDEV_LIBS:+false} :; then :
14825 if ${PKG_CONFIG+:} false; then :
14826 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14830 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14831 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14832 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14833 ac_save_CPPFLAGS=$CPPFLAGS
14834 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14835 for ac_header in libudev.h
14836 do :
14837 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14838 if test "x$ac_cv_header_libudev_h" = xyes; then :
14839 cat >>confdefs.h <<_ACEOF
14840 #define HAVE_LIBUDEV_H 1
14841 _ACEOF
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14843 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14844 if ${ac_cv_lib_udev_udev_new+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_check_lib_save_LIBS=$LIBS
14848 LIBS="-ludev $UDEV_LIBS $LIBS"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14855 #ifdef __cplusplus
14856 extern "C"
14857 #endif
14858 char udev_new ();
14860 main ()
14862 return udev_new ();
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_lib_udev_udev_new=yes
14869 else
14870 ac_cv_lib_udev_udev_new=no
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_lib_save_LIBS
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14877 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14878 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14880 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14882 else
14883 UDEV_LIBS=""
14886 else
14887 UDEV_LIBS=""
14890 done
14892 CPPFLAGS=$ac_save_CPPFLAGS
14895 if test "x$UDEV_LIBS" = "x"; then :
14896 case "x$with_udev" in
14897 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14898 xno) ;;
14899 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14900 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14901 esac
14905 if test "x$with_unwind" != xno
14906 then
14907 if ${UNWIND_CFLAGS:+false} :; then :
14908 if ${PKG_CONFIG+:} false; then :
14909 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14913 if ${UNWIND_LIBS:+false} :; then :
14914 if ${PKG_CONFIG+:} false; then :
14915 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14919 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14920 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14921 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14922 ac_save_CPPFLAGS=$CPPFLAGS
14923 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14925 $as_echo_n "checking for unw_step... " >&6; }
14926 if ${wine_cv_have_unw_step+:} false; then :
14927 $as_echo_n "(cached) " >&6
14928 else
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 #define UNW_LOCAL_ONLY
14932 #include <libunwind.h>
14934 main ()
14936 unw_cursor_t cursor; unw_step( &cursor );
14938 return 0;
14940 _ACEOF
14941 if ac_fn_c_try_link "$LINENO"; then :
14942 wine_cv_have_unw_step="yes"
14943 else
14944 wine_cv_have_unw_step="no"
14946 rm -f core conftest.err conftest.$ac_objext \
14947 conftest$ac_exeext conftest.$ac_ext
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14950 $as_echo "$wine_cv_have_unw_step" >&6; }
14951 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14952 then
14953 save_libs=$LIBS
14954 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14955 LIBS="$UNWIND_LIBS $LIBS"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14957 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14958 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 #define UNW_LOCAL_ONLY
14964 #include <libunwind.h>
14966 main ()
14968 unw_cursor_t cursor; unw_step( &cursor );
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 wine_cv_have_libunwind_unw_step="yes"
14975 else
14976 wine_cv_have_libunwind_unw_step="no"
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14982 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14983 LIBS=$save_libs
14985 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14986 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14987 then
14989 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14992 CPPFLAGS=$ac_save_CPPFLAGS
14995 case $host in
14996 aarch64*|*-darwin*)
14997 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14998 case "x$with_unwind" in
14999 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15000 xno) ;;
15001 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15002 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15003 esac
15005 fi ;;
15006 esac
15008 if test "x$with_sdl" != "xno"
15009 then
15010 if ${SDL2_CFLAGS:+false} :; then :
15011 if ${PKG_CONFIG+:} false; then :
15012 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15016 if ${SDL2_LIBS:+false} :; then :
15017 if ${PKG_CONFIG+:} false; then :
15018 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15022 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15023 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15024 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15025 ac_save_CPPFLAGS=$CPPFLAGS
15026 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15027 for ac_header in SDL.h
15028 do :
15029 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15030 if test "x$ac_cv_header_SDL_h" = xyes; then :
15031 cat >>confdefs.h <<_ACEOF
15032 #define HAVE_SDL_H 1
15033 _ACEOF
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15035 $as_echo_n "checking for -lSDL2... " >&6; }
15036 if ${ac_cv_lib_soname_SDL2+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 ac_check_soname_save_LIBS=$LIBS
15040 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15044 /* Override any GCC internal prototype to avoid an error.
15045 Use char because int might match the return type of a GCC
15046 builtin and then its argument prototype would still apply. */
15047 #ifdef __cplusplus
15048 extern "C"
15049 #endif
15050 char SDL_Init ();
15052 main ()
15054 return SDL_Init ();
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 case "$LIBEXT" in
15061 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15062 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'` ;;
15063 *) 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'`
15064 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15065 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15066 fi ;;
15067 esac
15068 else
15069 ac_cv_lib_soname_SDL2=
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15073 LIBS=$ac_check_soname_save_LIBS
15075 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15077 $as_echo "not found" >&6; }
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15081 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15083 cat >>confdefs.h <<_ACEOF
15084 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15085 _ACEOF
15091 done
15093 CPPFLAGS=$ac_save_CPPFLAGS
15096 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15097 case "x$with_sdl" in
15098 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15099 xno) ;;
15100 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15101 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15102 esac
15106 if test "x$with_faudio" != "xno"
15107 then
15108 if ${FAUDIO_CFLAGS:+false} :; then :
15109 if ${PKG_CONFIG+:} false; then :
15110 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15114 if ${FAUDIO_LIBS:+false} :; then :
15115 if ${PKG_CONFIG+:} false; then :
15116 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15120 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15121 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15122 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15123 ac_save_CPPFLAGS=$CPPFLAGS
15124 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15125 for ac_header in FAudio.h
15126 do :
15127 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15128 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define HAVE_FAUDIO_H 1
15131 _ACEOF
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15133 $as_echo_n "checking for -lFAudio... " >&6; }
15134 if ${ac_cv_lib_soname_FAudio+:} false; then :
15135 $as_echo_n "(cached) " >&6
15136 else
15137 ac_check_soname_save_LIBS=$LIBS
15138 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15142 /* Override any GCC internal prototype to avoid an error.
15143 Use char because int might match the return type of a GCC
15144 builtin and then its argument prototype would still apply. */
15145 #ifdef __cplusplus
15146 extern "C"
15147 #endif
15148 char FAudioCreate ();
15150 main ()
15152 return FAudioCreate ();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 case "$LIBEXT" in
15159 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15160 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'` ;;
15161 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15162 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15163 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15164 fi ;;
15165 esac
15166 else
15167 ac_cv_lib_soname_FAudio=
15169 rm -f core conftest.err conftest.$ac_objext \
15170 conftest$ac_exeext conftest.$ac_ext
15171 LIBS=$ac_check_soname_save_LIBS
15173 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15175 $as_echo "not found" >&6; }
15177 else
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15179 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15181 cat >>confdefs.h <<_ACEOF
15182 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15183 _ACEOF
15189 done
15191 ac_wine_check_funcs_save_LIBS="$LIBS"
15192 LIBS="$LIBS $FAUDIO_LIBS"
15193 for ac_func in FAudio_CommitOperationSet \
15194 F3DAudioInitialize8 \
15195 FAudioLinkedVersion \
15196 FAudioCreateReverb9WithCustomAllocatorEXT
15197 do :
15198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15200 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15201 cat >>confdefs.h <<_ACEOF
15202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15203 _ACEOF
15206 done
15208 LIBS="$ac_wine_check_funcs_save_LIBS"
15210 CPPFLAGS=$ac_save_CPPFLAGS
15213 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15214 case "x$with_faudio" in
15215 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15216 xno) ;;
15217 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15218 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15219 esac
15223 if test "x$with_capi" != "xno"
15224 then
15225 if ${CAPI20_CFLAGS:+false} :; then :
15226 if ${PKG_CONFIG+:} false; then :
15227 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15231 if ${CAPI20_LIBS:+false} :; then :
15232 if ${PKG_CONFIG+:} false; then :
15233 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15238 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15239 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15240 ac_save_CPPFLAGS=$CPPFLAGS
15241 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15242 for ac_header in capi20.h linux/capi.h
15243 do :
15244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15245 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15247 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15248 cat >>confdefs.h <<_ACEOF
15249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15250 _ACEOF
15254 done
15256 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15257 then
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15259 $as_echo_n "checking for -lcapi20... " >&6; }
15260 if ${ac_cv_lib_soname_capi20+:} false; then :
15261 $as_echo_n "(cached) " >&6
15262 else
15263 ac_check_soname_save_LIBS=$LIBS
15264 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 #ifdef __cplusplus
15272 extern "C"
15273 #endif
15274 char capi20_register ();
15276 main ()
15278 return capi20_register ();
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 case "$LIBEXT" in
15285 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15286 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'` ;;
15287 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15288 if ${ac_cv_lib_soname_capi20:+false} :; then :
15289 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15290 fi ;;
15291 esac
15292 else
15293 ac_cv_lib_soname_capi20=
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext conftest.$ac_ext
15297 LIBS=$ac_check_soname_save_LIBS
15299 if ${ac_cv_lib_soname_capi20:+false} :; then :
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15301 $as_echo "not found" >&6; }
15303 else
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15305 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15307 cat >>confdefs.h <<_ACEOF
15308 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15309 _ACEOF
15314 CPPFLAGS=$ac_save_CPPFLAGS
15317 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15318 case "x$with_capi" in
15319 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15320 xno) ;;
15321 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15322 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15323 esac
15327 if test "x$with_cups" != "xno"
15328 then
15329 if ${CUPS_CFLAGS:+false} :; then :
15330 if ${PKG_CONFIG+:} false; then :
15331 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15334 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15335 if ${CUPS_LIBS:+false} :; then :
15336 if ${PKG_CONFIG+:} false; then :
15337 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15340 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15341 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15342 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15343 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15344 ac_save_CPPFLAGS=$CPPFLAGS
15345 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15346 for ac_header in cups/cups.h cups/ppd.h
15347 do :
15348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15349 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15351 cat >>confdefs.h <<_ACEOF
15352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15353 _ACEOF
15357 done
15359 if test "$ac_cv_header_cups_cups_h" = "yes"
15360 then
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15362 $as_echo_n "checking for -lcups... " >&6; }
15363 if ${ac_cv_lib_soname_cups+:} false; then :
15364 $as_echo_n "(cached) " >&6
15365 else
15366 ac_check_soname_save_LIBS=$LIBS
15367 LIBS="-lcups $CUPS_LIBS $LIBS"
15368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15371 /* Override any GCC internal prototype to avoid an error.
15372 Use char because int might match the return type of a GCC
15373 builtin and then its argument prototype would still apply. */
15374 #ifdef __cplusplus
15375 extern "C"
15376 #endif
15377 char cupsGetDefault ();
15379 main ()
15381 return cupsGetDefault ();
15383 return 0;
15385 _ACEOF
15386 if ac_fn_c_try_link "$LINENO"; then :
15387 case "$LIBEXT" in
15388 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15389 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'` ;;
15390 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15391 if ${ac_cv_lib_soname_cups:+false} :; then :
15392 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15393 fi ;;
15394 esac
15395 else
15396 ac_cv_lib_soname_cups=
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15400 LIBS=$ac_check_soname_save_LIBS
15402 if ${ac_cv_lib_soname_cups:+false} :; then :
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15404 $as_echo "not found" >&6; }
15405 CUPS_LIBS=""
15406 else
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15408 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15410 cat >>confdefs.h <<_ACEOF
15411 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15412 _ACEOF
15416 else
15417 CUPS_CFLAGS=""
15418 CUPS_LIBS=""
15420 CPPFLAGS=$ac_save_CPPFLAGS
15423 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15424 case "x$with_cups" in
15425 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15426 xno) ;;
15427 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15428 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15429 esac
15433 if test "x$with_fontconfig" != "xno"
15434 then
15435 if ${FONTCONFIG_CFLAGS:+false} :; then :
15436 if ${PKG_CONFIG+:} false; then :
15437 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15440 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15441 if ${FONTCONFIG_LIBS:+false} :; then :
15442 if ${PKG_CONFIG+:} false; then :
15443 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15446 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15448 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15449 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15450 ac_save_CPPFLAGS=$CPPFLAGS
15451 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15452 for ac_header in fontconfig/fontconfig.h
15453 do :
15454 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15455 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15458 _ACEOF
15462 done
15464 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15465 then
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15467 $as_echo_n "checking for -lfontconfig... " >&6; }
15468 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15469 $as_echo_n "(cached) " >&6
15470 else
15471 ac_check_soname_save_LIBS=$LIBS
15472 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15476 /* Override any GCC internal prototype to avoid an error.
15477 Use char because int might match the return type of a GCC
15478 builtin and then its argument prototype would still apply. */
15479 #ifdef __cplusplus
15480 extern "C"
15481 #endif
15482 char FcInit ();
15484 main ()
15486 return FcInit ();
15488 return 0;
15490 _ACEOF
15491 if ac_fn_c_try_link "$LINENO"; then :
15492 case "$LIBEXT" in
15493 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15494 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'` ;;
15495 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15496 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15497 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15498 fi ;;
15499 esac
15500 else
15501 ac_cv_lib_soname_fontconfig=
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15505 LIBS=$ac_check_soname_save_LIBS
15507 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15509 $as_echo "not found" >&6; }
15510 FONTCONFIG_CFLAGS=""
15511 else
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15513 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15515 cat >>confdefs.h <<_ACEOF
15516 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15517 _ACEOF
15521 else
15522 FONTCONFIG_CFLAGS=""
15524 CPPFLAGS=$ac_save_CPPFLAGS
15527 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15528 case "x$with_fontconfig" in
15529 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15530 xno) ;;
15531 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15532 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15533 esac
15537 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15538 then
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15540 $as_echo_n "checking for -lgsm... " >&6; }
15541 if ${ac_cv_lib_soname_gsm+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 ac_check_soname_save_LIBS=$LIBS
15545 LIBS="-lgsm $LIBS"
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 /* Override any GCC internal prototype to avoid an error.
15550 Use char because int might match the return type of a GCC
15551 builtin and then its argument prototype would still apply. */
15552 #ifdef __cplusplus
15553 extern "C"
15554 #endif
15555 char gsm_create ();
15557 main ()
15559 return gsm_create ();
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"; then :
15565 case "$LIBEXT" in
15566 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15567 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'` ;;
15568 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15569 if ${ac_cv_lib_soname_gsm:+false} :; then :
15570 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15571 fi ;;
15572 esac
15573 else
15574 ac_cv_lib_soname_gsm=
15576 rm -f core conftest.err conftest.$ac_objext \
15577 conftest$ac_exeext conftest.$ac_ext
15578 LIBS=$ac_check_soname_save_LIBS
15580 if ${ac_cv_lib_soname_gsm:+false} :; then :
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15582 $as_echo "not found" >&6; }
15584 else
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15586 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15588 cat >>confdefs.h <<_ACEOF
15589 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15590 _ACEOF
15595 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15596 case "x$with_gsm" in
15597 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15598 xno) ;;
15599 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15600 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15601 esac
15605 if test "x$with_krb5" != "xno"
15606 then
15607 if ${KRB5_CFLAGS:+false} :; then :
15608 if ${PKG_CONFIG+:} false; then :
15609 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15612 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15613 if ${KRB5_LIBS:+false} :; then :
15614 if ${PKG_CONFIG+:} false; then :
15615 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15618 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15620 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15621 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15622 ac_save_CPPFLAGS=$CPPFLAGS
15623 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15624 for ac_header in krb5/krb5.h
15625 do :
15626 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15627 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_KRB5_KRB5_H 1
15630 _ACEOF
15634 done
15636 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15637 then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15639 $as_echo_n "checking for -lkrb5... " >&6; }
15640 if ${ac_cv_lib_soname_krb5+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_check_soname_save_LIBS=$LIBS
15644 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 #ifdef __cplusplus
15652 extern "C"
15653 #endif
15654 char krb5_is_config_principal ();
15656 main ()
15658 return krb5_is_config_principal ();
15660 return 0;
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 case "$LIBEXT" in
15665 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15666 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'` ;;
15667 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15668 if ${ac_cv_lib_soname_krb5:+false} :; then :
15669 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15670 fi ;;
15671 esac
15672 else
15673 ac_cv_lib_soname_krb5=
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15677 LIBS=$ac_check_soname_save_LIBS
15679 if ${ac_cv_lib_soname_krb5:+false} :; then :
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15681 $as_echo "not found" >&6; }
15682 KRB5_CFLAGS=""
15683 else
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15685 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15687 cat >>confdefs.h <<_ACEOF
15688 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15689 _ACEOF
15693 else
15694 KRB5_CFLAGS=""
15696 CPPFLAGS=$ac_save_CPPFLAGS
15699 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15700 case "x$with_krb5" in
15701 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15702 xno) ;;
15703 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15704 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15705 esac
15708 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15710 if test "x$with_gssapi" != "xno"
15711 then
15712 if ${GSSAPI_CFLAGS:+false} :; then :
15713 if ${PKG_CONFIG+:} false; then :
15714 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15717 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15718 if ${GSSAPI_LIBS:+false} :; then :
15719 if ${PKG_CONFIG+:} false; then :
15720 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15723 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15725 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15726 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15727 ac_save_CPPFLAGS=$CPPFLAGS
15728 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15729 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15730 do :
15731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15732 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15736 _ACEOF
15740 done
15742 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15743 then
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15745 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15746 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15747 $as_echo_n "(cached) " >&6
15748 else
15749 ac_check_soname_save_LIBS=$LIBS
15750 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15752 /* end confdefs.h. */
15754 /* Override any GCC internal prototype to avoid an error.
15755 Use char because int might match the return type of a GCC
15756 builtin and then its argument prototype would still apply. */
15757 #ifdef __cplusplus
15758 extern "C"
15759 #endif
15760 char gss_init_sec_context ();
15762 main ()
15764 return gss_init_sec_context ();
15766 return 0;
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"; then :
15770 case "$LIBEXT" in
15771 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15772 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'` ;;
15773 *) 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'`
15774 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15775 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15776 fi ;;
15777 esac
15778 else
15779 ac_cv_lib_soname_gssapi_krb5=
15781 rm -f core conftest.err conftest.$ac_objext \
15782 conftest$ac_exeext conftest.$ac_ext
15783 LIBS=$ac_check_soname_save_LIBS
15785 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15787 $as_echo "not found" >&6; }
15788 GSSAPI_CFLAGS=""
15789 else
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15791 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15793 cat >>confdefs.h <<_ACEOF
15794 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15795 _ACEOF
15799 else
15800 GSSAPI_CFLAGS=""
15802 CPPFLAGS=$ac_save_CPPFLAGS
15805 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15806 case "x$with_gssapi" in
15807 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15808 xno) ;;
15809 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15810 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15811 esac
15815 if test "x$with_jpeg" != "xno"
15816 then
15817 if ${JPEG_CFLAGS:+false} :; then :
15818 if ${PKG_CONFIG+:} false; then :
15819 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15823 if ${JPEG_LIBS:+false} :; then :
15824 if ${PKG_CONFIG+:} false; then :
15825 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15830 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15831 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15832 ac_save_CPPFLAGS=$CPPFLAGS
15833 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15834 for ac_header in jpeglib.h
15835 do :
15836 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15837 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_JPEGLIB_H 1
15840 _ACEOF
15844 done
15846 if test "$ac_cv_header_jpeglib_h" = "yes"
15847 then
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15849 $as_echo_n "checking for -ljpeg... " >&6; }
15850 if ${ac_cv_lib_soname_jpeg+:} false; then :
15851 $as_echo_n "(cached) " >&6
15852 else
15853 ac_check_soname_save_LIBS=$LIBS
15854 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15858 /* Override any GCC internal prototype to avoid an error.
15859 Use char because int might match the return type of a GCC
15860 builtin and then its argument prototype would still apply. */
15861 #ifdef __cplusplus
15862 extern "C"
15863 #endif
15864 char jpeg_start_decompress ();
15866 main ()
15868 return jpeg_start_decompress ();
15870 return 0;
15872 _ACEOF
15873 if ac_fn_c_try_link "$LINENO"; then :
15874 case "$LIBEXT" in
15875 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15876 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'` ;;
15877 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15878 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15879 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15880 fi ;;
15881 esac
15882 else
15883 ac_cv_lib_soname_jpeg=
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15887 LIBS=$ac_check_soname_save_LIBS
15889 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15891 $as_echo "not found" >&6; }
15892 JPEG_CFLAGS=""
15893 else
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15895 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15897 cat >>confdefs.h <<_ACEOF
15898 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15899 _ACEOF
15903 else
15904 JPEG_CFLAGS=""
15906 CPPFLAGS=$ac_save_CPPFLAGS
15909 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15910 case "x$with_jpeg" in
15911 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15912 xno) ;;
15913 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15914 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15915 esac
15919 if test "x$with_jxrlib" != "xno"
15920 then
15921 if ${JXRLIB_CFLAGS:+false} :; then :
15922 if ${PKG_CONFIG+:} false; then :
15923 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15926 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15927 if ${JXRLIB_LIBS:+false} :; then :
15928 if ${PKG_CONFIG+:} false; then :
15929 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15934 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15935 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15936 ac_save_CPPFLAGS=$CPPFLAGS
15937 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15938 for ac_header in JXRGlue.h
15939 do :
15940 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15942 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_JXRGLUE_H 1
15945 _ACEOF
15949 done
15951 if test "$ac_cv_header_JXRGlue_h" = "yes"
15952 then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15954 $as_echo_n "checking for -ljxrglue... " >&6; }
15955 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15956 $as_echo_n "(cached) " >&6
15957 else
15958 ac_check_soname_save_LIBS=$LIBS
15959 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15966 #ifdef __cplusplus
15967 extern "C"
15968 #endif
15969 char PKImageDecode_Create_WMP ();
15971 main ()
15973 return PKImageDecode_Create_WMP ();
15975 return 0;
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"; then :
15979 case "$LIBEXT" in
15980 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15981 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'` ;;
15982 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15983 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15984 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15985 fi ;;
15986 esac
15987 else
15988 ac_cv_lib_soname_jxrglue=
15990 rm -f core conftest.err conftest.$ac_objext \
15991 conftest$ac_exeext conftest.$ac_ext
15992 LIBS=$ac_check_soname_save_LIBS
15994 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15996 $as_echo "not found" >&6; }
15997 JXRLIB_CFLAGS=""
15998 else
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16000 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16002 cat >>confdefs.h <<_ACEOF
16003 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16004 _ACEOF
16008 else
16009 JXRLIB_CFLAGS=""
16011 CPPFLAGS=$ac_save_CPPFLAGS
16014 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16015 case "x$with_jxrlib" in
16016 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16017 xno) ;;
16018 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16019 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16020 esac
16024 if test "x$with_png" != "xno"
16025 then
16026 if ${PNG_CFLAGS:+false} :; then :
16027 if ${PKG_CONFIG+:} false; then :
16028 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16031 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16032 if ${PNG_LIBS:+false} :; then :
16033 if ${PKG_CONFIG+:} false; then :
16034 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16037 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16039 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16040 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16041 ac_save_CPPFLAGS=$CPPFLAGS
16042 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16043 for ac_header in png.h
16044 do :
16045 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16046 if test "x$ac_cv_header_png_h" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_PNG_H 1
16049 _ACEOF
16053 done
16055 if test "$ac_cv_header_png_h" = "yes"
16056 then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16058 $as_echo_n "checking for -lpng... " >&6; }
16059 if ${ac_cv_lib_soname_png+:} false; then :
16060 $as_echo_n "(cached) " >&6
16061 else
16062 ac_check_soname_save_LIBS=$LIBS
16063 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16067 /* Override any GCC internal prototype to avoid an error.
16068 Use char because int might match the return type of a GCC
16069 builtin and then its argument prototype would still apply. */
16070 #ifdef __cplusplus
16071 extern "C"
16072 #endif
16073 char png_create_read_struct ();
16075 main ()
16077 return png_create_read_struct ();
16079 return 0;
16081 _ACEOF
16082 if ac_fn_c_try_link "$LINENO"; then :
16083 case "$LIBEXT" in
16084 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16085 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'` ;;
16086 *) 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'`
16087 if ${ac_cv_lib_soname_png:+false} :; then :
16088 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16089 fi ;;
16090 esac
16091 else
16092 ac_cv_lib_soname_png=
16094 rm -f core conftest.err conftest.$ac_objext \
16095 conftest$ac_exeext conftest.$ac_ext
16096 LIBS=$ac_check_soname_save_LIBS
16098 if ${ac_cv_lib_soname_png:+false} :; then :
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16100 $as_echo "not found" >&6; }
16101 PNG_CFLAGS=""
16102 else
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16104 $as_echo "$ac_cv_lib_soname_png" >&6; }
16106 cat >>confdefs.h <<_ACEOF
16107 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16108 _ACEOF
16112 else
16113 PNG_CFLAGS=""
16115 CPPFLAGS=$ac_save_CPPFLAGS
16118 if test "x$ac_cv_lib_soname_png" = "x"; then :
16119 case "x$with_png" in
16120 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16121 xno) ;;
16122 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16123 This is an error since --with-png was requested." "$LINENO" 5 ;;
16124 esac
16128 if test "x$with_tiff" != "xno"
16129 then
16130 if ${TIFF_CFLAGS:+false} :; then :
16131 if ${PKG_CONFIG+:} false; then :
16132 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16136 if ${TIFF_LIBS:+false} :; then :
16137 if ${PKG_CONFIG+:} false; then :
16138 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16143 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16144 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16145 ac_save_CPPFLAGS=$CPPFLAGS
16146 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16147 for ac_header in tiffio.h
16148 do :
16149 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16150 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_TIFFIO_H 1
16153 _ACEOF
16157 done
16159 if test "$ac_cv_header_tiffio_h" = "yes"
16160 then
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16162 $as_echo_n "checking for -ltiff... " >&6; }
16163 if ${ac_cv_lib_soname_tiff+:} false; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 ac_check_soname_save_LIBS=$LIBS
16167 LIBS="-ltiff $TIFF_LIBS $LIBS"
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16171 /* Override any GCC internal prototype to avoid an error.
16172 Use char because int might match the return type of a GCC
16173 builtin and then its argument prototype would still apply. */
16174 #ifdef __cplusplus
16175 extern "C"
16176 #endif
16177 char TIFFClientOpen ();
16179 main ()
16181 return TIFFClientOpen ();
16183 return 0;
16185 _ACEOF
16186 if ac_fn_c_try_link "$LINENO"; then :
16187 case "$LIBEXT" in
16188 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16189 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'` ;;
16190 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16191 if ${ac_cv_lib_soname_tiff:+false} :; then :
16192 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16193 fi ;;
16194 esac
16195 else
16196 ac_cv_lib_soname_tiff=
16198 rm -f core conftest.err conftest.$ac_objext \
16199 conftest$ac_exeext conftest.$ac_ext
16200 LIBS=$ac_check_soname_save_LIBS
16202 if ${ac_cv_lib_soname_tiff:+false} :; then :
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16204 $as_echo "not found" >&6; }
16206 else
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16208 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16210 cat >>confdefs.h <<_ACEOF
16211 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16212 _ACEOF
16217 CPPFLAGS=$ac_save_CPPFLAGS
16220 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16221 case "x$with_tiff" in
16222 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16223 xno) ;;
16224 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16225 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16226 esac
16230 if test "x$with_mpg123" != "xno"
16231 then
16232 if ${MPG123_CFLAGS:+false} :; then :
16233 if ${PKG_CONFIG+:} false; then :
16234 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16238 if ${MPG123_LIBS:+false} :; then :
16239 if ${PKG_CONFIG+:} false; then :
16240 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16244 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16245 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16246 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16247 ac_save_CPPFLAGS=$CPPFLAGS
16248 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16249 for ac_header in mpg123.h
16250 do :
16251 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16252 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_MPG123_H 1
16255 _ACEOF
16259 done
16261 if test "$ac_cv_header_mpg123_h" = "yes"
16262 then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16264 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16265 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16266 $as_echo_n "(cached) " >&6
16267 else
16268 ac_check_lib_save_LIBS=$LIBS
16269 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16273 /* Override any GCC internal prototype to avoid an error.
16274 Use char because int might match the return type of a GCC
16275 builtin and then its argument prototype would still apply. */
16276 #ifdef __cplusplus
16277 extern "C"
16278 #endif
16279 char mpg123_feed ();
16281 main ()
16283 return mpg123_feed ();
16285 return 0;
16287 _ACEOF
16288 if ac_fn_c_try_link "$LINENO"; then :
16289 ac_cv_lib_mpg123_mpg123_feed=yes
16290 else
16291 ac_cv_lib_mpg123_mpg123_feed=no
16293 rm -f core conftest.err conftest.$ac_objext \
16294 conftest$ac_exeext conftest.$ac_ext
16295 LIBS=$ac_check_lib_save_LIBS
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16298 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16299 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16301 else
16302 MPG123_LIBS=""
16305 else
16306 MPG123_CFLAGS=""
16307 MPG123_LIBS=""
16309 CPPFLAGS=$ac_save_CPPFLAGS
16312 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16313 case "x$with_mpg123" in
16314 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16315 xno) ;;
16316 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16317 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16318 esac
16319 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16321 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16323 if test "$ac_cv_header_AL_al_h" = "yes"
16324 then
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16326 $as_echo_n "checking for -lopenal... " >&6; }
16327 if ${ac_cv_lib_soname_openal+:} false; then :
16328 $as_echo_n "(cached) " >&6
16329 else
16330 ac_check_soname_save_LIBS=$LIBS
16331 LIBS="-lopenal $LIBS"
16332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16335 /* Override any GCC internal prototype to avoid an error.
16336 Use char because int might match the return type of a GCC
16337 builtin and then its argument prototype would still apply. */
16338 #ifdef __cplusplus
16339 extern "C"
16340 #endif
16341 char alGetSource3i ();
16343 main ()
16345 return alGetSource3i ();
16347 return 0;
16349 _ACEOF
16350 if ac_fn_c_try_link "$LINENO"; then :
16351 case "$LIBEXT" in
16352 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16353 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'` ;;
16354 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16355 if ${ac_cv_lib_soname_openal:+false} :; then :
16356 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16357 fi ;;
16358 esac
16359 else
16360 ac_cv_lib_soname_openal=
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16364 LIBS=$ac_check_soname_save_LIBS
16366 if ${ac_cv_lib_soname_openal:+false} :; then :
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16368 $as_echo "not found" >&6; }
16370 else
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16372 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16374 cat >>confdefs.h <<_ACEOF
16375 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16376 _ACEOF
16378 OPENAL_LIBS="-lopenal"
16380 ac_cv_lib_openal=yes
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_OPENAL 1
16384 _ACEOF
16388 if test "x$ac_cv_lib_openal" != xyes; then :
16389 case "x$with_openal" in
16390 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16391 xno) ;;
16392 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16393 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16394 esac
16395 enable_openal32=${enable_openal32:-no}
16398 if test "x$ac_cv_lib_soname_FAudio" = "x"
16399 then
16400 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16401 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16402 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16403 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16404 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16405 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16406 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16407 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16408 enable_xactengine3_0=${enable_xactengine3_0:-no}
16409 enable_xactengine3_1=${enable_xactengine3_1:-no}
16410 enable_xactengine3_2=${enable_xactengine3_2:-no}
16411 enable_xactengine3_3=${enable_xactengine3_3:-no}
16412 enable_xactengine3_4=${enable_xactengine3_4:-no}
16413 enable_xactengine3_5=${enable_xactengine3_5:-no}
16414 enable_xactengine3_6=${enable_xactengine3_6:-no}
16415 enable_xactengine3_7=${enable_xactengine3_7:-no}
16416 enable_xapofx1_1=${enable_xapofx1_1:-no}
16417 enable_xapofx1_2=${enable_xapofx1_2:-no}
16418 enable_xapofx1_3=${enable_xapofx1_3:-no}
16419 enable_xapofx1_4=${enable_xapofx1_4:-no}
16420 enable_xapofx1_5=${enable_xapofx1_5:-no}
16421 enable_xaudio2_0=${enable_xaudio2_0:-no}
16422 enable_xaudio2_1=${enable_xaudio2_1:-no}
16423 enable_xaudio2_2=${enable_xaudio2_2:-no}
16424 enable_xaudio2_3=${enable_xaudio2_3:-no}
16425 enable_xaudio2_4=${enable_xaudio2_4:-no}
16426 enable_xaudio2_5=${enable_xaudio2_5:-no}
16427 enable_xaudio2_6=${enable_xaudio2_6:-no}
16428 enable_xaudio2_7=${enable_xaudio2_7:-no}
16429 enable_xaudio2_8=${enable_xaudio2_8:-no}
16430 enable_xaudio2_9=${enable_xaudio2_9:-no}
16433 if test "$ac_cv_header_kstat_h" = "yes"
16434 then
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16436 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16437 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16438 $as_echo_n "(cached) " >&6
16439 else
16440 ac_check_lib_save_LIBS=$LIBS
16441 LIBS="-lkstat $LIBS"
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16445 /* Override any GCC internal prototype to avoid an error.
16446 Use char because int might match the return type of a GCC
16447 builtin and then its argument prototype would still apply. */
16448 #ifdef __cplusplus
16449 extern "C"
16450 #endif
16451 char kstat_open ();
16453 main ()
16455 return kstat_open ();
16457 return 0;
16459 _ACEOF
16460 if ac_fn_c_try_link "$LINENO"; then :
16461 ac_cv_lib_kstat_kstat_open=yes
16462 else
16463 ac_cv_lib_kstat_kstat_open=no
16465 rm -f core conftest.err conftest.$ac_objext \
16466 conftest$ac_exeext conftest.$ac_ext
16467 LIBS=$ac_check_lib_save_LIBS
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16470 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16471 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16473 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16475 KSTAT_LIBS="-lkstat"
16481 if test "$ac_cv_header_libprocstat_h" = "yes"
16482 then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16484 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16485 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 ac_check_lib_save_LIBS=$LIBS
16489 LIBS="-lprocstat $LIBS"
16490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16493 /* Override any GCC internal prototype to avoid an error.
16494 Use char because int might match the return type of a GCC
16495 builtin and then its argument prototype would still apply. */
16496 #ifdef __cplusplus
16497 extern "C"
16498 #endif
16499 char procstat_open_sysctl ();
16501 main ()
16503 return procstat_open_sysctl ();
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 ac_cv_lib_procstat_procstat_open_sysctl=yes
16510 else
16511 ac_cv_lib_procstat_procstat_open_sysctl=no
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16515 LIBS=$ac_check_lib_save_LIBS
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16518 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16519 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16521 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16523 PROCSTAT_LIBS="-lprocstat"
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16530 $as_echo_n "checking for -lodbc... " >&6; }
16531 if ${ac_cv_lib_soname_odbc+:} false; then :
16532 $as_echo_n "(cached) " >&6
16533 else
16534 ac_check_soname_save_LIBS=$LIBS
16535 LIBS="-lodbc $LIBS"
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16539 /* Override any GCC internal prototype to avoid an error.
16540 Use char because int might match the return type of a GCC
16541 builtin and then its argument prototype would still apply. */
16542 #ifdef __cplusplus
16543 extern "C"
16544 #endif
16545 char SQLConnect ();
16547 main ()
16549 return SQLConnect ();
16551 return 0;
16553 _ACEOF
16554 if ac_fn_c_try_link "$LINENO"; then :
16555 case "$LIBEXT" in
16556 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16557 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'` ;;
16558 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16559 if ${ac_cv_lib_soname_odbc:+false} :; then :
16560 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16561 fi ;;
16562 esac
16563 else
16564 ac_cv_lib_soname_odbc=
16566 rm -f core conftest.err conftest.$ac_objext \
16567 conftest$ac_exeext conftest.$ac_ext
16568 LIBS=$ac_check_soname_save_LIBS
16570 if ${ac_cv_lib_soname_odbc:+false} :; then :
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16572 $as_echo "not found" >&6; }
16573 cat >>confdefs.h <<_ACEOF
16574 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16575 _ACEOF
16577 else
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16579 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16581 cat >>confdefs.h <<_ACEOF
16582 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16583 _ACEOF
16588 if test "x$with_netapi" != "xno"
16589 then
16590 if ${NETAPI_CFLAGS:+false} :; then :
16591 if ${PKG_CONFIG+:} false; then :
16592 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16596 if ${NETAPI_LIBS:+false} :; then :
16597 if ${PKG_CONFIG+:} false; then :
16598 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16603 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16604 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16605 ac_save_CPPFLAGS=$CPPFLAGS
16606 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16608 $as_echo_n "checking for -lnetapi... " >&6; }
16609 if ${ac_cv_lib_soname_netapi+:} false; then :
16610 $as_echo_n "(cached) " >&6
16611 else
16612 ac_check_soname_save_LIBS=$LIBS
16613 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 #ifdef __cplusplus
16621 extern "C"
16622 #endif
16623 char libnetapi_init ();
16625 main ()
16627 return libnetapi_init ();
16629 return 0;
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"; then :
16633 case "$LIBEXT" in
16634 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16635 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'` ;;
16636 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16637 if ${ac_cv_lib_soname_netapi:+false} :; then :
16638 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16639 fi ;;
16640 esac
16641 else
16642 ac_cv_lib_soname_netapi=
16644 rm -f core conftest.err conftest.$ac_objext \
16645 conftest$ac_exeext conftest.$ac_ext
16646 LIBS=$ac_check_soname_save_LIBS
16648 if ${ac_cv_lib_soname_netapi:+false} :; then :
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16650 $as_echo "not found" >&6; }
16651 cat >>confdefs.h <<_ACEOF
16652 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16653 _ACEOF
16655 else
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16657 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16659 cat >>confdefs.h <<_ACEOF
16660 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16661 _ACEOF
16665 CPPFLAGS=$ac_save_CPPFLAGS
16669 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16670 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16671 then
16672 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16675 if test "x$with_vulkan" != "xno"
16676 then
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16678 $as_echo_n "checking for -lvulkan... " >&6; }
16679 if ${ac_cv_lib_soname_vulkan+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 ac_check_soname_save_LIBS=$LIBS
16683 LIBS="-lvulkan $LIBS"
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16687 /* Override any GCC internal prototype to avoid an error.
16688 Use char because int might match the return type of a GCC
16689 builtin and then its argument prototype would still apply. */
16690 #ifdef __cplusplus
16691 extern "C"
16692 #endif
16693 char vkGetInstanceProcAddr ();
16695 main ()
16697 return vkGetInstanceProcAddr ();
16699 return 0;
16701 _ACEOF
16702 if ac_fn_c_try_link "$LINENO"; then :
16703 case "$LIBEXT" in
16704 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16705 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'` ;;
16706 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16707 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16708 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16709 fi ;;
16710 esac
16711 else
16712 ac_cv_lib_soname_vulkan=
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16716 LIBS=$ac_check_soname_save_LIBS
16718 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16720 $as_echo "not found" >&6; }
16722 else
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16724 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16726 cat >>confdefs.h <<_ACEOF
16727 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16728 _ACEOF
16732 if test "x$ac_cv_lib_soname_vulkan" = "x"
16733 then
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16735 $as_echo_n "checking for -lMoltenVK... " >&6; }
16736 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16737 $as_echo_n "(cached) " >&6
16738 else
16739 ac_check_soname_save_LIBS=$LIBS
16740 LIBS="-lMoltenVK $LIBS"
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16744 /* Override any GCC internal prototype to avoid an error.
16745 Use char because int might match the return type of a GCC
16746 builtin and then its argument prototype would still apply. */
16747 #ifdef __cplusplus
16748 extern "C"
16749 #endif
16750 char vkGetInstanceProcAddr ();
16752 main ()
16754 return vkGetInstanceProcAddr ();
16756 return 0;
16758 _ACEOF
16759 if ac_fn_c_try_link "$LINENO"; then :
16760 case "$LIBEXT" in
16761 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16762 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'` ;;
16763 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16764 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16765 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16766 fi ;;
16767 esac
16768 else
16769 ac_cv_lib_soname_MoltenVK=
16771 rm -f core conftest.err conftest.$ac_objext \
16772 conftest$ac_exeext conftest.$ac_ext
16773 LIBS=$ac_check_soname_save_LIBS
16775 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16777 $as_echo "not found" >&6; }
16779 else
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16781 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16783 cat >>confdefs.h <<_ACEOF
16784 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16785 _ACEOF
16791 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16792 case "x$with_vulkan" in
16793 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16794 xno) ;;
16795 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16796 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16797 esac
16801 if test "x$with_vkd3d" != "xno"
16802 then
16803 if ${VKD3D_CFLAGS:+false} :; then :
16804 if ${PKG_CONFIG+:} false; then :
16805 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16809 if ${VKD3D_LIBS:+false} :; then :
16810 if ${PKG_CONFIG+:} false; then :
16811 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16816 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16817 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16818 ac_save_CPPFLAGS=$CPPFLAGS
16819 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16821 $as_echo_n "checking for -lvkd3d... " >&6; }
16822 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16823 $as_echo_n "(cached) " >&6
16824 else
16825 ac_check_soname_save_LIBS=$LIBS
16826 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16830 /* Override any GCC internal prototype to avoid an error.
16831 Use char because int might match the return type of a GCC
16832 builtin and then its argument prototype would still apply. */
16833 #ifdef __cplusplus
16834 extern "C"
16835 #endif
16836 char vkd3d_serialize_versioned_root_signature ();
16838 main ()
16840 return vkd3d_serialize_versioned_root_signature ();
16842 return 0;
16844 _ACEOF
16845 if ac_fn_c_try_link "$LINENO"; then :
16846 case "$LIBEXT" in
16847 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16848 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'` ;;
16849 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16850 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16851 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16852 fi ;;
16853 esac
16854 else
16855 ac_cv_lib_soname_vkd3d=
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext conftest.$ac_ext
16859 LIBS=$ac_check_soname_save_LIBS
16861 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16863 $as_echo "not found" >&6; }
16865 else
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16867 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16869 cat >>confdefs.h <<_ACEOF
16870 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16871 _ACEOF
16875 CPPFLAGS=$ac_save_CPPFLAGS
16877 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16878 if ${PKG_CONFIG+:} false; then :
16879 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16883 if ${VKD3D_SHADER_LIBS:+false} :; then :
16884 if ${PKG_CONFIG+:} false; then :
16885 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16890 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16891 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16892 ac_save_CPPFLAGS=$CPPFLAGS
16893 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16895 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16896 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16897 $as_echo_n "(cached) " >&6
16898 else
16899 ac_check_soname_save_LIBS=$LIBS
16900 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16904 /* Override any GCC internal prototype to avoid an error.
16905 Use char because int might match the return type of a GCC
16906 builtin and then its argument prototype would still apply. */
16907 #ifdef __cplusplus
16908 extern "C"
16909 #endif
16910 char vkd3d_shader_compile ();
16912 main ()
16914 return vkd3d_shader_compile ();
16916 return 0;
16918 _ACEOF
16919 if ac_fn_c_try_link "$LINENO"; then :
16920 case "$LIBEXT" in
16921 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16922 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'` ;;
16923 *) 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'`
16924 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16925 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16926 fi ;;
16927 esac
16928 else
16929 ac_cv_lib_soname_vkd3d_shader=
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16933 LIBS=$ac_check_soname_save_LIBS
16935 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16937 $as_echo "not found" >&6; }
16939 else
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16941 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16943 cat >>confdefs.h <<_ACEOF
16944 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16945 _ACEOF
16949 CPPFLAGS=$ac_save_CPPFLAGS
16952 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16953 case "x$with_vkd3d" in
16954 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16955 xno) ;;
16956 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16957 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16958 esac
16961 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16964 EXTRACFLAGS=""
16966 if test "x${GCC}" = "xyes"
16967 then
16968 EXTRACFLAGS="-Wall -pipe"
16970 saved_CFLAGS=$CFLAGS
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16972 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16973 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 ac_wine_try_cflags_saved=$CFLAGS
16977 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 int main(int argc, char **argv) { return 0; }
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_cflags__Werror_unknown_warning_option=yes
16984 else
16985 ac_cv_cflags__Werror_unknown_warning_option=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 CFLAGS=$ac_wine_try_cflags_saved
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16992 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16993 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16994 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16997 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16998 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 ac_wine_try_cflags_saved=$CFLAGS
17002 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 int main(int argc, char **argv) { return 0; }
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"; then :
17008 ac_cv_cflags__Werror_unused_command_line_argument=yes
17009 else
17010 ac_cv_cflags__Werror_unused_command_line_argument=no
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext conftest.$ac_ext
17014 CFLAGS=$ac_wine_try_cflags_saved
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17017 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17018 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17019 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17022 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17023 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_wine_try_cflags_saved=$CFLAGS
17027 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 int main(int argc, char **argv) { return 0; }
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17034 else
17035 ac_cv_cflags__Werror_ignored_optimization_argument=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 CFLAGS=$ac_wine_try_cflags_saved
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17042 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17043 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17044 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17047 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17048 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 ac_wine_try_cflags_saved=$CFLAGS
17052 CFLAGS="$CFLAGS -fcf-protection=none"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 int main(int argc, char **argv) { return 0; }
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_cflags__fcf_protection_none=yes
17059 else
17060 ac_cv_cflags__fcf_protection_none=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 CFLAGS=$ac_wine_try_cflags_saved
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17067 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17068 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17069 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17072 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17073 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -fno-stack-protector"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__fno_stack_protector=yes
17084 else
17085 ac_cv_cflags__fno_stack_protector=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17092 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17093 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17097 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17098 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -fno-strict-aliasing"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__fno_strict_aliasing=yes
17109 else
17110 ac_cv_cflags__fno_strict_aliasing=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17117 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17118 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17122 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17123 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 ac_wine_try_cflags_saved=$CFLAGS
17127 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 int main(int argc, char **argv) { return 0; }
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_cflags__Wdeclaration_after_statement=yes
17134 else
17135 ac_cv_cflags__Wdeclaration_after_statement=no
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 CFLAGS=$ac_wine_try_cflags_saved
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17142 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17143 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17144 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17147 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17148 if ${ac_cv_cflags__Wempty_body+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 ac_wine_try_cflags_saved=$CFLAGS
17152 CFLAGS="$CFLAGS -Wempty-body"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 int main(int argc, char **argv) { return 0; }
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_cflags__Wempty_body=yes
17159 else
17160 ac_cv_cflags__Wempty_body=no
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 CFLAGS=$ac_wine_try_cflags_saved
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17167 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17168 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17169 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17172 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17173 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 ac_wine_try_cflags_saved=$CFLAGS
17177 CFLAGS="$CFLAGS -Wignored-qualifiers"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 int main(int argc, char **argv) { return 0; }
17181 _ACEOF
17182 if ac_fn_c_try_link "$LINENO"; then :
17183 ac_cv_cflags__Wignored_qualifiers=yes
17184 else
17185 ac_cv_cflags__Wignored_qualifiers=no
17187 rm -f core conftest.err conftest.$ac_objext \
17188 conftest$ac_exeext conftest.$ac_ext
17189 CFLAGS=$ac_wine_try_cflags_saved
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17192 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17193 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17194 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17197 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17198 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_wine_try_cflags_saved=$CFLAGS
17202 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 int main(int argc, char **argv) { return 0; }
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_cflags__Wpacked_not_aligned=yes
17209 else
17210 ac_cv_cflags__Wpacked_not_aligned=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 CFLAGS=$ac_wine_try_cflags_saved
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17217 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17218 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17219 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17222 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17223 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_wine_try_cflags_saved=$CFLAGS
17227 CFLAGS="$CFLAGS -Wpragma-pack"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 int main(int argc, char **argv) { return 0; }
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"; then :
17233 ac_cv_cflags__Wpragma_pack=yes
17234 else
17235 ac_cv_cflags__Wpragma_pack=no
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 CFLAGS=$ac_wine_try_cflags_saved
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17242 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17243 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17244 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17247 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17248 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 ac_wine_try_cflags_saved=$CFLAGS
17252 CFLAGS="$CFLAGS -Wshift-overflow=2"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 int main(int argc, char **argv) { return 0; }
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_cflags__Wshift_overflow_2=yes
17259 else
17260 ac_cv_cflags__Wshift_overflow_2=no
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 CFLAGS=$ac_wine_try_cflags_saved
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17267 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17268 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17269 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17272 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17273 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 ac_wine_try_cflags_saved=$CFLAGS
17277 CFLAGS="$CFLAGS -Wstrict-prototypes"
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 int main(int argc, char **argv) { return 0; }
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"; then :
17283 ac_cv_cflags__Wstrict_prototypes=yes
17284 else
17285 ac_cv_cflags__Wstrict_prototypes=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17289 CFLAGS=$ac_wine_try_cflags_saved
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17292 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17293 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17294 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17297 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17298 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 ac_wine_try_cflags_saved=$CFLAGS
17302 CFLAGS="$CFLAGS -Wtype-limits"
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 int main(int argc, char **argv) { return 0; }
17306 _ACEOF
17307 if ac_fn_c_try_link "$LINENO"; then :
17308 ac_cv_cflags__Wtype_limits=yes
17309 else
17310 ac_cv_cflags__Wtype_limits=no
17312 rm -f core conftest.err conftest.$ac_objext \
17313 conftest$ac_exeext conftest.$ac_ext
17314 CFLAGS=$ac_wine_try_cflags_saved
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17317 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17318 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17319 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17322 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17323 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 ac_wine_try_cflags_saved=$CFLAGS
17327 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 int main(int argc, char **argv) { return 0; }
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 ac_cv_cflags__Wunused_but_set_parameter=yes
17334 else
17335 ac_cv_cflags__Wunused_but_set_parameter=no
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17339 CFLAGS=$ac_wine_try_cflags_saved
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17342 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17343 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17344 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17347 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17348 if ${ac_cv_cflags__Wvla+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 ac_wine_try_cflags_saved=$CFLAGS
17352 CFLAGS="$CFLAGS -Wvla"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 int main(int argc, char **argv) { return 0; }
17356 _ACEOF
17357 if ac_fn_c_try_link "$LINENO"; then :
17358 ac_cv_cflags__Wvla=yes
17359 else
17360 ac_cv_cflags__Wvla=no
17362 rm -f core conftest.err conftest.$ac_objext \
17363 conftest$ac_exeext conftest.$ac_ext
17364 CFLAGS=$ac_wine_try_cflags_saved
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17367 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17368 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17369 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17372 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17373 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 ac_wine_try_cflags_saved=$CFLAGS
17377 CFLAGS="$CFLAGS -Wwrite-strings"
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 int main(int argc, char **argv) { return 0; }
17381 _ACEOF
17382 if ac_fn_c_try_link "$LINENO"; then :
17383 ac_cv_cflags__Wwrite_strings=yes
17384 else
17385 ac_cv_cflags__Wwrite_strings=no
17387 rm -f core conftest.err conftest.$ac_objext \
17388 conftest$ac_exeext conftest.$ac_ext
17389 CFLAGS=$ac_wine_try_cflags_saved
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17392 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17393 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17394 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17397 if test -z "$CROSSTARGET"
17398 then
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17400 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17401 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 ac_wine_try_cflags_saved=$CFLAGS
17405 CFLAGS="$CFLAGS -fexcess-precision=standard"
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 int main(int argc, char **argv) { return 0; }
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 ac_cv_cflags__fexcess_precision_standard=yes
17412 else
17413 ac_cv_cflags__fexcess_precision_standard=no
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17417 CFLAGS=$ac_wine_try_cflags_saved
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17420 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17421 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17422 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17428 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17429 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17432 ac_wine_try_cflags_saved=$CFLAGS
17433 CFLAGS="$CFLAGS -Wpointer-arith"
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 int main(int argc, char **argv) { return 0; }
17437 _ACEOF
17438 if ac_fn_c_try_link "$LINENO"; then :
17439 ac_cv_cflags__Wpointer_arith=yes
17440 else
17441 ac_cv_cflags__Wpointer_arith=no
17443 rm -f core conftest.err conftest.$ac_objext \
17444 conftest$ac_exeext conftest.$ac_ext
17445 CFLAGS=$ac_wine_try_cflags_saved
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17448 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17449 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17450 saved_string_h_CFLAGS=$CFLAGS
17451 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17453 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17454 if ${ac_cv_c_string_h_warnings+:} false; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17459 #include <string.h>
17461 main ()
17465 return 0;
17467 _ACEOF
17468 if ac_fn_c_try_compile "$LINENO"; then :
17469 ac_cv_c_string_h_warnings=no
17470 else
17471 ac_cv_c_string_h_warnings=yes
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17476 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17477 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17478 CFLAGS=$saved_string_h_CFLAGS
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17482 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17483 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17486 ac_wine_try_cflags_saved=$CFLAGS
17487 CFLAGS="$CFLAGS -Wlogical-op"
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 int main(int argc, char **argv) { return 0; }
17491 _ACEOF
17492 if ac_fn_c_try_link "$LINENO"; then :
17493 ac_cv_cflags__Wlogical_op=yes
17494 else
17495 ac_cv_cflags__Wlogical_op=no
17497 rm -f core conftest.err conftest.$ac_objext \
17498 conftest$ac_exeext conftest.$ac_ext
17499 CFLAGS=$ac_wine_try_cflags_saved
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17502 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17503 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17504 saved_string_h_CFLAGS=$CFLAGS
17505 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17507 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17508 if ${ac_cv_c_logicalop_noisy+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17513 #include <string.h>
17514 char*f(const char *h,char n) {return strchr(h,n);}
17516 main ()
17520 return 0;
17522 _ACEOF
17523 if ac_fn_c_try_compile "$LINENO"; then :
17524 ac_cv_c_logicalop_noisy=no
17525 else
17526 ac_cv_c_logicalop_noisy=yes
17528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17531 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17532 CFLAGS=$saved_string_h_CFLAGS
17533 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17537 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17538 if ${wine_cv_64bit_compare_swap+:} false; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17544 #error no
17545 #endif
17547 main ()
17551 return 0;
17553 _ACEOF
17554 if ac_fn_c_try_compile "$LINENO"; then :
17555 wine_cv_64bit_compare_swap="none needed"
17556 else
17557 case $host_cpu in
17558 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17559 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17560 *) wine_cv_64bit_compare_swap="unknown" ;;
17561 esac
17562 if test "x$wine_cv_64bit_compare_swap" != xunknown
17563 then
17564 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17568 #error no
17569 #endif
17571 main ()
17575 return 0;
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17580 else
17581 wine_cv_64bit_compare_swap="unknown"
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 CFLAGS=$saved_CFLAGS
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17590 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17591 case "$wine_cv_64bit_compare_swap" in
17592 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17593 "none needed") ;;
17594 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17595 esac
17597 for ac_flag in $CFLAGS; do
17598 case $ac_flag in
17599 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17600 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17601 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 ac_wine_try_cflags_saved=$CFLAGS
17605 CFLAGS="$CFLAGS -gdwarf-2"
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 int main(int argc, char **argv) { return 0; }
17609 _ACEOF
17610 if ac_fn_c_try_link "$LINENO"; then :
17611 ac_cv_cflags__gdwarf_2=yes
17612 else
17613 ac_cv_cflags__gdwarf_2=no
17615 rm -f core conftest.err conftest.$ac_objext \
17616 conftest$ac_exeext conftest.$ac_ext
17617 CFLAGS=$ac_wine_try_cflags_saved
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17620 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17621 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17622 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17625 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17626 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17629 ac_wine_try_cflags_saved=$CFLAGS
17630 CFLAGS="$CFLAGS -gstrict-dwarf"
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633 int main(int argc, char **argv) { return 0; }
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 ac_cv_cflags__gstrict_dwarf=yes
17637 else
17638 ac_cv_cflags__gstrict_dwarf=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17642 CFLAGS=$ac_wine_try_cflags_saved
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17645 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17646 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17647 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17648 fi ;;
17649 esac
17650 done
17652 MSVCRTFLAGS=""
17654 case $host_os in
17655 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17656 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17657 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660 ac_wine_try_cflags_saved=$CFLAGS
17661 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 int main(int argc, char **argv) { return 0; }
17665 _ACEOF
17666 if ac_fn_c_try_link "$LINENO"; then :
17667 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17668 else
17669 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17673 CFLAGS=$ac_wine_try_cflags_saved
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17676 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17677 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17678 DELAYLOADFLAG="-Wl,-delayload,"
17680 fi ;;
17681 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17682 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17683 if ${ac_cv_cflags__fno_builtin+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 ac_wine_try_cflags_saved=$CFLAGS
17687 CFLAGS="$CFLAGS -fno-builtin"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 int main(int argc, char **argv) { return 0; }
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_cflags__fno_builtin=yes
17694 else
17695 ac_cv_cflags__fno_builtin=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 CFLAGS=$ac_wine_try_cflags_saved
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17702 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17703 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17704 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17707 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17708 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17709 $as_echo_n "(cached) " >&6
17710 else
17711 ac_wine_try_cflags_saved=$CFLAGS
17712 CFLAGS="$CFLAGS -fshort-wchar"
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17715 int main(int argc, char **argv) { return 0; }
17716 _ACEOF
17717 if ac_fn_c_try_link "$LINENO"; then :
17718 ac_cv_cflags__fshort_wchar=yes
17719 else
17720 ac_cv_cflags__fshort_wchar=no
17722 rm -f core conftest.err conftest.$ac_objext \
17723 conftest$ac_exeext conftest.$ac_ext
17724 CFLAGS=$ac_wine_try_cflags_saved
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17727 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17728 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17729 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17730 fi ;;
17731 esac
17733 case $host_cpu in
17734 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17735 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17736 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17737 $as_echo_n "(cached) " >&6
17738 else
17739 ac_wine_try_cflags_saved=$CFLAGS
17740 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17743 int main(int argc, char **argv) { return 0; }
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 ac_cv_cflags__fno_omit_frame_pointer=yes
17747 else
17748 ac_cv_cflags__fno_omit_frame_pointer=no
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17752 CFLAGS=$ac_wine_try_cflags_saved
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17755 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17756 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17757 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17758 fi ;;
17759 *x86_64*)
17760 case $host_os in
17761 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17762 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17763 if ${ac_cv_cflags__Wno_format+:} false; then :
17764 $as_echo_n "(cached) " >&6
17765 else
17766 ac_wine_try_cflags_saved=$CFLAGS
17767 CFLAGS="$CFLAGS -Wno-format"
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 int main(int argc, char **argv) { return 0; }
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"; then :
17773 ac_cv_cflags__Wno_format=yes
17774 else
17775 ac_cv_cflags__Wno_format=no
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17779 CFLAGS=$ac_wine_try_cflags_saved
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17782 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17783 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17784 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17785 fi ;;
17786 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17787 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17788 if ${ac_cv_cflags__mabi_ms+:} false; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17791 ac_wine_try_cflags_saved=$CFLAGS
17792 CFLAGS="$CFLAGS -mabi=ms"
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 int main(int argc, char **argv) { return 0; }
17796 _ACEOF
17797 if ac_fn_c_try_link "$LINENO"; then :
17798 ac_cv_cflags__mabi_ms=yes
17799 else
17800 ac_cv_cflags__mabi_ms=no
17802 rm -f core conftest.err conftest.$ac_objext \
17803 conftest$ac_exeext conftest.$ac_ext
17804 CFLAGS=$ac_wine_try_cflags_saved
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17807 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17808 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17809 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17810 fi ;;
17811 esac ;;
17812 esac
17814 CFLAGS=$saved_CFLAGS
17816 if test "x$enable_werror" = "xyes"
17817 then
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17819 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17820 if ${ac_cv_cflags__Werror+:} false; then :
17821 $as_echo_n "(cached) " >&6
17822 else
17823 ac_wine_try_cflags_saved=$CFLAGS
17824 CFLAGS="$CFLAGS -Werror"
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 int main(int argc, char **argv) { return 0; }
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"; then :
17830 ac_cv_cflags__Werror=yes
17831 else
17832 ac_cv_cflags__Werror=no
17834 rm -f core conftest.err conftest.$ac_objext \
17835 conftest$ac_exeext conftest.$ac_ext
17836 CFLAGS=$ac_wine_try_cflags_saved
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17839 $as_echo "$ac_cv_cflags__Werror" >&6; }
17840 if test "x$ac_cv_cflags__Werror" = xyes; then :
17841 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17844 if test "x$enable_build_id" = "xyes"
17845 then
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17847 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17848 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17849 $as_echo_n "(cached) " >&6
17850 else
17851 ac_wine_try_cflags_saved=$CFLAGS
17852 CFLAGS="$CFLAGS -Wl,--build-id"
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 int main(int argc, char **argv) { return 0; }
17856 _ACEOF
17857 if ac_fn_c_try_link "$LINENO"; then :
17858 ac_cv_cflags__Wl___build_id=yes
17859 else
17860 ac_cv_cflags__Wl___build_id=no
17862 rm -f core conftest.err conftest.$ac_objext \
17863 conftest$ac_exeext conftest.$ac_ext
17864 CFLAGS=$ac_wine_try_cflags_saved
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17867 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17868 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17869 CFLAGS="$CFLAGS -Wl,--build-id"
17870 LDFLAGS="$LDFLAGS -Wl,--build-id"
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17877 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17878 if ${ac_cv_c_fortify_enabled+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17883 #include <string.h>
17885 main ()
17887 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17888 #error Fortify enabled
17889 #endif
17891 return 0;
17893 _ACEOF
17894 if ac_fn_c_try_compile "$LINENO"; then :
17895 ac_cv_c_fortify_enabled=no
17896 else
17897 ac_cv_c_fortify_enabled=yes
17899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17902 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17903 if test "$ac_cv_c_fortify_enabled" = yes
17904 then
17905 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17910 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17911 if ${ac_cv_c_cfi_support+:} false; then :
17912 $as_echo_n "(cached) " >&6
17913 else
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17918 main ()
17922 return 0;
17924 _ACEOF
17925 if ac_fn_c_try_compile "$LINENO"; then :
17926 ac_cv_c_cfi_support="yes"
17927 else
17928 ac_cv_c_cfi_support="no"
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17933 $as_echo "$ac_cv_c_cfi_support" >&6; }
17934 if test "$ac_cv_c_cfi_support" = "yes"
17935 then
17936 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17937 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17938 else
17939 if test "x$enable_win64" = "xyes"
17940 then
17941 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17946 case $build_os in
17947 cygwin*|mingw32*) TOOLSEXT=".exe"
17949 esac
17951 case $host_os in
17952 linux*)
17953 case $host_cpu in
17954 *i[3456789]86*|x86_64*|*aarch64*)
17955 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17956 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17958 esac
17960 esac
17963 ac_save_CFLAGS="$CFLAGS"
17964 CFLAGS="$CFLAGS $BUILTINFLAG"
17965 for ac_func in \
17966 __res_get_state \
17967 __res_getservers \
17968 _spawnvp \
17969 epoll_create \
17970 fnmatch \
17971 fork \
17972 fstatfs \
17973 futimens \
17974 futimes \
17975 futimesat \
17976 getattrlist \
17977 getauxval \
17978 getifaddrs \
17979 getopt_long_only \
17980 getrandom \
17981 kqueue \
17982 lstat \
17983 mach_continuous_time \
17984 pipe2 \
17985 poll \
17986 port_create \
17987 prctl \
17988 pread \
17989 proc_pidinfo \
17990 pwrite \
17991 readlink \
17992 sched_yield \
17993 setproctitle \
17994 setprogname \
17995 sigprocmask \
17996 symlink \
17997 tcdrain \
17998 thr_kill2
18000 do :
18001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18003 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18004 cat >>confdefs.h <<_ACEOF
18005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18006 _ACEOF
18009 done
18011 CFLAGS="$ac_save_CFLAGS"
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18014 $as_echo_n "checking for library containing dlopen... " >&6; }
18015 if ${ac_cv_search_dlopen+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 ac_func_search_save_LIBS=$LIBS
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18022 /* Override any GCC internal prototype to avoid an error.
18023 Use char because int might match the return type of a GCC
18024 builtin and then its argument prototype would still apply. */
18025 #ifdef __cplusplus
18026 extern "C"
18027 #endif
18028 char dlopen ();
18030 main ()
18032 return dlopen ();
18034 return 0;
18036 _ACEOF
18037 for ac_lib in '' dl; do
18038 if test -z "$ac_lib"; then
18039 ac_res="none required"
18040 else
18041 ac_res=-l$ac_lib
18042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18044 if ac_fn_c_try_link "$LINENO"; then :
18045 ac_cv_search_dlopen=$ac_res
18047 rm -f core conftest.err conftest.$ac_objext \
18048 conftest$ac_exeext
18049 if ${ac_cv_search_dlopen+:} false; then :
18050 break
18052 done
18053 if ${ac_cv_search_dlopen+:} false; then :
18055 else
18056 ac_cv_search_dlopen=no
18058 rm conftest.$ac_ext
18059 LIBS=$ac_func_search_save_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18062 $as_echo "$ac_cv_search_dlopen" >&6; }
18063 ac_res=$ac_cv_search_dlopen
18064 if test "$ac_res" != no; then :
18065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18069 ac_wine_check_funcs_save_LIBS="$LIBS"
18070 LIBS="$LIBS $DL_LIBS"
18071 for ac_func in dladdr dlinfo
18072 do :
18073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18075 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18076 cat >>confdefs.h <<_ACEOF
18077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18078 _ACEOF
18081 done
18083 LIBS="$ac_wine_check_funcs_save_LIBS"
18085 if test "$ac_cv_func_poll" = no
18086 then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18088 $as_echo_n "checking for poll in -lpoll... " >&6; }
18089 if ${ac_cv_lib_poll_poll+:} false; then :
18090 $as_echo_n "(cached) " >&6
18091 else
18092 ac_check_lib_save_LIBS=$LIBS
18093 LIBS="-lpoll $LIBS"
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18100 #ifdef __cplusplus
18101 extern "C"
18102 #endif
18103 char poll ();
18105 main ()
18107 return poll ();
18109 return 0;
18111 _ACEOF
18112 if ac_fn_c_try_link "$LINENO"; then :
18113 ac_cv_lib_poll_poll=yes
18114 else
18115 ac_cv_lib_poll_poll=no
18117 rm -f core conftest.err conftest.$ac_objext \
18118 conftest$ac_exeext conftest.$ac_ext
18119 LIBS=$ac_check_lib_save_LIBS
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18122 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18123 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18124 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18125 POLL_LIBS="-lpoll"
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18132 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18133 if ${ac_cv_search_gethostbyname+:} false; then :
18134 $as_echo_n "(cached) " >&6
18135 else
18136 ac_func_search_save_LIBS=$LIBS
18137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18138 /* end confdefs.h. */
18140 /* Override any GCC internal prototype to avoid an error.
18141 Use char because int might match the return type of a GCC
18142 builtin and then its argument prototype would still apply. */
18143 #ifdef __cplusplus
18144 extern "C"
18145 #endif
18146 char gethostbyname ();
18148 main ()
18150 return gethostbyname ();
18152 return 0;
18154 _ACEOF
18155 for ac_lib in '' nsl; do
18156 if test -z "$ac_lib"; then
18157 ac_res="none required"
18158 else
18159 ac_res=-l$ac_lib
18160 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18162 if ac_fn_c_try_link "$LINENO"; then :
18163 ac_cv_search_gethostbyname=$ac_res
18165 rm -f core conftest.err conftest.$ac_objext \
18166 conftest$ac_exeext
18167 if ${ac_cv_search_gethostbyname+:} false; then :
18168 break
18170 done
18171 if ${ac_cv_search_gethostbyname+:} false; then :
18173 else
18174 ac_cv_search_gethostbyname=no
18176 rm conftest.$ac_ext
18177 LIBS=$ac_func_search_save_LIBS
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18180 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18181 ac_res=$ac_cv_search_gethostbyname
18182 if test "$ac_res" != no; then :
18183 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18189 $as_echo_n "checking for library containing connect... " >&6; }
18190 if ${ac_cv_search_connect+:} false; then :
18191 $as_echo_n "(cached) " >&6
18192 else
18193 ac_func_search_save_LIBS=$LIBS
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18197 /* Override any GCC internal prototype to avoid an error.
18198 Use char because int might match the return type of a GCC
18199 builtin and then its argument prototype would still apply. */
18200 #ifdef __cplusplus
18201 extern "C"
18202 #endif
18203 char connect ();
18205 main ()
18207 return connect ();
18209 return 0;
18211 _ACEOF
18212 for ac_lib in '' socket; do
18213 if test -z "$ac_lib"; then
18214 ac_res="none required"
18215 else
18216 ac_res=-l$ac_lib
18217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18219 if ac_fn_c_try_link "$LINENO"; then :
18220 ac_cv_search_connect=$ac_res
18222 rm -f core conftest.err conftest.$ac_objext \
18223 conftest$ac_exeext
18224 if ${ac_cv_search_connect+:} false; then :
18225 break
18227 done
18228 if ${ac_cv_search_connect+:} false; then :
18230 else
18231 ac_cv_search_connect=no
18233 rm conftest.$ac_ext
18234 LIBS=$ac_func_search_save_LIBS
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18237 $as_echo "$ac_cv_search_connect" >&6; }
18238 ac_res=$ac_cv_search_connect
18239 if test "$ac_res" != no; then :
18240 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18246 $as_echo_n "checking for library containing inet_aton... " >&6; }
18247 if ${ac_cv_search_inet_aton+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 ac_func_search_save_LIBS=$LIBS
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 #ifdef __cplusplus
18258 extern "C"
18259 #endif
18260 char inet_aton ();
18262 main ()
18264 return inet_aton ();
18266 return 0;
18268 _ACEOF
18269 for ac_lib in '' resolv; do
18270 if test -z "$ac_lib"; then
18271 ac_res="none required"
18272 else
18273 ac_res=-l$ac_lib
18274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18276 if ac_fn_c_try_link "$LINENO"; then :
18277 ac_cv_search_inet_aton=$ac_res
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext
18281 if ${ac_cv_search_inet_aton+:} false; then :
18282 break
18284 done
18285 if ${ac_cv_search_inet_aton+:} false; then :
18287 else
18288 ac_cv_search_inet_aton=no
18290 rm conftest.$ac_ext
18291 LIBS=$ac_func_search_save_LIBS
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18294 $as_echo "$ac_cv_search_inet_aton" >&6; }
18295 ac_res=$ac_cv_search_inet_aton
18296 if test "$ac_res" != no; then :
18297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18302 for ac_func in \
18303 getaddrinfo \
18304 getnameinfo \
18305 getservbyport \
18307 do :
18308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18311 cat >>confdefs.h <<_ACEOF
18312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18313 _ACEOF
18316 done
18319 case $host_os in
18320 darwin*|macosx*) ;;
18321 *) ac_save_LIBS=$LIBS
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18323 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18324 if ${ac_cv_search_clock_gettime+:} false; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18327 ac_func_search_save_LIBS=$LIBS
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18331 /* Override any GCC internal prototype to avoid an error.
18332 Use char because int might match the return type of a GCC
18333 builtin and then its argument prototype would still apply. */
18334 #ifdef __cplusplus
18335 extern "C"
18336 #endif
18337 char clock_gettime ();
18339 main ()
18341 return clock_gettime ();
18343 return 0;
18345 _ACEOF
18346 for ac_lib in '' rt; do
18347 if test -z "$ac_lib"; then
18348 ac_res="none required"
18349 else
18350 ac_res=-l$ac_lib
18351 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18353 if ac_fn_c_try_link "$LINENO"; then :
18354 ac_cv_search_clock_gettime=$ac_res
18356 rm -f core conftest.err conftest.$ac_objext \
18357 conftest$ac_exeext
18358 if ${ac_cv_search_clock_gettime+:} false; then :
18359 break
18361 done
18362 if ${ac_cv_search_clock_gettime+:} false; then :
18364 else
18365 ac_cv_search_clock_gettime=no
18367 rm conftest.$ac_ext
18368 LIBS=$ac_func_search_save_LIBS
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18371 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18372 ac_res=$ac_cv_search_clock_gettime
18373 if test "$ac_res" != no; then :
18374 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18376 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18378 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18382 LIBS=$ac_save_LIBS
18384 esac
18386 if test "x$with_ldap" != "xno"
18387 then
18388 if ${LDAP_CFLAGS:+false} :; then :
18389 if ${PKG_CONFIG+:} false; then :
18390 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18394 if ${LDAP_LIBS:+false} :; then :
18395 if ${PKG_CONFIG+:} false; then :
18396 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18400 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18401 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18402 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18403 ac_save_CPPFLAGS=$CPPFLAGS
18404 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18405 for ac_header in ldap.h lber.h
18406 do :
18407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18408 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18410 cat >>confdefs.h <<_ACEOF
18411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18412 _ACEOF
18416 done
18418 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18419 then
18420 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18422 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18424 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18425 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18426 $as_echo_n "(cached) " >&6
18427 else
18428 ac_check_lib_save_LIBS=$LIBS
18429 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18433 /* Override any GCC internal prototype to avoid an error.
18434 Use char because int might match the return type of a GCC
18435 builtin and then its argument prototype would still apply. */
18436 #ifdef __cplusplus
18437 extern "C"
18438 #endif
18439 char ldap_initialize ();
18441 main ()
18443 return ldap_initialize ();
18445 return 0;
18447 _ACEOF
18448 if ac_fn_c_try_link "$LINENO"; then :
18449 ac_cv_lib_ldap_r_ldap_initialize=yes
18450 else
18451 ac_cv_lib_ldap_r_ldap_initialize=no
18453 rm -f core conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18455 LIBS=$ac_check_lib_save_LIBS
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18458 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18459 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18461 $as_echo_n "checking for ber_init in -llber... " >&6; }
18462 if ${ac_cv_lib_lber_ber_init+:} false; then :
18463 $as_echo_n "(cached) " >&6
18464 else
18465 ac_check_lib_save_LIBS=$LIBS
18466 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18470 /* Override any GCC internal prototype to avoid an error.
18471 Use char because int might match the return type of a GCC
18472 builtin and then its argument prototype would still apply. */
18473 #ifdef __cplusplus
18474 extern "C"
18475 #endif
18476 char ber_init ();
18478 main ()
18480 return ber_init ();
18482 return 0;
18484 _ACEOF
18485 if ac_fn_c_try_link "$LINENO"; then :
18486 ac_cv_lib_lber_ber_init=yes
18487 else
18488 ac_cv_lib_lber_ber_init=no
18490 rm -f core conftest.err conftest.$ac_objext \
18491 conftest$ac_exeext conftest.$ac_ext
18492 LIBS=$ac_check_lib_save_LIBS
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18495 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18496 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18498 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18500 else
18501 LDAP_LIBS=""
18504 else
18505 LDAP_LIBS=""
18508 else
18509 LDAP_LIBS=""
18512 ac_wine_check_funcs_save_LIBS="$LIBS"
18513 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18514 for ac_func in \
18515 ldap_count_references \
18516 ldap_first_reference \
18517 ldap_next_reference \
18518 ldap_parse_reference \
18519 ldap_parse_sort_control \
18520 ldap_parse_sortresponse_control \
18521 ldap_parse_vlv_control \
18522 ldap_parse_vlvresponse_control
18523 do :
18524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18527 cat >>confdefs.h <<_ACEOF
18528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18529 _ACEOF
18532 done
18534 LIBS="$ac_wine_check_funcs_save_LIBS"
18535 else
18536 LDAP_LIBS=""
18538 CPPFLAGS=$ac_save_CPPFLAGS
18541 if test "x$LDAP_LIBS" = "x"; then :
18542 case "x$with_ldap" in
18543 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18544 xno) ;;
18545 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18546 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18547 esac
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18552 $as_echo_n "checking for sched_setaffinity... " >&6; }
18553 if ${wine_cv_have_sched_setaffinity+:} false; then :
18554 $as_echo_n "(cached) " >&6
18555 else
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18558 #define _GNU_SOURCE
18559 #include <sched.h>
18561 main ()
18563 sched_setaffinity(0, 0, 0);
18565 return 0;
18567 _ACEOF
18568 if ac_fn_c_try_link "$LINENO"; then :
18569 wine_cv_have_sched_setaffinity=yes
18570 else
18571 wine_cv_have_sched_setaffinity=no
18573 rm -f core conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18577 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18578 if test "$wine_cv_have_sched_setaffinity" = "yes"
18579 then
18581 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18586 $as_echo_n "checking for fallocate... " >&6; }
18587 if ${wine_cv_have_fallocate+:} false; then :
18588 $as_echo_n "(cached) " >&6
18589 else
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 #define _GNU_SOURCE
18593 #include <fcntl.h>
18595 main ()
18597 fallocate(-1, 0, 0, 0);
18599 return 0;
18601 _ACEOF
18602 if ac_fn_c_try_link "$LINENO"; then :
18603 wine_cv_have_fallocate=yes
18604 else
18605 wine_cv_have_fallocate=no
18607 rm -f core conftest.err conftest.$ac_objext \
18608 conftest$ac_exeext conftest.$ac_ext
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18611 $as_echo "$wine_cv_have_fallocate" >&6; }
18612 if test "$wine_cv_have_fallocate" = "yes"
18613 then
18615 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18621 $as_echo_n "checking for inline... " >&6; }
18622 if ${ac_cv_c_inline+:} false; then :
18623 $as_echo_n "(cached) " >&6
18624 else
18625 ac_cv_c_inline=no
18626 for ac_kw in inline __inline__ __inline; do
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 #ifndef __cplusplus
18630 typedef int foo_t;
18631 static $ac_kw foo_t static_foo () {return 0; }
18632 $ac_kw foo_t foo () {return 0; }
18633 #endif
18635 _ACEOF
18636 if ac_fn_c_try_compile "$LINENO"; then :
18637 ac_cv_c_inline=$ac_kw
18639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 test "$ac_cv_c_inline" != no && break
18641 done
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18645 $as_echo "$ac_cv_c_inline" >&6; }
18647 case $ac_cv_c_inline in
18648 inline | yes) ;;
18650 case $ac_cv_c_inline in
18651 no) ac_val=;;
18652 *) ac_val=$ac_cv_c_inline;;
18653 esac
18654 cat >>confdefs.h <<_ACEOF
18655 #ifndef __cplusplus
18656 #define inline $ac_val
18657 #endif
18658 _ACEOF
18660 esac
18662 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18663 #include <signal.h>
18665 if test "x$ac_cv_type_sigset_t" = xyes; then :
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_SIGSET_T 1
18669 _ACEOF
18674 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18676 if test "x$ac_cv_type_request_sense" = xyes; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_REQUEST_SENSE 1
18680 _ACEOF
18686 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18687 #ifdef HAVE_SYS_SOCKET_H
18688 #include <sys/socket.h>
18689 #endif
18690 #ifdef HAVE_SYS_SOCKETVAR_H
18691 #include <sys/socketvar.h>
18692 #endif
18693 #ifdef HAVE_NET_ROUTE_H
18694 #include <net/route.h>
18695 #endif
18696 #ifdef HAVE_NETINET_IN_H
18697 #include <netinet/in.h>
18698 #endif
18699 #ifdef HAVE_NETINET_IN_SYSTM_H
18700 #include <netinet/in_systm.h>
18701 #endif
18702 #ifdef HAVE_NETINET_IP_H
18703 #include <netinet/ip.h>
18704 #endif
18705 #ifdef HAVE_NETINET_IN_PCB_H
18706 #include <netinet/in_pcb.h>
18707 #endif
18709 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18711 cat >>confdefs.h <<_ACEOF
18712 #define HAVE_STRUCT_XINPGEN 1
18713 _ACEOF
18719 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18720 #include <linux/input.h>
18721 #endif
18723 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18725 cat >>confdefs.h <<_ACEOF
18726 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18727 _ACEOF
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18734 $as_echo_n "checking for if_nameindex... " >&6; }
18735 if ${wine_cv_have_if_nameindex+:} false; then :
18736 $as_echo_n "(cached) " >&6
18737 else
18738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18739 /* end confdefs.h. */
18740 #ifdef HAVE_SYS_TYPES_H
18741 #include <sys/types.h>
18742 #endif
18743 #ifdef HAVE_SYS_SOCKET_H
18744 #include <sys/socket.h>
18745 #endif
18746 #ifdef HAVE_NET_IF_H
18747 # include <net/if.h>
18748 #endif
18750 main ()
18752 struct if_nameindex *p = if_nameindex(); return p->if_index;
18754 return 0;
18756 _ACEOF
18757 if ac_fn_c_try_link "$LINENO"; then :
18758 wine_cv_have_if_nameindex=yes
18759 else
18760 wine_cv_have_if_nameindex=no
18762 rm -f core conftest.err conftest.$ac_objext \
18763 conftest$ac_exeext conftest.$ac_ext
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18766 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18767 if test "$wine_cv_have_if_nameindex" = "yes"
18768 then
18770 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18775 $as_echo_n "checking for sigaddset... " >&6; }
18776 if ${wine_cv_have_sigaddset+:} false; then :
18777 $as_echo_n "(cached) " >&6
18778 else
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 #include <signal.h>
18783 main ()
18785 sigset_t set; sigaddset(&set,SIGTERM);
18787 return 0;
18789 _ACEOF
18790 if ac_fn_c_try_link "$LINENO"; then :
18791 wine_cv_have_sigaddset=yes
18792 else
18793 wine_cv_have_sigaddset=no
18795 rm -f core conftest.err conftest.$ac_objext \
18796 conftest$ac_exeext conftest.$ac_ext
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18799 $as_echo "$wine_cv_have_sigaddset" >&6; }
18800 if test "$wine_cv_have_sigaddset" = "yes"
18801 then
18803 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18809 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18810 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18811 $as_echo_n "(cached) " >&6
18812 else
18813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18814 /* end confdefs.h. */
18815 #include <netdb.h>
18817 main ()
18820 char *name=0;
18821 struct hostent he;
18822 struct hostent *result;
18823 char *buf=0;
18824 int bufsize=0;
18825 int errnr;
18826 char *addr=0;
18827 int addrlen=0;
18828 int addrtype=0;
18829 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18830 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18833 return 0;
18835 _ACEOF
18836 if ac_fn_c_try_link "$LINENO"; then :
18837 wine_cv_linux_gethostbyname_r_6=yes
18838 else
18839 wine_cv_linux_gethostbyname_r_6=no
18842 rm -f core conftest.err conftest.$ac_objext \
18843 conftest$ac_exeext conftest.$ac_ext
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18847 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18848 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18849 then
18851 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18855 if test "$ac_cv_header_linux_joystick_h" = "yes"
18856 then
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18858 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18859 if ${wine_cv_linux_joystick_22_api+:} false; then :
18860 $as_echo_n "(cached) " >&6
18861 else
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18865 #include <sys/ioctl.h>
18866 #include <sys/types.h>
18867 #include <linux/joystick.h>
18869 struct js_event blub;
18870 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18871 #error "no 2.2 header"
18872 #endif
18875 main ()
18877 /*empty*/
18879 return 0;
18881 _ACEOF
18882 if ac_fn_c_try_compile "$LINENO"; then :
18883 wine_cv_linux_joystick_22_api=yes
18884 else
18885 wine_cv_linux_joystick_22_api=no
18887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18891 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18892 if test "$wine_cv_linux_joystick_22_api" = "yes"
18893 then
18895 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18900 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18901 #ifdef HAVE_SYS_SOCKET_H
18902 # include <sys/socket.h>
18903 #endif
18904 #ifdef HAVE_SYS_UN_H
18905 # include <sys/un.h>
18906 #endif
18908 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18910 cat >>confdefs.h <<_ACEOF
18911 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18912 _ACEOF
18916 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18917 #ifdef HAVE_SYS_SOCKET_H
18918 # include <sys/socket.h>
18919 #endif
18920 #ifdef HAVE_SYS_UN_H
18921 # include <sys/un.h>
18922 #endif
18924 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18928 _ACEOF
18932 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18933 #ifdef HAVE_SYS_SOCKET_H
18934 # include <sys/socket.h>
18935 #endif
18936 #ifdef HAVE_SYS_UN_H
18937 # include <sys/un.h>
18938 #endif
18940 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18944 _ACEOF
18950 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18951 #ifdef HAVE_SCSI_SG_H
18952 #include <scsi/sg.h>
18953 #endif
18955 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_SCSIREQ_T_CMD 1
18959 _ACEOF
18963 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>
18964 #ifdef HAVE_SCSI_SG_H
18965 #include <scsi/sg.h>
18966 #endif
18968 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18972 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18980 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_SIGINFO_T_SI_FD 1
18984 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_MTIO_H
18992 #include <sys/mtio.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18999 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19004 #ifdef HAVE_SYS_MTIO_H
19005 #include <sys/mtio.h>
19006 #endif
19008 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19012 _ACEOF
19016 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19017 #ifdef HAVE_SYS_MTIO_H
19018 #include <sys/mtio.h>
19019 #endif
19021 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19023 cat >>confdefs.h <<_ACEOF
19024 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19025 _ACEOF
19031 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19032 #include <getopt.h>
19033 #endif
19035 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_STRUCT_OPTION_NAME 1
19039 _ACEOF
19045 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19046 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19050 _ACEOF
19054 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19055 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19057 cat >>confdefs.h <<_ACEOF
19058 #define HAVE_STRUCT_STAT_ST_MTIM 1
19059 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19064 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19068 _ACEOF
19072 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19073 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_STAT_ST_CTIM 1
19077 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19082 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19086 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19091 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19093 cat >>confdefs.h <<_ACEOF
19094 #define HAVE_STRUCT_STAT_ST_ATIM 1
19095 _ACEOF
19099 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19100 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19104 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19109 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19113 _ACEOF
19117 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19118 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19122 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19127 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19131 _ACEOF
19135 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19136 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19140 _ACEOF
19144 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19145 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19149 _ACEOF
19155 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
19156 #include <sys/types.h>
19157 #endif
19158 #ifdef HAVE_NETINET_IN_H
19159 #include <netinet/in.h>
19160 #endif
19162 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19166 _ACEOF
19172 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19173 #include <sys/types.h>
19174 #endif
19175 #ifdef HAVE_NETINET_IN_H
19176 #include <netinet/in.h>
19177 #endif
19178 #ifdef HAVE_RESOLV_H
19179 #include <resolv.h>
19180 #endif
19182 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT___RES_STATE 1
19186 _ACEOF
19192 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
19193 #include <resolv.h>
19194 #endif
19196 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19198 cat >>confdefs.h <<_ACEOF
19199 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19200 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19207 #include <sys/types.h>
19208 #endif
19209 #ifdef HAVE_NETINET_IN_H
19210 # include <netinet/in.h>
19211 #endif
19212 #ifdef HAVE_ARPA_NAMESER_H
19213 # include <arpa/nameser.h>
19214 #endif
19216 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_NS_MSG__MSG_PTR 1
19220 _ACEOF
19226 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19227 #include <sys/types.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IN_H
19230 #include <netinet/in.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IP_H
19233 #include <netinet/ip.h>
19234 #endif
19235 #ifdef HAVE_NETINET_IP_ICMP_H
19236 #include <netinet/ip_icmp.h>
19237 #endif
19238 #ifdef HAVE_NETINET_ICMP_VAR_H
19239 #include <netinet/icmp_var.h>
19240 #endif
19242 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19244 cat >>confdefs.h <<_ACEOF
19245 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19246 _ACEOF
19252 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19253 #include <sys/types.h>
19254 #endif
19255 #ifdef HAVE_ALIAS_H
19256 #include <alias.h>
19257 #endif
19258 #ifdef HAVE_SYS_SOCKET_H
19259 #include <sys/socket.h>
19260 #endif
19261 #ifdef HAVE_SYS_SOCKETVAR_H
19262 #include <sys/socketvar.h>
19263 #endif
19264 #ifdef HAVE_SYS_TIMEOUT_H
19265 #include <sys/timeout.h>
19266 #endif
19267 #ifdef HAVE_NETINET_IN_H
19268 #include <netinet/in.h>
19269 #endif
19270 #ifdef HAVE_NETINET_IN_SYSTM_H
19271 #include <netinet/in_systm.h>
19272 #endif
19273 #ifdef HAVE_NETINET_IP_H
19274 #include <netinet/ip.h>
19275 #endif
19276 #ifdef HAVE_NETINET_IP_VAR_H
19277 #include <netinet/ip_var.h>
19278 #endif
19279 #ifdef HAVE_NETINET_IP_ICMP_H
19280 #include <netinet/ip_icmp.h>
19281 #endif
19282 #ifdef HAVE_NETINET_ICMP_VAR_H
19283 #include <netinet/icmp_var.h>
19284 #endif
19286 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19288 cat >>confdefs.h <<_ACEOF
19289 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19290 _ACEOF
19296 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19297 #include <sys/types.h>
19298 #endif
19299 #ifdef HAVE_SYS_SOCKETVAR_H
19300 #include <sys/socketvar.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_VAR_H
19306 #include <netinet/ip_var.h>
19307 #endif
19309 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19311 cat >>confdefs.h <<_ACEOF
19312 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19313 _ACEOF
19319 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
19320 #include <netinet/ip_var.h>
19321 #endif
19323 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19325 cat >>confdefs.h <<_ACEOF
19326 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19327 _ACEOF
19333 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19334 #include <sys/types.h>
19335 #endif
19336 #ifdef HAVE_SYS_SOCKETVAR_H
19337 #include <sys/socketvar.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IN_H
19340 #include <netinet/in.h>
19341 #endif
19342 #ifdef HAVE_NETINET_TCP_H
19343 #include <netinet/tcp.h>
19344 #endif
19345 #ifdef HAVE_NETINET_TCP_VAR_H
19346 #include <netinet/tcp_var.h>
19347 #endif
19349 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19353 _ACEOF
19359 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
19360 #include <netinet/tcp_var.h>
19361 #endif
19363 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19365 cat >>confdefs.h <<_ACEOF
19366 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19367 _ACEOF
19373 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19374 #include <sys/types.h>
19375 #endif
19376 #ifdef HAVE_NETINET_IN_H
19377 #include <netinet/in.h>
19378 #endif
19379 #ifdef HAVE_NETINET_IP_VAR_H
19380 #include <netinet/ip_var.h>
19381 #endif
19382 #ifdef HAVE_NETINET_UDP_H
19383 #include <netinet/udp.h>
19384 #endif
19385 #ifdef HAVE_NETINET_UDP_VAR_H
19386 #include <netinet/udp_var.h>
19387 #endif
19389 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19391 cat >>confdefs.h <<_ACEOF
19392 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19393 _ACEOF
19399 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19400 #include <sys/types.h>
19401 #endif
19402 #ifdef HAVE_NET_IF_H
19403 # include <net/if.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19410 _ACEOF
19416 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19417 # include <sys/sysinfo.h>
19418 #endif
19420 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19422 cat >>confdefs.h <<_ACEOF
19423 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19424 _ACEOF
19428 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19429 # include <sys/sysinfo.h>
19430 #endif
19432 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19434 cat >>confdefs.h <<_ACEOF
19435 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19436 _ACEOF
19442 ac_save_LIBS="$LIBS"
19443 LIBS="$LIBS -lm"
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19445 $as_echo_n "checking for isfinite... " >&6; }
19446 if ${ac_cv_have_isfinite+:} false; then :
19447 $as_echo_n "(cached) " >&6
19448 else
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451 #define _GNU_SOURCE
19452 #include <math.h>
19454 main ()
19456 float f = 0.0; return isfinite(f)
19458 return 0;
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"; then :
19462 ac_cv_have_isfinite="yes"
19463 else
19464 ac_cv_have_isfinite="no"
19466 rm -f core conftest.err conftest.$ac_objext \
19467 conftest$ac_exeext conftest.$ac_ext
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19470 $as_echo "$ac_cv_have_isfinite" >&6; }
19471 if test "$ac_cv_have_isfinite" = "yes"
19472 then
19474 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19479 $as_echo_n "checking for isinf... " >&6; }
19480 if ${ac_cv_have_isinf+:} false; then :
19481 $as_echo_n "(cached) " >&6
19482 else
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19485 #include <math.h>
19487 main ()
19489 float f = 0.0; return isinf(f)
19491 return 0;
19493 _ACEOF
19494 if ac_fn_c_try_link "$LINENO"; then :
19495 ac_cv_have_isinf="yes"
19496 else
19497 ac_cv_have_isinf="no"
19499 rm -f core conftest.err conftest.$ac_objext \
19500 conftest$ac_exeext conftest.$ac_ext
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19503 $as_echo "$ac_cv_have_isinf" >&6; }
19504 if test "$ac_cv_have_isinf" = "yes"
19505 then
19507 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19512 $as_echo_n "checking for isnan... " >&6; }
19513 if ${ac_cv_have_isnan+:} false; then :
19514 $as_echo_n "(cached) " >&6
19515 else
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h. */
19518 #include <math.h>
19520 main ()
19522 float f = 0.0; return isnan(f)
19524 return 0;
19526 _ACEOF
19527 if ac_fn_c_try_link "$LINENO"; then :
19528 ac_cv_have_isnan="yes"
19529 else
19530 ac_cv_have_isnan="no"
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19536 $as_echo "$ac_cv_have_isnan" >&6; }
19537 if test "$ac_cv_have_isnan" = "yes"
19538 then
19540 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19544 for ac_func in \
19545 acosh \
19546 acoshf \
19547 asinh \
19548 asinhf \
19549 atanh \
19550 atanhf \
19551 cbrt \
19552 cbrtf \
19553 erf \
19554 erfc \
19555 erfcf \
19556 erff \
19557 exp2 \
19558 exp2f \
19559 expm1 \
19560 expm1f \
19561 fma \
19562 fmaf \
19563 j0 \
19564 j1 \
19565 jn \
19566 lgamma \
19567 lgammaf \
19568 llrint \
19569 llrintf \
19570 llround \
19571 llroundf \
19572 log1p \
19573 log1pf \
19574 log2 \
19575 log2f \
19576 lrint \
19577 lrintf \
19578 lround \
19579 lroundf \
19580 nearbyint \
19581 nearbyintf \
19582 nexttoward \
19583 nexttowardf \
19584 remainder \
19585 remainderf \
19586 remquo \
19587 remquof \
19588 rint \
19589 rintf \
19590 round \
19591 roundf \
19592 tgamma \
19593 tgammaf \
19594 trunc \
19595 truncf \
19596 y0 \
19597 y1 \
19600 do :
19601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19604 cat >>confdefs.h <<_ACEOF
19605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19606 _ACEOF
19609 done
19611 LIBS="$ac_save_LIBS"
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19614 $as_echo_n "checking for __builtin_popcount... " >&6; }
19615 if ${ac_cv_have___builtin_popcount+:} false; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19622 main ()
19624 return __builtin_popcount(1)
19626 return 0;
19628 _ACEOF
19629 if ac_fn_c_try_link "$LINENO"; then :
19630 ac_cv_have___builtin_popcount="yes"
19631 else
19632 ac_cv_have___builtin_popcount="no"
19634 rm -f core conftest.err conftest.$ac_objext \
19635 conftest$ac_exeext conftest.$ac_ext
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19638 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19639 if test "$ac_cv_have___builtin_popcount" = "yes"
19640 then
19642 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19647 $as_echo_n "checking for __clear_cache... " >&6; }
19648 if ${ac_cv_have___clear_cache+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19655 main ()
19657 __clear_cache((void*)0, (void*)0); return 0;
19659 return 0;
19661 _ACEOF
19662 if ac_fn_c_try_link "$LINENO"; then :
19663 ac_cv_have___clear_cache="yes"
19664 else
19665 ac_cv_have___clear_cache="no"
19667 rm -f core conftest.err conftest.$ac_objext \
19668 conftest$ac_exeext conftest.$ac_ext
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19671 $as_echo "$ac_cv_have___clear_cache" >&6; }
19672 if test "$ac_cv_have___clear_cache" = "yes"
19673 then
19675 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19680 case $host_cpu in
19681 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19682 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19683 if ${ac_cv_cpp_def___i386__+:} false; then :
19684 $as_echo_n "(cached) " >&6
19685 else
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 #ifndef __i386__
19690 #endif
19691 _ACEOF
19692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19693 $EGREP "yes" >/dev/null 2>&1; then :
19694 ac_cv_cpp_def___i386__=yes
19695 else
19696 ac_cv_cpp_def___i386__=no
19698 rm -f conftest*
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19702 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19703 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19704 CFLAGS="$CFLAGS -D__i386__"
19705 LINTFLAGS="$LINTFLAGS -D__i386__"
19706 fi ;;
19707 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19708 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19709 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #ifndef __x86_64__
19716 #endif
19717 _ACEOF
19718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19719 $EGREP "yes" >/dev/null 2>&1; then :
19720 ac_cv_cpp_def___x86_64__=yes
19721 else
19722 ac_cv_cpp_def___x86_64__=no
19724 rm -f conftest*
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19728 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19729 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19730 CFLAGS="$CFLAGS -D__x86_64__"
19731 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19732 fi ;;
19733 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19734 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19735 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19736 $as_echo_n "(cached) " >&6
19737 else
19738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19740 #ifndef __sparc64__
19742 #endif
19743 _ACEOF
19744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19745 $EGREP "yes" >/dev/null 2>&1; then :
19746 ac_cv_cpp_def___sparc64__=yes
19747 else
19748 ac_cv_cpp_def___sparc64__=no
19750 rm -f conftest*
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19754 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19755 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19756 CFLAGS="$CFLAGS -D__sparc64__"
19757 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19758 fi ;;
19759 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19760 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19761 if ${ac_cv_cpp_def___sparc__+:} false; then :
19762 $as_echo_n "(cached) " >&6
19763 else
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766 #ifndef __sparc__
19768 #endif
19769 _ACEOF
19770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19771 $EGREP "yes" >/dev/null 2>&1; then :
19772 ac_cv_cpp_def___sparc__=yes
19773 else
19774 ac_cv_cpp_def___sparc__=no
19776 rm -f conftest*
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19780 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19781 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19782 CFLAGS="$CFLAGS -D__sparc__"
19783 LINTFLAGS="$LINTFLAGS -D__sparc__"
19784 fi ;;
19785 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19786 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19787 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19788 $as_echo_n "(cached) " >&6
19789 else
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #ifndef __powerpc64__
19794 #endif
19795 _ACEOF
19796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19797 $EGREP "yes" >/dev/null 2>&1; then :
19798 ac_cv_cpp_def___powerpc64__=yes
19799 else
19800 ac_cv_cpp_def___powerpc64__=no
19802 rm -f conftest*
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19806 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19807 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19808 CFLAGS="$CFLAGS -D__powerpc64__"
19809 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19810 fi ;;
19811 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19812 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19813 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818 #ifndef __powerpc__
19820 #endif
19821 _ACEOF
19822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19823 $EGREP "yes" >/dev/null 2>&1; then :
19824 ac_cv_cpp_def___powerpc__=yes
19825 else
19826 ac_cv_cpp_def___powerpc__=no
19828 rm -f conftest*
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19832 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19833 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19834 CFLAGS="$CFLAGS -D__powerpc__"
19835 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19836 fi ;;
19837 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19838 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19839 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #ifndef __aarch64__
19846 #endif
19847 _ACEOF
19848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19849 $EGREP "yes" >/dev/null 2>&1; then :
19850 ac_cv_cpp_def___aarch64__=yes
19851 else
19852 ac_cv_cpp_def___aarch64__=no
19854 rm -f conftest*
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19858 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19859 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19860 CFLAGS="$CFLAGS -D__aarch64__"
19861 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19862 fi ;;
19863 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19864 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19865 if ${ac_cv_cpp_def___arm__+:} false; then :
19866 $as_echo_n "(cached) " >&6
19867 else
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #ifndef __arm__
19872 #endif
19873 _ACEOF
19874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19875 $EGREP "yes" >/dev/null 2>&1; then :
19876 ac_cv_cpp_def___arm__=yes
19877 else
19878 ac_cv_cpp_def___arm__=no
19880 rm -f conftest*
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19884 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19885 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19886 CFLAGS="$CFLAGS -D__arm__"
19887 LINTFLAGS="$LINTFLAGS -D__arm__"
19888 fi ;;
19889 esac
19891 case $host_vendor in
19892 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19893 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19894 if ${ac_cv_cpp_def___sun__+:} false; then :
19895 $as_echo_n "(cached) " >&6
19896 else
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #ifndef __sun__
19901 #endif
19902 _ACEOF
19903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19904 $EGREP "yes" >/dev/null 2>&1; then :
19905 ac_cv_cpp_def___sun__=yes
19906 else
19907 ac_cv_cpp_def___sun__=no
19909 rm -f conftest*
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19913 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19914 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19915 CFLAGS="$CFLAGS -D__sun__"
19916 LINTFLAGS="$LINTFLAGS -D__sun__"
19917 fi ;;
19918 esac
19924 ac_config_commands="$ac_config_commands include/stamp-h"
19926 $as_echo_n "creating Makefile rules..." >&6
19928 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19929 OPENGL_LIBS = $OPENGL_LIBS
19930 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19931 IOKIT_LIBS = $IOKIT_LIBS
19932 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19933 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19934 CORESERVICES_LIBS = $CORESERVICES_LIBS
19935 APPKIT_LIBS = $APPKIT_LIBS
19936 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19937 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19938 SECURITY_LIBS = $SECURITY_LIBS
19939 COREAUDIO_LIBS = $COREAUDIO_LIBS
19940 OPENAL_LIBS = $OPENAL_LIBS
19941 OPENCL_LIBS = $OPENCL_LIBS
19942 QUICKTIME_LIBS = $QUICKTIME_LIBS
19943 CARBON_LIBS = $CARBON_LIBS
19944 METAL_LIBS = $METAL_LIBS
19945 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19946 PTHREAD_LIBS = $PTHREAD_LIBS
19947 X_CFLAGS = $X_CFLAGS
19948 X_PRE_LIBS = $X_PRE_LIBS
19949 X_LIBS = $X_LIBS
19950 X_EXTRA_LIBS = $X_EXTRA_LIBS
19951 PCAP_LIBS = $PCAP_LIBS
19952 XML2_CFLAGS = $XML2_CFLAGS
19953 XML2_LIBS = $XML2_LIBS
19954 XSLT_CFLAGS = $XSLT_CFLAGS
19955 XSLT_LIBS = $XSLT_LIBS
19956 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19957 INOTIFY_LIBS = $INOTIFY_LIBS
19958 DBUS_CFLAGS = $DBUS_CFLAGS
19959 DBUS_LIBS = $DBUS_LIBS
19960 HAL_CFLAGS = $HAL_CFLAGS
19961 HAL_LIBS = $HAL_LIBS
19962 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19963 GNUTLS_LIBS = $GNUTLS_LIBS
19964 SANE_CFLAGS = $SANE_CFLAGS
19965 SANE_LIBS = $SANE_LIBS
19966 USB_CFLAGS = $USB_CFLAGS
19967 USB_LIBS = $USB_LIBS
19968 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19969 GPHOTO2_LIBS = $GPHOTO2_LIBS
19970 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19971 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19972 RESOLV_LIBS = $RESOLV_LIBS
19973 LCMS2_CFLAGS = $LCMS2_CFLAGS
19974 LCMS2_LIBS = $LCMS2_LIBS
19975 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19976 FREETYPE_LIBS = $FREETYPE_LIBS
19977 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19978 PULSE_CFLAGS = $PULSE_CFLAGS
19979 PULSE_LIBS = $PULSE_LIBS
19980 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19981 GSTREAMER_LIBS = $GSTREAMER_LIBS
19982 ALSA_LIBS = $ALSA_LIBS
19983 OSS4_CFLAGS = $OSS4_CFLAGS
19984 OSS4_LIBS = $OSS4_LIBS
19985 UDEV_CFLAGS = $UDEV_CFLAGS
19986 UDEV_LIBS = $UDEV_LIBS
19987 UNWIND_CFLAGS = $UNWIND_CFLAGS
19988 UNWIND_LIBS = $UNWIND_LIBS
19989 SDL2_CFLAGS = $SDL2_CFLAGS
19990 SDL2_LIBS = $SDL2_LIBS
19991 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19992 FAUDIO_LIBS = $FAUDIO_LIBS
19993 CAPI20_CFLAGS = $CAPI20_CFLAGS
19994 CAPI20_LIBS = $CAPI20_LIBS
19995 CUPS_CFLAGS = $CUPS_CFLAGS
19996 CUPS_LIBS = $CUPS_LIBS
19997 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19998 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19999 KRB5_CFLAGS = $KRB5_CFLAGS
20000 KRB5_LIBS = $KRB5_LIBS
20001 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20002 GSSAPI_LIBS = $GSSAPI_LIBS
20003 JPEG_CFLAGS = $JPEG_CFLAGS
20004 JPEG_LIBS = $JPEG_LIBS
20005 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20006 JXRLIB_LIBS = $JXRLIB_LIBS
20007 PNG_CFLAGS = $PNG_CFLAGS
20008 PNG_LIBS = $PNG_LIBS
20009 TIFF_CFLAGS = $TIFF_CFLAGS
20010 TIFF_LIBS = $TIFF_LIBS
20011 MPG123_CFLAGS = $MPG123_CFLAGS
20012 MPG123_LIBS = $MPG123_LIBS
20013 KSTAT_LIBS = $KSTAT_LIBS
20014 PROCSTAT_LIBS = $PROCSTAT_LIBS
20015 NETAPI_CFLAGS = $NETAPI_CFLAGS
20016 NETAPI_LIBS = $NETAPI_LIBS
20017 VKD3D_CFLAGS = $VKD3D_CFLAGS
20018 VKD3D_LIBS = $VKD3D_LIBS
20019 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20020 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20021 POLL_LIBS = $POLL_LIBS
20022 RT_LIBS = $RT_LIBS
20023 LDAP_CFLAGS = $LDAP_CFLAGS
20024 LDAP_LIBS = $LDAP_LIBS
20028 makedep_flags=""
20029 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20032 wine_fn_append_rule "
20033 # Rules automatically generated by configure
20035 .INIT: Makefile
20036 .MAKEFILEDEPS:
20037 all: Makefile
20038 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20039 @./config.status Make.tmp Makefile
20040 depend: \$(MAKEDEP)
20041 \$(MAKEDEP)$makedep_flags
20042 dummy:
20043 .PHONY: depend dummy"
20045 ac_config_links="$ac_config_links wine:tools/winewrapper"
20046 wine_fn_config_symlink wine
20047 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20048 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20049 wine_fn_config_symlink wine64
20052 wine_fn_config_makefile dlls/acledit enable_acledit
20053 wine_fn_config_makefile dlls/aclui enable_aclui
20054 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20055 wine_fn_config_makefile dlls/activeds enable_activeds
20056 wine_fn_config_makefile dlls/activeds/tests enable_tests
20057 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20058 wine_fn_config_makefile dlls/adsiid enable_adsiid
20059 wine_fn_config_makefile dlls/adsldp enable_adsldp
20060 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20061 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20062 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20063 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20064 wine_fn_config_makefile dlls/advpack enable_advpack
20065 wine_fn_config_makefile dlls/advpack/tests enable_tests
20066 wine_fn_config_makefile dlls/amsi enable_amsi
20067 wine_fn_config_makefile dlls/amstream enable_amstream
20068 wine_fn_config_makefile dlls/amstream/tests enable_tests
20069 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20072 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20094 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20095 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20103 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20106 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20126 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20131 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20140 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20141 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20142 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20156 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20229 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20261 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20265 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20269 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20275 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20277 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20283 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20286 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20288 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20294 wine_fn_config_makefile dlls/apphelp enable_apphelp
20295 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20296 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20297 wine_fn_config_makefile dlls/atl enable_atl
20298 wine_fn_config_makefile dlls/atl/tests enable_tests
20299 wine_fn_config_makefile dlls/atl100 enable_atl100
20300 wine_fn_config_makefile dlls/atl100/tests enable_tests
20301 wine_fn_config_makefile dlls/atl110 enable_atl110
20302 wine_fn_config_makefile dlls/atl80 enable_atl80
20303 wine_fn_config_makefile dlls/atl80/tests enable_tests
20304 wine_fn_config_makefile dlls/atl90 enable_atl90
20305 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20306 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20307 wine_fn_config_makefile dlls/atmlib enable_atmlib
20308 wine_fn_config_makefile dlls/authz enable_authz
20309 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20310 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20311 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20312 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20313 wine_fn_config_makefile dlls/avrt enable_avrt
20314 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20315 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20316 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20317 wine_fn_config_makefile dlls/browseui enable_browseui
20318 wine_fn_config_makefile dlls/browseui/tests enable_tests
20319 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20320 wine_fn_config_makefile dlls/cabinet enable_cabinet
20321 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20322 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20323 wine_fn_config_makefile dlls/cards enable_cards
20324 wine_fn_config_makefile dlls/cdosys enable_cdosys
20325 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20326 wine_fn_config_makefile dlls/clusapi enable_clusapi
20327 wine_fn_config_makefile dlls/combase enable_combase
20328 wine_fn_config_makefile dlls/combase/tests enable_tests
20329 wine_fn_config_makefile dlls/comcat enable_comcat
20330 wine_fn_config_makefile dlls/comcat/tests enable_tests
20331 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20332 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20333 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20334 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20335 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20336 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20337 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20338 wine_fn_config_makefile dlls/compstui enable_compstui
20339 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20340 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20341 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20342 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20343 wine_fn_config_makefile dlls/connect enable_connect
20344 wine_fn_config_makefile dlls/credui enable_credui
20345 wine_fn_config_makefile dlls/credui/tests enable_tests
20346 wine_fn_config_makefile dlls/crtdll enable_crtdll
20347 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20348 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20349 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20350 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20351 wine_fn_config_makefile dlls/cryptext enable_cryptext
20352 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20353 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20354 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20355 wine_fn_config_makefile dlls/cryptui enable_cryptui
20356 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20357 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20358 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20359 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20360 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20361 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20362 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20363 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20364 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20365 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20366 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20367 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20368 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20369 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20370 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20371 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20372 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20373 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20374 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20375 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20376 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20377 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20378 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20379 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20380 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20381 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20382 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20383 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20384 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20385 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20386 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20387 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20388 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20389 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20390 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20391 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20392 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20393 wine_fn_config_makefile dlls/d3dim enable_d3dim
20394 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20395 wine_fn_config_makefile dlls/d3drm enable_d3drm
20396 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20397 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20398 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20399 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20400 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20401 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20402 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20403 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20404 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20405 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20406 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20407 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20408 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20409 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20410 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20411 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20412 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20413 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20414 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20415 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20416 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20417 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20418 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20419 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20420 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20421 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20422 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20423 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20424 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20425 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20426 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20427 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20428 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20429 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20430 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20431 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20432 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20433 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20434 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20435 wine_fn_config_makefile dlls/davclnt enable_davclnt
20436 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20437 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20438 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20439 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20440 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20441 wine_fn_config_makefile dlls/dcomp enable_dcomp
20442 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20443 wine_fn_config_makefile dlls/ddraw enable_ddraw
20444 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20445 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20446 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20447 wine_fn_config_makefile dlls/devenum enable_devenum
20448 wine_fn_config_makefile dlls/devenum/tests enable_tests
20449 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20450 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20451 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20452 wine_fn_config_makefile dlls/difxapi enable_difxapi
20453 wine_fn_config_makefile dlls/dinput enable_dinput
20454 wine_fn_config_makefile dlls/dinput/tests enable_tests
20455 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20456 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20457 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20458 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20459 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20460 wine_fn_config_makefile dlls/dispex enable_dispex
20461 wine_fn_config_makefile dlls/dispex/tests enable_tests
20462 wine_fn_config_makefile dlls/display.drv16 enable_win16
20463 wine_fn_config_makefile dlls/dmband enable_dmband
20464 wine_fn_config_makefile dlls/dmband/tests enable_tests
20465 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20466 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20467 wine_fn_config_makefile dlls/dmime enable_dmime
20468 wine_fn_config_makefile dlls/dmime/tests enable_tests
20469 wine_fn_config_makefile dlls/dmloader enable_dmloader
20470 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20471 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20472 wine_fn_config_makefile dlls/dmscript enable_dmscript
20473 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20474 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20475 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20476 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20477 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20478 wine_fn_config_makefile dlls/dmusic enable_dmusic
20479 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20480 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20481 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20482 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20483 wine_fn_config_makefile dlls/dplay enable_dplay
20484 wine_fn_config_makefile dlls/dplayx enable_dplayx
20485 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20486 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20487 wine_fn_config_makefile dlls/dpnet enable_dpnet
20488 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20489 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20490 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20491 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20492 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20493 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20494 wine_fn_config_makefile dlls/drmclien enable_drmclien
20495 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20496 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20497 wine_fn_config_makefile dlls/dsound enable_dsound
20498 wine_fn_config_makefile dlls/dsound/tests enable_tests
20499 wine_fn_config_makefile dlls/dsquery enable_dsquery
20500 wine_fn_config_makefile dlls/dssenh enable_dssenh
20501 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20502 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20503 wine_fn_config_makefile dlls/dswave enable_dswave
20504 wine_fn_config_makefile dlls/dswave/tests enable_tests
20505 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20506 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20507 wine_fn_config_makefile dlls/dwrite enable_dwrite
20508 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20509 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20510 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20511 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20512 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20513 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20514 wine_fn_config_makefile dlls/dxgi enable_dxgi
20515 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20516 wine_fn_config_makefile dlls/dxguid enable_dxguid
20517 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20518 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20519 wine_fn_config_makefile dlls/esent enable_esent
20520 wine_fn_config_makefile dlls/evr enable_evr
20521 wine_fn_config_makefile dlls/evr/tests enable_tests
20522 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20523 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20524 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20533 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20535 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20558 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20564 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
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20567 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20575 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20576 wine_fn_config_makefile dlls/faultrep enable_faultrep
20577 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20578 wine_fn_config_makefile dlls/feclient enable_feclient
20579 wine_fn_config_makefile dlls/fltlib enable_fltlib
20580 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20581 wine_fn_config_makefile dlls/fntcache enable_fntcache
20582 wine_fn_config_makefile dlls/fontsub enable_fontsub
20583 wine_fn_config_makefile dlls/fusion enable_fusion
20584 wine_fn_config_makefile dlls/fusion/tests enable_tests
20585 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20586 wine_fn_config_makefile dlls/gameux enable_gameux
20587 wine_fn_config_makefile dlls/gameux/tests enable_tests
20588 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20589 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20590 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20591 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20592 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20593 wine_fn_config_makefile dlls/glu32 enable_glu32
20594 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20595 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20596 wine_fn_config_makefile dlls/hal enable_hal
20597 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20598 wine_fn_config_makefile dlls/hid enable_hid
20599 wine_fn_config_makefile dlls/hid/tests enable_tests
20600 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20601 wine_fn_config_makefile dlls/hlink enable_hlink
20602 wine_fn_config_makefile dlls/hlink/tests enable_tests
20603 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20604 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20605 wine_fn_config_makefile dlls/http.sys enable_http_sys
20606 wine_fn_config_makefile dlls/httpapi enable_httpapi
20607 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20608 wine_fn_config_makefile dlls/iccvid enable_iccvid
20609 wine_fn_config_makefile dlls/icmp enable_icmp
20610 wine_fn_config_makefile dlls/ieframe enable_ieframe
20611 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20612 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20613 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20614 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20615 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20616 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20617 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20618 wine_fn_config_makefile dlls/imm32 enable_imm32
20619 wine_fn_config_makefile dlls/imm32/tests enable_tests
20620 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20621 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20622 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20623 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20624 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20625 wine_fn_config_makefile dlls/infosoft enable_infosoft
20626 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20627 wine_fn_config_makefile dlls/initpki enable_initpki
20628 wine_fn_config_makefile dlls/inkobj enable_inkobj
20629 wine_fn_config_makefile dlls/inseng enable_inseng
20630 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20631 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20632 wine_fn_config_makefile dlls/iprop enable_iprop
20633 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20634 wine_fn_config_makefile dlls/itircl enable_itircl
20635 wine_fn_config_makefile dlls/itss enable_itss
20636 wine_fn_config_makefile dlls/itss/tests enable_tests
20637 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20638 wine_fn_config_makefile dlls/jscript enable_jscript
20639 wine_fn_config_makefile dlls/jscript/tests enable_tests
20640 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20641 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20642 wine_fn_config_makefile dlls/kerberos enable_kerberos
20643 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20644 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20645 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20646 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20647 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20648 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20649 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20650 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20651 wine_fn_config_makefile dlls/ksuser enable_ksuser
20652 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20653 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20654 wine_fn_config_makefile dlls/loadperf enable_loadperf
20655 wine_fn_config_makefile dlls/localspl enable_localspl
20656 wine_fn_config_makefile dlls/localspl/tests enable_tests
20657 wine_fn_config_makefile dlls/localui enable_localui
20658 wine_fn_config_makefile dlls/localui/tests enable_tests
20659 wine_fn_config_makefile dlls/lz32 enable_lz32
20660 wine_fn_config_makefile dlls/lz32/tests enable_tests
20661 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20662 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20663 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20664 wine_fn_config_makefile dlls/mapistub enable_mapistub
20665 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20666 wine_fn_config_makefile dlls/mcicda enable_mcicda
20667 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20668 wine_fn_config_makefile dlls/mciseq enable_mciseq
20669 wine_fn_config_makefile dlls/mciwave enable_mciwave
20670 wine_fn_config_makefile dlls/mf enable_mf
20671 wine_fn_config_makefile dlls/mf/tests enable_tests
20672 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20673 wine_fn_config_makefile dlls/mferror enable_mferror
20674 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20675 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20676 wine_fn_config_makefile dlls/mfplat enable_mfplat
20677 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20678 wine_fn_config_makefile dlls/mfplay enable_mfplay
20679 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20680 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20681 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20682 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20683 wine_fn_config_makefile dlls/midimap enable_midimap
20684 wine_fn_config_makefile dlls/mlang enable_mlang
20685 wine_fn_config_makefile dlls/mlang/tests enable_tests
20686 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20687 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20688 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20689 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20690 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20691 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20692 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20693 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20694 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20695 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20696 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20697 wine_fn_config_makefile dlls/mpr enable_mpr
20698 wine_fn_config_makefile dlls/mpr/tests enable_tests
20699 wine_fn_config_makefile dlls/mprapi enable_mprapi
20700 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20701 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20702 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20703 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20704 wine_fn_config_makefile dlls/msado15 enable_msado15
20705 wine_fn_config_makefile dlls/msado15/tests enable_tests
20706 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20707 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20708 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20709 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20710 wine_fn_config_makefile dlls/mscms enable_mscms
20711 wine_fn_config_makefile dlls/mscms/tests enable_tests
20712 wine_fn_config_makefile dlls/mscoree enable_mscoree
20713 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20714 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20715 wine_fn_config_makefile dlls/msctf enable_msctf
20716 wine_fn_config_makefile dlls/msctf/tests enable_tests
20717 wine_fn_config_makefile dlls/msctfp enable_msctfp
20718 wine_fn_config_makefile dlls/msdaps enable_msdaps
20719 wine_fn_config_makefile dlls/msdelta enable_msdelta
20720 wine_fn_config_makefile dlls/msdmo enable_msdmo
20721 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20722 wine_fn_config_makefile dlls/msdrm enable_msdrm
20723 wine_fn_config_makefile dlls/msftedit enable_msftedit
20724 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20725 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20726 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20727 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20728 wine_fn_config_makefile dlls/mshtml enable_mshtml
20729 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20730 wine_fn_config_makefile dlls/msi enable_msi
20731 wine_fn_config_makefile dlls/msi/tests enable_tests
20732 wine_fn_config_makefile dlls/msident enable_msident
20733 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20734 wine_fn_config_makefile dlls/msimsg enable_msimsg
20735 wine_fn_config_makefile dlls/msimtf enable_msimtf
20736 wine_fn_config_makefile dlls/msisip enable_msisip
20737 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20738 wine_fn_config_makefile dlls/msls31 enable_msls31
20739 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20740 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20741 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20742 wine_fn_config_makefile dlls/msports enable_msports
20743 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20744 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20745 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20746 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20747 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20748 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20749 wine_fn_config_makefile dlls/mstask enable_mstask
20750 wine_fn_config_makefile dlls/mstask/tests enable_tests
20751 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20752 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20753 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20754 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20755 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20756 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20757 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20758 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20759 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20760 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20761 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20762 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20763 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20764 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20765 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20766 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20767 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20768 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20769 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20770 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20771 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20773 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20775 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20777 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20779 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20780 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20781 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20782 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20783 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20785 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20787 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20788 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20789 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20790 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20791 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20792 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20793 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20794 wine_fn_config_makefile dlls/mswsock enable_mswsock
20795 wine_fn_config_makefile dlls/msxml enable_msxml
20796 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20797 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20798 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20799 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20800 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20801 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20802 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20803 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20804 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20805 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20806 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20807 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20808 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20809 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20810 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20811 wine_fn_config_makefile dlls/netprofm enable_netprofm
20812 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20813 wine_fn_config_makefile dlls/netutils enable_netutils
20814 wine_fn_config_makefile dlls/newdev enable_newdev
20815 wine_fn_config_makefile dlls/ninput enable_ninput
20816 wine_fn_config_makefile dlls/ninput/tests enable_tests
20817 wine_fn_config_makefile dlls/normaliz enable_normaliz
20818 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20819 wine_fn_config_makefile dlls/npptools enable_npptools
20820 wine_fn_config_makefile dlls/ntdll enable_ntdll
20821 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20822 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20823 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20824 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20825 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20826 wine_fn_config_makefile dlls/ntprint enable_ntprint
20827 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20828 wine_fn_config_makefile dlls/objsel enable_objsel
20829 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20830 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20831 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20832 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20833 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20834 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20835 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20836 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20837 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20838 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20839 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20840 wine_fn_config_makefile dlls/ole32 enable_ole32
20841 wine_fn_config_makefile dlls/ole32/tests enable_tests
20842 wine_fn_config_makefile dlls/oleacc enable_oleacc
20843 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20844 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20845 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20846 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20847 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20848 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20849 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20850 wine_fn_config_makefile dlls/oledlg enable_oledlg
20851 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20852 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20853 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20854 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20855 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20856 wine_fn_config_makefile dlls/opcservices enable_opcservices
20857 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20858 wine_fn_config_makefile dlls/openal32 enable_openal32
20859 wine_fn_config_makefile dlls/opencl enable_opencl
20860 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20861 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20862 wine_fn_config_makefile dlls/packager enable_packager
20863 wine_fn_config_makefile dlls/packager/tests enable_tests
20864 wine_fn_config_makefile dlls/pdh enable_pdh
20865 wine_fn_config_makefile dlls/pdh/tests enable_tests
20866 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20867 wine_fn_config_makefile dlls/pidgen enable_pidgen
20868 wine_fn_config_makefile dlls/powrprof enable_powrprof
20869 wine_fn_config_makefile dlls/printui enable_printui
20870 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20871 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20872 wine_fn_config_makefile dlls/propsys enable_propsys
20873 wine_fn_config_makefile dlls/propsys/tests enable_tests
20874 wine_fn_config_makefile dlls/psapi enable_psapi
20875 wine_fn_config_makefile dlls/psapi/tests enable_tests
20876 wine_fn_config_makefile dlls/pstorec enable_pstorec
20877 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20878 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20879 wine_fn_config_makefile dlls/qasf enable_qasf
20880 wine_fn_config_makefile dlls/qasf/tests enable_tests
20881 wine_fn_config_makefile dlls/qcap enable_qcap
20882 wine_fn_config_makefile dlls/qcap/tests enable_tests
20883 wine_fn_config_makefile dlls/qdvd enable_qdvd
20884 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20885 wine_fn_config_makefile dlls/qedit enable_qedit
20886 wine_fn_config_makefile dlls/qedit/tests enable_tests
20887 wine_fn_config_makefile dlls/qmgr enable_qmgr
20888 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20889 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20890 wine_fn_config_makefile dlls/quartz enable_quartz
20891 wine_fn_config_makefile dlls/quartz/tests enable_tests
20892 wine_fn_config_makefile dlls/query enable_query
20893 wine_fn_config_makefile dlls/qwave enable_qwave
20894 wine_fn_config_makefile dlls/qwave/tests enable_tests
20895 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20896 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20897 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20898 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20899 wine_fn_config_makefile dlls/regapi enable_regapi
20900 wine_fn_config_makefile dlls/resutils enable_resutils
20901 wine_fn_config_makefile dlls/riched20 enable_riched20
20902 wine_fn_config_makefile dlls/riched20/tests enable_tests
20903 wine_fn_config_makefile dlls/riched32 enable_riched32
20904 wine_fn_config_makefile dlls/riched32/tests enable_tests
20905 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20906 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20907 wine_fn_config_makefile dlls/rsabase enable_rsabase
20908 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20909 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20910 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20911 wine_fn_config_makefile dlls/rtutils enable_rtutils
20912 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20913 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20914 wine_fn_config_makefile dlls/samlib enable_samlib
20915 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20916 wine_fn_config_makefile dlls/sapi enable_sapi
20917 wine_fn_config_makefile dlls/sapi/tests enable_tests
20918 wine_fn_config_makefile dlls/sas enable_sas
20919 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20920 wine_fn_config_makefile dlls/sccbase enable_sccbase
20921 wine_fn_config_makefile dlls/schannel enable_schannel
20922 wine_fn_config_makefile dlls/schannel/tests enable_tests
20923 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20924 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20925 wine_fn_config_makefile dlls/scrobj enable_scrobj
20926 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20927 wine_fn_config_makefile dlls/scrrun enable_scrrun
20928 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20929 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20930 wine_fn_config_makefile dlls/sechost enable_sechost
20931 wine_fn_config_makefile dlls/secur32 enable_secur32
20932 wine_fn_config_makefile dlls/secur32/tests enable_tests
20933 wine_fn_config_makefile dlls/security enable_security
20934 wine_fn_config_makefile dlls/sensapi enable_sensapi
20935 wine_fn_config_makefile dlls/serialui enable_serialui
20936 wine_fn_config_makefile dlls/serialui/tests enable_tests
20937 wine_fn_config_makefile dlls/setupapi enable_setupapi
20938 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20939 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20940 wine_fn_config_makefile dlls/sfc enable_sfc
20941 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20942 wine_fn_config_makefile dlls/shcore enable_shcore
20943 wine_fn_config_makefile dlls/shcore/tests enable_tests
20944 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20945 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20946 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20947 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20948 wine_fn_config_makefile dlls/shell32 enable_shell32
20949 wine_fn_config_makefile dlls/shell32/tests enable_tests
20950 wine_fn_config_makefile dlls/shfolder enable_shfolder
20951 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20952 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20953 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20954 wine_fn_config_makefile dlls/slc enable_slc
20955 wine_fn_config_makefile dlls/slc/tests enable_tests
20956 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20957 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20958 wine_fn_config_makefile dlls/softpub enable_softpub
20959 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20960 wine_fn_config_makefile dlls/spoolss enable_spoolss
20961 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20962 wine_fn_config_makefile dlls/srclient enable_srclient
20963 wine_fn_config_makefile dlls/srvcli enable_srvcli
20964 wine_fn_config_makefile dlls/sspicli enable_sspicli
20965 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20966 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20967 wine_fn_config_makefile dlls/sti enable_sti
20968 wine_fn_config_makefile dlls/sti/tests enable_tests
20969 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20970 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20971 wine_fn_config_makefile dlls/strmbase enable_strmbase
20972 wine_fn_config_makefile dlls/strmdll enable_strmdll
20973 wine_fn_config_makefile dlls/strmiids enable_strmiids
20974 wine_fn_config_makefile dlls/svrapi enable_svrapi
20975 wine_fn_config_makefile dlls/sxs enable_sxs
20976 wine_fn_config_makefile dlls/sxs/tests enable_tests
20977 wine_fn_config_makefile dlls/system.drv16 enable_win16
20978 wine_fn_config_makefile dlls/t2embed enable_t2embed
20979 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20980 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20981 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20982 wine_fn_config_makefile dlls/taskschd enable_taskschd
20983 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20984 wine_fn_config_makefile dlls/tdh enable_tdh
20985 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20986 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20987 wine_fn_config_makefile dlls/traffic enable_traffic
20988 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20989 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20990 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20991 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20992 wine_fn_config_makefile dlls/tzres enable_tzres
20993 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20994 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20995 wine_fn_config_makefile dlls/uianimation enable_uianimation
20996 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20997 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20998 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20999 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21000 wine_fn_config_makefile dlls/unicows enable_unicows
21001 wine_fn_config_makefile dlls/updspapi enable_updspapi
21002 wine_fn_config_makefile dlls/url enable_url
21003 wine_fn_config_makefile dlls/urlmon enable_urlmon
21004 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21005 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21006 wine_fn_config_makefile dlls/user.exe16 enable_win16
21007 wine_fn_config_makefile dlls/user32 enable_user32
21008 wine_fn_config_makefile dlls/user32/tests enable_tests
21009 wine_fn_config_makefile dlls/userenv enable_userenv
21010 wine_fn_config_makefile dlls/userenv/tests enable_tests
21011 wine_fn_config_makefile dlls/usp10 enable_usp10
21012 wine_fn_config_makefile dlls/usp10/tests enable_tests
21013 wine_fn_config_makefile dlls/utildll enable_utildll
21014 wine_fn_config_makefile dlls/uuid enable_uuid
21015 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21016 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21017 wine_fn_config_makefile dlls/vbscript enable_vbscript
21018 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21019 wine_fn_config_makefile dlls/vcomp enable_vcomp
21020 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21021 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21022 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21023 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21024 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21025 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21026 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21027 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21028 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21029 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21030 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21031 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21032 wine_fn_config_makefile dlls/version enable_version
21033 wine_fn_config_makefile dlls/version/tests enable_tests
21034 wine_fn_config_makefile dlls/vga enable_vga
21035 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21036 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21037 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21038 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21039 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21040 wine_fn_config_makefile dlls/vssapi enable_vssapi
21041 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21042 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21043 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21044 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21045 wine_fn_config_makefile dlls/w32skrnl enable_win16
21046 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21047 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21048 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21049 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21050 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21051 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21052 wine_fn_config_makefile dlls/wdscore enable_wdscore
21053 wine_fn_config_makefile dlls/webservices enable_webservices
21054 wine_fn_config_makefile dlls/webservices/tests enable_tests
21055 wine_fn_config_makefile dlls/wer enable_wer
21056 wine_fn_config_makefile dlls/wer/tests enable_tests
21057 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21058 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21059 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21060 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21061 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21062 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21063 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21064 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21065 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21066 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21067 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21068 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21069 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21070 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21071 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21072 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21073 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21074 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21075 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21076 wine_fn_config_makefile dlls/wined3d enable_wined3d
21077 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21078 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21079 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21080 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21081 wine_fn_config_makefile dlls/winemapi enable_winemapi
21082 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21083 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21084 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21085 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21086 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21087 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21088 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21089 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21090 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21091 wine_fn_config_makefile dlls/wing32 enable_wing32
21092 wine_fn_config_makefile dlls/winhttp enable_winhttp
21093 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21094 wine_fn_config_makefile dlls/wininet enable_wininet
21095 wine_fn_config_makefile dlls/wininet/tests enable_tests
21096 wine_fn_config_makefile dlls/winmm enable_winmm
21097 wine_fn_config_makefile dlls/winmm/tests enable_tests
21098 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21099 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21100 wine_fn_config_makefile dlls/winscard enable_winscard
21101 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21102 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21103 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21104 wine_fn_config_makefile dlls/winsta enable_winsta
21105 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21106 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21107 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21108 wine_fn_config_makefile dlls/wintrust enable_wintrust
21109 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21110 wine_fn_config_makefile dlls/winusb enable_winusb
21111 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21112 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21113 wine_fn_config_makefile dlls/wlanui enable_wlanui
21114 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21115 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21116 wine_fn_config_makefile dlls/wmasf enable_wmasf
21117 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21118 wine_fn_config_makefile dlls/wmi enable_wmi
21119 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21120 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21121 wine_fn_config_makefile dlls/wmp enable_wmp
21122 wine_fn_config_makefile dlls/wmp/tests enable_tests
21123 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21124 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21125 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21126 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21127 wine_fn_config_makefile dlls/wow32 enable_win16
21128 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21129 wine_fn_config_makefile dlls/wpc enable_wpc
21130 wine_fn_config_makefile dlls/wpc/tests enable_tests
21131 wine_fn_config_makefile dlls/wpcap enable_wpcap
21132 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21133 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21134 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21135 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21136 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21137 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21138 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21139 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21140 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21141 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21142 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21143 wine_fn_config_makefile dlls/wuapi enable_wuapi
21144 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21145 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21146 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21147 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21148 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21149 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21150 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21151 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21152 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21153 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21154 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21155 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21156 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21157 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21158 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21159 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21160 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21161 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21162 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21163 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21164 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21165 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21166 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21167 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21168 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21169 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21170 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21171 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21172 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21173 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21174 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21175 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21176 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21177 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21178 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21179 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21180 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21181 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21182 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21183 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21184 wine_fn_config_makefile dlls/xmllite enable_xmllite
21185 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21186 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21187 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21188 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21189 wine_fn_config_makefile fonts enable_fonts
21190 wine_fn_config_makefile include enable_include
21191 wine_fn_config_makefile libs/port enable_port
21192 wine_fn_config_makefile libs/wine enable_wine
21193 wine_fn_config_makefile libs/wpp enable_wpp
21194 wine_fn_config_makefile loader enable_loader
21195 wine_fn_config_makefile nls enable_nls
21196 wine_fn_config_makefile po enable_po
21197 wine_fn_config_makefile programs/arp enable_arp
21198 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21199 wine_fn_config_makefile programs/attrib enable_attrib
21200 wine_fn_config_makefile programs/cabarc enable_cabarc
21201 wine_fn_config_makefile programs/cacls enable_cacls
21202 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21203 wine_fn_config_makefile programs/clock enable_clock
21204 wine_fn_config_makefile programs/cmd enable_cmd
21205 wine_fn_config_makefile programs/cmd/tests enable_tests
21206 wine_fn_config_makefile programs/conhost enable_conhost
21207 wine_fn_config_makefile programs/conhost/tests enable_tests
21208 wine_fn_config_makefile programs/control enable_control
21209 wine_fn_config_makefile programs/cscript enable_cscript
21210 wine_fn_config_makefile programs/dism enable_dism
21211 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21212 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21213 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21214 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21215 wine_fn_config_makefile programs/eject enable_eject
21216 wine_fn_config_makefile programs/expand enable_expand
21217 wine_fn_config_makefile programs/explorer enable_explorer
21218 wine_fn_config_makefile programs/extrac32 enable_extrac32
21219 wine_fn_config_makefile programs/fc enable_fc
21220 wine_fn_config_makefile programs/find enable_find
21221 wine_fn_config_makefile programs/find/tests enable_tests
21222 wine_fn_config_makefile programs/findstr enable_findstr
21223 wine_fn_config_makefile programs/fsutil enable_fsutil
21224 wine_fn_config_makefile programs/fsutil/tests enable_tests
21225 wine_fn_config_makefile programs/hh enable_hh
21226 wine_fn_config_makefile programs/hostname enable_hostname
21227 wine_fn_config_makefile programs/icacls enable_icacls
21228 wine_fn_config_makefile programs/icinfo enable_icinfo
21229 wine_fn_config_makefile programs/iexplore enable_iexplore
21230 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21231 wine_fn_config_makefile programs/lodctr enable_lodctr
21232 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21233 wine_fn_config_makefile programs/mshta enable_mshta
21234 wine_fn_config_makefile programs/msidb enable_msidb
21235 wine_fn_config_makefile programs/msiexec enable_msiexec
21236 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21237 wine_fn_config_makefile programs/net enable_net
21238 wine_fn_config_makefile programs/netsh enable_netsh
21239 wine_fn_config_makefile programs/netstat enable_netstat
21240 wine_fn_config_makefile programs/ngen enable_ngen
21241 wine_fn_config_makefile programs/notepad enable_notepad
21242 wine_fn_config_makefile programs/oleview enable_oleview
21243 wine_fn_config_makefile programs/ping enable_ping
21244 wine_fn_config_makefile programs/plugplay enable_plugplay
21245 wine_fn_config_makefile programs/powershell enable_powershell
21246 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21247 wine_fn_config_makefile programs/progman enable_progman
21248 wine_fn_config_makefile programs/reg enable_reg
21249 wine_fn_config_makefile programs/reg/tests enable_tests
21250 wine_fn_config_makefile programs/regasm enable_regasm
21251 wine_fn_config_makefile programs/regedit enable_regedit
21252 wine_fn_config_makefile programs/regedit/tests enable_tests
21253 wine_fn_config_makefile programs/regini enable_regini
21254 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21255 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21256 wine_fn_config_makefile programs/rpcss enable_rpcss
21257 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21258 wine_fn_config_makefile programs/rundll32 enable_rundll32
21259 wine_fn_config_makefile programs/sc enable_sc
21260 wine_fn_config_makefile programs/schtasks enable_schtasks
21261 wine_fn_config_makefile programs/schtasks/tests enable_tests
21262 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21263 wine_fn_config_makefile programs/secedit enable_secedit
21264 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21265 wine_fn_config_makefile programs/services enable_services
21266 wine_fn_config_makefile programs/services/tests enable_tests
21267 wine_fn_config_makefile programs/shutdown enable_shutdown
21268 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21269 wine_fn_config_makefile programs/start enable_start
21270 wine_fn_config_makefile programs/subst enable_subst
21271 wine_fn_config_makefile programs/svchost enable_svchost
21272 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21273 wine_fn_config_makefile programs/taskkill enable_taskkill
21274 wine_fn_config_makefile programs/tasklist enable_tasklist
21275 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21276 wine_fn_config_makefile programs/termsv enable_termsv
21277 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21278 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21279 wine_fn_config_makefile programs/view enable_view
21280 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21281 wine_fn_config_makefile programs/where enable_where
21282 wine_fn_config_makefile programs/whoami enable_whoami
21283 wine_fn_config_makefile programs/wineboot enable_wineboot
21284 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21285 wine_fn_config_makefile programs/winecfg enable_winecfg
21286 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21287 wine_fn_config_makefile programs/winedbg enable_winedbg
21288 wine_fn_config_makefile programs/winedevice enable_winedevice
21289 wine_fn_config_makefile programs/winefile enable_winefile
21290 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21291 wine_fn_config_makefile programs/winemine enable_winemine
21292 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21293 wine_fn_config_makefile programs/winepath enable_winepath
21294 wine_fn_config_makefile programs/winetest enable_winetest
21295 wine_fn_config_makefile programs/winevdm enable_win16
21296 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21297 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21298 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21299 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21300 wine_fn_config_makefile programs/winver enable_winver
21301 wine_fn_config_makefile programs/wmic enable_wmic
21302 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21303 wine_fn_config_makefile programs/wordpad enable_wordpad
21304 wine_fn_config_makefile programs/write enable_write
21305 wine_fn_config_makefile programs/wscript enable_wscript
21306 wine_fn_config_makefile programs/wscript/tests enable_tests
21307 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21308 wine_fn_config_makefile programs/wusa enable_wusa
21309 wine_fn_config_makefile programs/xcopy enable_xcopy
21310 wine_fn_config_makefile programs/xcopy/tests enable_tests
21311 wine_fn_config_makefile server enable_server
21312 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21323 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21324 wine_fn_append_file CONFIGURE_TARGETS "tags"
21325 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21326 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21327 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21328 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21329 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21330 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21332 if test "x$enable_tools" != xno
21333 then
21334 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21335 ac_config_commands="$ac_config_commands tools/makedep"
21339 ac_config_commands="$ac_config_commands Makefile"
21342 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21346 if test "x$enable_maintainer_mode" = xyes
21347 then
21348 wine_fn_append_rule "configure: configure.ac aclocal.m4
21349 autoconf --warnings=all
21350 include/config.h.in: include/stamp-h.in
21351 include/stamp-h.in: configure.ac aclocal.m4
21352 autoheader --warnings=all
21353 @echo timestamp > \$@"
21356 if test "x$enable_tools" != xno
21357 then
21358 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21359 @./config.status tools/makedep
21360 Makefile: tools/makedep$ac_exeext"
21361 else
21362 wine_fn_append_rule "\$(MAKEDEP):
21363 @echo \"You need to run make in $TOOLSDIR first\" && false"
21366 if test -n "$with_wine64"
21367 then
21368 case "$with_wine64" in
21369 /*) reldir="" ;;
21370 *) reldir="../" ;;
21371 esac
21372 rm -f fonts server 2>/dev/null
21373 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21374 loader/wine64 loader/wine64-preloader:
21375 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21376 $with_wine64/loader/wine:
21377 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21378 $with_wine64/loader/wine-preloader:
21379 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21380 clean::
21381 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21382 else
21383 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21384 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21385 fonts \
21386 loader/wine.inf \
21387 nls \
21388 programs/msidb/msidb \
21389 programs/msiexec/msiexec \
21390 programs/notepad/notepad \
21391 programs/regedit/regedit \
21392 programs/regsvr32/regsvr32 \
21393 programs/wineboot/wineboot \
21394 programs/winecfg/winecfg \
21395 programs/wineconsole/wineconsole \
21396 programs/winedbg/winedbg \
21397 programs/winefile/winefile \
21398 programs/winemine/winemine \
21399 programs/winepath/winepath \
21400 server/wineserver"
21402 case $host_os in
21403 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21404 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21405 esac
21408 $as_echo " done" >&6
21409 cat >confcache <<\_ACEOF
21410 # This file is a shell script that caches the results of configure
21411 # tests run on this system so they can be shared between configure
21412 # scripts and configure runs, see configure's option --config-cache.
21413 # It is not useful on other systems. If it contains results you don't
21414 # want to keep, you may remove or edit it.
21416 # config.status only pays attention to the cache file if you give it
21417 # the --recheck option to rerun configure.
21419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21421 # following values.
21423 _ACEOF
21425 # The following way of writing the cache mishandles newlines in values,
21426 # but we know of no workaround that is simple, portable, and efficient.
21427 # So, we kill variables containing newlines.
21428 # Ultrix sh set writes to stderr and can't be redirected directly,
21429 # and sets the high bit in the cache file unless we assign to the vars.
21431 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21432 eval ac_val=\$$ac_var
21433 case $ac_val in #(
21434 *${as_nl}*)
21435 case $ac_var in #(
21436 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21437 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21438 esac
21439 case $ac_var in #(
21440 _ | IFS | as_nl) ;; #(
21441 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21442 *) { eval $ac_var=; unset $ac_var;} ;;
21443 esac ;;
21444 esac
21445 done
21447 (set) 2>&1 |
21448 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21449 *${as_nl}ac_space=\ *)
21450 # `set' does not quote correctly, so add quotes: double-quote
21451 # substitution turns \\\\ into \\, and sed turns \\ into \.
21452 sed -n \
21453 "s/'/'\\\\''/g;
21454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21455 ;; #(
21457 # `set' quotes correctly as required by POSIX, so do not add quotes.
21458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21460 esac |
21461 sort
21463 sed '
21464 /^ac_cv_env_/b end
21465 t clear
21466 :clear
21467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21468 t end
21469 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21470 :end' >>confcache
21471 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21472 if test -w "$cache_file"; then
21473 if test "x$cache_file" != "x/dev/null"; then
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21475 $as_echo "$as_me: updating cache $cache_file" >&6;}
21476 if test ! -f "$cache_file" || test -h "$cache_file"; then
21477 cat confcache >"$cache_file"
21478 else
21479 case $cache_file in #(
21480 */* | ?:*)
21481 mv -f confcache "$cache_file"$$ &&
21482 mv -f "$cache_file"$$ "$cache_file" ;; #(
21484 mv -f confcache "$cache_file" ;;
21485 esac
21488 else
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21490 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21493 rm -f confcache
21495 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21496 # Let make expand exec_prefix.
21497 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21499 DEFS=-DHAVE_CONFIG_H
21501 ac_libobjs=
21502 ac_ltlibobjs=
21504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21505 # 1. Remove the extension, and $U if already installed.
21506 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21507 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21509 # will be set to the directory where LIBOBJS objects are built.
21510 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21511 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21512 done
21513 LIBOBJS=$ac_libobjs
21515 LTLIBOBJS=$ac_ltlibobjs
21519 : "${CONFIG_STATUS=./config.status}"
21520 ac_write_fail=0
21521 ac_clean_files_save=$ac_clean_files
21522 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21524 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21525 as_write_fail=0
21526 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21527 #! $SHELL
21528 # Generated by $as_me.
21529 # Run this file to recreate the current configuration.
21530 # Compiler output produced by configure, useful for debugging
21531 # configure, is in config.log if it exists.
21533 debug=false
21534 ac_cs_recheck=false
21535 ac_cs_silent=false
21537 SHELL=\${CONFIG_SHELL-$SHELL}
21538 export SHELL
21539 _ASEOF
21540 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21541 ## -------------------- ##
21542 ## M4sh Initialization. ##
21543 ## -------------------- ##
21545 # Be more Bourne compatible
21546 DUALCASE=1; export DUALCASE # for MKS sh
21547 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21548 emulate sh
21549 NULLCMD=:
21550 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21551 # is contrary to our usage. Disable this feature.
21552 alias -g '${1+"$@"}'='"$@"'
21553 setopt NO_GLOB_SUBST
21554 else
21555 case `(set -o) 2>/dev/null` in #(
21556 *posix*) :
21557 set -o posix ;; #(
21558 *) :
21560 esac
21564 as_nl='
21566 export as_nl
21567 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21568 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21569 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21571 # Prefer a ksh shell builtin over an external printf program on Solaris,
21572 # but without wasting forks for bash or zsh.
21573 if test -z "$BASH_VERSION$ZSH_VERSION" \
21574 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21575 as_echo='print -r --'
21576 as_echo_n='print -rn --'
21577 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21578 as_echo='printf %s\n'
21579 as_echo_n='printf %s'
21580 else
21581 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21582 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21583 as_echo_n='/usr/ucb/echo -n'
21584 else
21585 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21586 as_echo_n_body='eval
21587 arg=$1;
21588 case $arg in #(
21589 *"$as_nl"*)
21590 expr "X$arg" : "X\\(.*\\)$as_nl";
21591 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21592 esac;
21593 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21595 export as_echo_n_body
21596 as_echo_n='sh -c $as_echo_n_body as_echo'
21598 export as_echo_body
21599 as_echo='sh -c $as_echo_body as_echo'
21602 # The user is always right.
21603 if test "${PATH_SEPARATOR+set}" != set; then
21604 PATH_SEPARATOR=:
21605 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21606 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21607 PATH_SEPARATOR=';'
21612 # IFS
21613 # We need space, tab and new line, in precisely that order. Quoting is
21614 # there to prevent editors from complaining about space-tab.
21615 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21616 # splitting by setting IFS to empty value.)
21617 IFS=" "" $as_nl"
21619 # Find who we are. Look in the path if we contain no directory separator.
21620 as_myself=
21621 case $0 in #((
21622 *[\\/]* ) as_myself=$0 ;;
21623 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21624 for as_dir in $PATH
21626 IFS=$as_save_IFS
21627 test -z "$as_dir" && as_dir=.
21628 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21629 done
21630 IFS=$as_save_IFS
21633 esac
21634 # We did not find ourselves, most probably we were run as `sh COMMAND'
21635 # in which case we are not to be found in the path.
21636 if test "x$as_myself" = x; then
21637 as_myself=$0
21639 if test ! -f "$as_myself"; then
21640 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21641 exit 1
21644 # Unset variables that we do not need and which cause bugs (e.g. in
21645 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21646 # suppresses any "Segmentation fault" message there. '((' could
21647 # trigger a bug in pdksh 5.2.14.
21648 for as_var in BASH_ENV ENV MAIL MAILPATH
21649 do eval test x\${$as_var+set} = xset \
21650 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21651 done
21652 PS1='$ '
21653 PS2='> '
21654 PS4='+ '
21656 # NLS nuisances.
21657 LC_ALL=C
21658 export LC_ALL
21659 LANGUAGE=C
21660 export LANGUAGE
21662 # CDPATH.
21663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21666 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21667 # ----------------------------------------
21668 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21669 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21670 # script with STATUS, using 1 if that was 0.
21671 as_fn_error ()
21673 as_status=$1; test $as_status -eq 0 && as_status=1
21674 if test "$4"; then
21675 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21676 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21678 $as_echo "$as_me: error: $2" >&2
21679 as_fn_exit $as_status
21680 } # as_fn_error
21683 # as_fn_set_status STATUS
21684 # -----------------------
21685 # Set $? to STATUS, without forking.
21686 as_fn_set_status ()
21688 return $1
21689 } # as_fn_set_status
21691 # as_fn_exit STATUS
21692 # -----------------
21693 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21694 as_fn_exit ()
21696 set +e
21697 as_fn_set_status $1
21698 exit $1
21699 } # as_fn_exit
21701 # as_fn_unset VAR
21702 # ---------------
21703 # Portably unset VAR.
21704 as_fn_unset ()
21706 { eval $1=; unset $1;}
21708 as_unset=as_fn_unset
21709 # as_fn_append VAR VALUE
21710 # ----------------------
21711 # Append the text in VALUE to the end of the definition contained in VAR. Take
21712 # advantage of any shell optimizations that allow amortized linear growth over
21713 # repeated appends, instead of the typical quadratic growth present in naive
21714 # implementations.
21715 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21716 eval 'as_fn_append ()
21718 eval $1+=\$2
21720 else
21721 as_fn_append ()
21723 eval $1=\$$1\$2
21725 fi # as_fn_append
21727 # as_fn_arith ARG...
21728 # ------------------
21729 # Perform arithmetic evaluation on the ARGs, and store the result in the
21730 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21731 # must be portable across $(()) and expr.
21732 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21733 eval 'as_fn_arith ()
21735 as_val=$(( $* ))
21737 else
21738 as_fn_arith ()
21740 as_val=`expr "$@" || test $? -eq 1`
21742 fi # as_fn_arith
21745 if expr a : '\(a\)' >/dev/null 2>&1 &&
21746 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21747 as_expr=expr
21748 else
21749 as_expr=false
21752 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21753 as_basename=basename
21754 else
21755 as_basename=false
21758 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21759 as_dirname=dirname
21760 else
21761 as_dirname=false
21764 as_me=`$as_basename -- "$0" ||
21765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21766 X"$0" : 'X\(//\)$' \| \
21767 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21768 $as_echo X/"$0" |
21769 sed '/^.*\/\([^/][^/]*\)\/*$/{
21770 s//\1/
21773 /^X\/\(\/\/\)$/{
21774 s//\1/
21777 /^X\/\(\/\).*/{
21778 s//\1/
21781 s/.*/./; q'`
21783 # Avoid depending upon Character Ranges.
21784 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21785 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21786 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21787 as_cr_digits='0123456789'
21788 as_cr_alnum=$as_cr_Letters$as_cr_digits
21790 ECHO_C= ECHO_N= ECHO_T=
21791 case `echo -n x` in #(((((
21792 -n*)
21793 case `echo 'xy\c'` in
21794 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21795 xy) ECHO_C='\c';;
21796 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21797 ECHO_T=' ';;
21798 esac;;
21800 ECHO_N='-n';;
21801 esac
21803 rm -f conf$$ conf$$.exe conf$$.file
21804 if test -d conf$$.dir; then
21805 rm -f conf$$.dir/conf$$.file
21806 else
21807 rm -f conf$$.dir
21808 mkdir conf$$.dir 2>/dev/null
21810 if (echo >conf$$.file) 2>/dev/null; then
21811 if ln -s conf$$.file conf$$ 2>/dev/null; then
21812 as_ln_s='ln -s'
21813 # ... but there are two gotchas:
21814 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21815 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21816 # In both cases, we have to default to `cp -pR'.
21817 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21818 as_ln_s='cp -pR'
21819 elif ln conf$$.file conf$$ 2>/dev/null; then
21820 as_ln_s=ln
21821 else
21822 as_ln_s='cp -pR'
21824 else
21825 as_ln_s='cp -pR'
21827 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21828 rmdir conf$$.dir 2>/dev/null
21831 # as_fn_mkdir_p
21832 # -------------
21833 # Create "$as_dir" as a directory, including parents if necessary.
21834 as_fn_mkdir_p ()
21837 case $as_dir in #(
21838 -*) as_dir=./$as_dir;;
21839 esac
21840 test -d "$as_dir" || eval $as_mkdir_p || {
21841 as_dirs=
21842 while :; do
21843 case $as_dir in #(
21844 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21845 *) as_qdir=$as_dir;;
21846 esac
21847 as_dirs="'$as_qdir' $as_dirs"
21848 as_dir=`$as_dirname -- "$as_dir" ||
21849 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21850 X"$as_dir" : 'X\(//\)[^/]' \| \
21851 X"$as_dir" : 'X\(//\)$' \| \
21852 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21853 $as_echo X"$as_dir" |
21854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21855 s//\1/
21858 /^X\(\/\/\)[^/].*/{
21859 s//\1/
21862 /^X\(\/\/\)$/{
21863 s//\1/
21866 /^X\(\/\).*/{
21867 s//\1/
21870 s/.*/./; q'`
21871 test -d "$as_dir" && break
21872 done
21873 test -z "$as_dirs" || eval "mkdir $as_dirs"
21874 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21877 } # as_fn_mkdir_p
21878 if mkdir -p . 2>/dev/null; then
21879 as_mkdir_p='mkdir -p "$as_dir"'
21880 else
21881 test -d ./-p && rmdir ./-p
21882 as_mkdir_p=false
21886 # as_fn_executable_p FILE
21887 # -----------------------
21888 # Test if FILE is an executable regular file.
21889 as_fn_executable_p ()
21891 test -f "$1" && test -x "$1"
21892 } # as_fn_executable_p
21893 as_test_x='test -x'
21894 as_executable_p=as_fn_executable_p
21896 # Sed expression to map a string onto a valid CPP name.
21897 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21899 # Sed expression to map a string onto a valid variable name.
21900 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21903 exec 6>&1
21904 ## ----------------------------------- ##
21905 ## Main body of $CONFIG_STATUS script. ##
21906 ## ----------------------------------- ##
21907 _ASEOF
21908 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21911 # Save the log message, to keep $0 and so on meaningful, and to
21912 # report actual input values of CONFIG_FILES etc. instead of their
21913 # values after options handling.
21914 ac_log="
21915 This file was extended by Wine $as_me 6.3, which was
21916 generated by GNU Autoconf 2.69. Invocation command line was
21918 CONFIG_FILES = $CONFIG_FILES
21919 CONFIG_HEADERS = $CONFIG_HEADERS
21920 CONFIG_LINKS = $CONFIG_LINKS
21921 CONFIG_COMMANDS = $CONFIG_COMMANDS
21922 $ $0 $@
21924 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21927 _ACEOF
21929 case $ac_config_files in *"
21930 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21931 esac
21933 case $ac_config_headers in *"
21934 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21935 esac
21938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21939 # Files that config.status was made for.
21940 config_files="$ac_config_files"
21941 config_headers="$ac_config_headers"
21942 config_links="$ac_config_links"
21943 config_commands="$ac_config_commands"
21945 _ACEOF
21947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21948 ac_cs_usage="\
21949 \`$as_me' instantiates files and other configuration actions
21950 from templates according to the current configuration. Unless the files
21951 and actions are specified as TAGs, all are instantiated by default.
21953 Usage: $0 [OPTION]... [TAG]...
21955 -h, --help print this help, then exit
21956 -V, --version print version number and configuration settings, then exit
21957 --config print configuration, then exit
21958 -q, --quiet, --silent
21959 do not print progress messages
21960 -d, --debug don't remove temporary files
21961 --recheck update $as_me by reconfiguring in the same conditions
21962 --file=FILE[:TEMPLATE]
21963 instantiate the configuration file FILE
21964 --header=FILE[:TEMPLATE]
21965 instantiate the configuration header FILE
21967 Configuration files:
21968 $config_files
21970 Configuration headers:
21971 $config_headers
21973 Configuration links:
21974 $config_links
21976 Configuration commands:
21977 $config_commands
21979 Report bugs to <wine-devel@winehq.org>.
21980 Wine home page: <https://www.winehq.org>."
21982 _ACEOF
21983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21984 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21985 ac_cs_version="\\
21986 Wine config.status 6.3
21987 configured by $0, generated by GNU Autoconf 2.69,
21988 with options \\"\$ac_cs_config\\"
21990 Copyright (C) 2012 Free Software Foundation, Inc.
21991 This config.status script is free software; the Free Software Foundation
21992 gives unlimited permission to copy, distribute and modify it."
21994 ac_pwd='$ac_pwd'
21995 srcdir='$srcdir'
21996 test -n "\$AWK" || AWK=awk
21997 _ACEOF
21999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22000 # The default lists apply if the user does not specify any file.
22001 ac_need_defaults=:
22002 while test $# != 0
22004 case $1 in
22005 --*=?*)
22006 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22007 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22008 ac_shift=:
22010 --*=)
22011 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22012 ac_optarg=
22013 ac_shift=:
22016 ac_option=$1
22017 ac_optarg=$2
22018 ac_shift=shift
22020 esac
22022 case $ac_option in
22023 # Handling of the options.
22024 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22025 ac_cs_recheck=: ;;
22026 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22027 $as_echo "$ac_cs_version"; exit ;;
22028 --config | --confi | --conf | --con | --co | --c )
22029 $as_echo "$ac_cs_config"; exit ;;
22030 --debug | --debu | --deb | --de | --d | -d )
22031 debug=: ;;
22032 --file | --fil | --fi | --f )
22033 $ac_shift
22034 case $ac_optarg in
22035 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22036 '') as_fn_error $? "missing file argument" ;;
22037 esac
22038 as_fn_append CONFIG_FILES " '$ac_optarg'"
22039 ac_need_defaults=false;;
22040 --header | --heade | --head | --hea )
22041 $ac_shift
22042 case $ac_optarg in
22043 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22044 esac
22045 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22046 ac_need_defaults=false;;
22047 --he | --h)
22048 # Conflict between --help and --header
22049 as_fn_error $? "ambiguous option: \`$1'
22050 Try \`$0 --help' for more information.";;
22051 --help | --hel | -h )
22052 $as_echo "$ac_cs_usage"; exit ;;
22053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22054 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22055 ac_cs_silent=: ;;
22057 # This is an error.
22058 -*) as_fn_error $? "unrecognized option: \`$1'
22059 Try \`$0 --help' for more information." ;;
22061 *) as_fn_append ac_config_targets " $1"
22062 ac_need_defaults=false ;;
22064 esac
22065 shift
22066 done
22068 ac_configure_extra_args=
22070 if $ac_cs_silent; then
22071 exec 6>/dev/null
22072 ac_configure_extra_args="$ac_configure_extra_args --silent"
22075 _ACEOF
22076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22077 if \$ac_cs_recheck; then
22078 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22079 shift
22080 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22081 CONFIG_SHELL='$SHELL'
22082 export CONFIG_SHELL
22083 exec "\$@"
22086 _ACEOF
22087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22088 exec 5>>config.log
22090 echo
22091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22092 ## Running $as_me. ##
22093 _ASBOX
22094 $as_echo "$ac_log"
22095 } >&5
22097 _ACEOF
22098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22100 # INIT-COMMANDS
22102 wine_fn_output_makedep ()
22104 as_dir=tools; as_fn_mkdir_p
22105 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22107 wine_fn_output_makefile ()
22109 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22110 `cat $wine_rules_file`
22111 _WINE_EOF
22112 as_fn_error $? "could not create Makefile" "$LINENO" 5
22115 _ACEOF
22117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22119 # Handling of arguments.
22120 for ac_config_target in $ac_config_targets
22122 case $ac_config_target in
22123 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22124 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22125 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22126 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22127 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22128 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22129 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22131 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22132 esac
22133 done
22136 # If the user did not use the arguments to specify the items to instantiate,
22137 # then the envvar interface is used. Set only those that are not.
22138 # We use the long form for the default assignment because of an extremely
22139 # bizarre bug on SunOS 4.1.3.
22140 if $ac_need_defaults; then
22141 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22142 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22143 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22144 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22147 # Have a temporary directory for convenience. Make it in the build tree
22148 # simply because there is no reason against having it here, and in addition,
22149 # creating and moving files from /tmp can sometimes cause problems.
22150 # Hook for its removal unless debugging.
22151 # Note that there is a small window in which the directory will not be cleaned:
22152 # after its creation but before its name has been assigned to `$tmp'.
22153 $debug ||
22155 tmp= ac_tmp=
22156 trap 'exit_status=$?
22157 : "${ac_tmp:=$tmp}"
22158 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22160 trap 'as_fn_exit 1' 1 2 13 15
22162 # Create a (secure) tmp directory for tmp files.
22165 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22166 test -d "$tmp"
22167 } ||
22169 tmp=./conf$$-$RANDOM
22170 (umask 077 && mkdir "$tmp")
22171 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22172 ac_tmp=$tmp
22174 # Set up the scripts for CONFIG_FILES section.
22175 # No need to generate them if there are no CONFIG_FILES.
22176 # This happens for instance with `./config.status config.h'.
22177 if test -n "$CONFIG_FILES"; then
22180 ac_cr=`echo X | tr X '\015'`
22181 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22182 # But we know of no other shell where ac_cr would be empty at this
22183 # point, so we can use a bashism as a fallback.
22184 if test "x$ac_cr" = x; then
22185 eval ac_cr=\$\'\\r\'
22187 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22188 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22189 ac_cs_awk_cr='\\r'
22190 else
22191 ac_cs_awk_cr=$ac_cr
22194 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22195 _ACEOF
22199 echo "cat >conf$$subs.awk <<_ACEOF" &&
22200 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22201 echo "_ACEOF"
22202 } >conf$$subs.sh ||
22203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22204 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22205 ac_delim='%!_!# '
22206 for ac_last_try in false false false false false :; do
22207 . ./conf$$subs.sh ||
22208 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22210 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22211 if test $ac_delim_n = $ac_delim_num; then
22212 break
22213 elif $ac_last_try; then
22214 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22215 else
22216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22218 done
22219 rm -f conf$$subs.sh
22221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22222 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22223 _ACEOF
22224 sed -n '
22226 s/^/S["/; s/!.*/"]=/
22229 s/^[^!]*!//
22230 :repl
22231 t repl
22232 s/'"$ac_delim"'$//
22233 t delim
22236 s/\(.\{148\}\)..*/\1/
22237 t more1
22238 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22241 b repl
22242 :more1
22243 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22246 s/.\{148\}//
22247 t nl
22248 :delim
22250 s/\(.\{148\}\)..*/\1/
22251 t more2
22252 s/["\\]/\\&/g; s/^/"/; s/$/"/
22255 :more2
22256 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22259 s/.\{148\}//
22260 t delim
22261 ' <conf$$subs.awk | sed '
22262 /^[^""]/{
22264 s/\n//
22266 ' >>$CONFIG_STATUS || ac_write_fail=1
22267 rm -f conf$$subs.awk
22268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22269 _ACAWK
22270 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22271 for (key in S) S_is_set[key] = 1
22272 FS = "\a"
22276 line = $ 0
22277 nfields = split(line, field, "@")
22278 substed = 0
22279 len = length(field[1])
22280 for (i = 2; i < nfields; i++) {
22281 key = field[i]
22282 keylen = length(key)
22283 if (S_is_set[key]) {
22284 value = S[key]
22285 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22286 len += length(value) + length(field[++i])
22287 substed = 1
22288 } else
22289 len += 1 + keylen
22292 print line
22295 _ACAWK
22296 _ACEOF
22297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22298 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22299 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22300 else
22302 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22303 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22304 _ACEOF
22306 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22307 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22308 # trailing colons and then remove the whole line if VPATH becomes empty
22309 # (actually we leave an empty line to preserve line numbers).
22310 if test "x$srcdir" = x.; then
22311 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22313 s///
22314 s/^/:/
22315 s/[ ]*$/:/
22316 s/:\$(srcdir):/:/g
22317 s/:\${srcdir}:/:/g
22318 s/:@srcdir@:/:/g
22319 s/^:*//
22320 s/:*$//
22322 s/\(=[ ]*\).*/\1/
22324 s/\n//
22325 s/^[^=]*=[ ]*$//
22329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22330 fi # test -n "$CONFIG_FILES"
22332 # Set up the scripts for CONFIG_HEADERS section.
22333 # No need to generate them if there are no CONFIG_HEADERS.
22334 # This happens for instance with `./config.status Makefile'.
22335 if test -n "$CONFIG_HEADERS"; then
22336 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22337 BEGIN {
22338 _ACEOF
22340 # Transform confdefs.h into an awk script `defines.awk', embedded as
22341 # here-document in config.status, that substitutes the proper values into
22342 # config.h.in to produce config.h.
22344 # Create a delimiter string that does not exist in confdefs.h, to ease
22345 # handling of long lines.
22346 ac_delim='%!_!# '
22347 for ac_last_try in false false :; do
22348 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22349 if test -z "$ac_tt"; then
22350 break
22351 elif $ac_last_try; then
22352 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22353 else
22354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22356 done
22358 # For the awk script, D is an array of macro values keyed by name,
22359 # likewise P contains macro parameters if any. Preserve backslash
22360 # newline sequences.
22362 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22363 sed -n '
22364 s/.\{148\}/&'"$ac_delim"'/g
22365 t rset
22366 :rset
22367 s/^[ ]*#[ ]*define[ ][ ]*/ /
22368 t def
22370 :def
22371 s/\\$//
22372 t bsnl
22373 s/["\\]/\\&/g
22374 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22375 D["\1"]=" \3"/p
22376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22378 :bsnl
22379 s/["\\]/\\&/g
22380 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22381 D["\1"]=" \3\\\\\\n"\\/p
22382 t cont
22383 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22384 t cont
22386 :cont
22388 s/.\{148\}/&'"$ac_delim"'/g
22389 t clear
22390 :clear
22391 s/\\$//
22392 t bsnlc
22393 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22395 :bsnlc
22396 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22397 b cont
22398 ' <confdefs.h | sed '
22399 s/'"$ac_delim"'/"\\\
22400 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22403 for (key in D) D_is_set[key] = 1
22404 FS = "\a"
22406 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22407 line = \$ 0
22408 split(line, arg, " ")
22409 if (arg[1] == "#") {
22410 defundef = arg[2]
22411 mac1 = arg[3]
22412 } else {
22413 defundef = substr(arg[1], 2)
22414 mac1 = arg[2]
22416 split(mac1, mac2, "(") #)
22417 macro = mac2[1]
22418 prefix = substr(line, 1, index(line, defundef) - 1)
22419 if (D_is_set[macro]) {
22420 # Preserve the white space surrounding the "#".
22421 print prefix "define", macro P[macro] D[macro]
22422 next
22423 } else {
22424 # Replace #undef with comments. This is necessary, for example,
22425 # in the case of _POSIX_SOURCE, which is predefined and required
22426 # on some systems where configure will not decide to define it.
22427 if (defundef == "undef") {
22428 print "/*", prefix defundef, macro, "*/"
22429 next
22433 { print }
22434 _ACAWK
22435 _ACEOF
22436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22437 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22438 fi # test -n "$CONFIG_HEADERS"
22441 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22442 shift
22443 for ac_tag
22445 case $ac_tag in
22446 :[FHLC]) ac_mode=$ac_tag; continue;;
22447 esac
22448 case $ac_mode$ac_tag in
22449 :[FHL]*:*);;
22450 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22451 :[FH]-) ac_tag=-:-;;
22452 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22453 esac
22454 ac_save_IFS=$IFS
22455 IFS=:
22456 set x $ac_tag
22457 IFS=$ac_save_IFS
22458 shift
22459 ac_file=$1
22460 shift
22462 case $ac_mode in
22463 :L) ac_source=$1;;
22464 :[FH])
22465 ac_file_inputs=
22466 for ac_f
22468 case $ac_f in
22469 -) ac_f="$ac_tmp/stdin";;
22470 *) # Look for the file first in the build tree, then in the source tree
22471 # (if the path is not absolute). The absolute path cannot be DOS-style,
22472 # because $ac_f cannot contain `:'.
22473 test -f "$ac_f" ||
22474 case $ac_f in
22475 [\\/$]*) false;;
22476 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22477 esac ||
22478 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22479 esac
22480 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22481 as_fn_append ac_file_inputs " '$ac_f'"
22482 done
22484 # Let's still pretend it is `configure' which instantiates (i.e., don't
22485 # use $as_me), people would be surprised to read:
22486 # /* config.h. Generated by config.status. */
22487 configure_input='Generated from '`
22488 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22489 `' by configure.'
22490 if test x"$ac_file" != x-; then
22491 configure_input="$ac_file. $configure_input"
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22493 $as_echo "$as_me: creating $ac_file" >&6;}
22495 # Neutralize special characters interpreted by sed in replacement strings.
22496 case $configure_input in #(
22497 *\&* | *\|* | *\\* )
22498 ac_sed_conf_input=`$as_echo "$configure_input" |
22499 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22500 *) ac_sed_conf_input=$configure_input;;
22501 esac
22503 case $ac_tag in
22504 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22506 esac
22508 esac
22510 ac_dir=`$as_dirname -- "$ac_file" ||
22511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22512 X"$ac_file" : 'X\(//\)[^/]' \| \
22513 X"$ac_file" : 'X\(//\)$' \| \
22514 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22515 $as_echo X"$ac_file" |
22516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22517 s//\1/
22520 /^X\(\/\/\)[^/].*/{
22521 s//\1/
22524 /^X\(\/\/\)$/{
22525 s//\1/
22528 /^X\(\/\).*/{
22529 s//\1/
22532 s/.*/./; q'`
22533 as_dir="$ac_dir"; as_fn_mkdir_p
22534 ac_builddir=.
22536 case "$ac_dir" in
22537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22540 # A ".." for each directory in $ac_dir_suffix.
22541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22542 case $ac_top_builddir_sub in
22543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22545 esac ;;
22546 esac
22547 ac_abs_top_builddir=$ac_pwd
22548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22549 # for backward compatibility:
22550 ac_top_builddir=$ac_top_build_prefix
22552 case $srcdir in
22553 .) # We are building in place.
22554 ac_srcdir=.
22555 ac_top_srcdir=$ac_top_builddir_sub
22556 ac_abs_top_srcdir=$ac_pwd ;;
22557 [\\/]* | ?:[\\/]* ) # Absolute name.
22558 ac_srcdir=$srcdir$ac_dir_suffix;
22559 ac_top_srcdir=$srcdir
22560 ac_abs_top_srcdir=$srcdir ;;
22561 *) # Relative name.
22562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22563 ac_top_srcdir=$ac_top_build_prefix$srcdir
22564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22565 esac
22566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22569 case $ac_mode in
22572 # CONFIG_FILE
22575 _ACEOF
22577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22578 # If the template does not know about datarootdir, expand it.
22579 # FIXME: This hack should be removed a few years after 2.60.
22580 ac_datarootdir_hack=; ac_datarootdir_seen=
22581 ac_sed_dataroot='
22582 /datarootdir/ {
22586 /@datadir@/p
22587 /@docdir@/p
22588 /@infodir@/p
22589 /@localedir@/p
22590 /@mandir@/p'
22591 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22592 *datarootdir*) ac_datarootdir_seen=yes;;
22593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22595 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22596 _ACEOF
22597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22598 ac_datarootdir_hack='
22599 s&@datadir@&$datadir&g
22600 s&@docdir@&$docdir&g
22601 s&@infodir@&$infodir&g
22602 s&@localedir@&$localedir&g
22603 s&@mandir@&$mandir&g
22604 s&\\\${datarootdir}&$datarootdir&g' ;;
22605 esac
22606 _ACEOF
22608 # Neutralize VPATH when `$srcdir' = `.'.
22609 # Shell code in configure.ac might set extrasub.
22610 # FIXME: do we really want to maintain this feature?
22611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22612 ac_sed_extra="$ac_vpsub
22613 $extrasub
22614 _ACEOF
22615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22618 s|@configure_input@|$ac_sed_conf_input|;t t
22619 s&@top_builddir@&$ac_top_builddir_sub&;t t
22620 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22621 s&@srcdir@&$ac_srcdir&;t t
22622 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22623 s&@top_srcdir@&$ac_top_srcdir&;t t
22624 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22625 s&@builddir@&$ac_builddir&;t t
22626 s&@abs_builddir@&$ac_abs_builddir&;t t
22627 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22628 $ac_datarootdir_hack
22630 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22631 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22633 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22634 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22635 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22636 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22638 which seems to be undefined. Please make sure it is defined" >&5
22639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22640 which seems to be undefined. Please make sure it is defined" >&2;}
22642 rm -f "$ac_tmp/stdin"
22643 case $ac_file in
22644 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22645 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22646 esac \
22647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22651 # CONFIG_HEADER
22653 if test x"$ac_file" != x-; then
22655 $as_echo "/* $configure_input */" \
22656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22657 } >"$ac_tmp/config.h" \
22658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22659 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22661 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22662 else
22663 rm -f "$ac_file"
22664 mv "$ac_tmp/config.h" "$ac_file" \
22665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22667 else
22668 $as_echo "/* $configure_input */" \
22669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22670 || as_fn_error $? "could not create -" "$LINENO" 5
22675 # CONFIG_LINK
22678 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22680 else
22681 # Prefer the file from the source tree if names are identical.
22682 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22683 ac_source=$srcdir/$ac_source
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22687 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22689 if test ! -r "$ac_source"; then
22690 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22692 rm -f "$ac_file"
22694 # Try a relative symlink, then a hard link, then a copy.
22695 case $ac_source in
22696 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22697 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22698 esac
22699 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22700 ln "$ac_source" "$ac_file" 2>/dev/null ||
22701 cp -p "$ac_source" "$ac_file" ||
22702 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22705 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22706 $as_echo "$as_me: executing $ac_file commands" >&6;}
22708 esac
22711 case $ac_file$ac_mode in
22712 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22713 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22714 "Makefile":C) wine_fn_output_makefile Makefile ;;
22716 esac
22717 done # for ac_tag
22720 as_fn_exit 0
22721 _ACEOF
22722 ac_clean_files=$ac_clean_files_save
22724 test $ac_write_fail = 0 ||
22725 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22728 # configure is writing to config.log, and then calls config.status.
22729 # config.status does its own redirection, appending to config.log.
22730 # Unfortunately, on DOS this fails, as config.log is still kept open
22731 # by configure, so config.status won't be able to write to it; its
22732 # output is simply discarded. So we exec the FD to /dev/null,
22733 # effectively closing config.log, so it can be properly (re)opened and
22734 # appended to by config.status. When coming back to configure, we
22735 # need to make the FD available again.
22736 if test "$no_create" != yes; then
22737 ac_cs_success=:
22738 ac_config_status_args=
22739 test "$silent" = yes &&
22740 ac_config_status_args="$ac_config_status_args --quiet"
22741 exec 5>/dev/null
22742 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22743 exec 5>>config.log
22744 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22745 # would make configure fail if this is the last instruction.
22746 $ac_cs_success || as_fn_exit 1
22748 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22750 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22754 if test "$no_create" = "yes"
22755 then
22756 exit 0
22759 ac_save_IFS="$IFS"
22760 if test "x$wine_notices" != x; then
22761 echo >&6
22762 IFS="|"
22763 for msg in $wine_notices; do
22764 IFS="$ac_save_IFS"
22765 if ${msg:+false} :; then :
22767 else
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22769 $as_echo "$as_me: $msg" >&6;}
22771 done
22773 IFS="|"
22774 for msg in $wine_warnings; do
22775 IFS="$ac_save_IFS"
22776 if ${msg:+false} :; then :
22778 else
22779 echo >&2
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22781 $as_echo "$as_me: WARNING: $msg" >&2;}
22783 done
22784 IFS="$ac_save_IFS"
22786 $as_echo "
22787 $as_me: Finished. Do '${ac_make}' to compile Wine.
22788 " >&6