hid: Rewrite HidP_SetUsageValue using enum_value_caps.
[wine.git] / configure
blobc73646351b83e2c6ff322d8c84b056da774b69ce
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.11.
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.11'
584 PACKAGE_STRING='Wine 6.11'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxerr8
1302 enable_dxerr9
1303 enable_dxgi
1304 enable_dxguid
1305 enable_dxva2
1306 enable_esent
1307 enable_evr
1308 enable_explorerframe
1309 enable_ext_ms_win_authz_context_l1_1_0
1310 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1311 enable_ext_ms_win_dwmapi_ext_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_1
1314 enable_ext_ms_win_gdi_dc_l1_2_0
1315 enable_ext_ms_win_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_1
1318 enable_ext_ms_win_gdi_font_l1_1_0
1319 enable_ext_ms_win_gdi_font_l1_1_1
1320 enable_ext_ms_win_gdi_render_l1_1_0
1321 enable_ext_ms_win_kernel32_package_current_l1_1_0
1322 enable_ext_ms_win_kernel32_package_l1_1_1
1323 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1324 enable_ext_ms_win_ntuser_draw_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_3_0
1327 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1328 enable_ext_ms_win_ntuser_message_l1_1_0
1329 enable_ext_ms_win_ntuser_message_l1_1_1
1330 enable_ext_ms_win_ntuser_misc_l1_1_0
1331 enable_ext_ms_win_ntuser_misc_l1_2_0
1332 enable_ext_ms_win_ntuser_misc_l1_5_1
1333 enable_ext_ms_win_ntuser_mouse_l1_1_0
1334 enable_ext_ms_win_ntuser_private_l1_1_1
1335 enable_ext_ms_win_ntuser_private_l1_3_1
1336 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_1
1340 enable_ext_ms_win_ntuser_window_l1_1_4
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1343 enable_ext_ms_win_oleacc_l1_1_0
1344 enable_ext_ms_win_ras_rasapi32_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1352 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1355 enable_ext_ms_win_security_credui_l1_1_0
1356 enable_ext_ms_win_security_cryptui_l1_1_0
1357 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1358 enable_ext_ms_win_shell_comdlg32_l1_1_0
1359 enable_ext_ms_win_shell_shell32_l1_2_0
1360 enable_ext_ms_win_uxtheme_themes_l1_1_0
1361 enable_faultrep
1362 enable_feclient
1363 enable_fltlib
1364 enable_fltmgr_sys
1365 enable_fntcache
1366 enable_fontsub
1367 enable_fusion
1368 enable_fwpuclnt
1369 enable_gameux
1370 enable_gamingtcui
1371 enable_gdi32
1372 enable_gdiplus
1373 enable_glu32
1374 enable_gphoto2_ds
1375 enable_gpkcsp
1376 enable_hal
1377 enable_hhctrl_ocx
1378 enable_hid
1379 enable_hidclass_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_light_msstyles
1415 enable_loadperf
1416 enable_localspl
1417 enable_localui
1418 enable_lz32
1419 enable_mapi32
1420 enable_mapistub
1421 enable_mciavi32
1422 enable_mcicda
1423 enable_mciqtz32
1424 enable_mciseq
1425 enable_mciwave
1426 enable_mf
1427 enable_mf3216
1428 enable_mferror
1429 enable_mfmediaengine
1430 enable_mfplat
1431 enable_mfplay
1432 enable_mfreadwrite
1433 enable_mfuuid
1434 enable_mgmtapi
1435 enable_midimap
1436 enable_mlang
1437 enable_mmcndmgr
1438 enable_mmdevapi
1439 enable_mountmgr_sys
1440 enable_mp3dmod
1441 enable_mpr
1442 enable_mprapi
1443 enable_msacm32_drv
1444 enable_msacm32
1445 enable_msado15
1446 enable_msadp32_acm
1447 enable_msasn1
1448 enable_mscat32
1449 enable_mscms
1450 enable_mscoree
1451 enable_mscorwks
1452 enable_msctf
1453 enable_msctfp
1454 enable_msdaps
1455 enable_msdelta
1456 enable_msdmo
1457 enable_msdrm
1458 enable_msftedit
1459 enable_msg711_acm
1460 enable_msgsm32_acm
1461 enable_mshtml_tlb
1462 enable_mshtml
1463 enable_msi
1464 enable_msident
1465 enable_msimg32
1466 enable_msimsg
1467 enable_msimtf
1468 enable_msisip
1469 enable_msisys_ocx
1470 enable_msls31
1471 enable_msnet32
1472 enable_mspatcha
1473 enable_msports
1474 enable_msrle32
1475 enable_msscript_ocx
1476 enable_mssign32
1477 enable_mssip32
1478 enable_mstask
1479 enable_msv1_0
1480 enable_msvcirt
1481 enable_msvcm80
1482 enable_msvcm90
1483 enable_msvcp100
1484 enable_msvcp110
1485 enable_msvcp120
1486 enable_msvcp120_app
1487 enable_msvcp140
1488 enable_msvcp140_1
1489 enable_msvcp60
1490 enable_msvcp70
1491 enable_msvcp71
1492 enable_msvcp80
1493 enable_msvcp90
1494 enable_msvcr100
1495 enable_msvcr110
1496 enable_msvcr120
1497 enable_msvcr120_app
1498 enable_msvcr70
1499 enable_msvcr71
1500 enable_msvcr80
1501 enable_msvcr90
1502 enable_msvcrt
1503 enable_msvcrt20
1504 enable_msvcrt40
1505 enable_msvcrtd
1506 enable_msvfw32
1507 enable_msvidc32
1508 enable_mswsock
1509 enable_msxml
1510 enable_msxml2
1511 enable_msxml3
1512 enable_msxml4
1513 enable_msxml6
1514 enable_mtxdm
1515 enable_ncrypt
1516 enable_nddeapi
1517 enable_ndis_sys
1518 enable_netapi32
1519 enable_netcfgx
1520 enable_netio_sys
1521 enable_netprofm
1522 enable_netutils
1523 enable_newdev
1524 enable_ninput
1525 enable_normaliz
1526 enable_npmshtml
1527 enable_npptools
1528 enable_ntdll
1529 enable_ntdsapi
1530 enable_ntoskrnl_exe
1531 enable_ntprint
1532 enable_objsel
1533 enable_odbc32
1534 enable_odbcbcp
1535 enable_odbccp32
1536 enable_odbccu32
1537 enable_ole32
1538 enable_oleacc
1539 enable_oleaut32
1540 enable_olecli32
1541 enable_oledb32
1542 enable_oledlg
1543 enable_olepro32
1544 enable_olesvr32
1545 enable_olethk32
1546 enable_opcservices
1547 enable_openal32
1548 enable_opencl
1549 enable_opengl32
1550 enable_packager
1551 enable_pdh
1552 enable_photometadatahandler
1553 enable_pidgen
1554 enable_powrprof
1555 enable_printui
1556 enable_prntvpt
1557 enable_propsys
1558 enable_psapi
1559 enable_pstorec
1560 enable_pwrshplugin
1561 enable_qasf
1562 enable_qcap
1563 enable_qdvd
1564 enable_qedit
1565 enable_qmgr
1566 enable_qmgrprxy
1567 enable_quartz
1568 enable_query
1569 enable_qwave
1570 enable_rasapi32
1571 enable_rasdlg
1572 enable_regapi
1573 enable_resutils
1574 enable_riched20
1575 enable_riched32
1576 enable_rpcrt4
1577 enable_rsabase
1578 enable_rsaenh
1579 enable_rstrtmgr
1580 enable_rtutils
1581 enable_rtworkq
1582 enable_samlib
1583 enable_sane_ds
1584 enable_sapi
1585 enable_sas
1586 enable_scarddlg
1587 enable_sccbase
1588 enable_schannel
1589 enable_schedsvc
1590 enable_scrobj
1591 enable_scrrun
1592 enable_scsiport_sys
1593 enable_sechost
1594 enable_secur32
1595 enable_security
1596 enable_sensapi
1597 enable_serialui
1598 enable_setupapi
1599 enable_sfc
1600 enable_sfc_os
1601 enable_shcore
1602 enable_shdoclc
1603 enable_shdocvw
1604 enable_shell32
1605 enable_shfolder
1606 enable_shlwapi
1607 enable_slbcsp
1608 enable_slc
1609 enable_snmpapi
1610 enable_softpub
1611 enable_spoolss
1612 enable_sppc
1613 enable_srclient
1614 enable_srvcli
1615 enable_sspicli
1616 enable_stdole2_tlb
1617 enable_stdole32_tlb
1618 enable_sti
1619 enable_strmbase
1620 enable_strmdll
1621 enable_strmiids
1622 enable_svrapi
1623 enable_sxs
1624 enable_t2embed
1625 enable_tapi32
1626 enable_taskschd
1627 enable_tdh
1628 enable_tdi_sys
1629 enable_traffic
1630 enable_twain_32
1631 enable_tzres
1632 enable_ucrtbase
1633 enable_uianimation
1634 enable_uiautomationcore
1635 enable_uiribbon
1636 enable_unicows
1637 enable_updspapi
1638 enable_url
1639 enable_urlmon
1640 enable_usbd_sys
1641 enable_user32
1642 enable_userenv
1643 enable_usp10
1644 enable_utildll
1645 enable_uuid
1646 enable_uxtheme
1647 enable_vbscript
1648 enable_vcomp
1649 enable_vcomp100
1650 enable_vcomp110
1651 enable_vcomp120
1652 enable_vcomp140
1653 enable_vcomp90
1654 enable_vcruntime140
1655 enable_vcruntime140_1
1656 enable_vdmdbg
1657 enable_version
1658 enable_vga
1659 enable_virtdisk
1660 enable_vssapi
1661 enable_vulkan_1
1662 enable_wbemdisp
1663 enable_wbemprox
1664 enable_wbemuuid
1665 enable_wdscore
1666 enable_webservices
1667 enable_websocket
1668 enable_wer
1669 enable_wevtapi
1670 enable_wevtsvc
1671 enable_wiaservc
1672 enable_wimgapi
1673 enable_win32u
1674 enable_windows_gaming_input
1675 enable_windows_globalization
1676 enable_windows_media_devices
1677 enable_windows_media_speech
1678 enable_windowscodecs
1679 enable_windowscodecsext
1680 enable_winealsa_drv
1681 enable_wineandroid_drv
1682 enable_winebus_sys
1683 enable_winecoreaudio_drv
1684 enable_winecrt0
1685 enable_wined3d
1686 enable_winegstreamer
1687 enable_winehid_sys
1688 enable_winejoystick_drv
1689 enable_winemac_drv
1690 enable_winemapi
1691 enable_wineoss_drv
1692 enable_wineps_drv
1693 enable_winepulse_drv
1694 enable_wineqtdecoder
1695 enable_wineusb_sys
1696 enable_winevulkan
1697 enable_winex11_drv
1698 enable_wing32
1699 enable_winhttp
1700 enable_wininet
1701 enable_winmm
1702 enable_winnls32
1703 enable_winscard
1704 enable_winspool_drv
1705 enable_winsta
1706 enable_wintab32
1707 enable_wintrust
1708 enable_winusb
1709 enable_wlanapi
1710 enable_wlanui
1711 enable_wldap32
1712 enable_wmasf
1713 enable_wmcodecdspuuid
1714 enable_wmi
1715 enable_wmiutils
1716 enable_wmp
1717 enable_wmphoto
1718 enable_wmvcore
1719 enable_wnaspi32
1720 enable_wow64cpu
1721 enable_wpc
1722 enable_wpcap
1723 enable_ws2_32
1724 enable_wsdapi
1725 enable_wshom_ocx
1726 enable_wsnmp32
1727 enable_wsock32
1728 enable_wtsapi32
1729 enable_wuapi
1730 enable_wuaueng
1731 enable_x3daudio1_0
1732 enable_x3daudio1_1
1733 enable_x3daudio1_2
1734 enable_x3daudio1_3
1735 enable_x3daudio1_4
1736 enable_x3daudio1_5
1737 enable_x3daudio1_6
1738 enable_x3daudio1_7
1739 enable_xactengine2_0
1740 enable_xactengine2_4
1741 enable_xactengine2_7
1742 enable_xactengine2_9
1743 enable_xactengine3_0
1744 enable_xactengine3_1
1745 enable_xactengine3_2
1746 enable_xactengine3_3
1747 enable_xactengine3_4
1748 enable_xactengine3_5
1749 enable_xactengine3_6
1750 enable_xactengine3_7
1751 enable_xapofx1_1
1752 enable_xapofx1_2
1753 enable_xapofx1_3
1754 enable_xapofx1_4
1755 enable_xapofx1_5
1756 enable_xaudio2_0
1757 enable_xaudio2_1
1758 enable_xaudio2_2
1759 enable_xaudio2_3
1760 enable_xaudio2_4
1761 enable_xaudio2_5
1762 enable_xaudio2_6
1763 enable_xaudio2_7
1764 enable_xaudio2_8
1765 enable_xaudio2_9
1766 enable_xinput1_1
1767 enable_xinput1_2
1768 enable_xinput1_3
1769 enable_xinput1_4
1770 enable_xinput9_1_0
1771 enable_xmllite
1772 enable_xolehlp
1773 enable_xpsprint
1774 enable_xpssvcs
1775 enable_fonts
1776 enable_include
1777 enable_port
1778 enable_wine
1779 enable_wpp
1780 enable_loader
1781 enable_nls
1782 enable_po
1783 enable_arp
1784 enable_aspnet_regiis
1785 enable_attrib
1786 enable_cabarc
1787 enable_cacls
1788 enable_chcp_com
1789 enable_clock
1790 enable_cmd
1791 enable_conhost
1792 enable_control
1793 enable_cscript
1794 enable_dism
1795 enable_dplaysvr
1796 enable_dpnsvr
1797 enable_dpvsetup
1798 enable_dxdiag
1799 enable_eject
1800 enable_expand
1801 enable_explorer
1802 enable_extrac32
1803 enable_fc
1804 enable_find
1805 enable_findstr
1806 enable_fsutil
1807 enable_hh
1808 enable_hostname
1809 enable_icacls
1810 enable_icinfo
1811 enable_iexplore
1812 enable_ipconfig
1813 enable_lodctr
1814 enable_mofcomp
1815 enable_mshta
1816 enable_msidb
1817 enable_msiexec
1818 enable_msinfo32
1819 enable_net
1820 enable_netsh
1821 enable_netstat
1822 enable_ngen
1823 enable_notepad
1824 enable_oleview
1825 enable_ping
1826 enable_plugplay
1827 enable_powershell
1828 enable_presentationfontcache
1829 enable_progman
1830 enable_reg
1831 enable_regasm
1832 enable_regedit
1833 enable_regini
1834 enable_regsvcs
1835 enable_regsvr32
1836 enable_rpcss
1837 enable_rundll32
1838 enable_sc
1839 enable_schtasks
1840 enable_sdbinst
1841 enable_secedit
1842 enable_servicemodelreg
1843 enable_services
1844 enable_shutdown
1845 enable_spoolsv
1846 enable_start
1847 enable_subst
1848 enable_svchost
1849 enable_systeminfo
1850 enable_taskkill
1851 enable_tasklist
1852 enable_taskmgr
1853 enable_termsv
1854 enable_uninstaller
1855 enable_unlodctr
1856 enable_view
1857 enable_wevtutil
1858 enable_where
1859 enable_whoami
1860 enable_wineboot
1861 enable_winebrowser
1862 enable_winecfg
1863 enable_wineconsole
1864 enable_winedbg
1865 enable_winedevice
1866 enable_winefile
1867 enable_winemenubuilder
1868 enable_winemine
1869 enable_winemsibuilder
1870 enable_winepath
1871 enable_winetest
1872 enable_winhlp32
1873 enable_winmgmt
1874 enable_winver
1875 enable_wmic
1876 enable_wmplayer
1877 enable_wordpad
1878 enable_write
1879 enable_wscript
1880 enable_wuauserv
1881 enable_wusa
1882 enable_xcopy
1883 enable_server
1884 enable_tools
1885 enable_sfnt2fon
1886 enable_widl
1887 enable_winebuild
1888 enable_winedump
1889 enable_winegcc
1890 enable_winemaker
1891 enable_wmc
1892 enable_wrc
1894 ac_precious_vars='build_alias
1895 host_alias
1896 target_alias
1898 CFLAGS
1899 LDFLAGS
1900 LIBS
1901 CPPFLAGS
1903 CXXFLAGS
1906 OBJC
1907 OBJCFLAGS
1908 OBJCPP
1909 XMKMF
1910 XML2_CFLAGS
1911 XML2_LIBS
1912 XSLT_CFLAGS
1913 XSLT_LIBS
1914 INOTIFY_CFLAGS
1915 INOTIFY_LIBS
1916 DBUS_CFLAGS
1917 DBUS_LIBS
1918 HAL_CFLAGS
1919 HAL_LIBS
1920 GNUTLS_CFLAGS
1921 GNUTLS_LIBS
1922 SANE_CFLAGS
1923 SANE_LIBS
1924 USB_CFLAGS
1925 USB_LIBS
1926 GPHOTO2_CFLAGS
1927 GPHOTO2_LIBS
1928 GPHOTO2_PORT_CFLAGS
1929 GPHOTO2_PORT_LIBS
1930 LCMS2_CFLAGS
1931 LCMS2_LIBS
1932 FREETYPE_CFLAGS
1933 FREETYPE_LIBS
1934 PULSE_CFLAGS
1935 PULSE_LIBS
1936 GSTREAMER_CFLAGS
1937 GSTREAMER_LIBS
1938 UDEV_CFLAGS
1939 UDEV_LIBS
1940 UNWIND_CFLAGS
1941 UNWIND_LIBS
1942 SDL2_CFLAGS
1943 SDL2_LIBS
1944 FAUDIO_CFLAGS
1945 FAUDIO_LIBS
1946 CAPI20_CFLAGS
1947 CAPI20_LIBS
1948 CUPS_CFLAGS
1949 CUPS_LIBS
1950 FONTCONFIG_CFLAGS
1951 FONTCONFIG_LIBS
1952 KRB5_CFLAGS
1953 KRB5_LIBS
1954 GSSAPI_CFLAGS
1955 GSSAPI_LIBS
1956 JPEG_CFLAGS
1957 JPEG_LIBS
1958 JXRLIB_CFLAGS
1959 JXRLIB_LIBS
1960 PNG_CFLAGS
1961 PNG_LIBS
1962 TIFF_CFLAGS
1963 TIFF_LIBS
1964 MPG123_CFLAGS
1965 MPG123_LIBS
1966 NETAPI_CFLAGS
1967 NETAPI_LIBS
1968 VKD3D_CFLAGS
1969 VKD3D_LIBS
1970 VKD3D_SHADER_CFLAGS
1971 VKD3D_SHADER_LIBS
1972 LDAP_CFLAGS
1973 LDAP_LIBS'
1976 # Initialize some variables set by options.
1977 ac_init_help=
1978 ac_init_version=false
1979 ac_unrecognized_opts=
1980 ac_unrecognized_sep=
1981 # The variables have the same names as the options, with
1982 # dashes changed to underlines.
1983 cache_file=/dev/null
1984 exec_prefix=NONE
1985 no_create=
1986 no_recursion=
1987 prefix=NONE
1988 program_prefix=NONE
1989 program_suffix=NONE
1990 program_transform_name=s,x,x,
1991 silent=
1992 site=
1993 srcdir=
1994 verbose=
1995 x_includes=NONE
1996 x_libraries=NONE
1998 # Installation directory options.
1999 # These are left unexpanded so users can "make install exec_prefix=/foo"
2000 # and all the variables that are supposed to be based on exec_prefix
2001 # by default will actually change.
2002 # Use braces instead of parens because sh, perl, etc. also accept them.
2003 # (The list follows the same order as the GNU Coding Standards.)
2004 bindir='${exec_prefix}/bin'
2005 sbindir='${exec_prefix}/sbin'
2006 libexecdir='${exec_prefix}/libexec'
2007 datarootdir='${prefix}/share'
2008 datadir='${datarootdir}'
2009 sysconfdir='${prefix}/etc'
2010 sharedstatedir='${prefix}/com'
2011 localstatedir='${prefix}/var'
2012 runstatedir='${localstatedir}/run'
2013 includedir='${prefix}/include'
2014 oldincludedir='/usr/include'
2015 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2016 infodir='${datarootdir}/info'
2017 htmldir='${docdir}'
2018 dvidir='${docdir}'
2019 pdfdir='${docdir}'
2020 psdir='${docdir}'
2021 libdir='${exec_prefix}/lib'
2022 localedir='${datarootdir}/locale'
2023 mandir='${datarootdir}/man'
2025 ac_prev=
2026 ac_dashdash=
2027 for ac_option
2029 # If the previous option needs an argument, assign it.
2030 if test -n "$ac_prev"; then
2031 eval $ac_prev=\$ac_option
2032 ac_prev=
2033 continue
2036 case $ac_option in
2037 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2038 *=) ac_optarg= ;;
2039 *) ac_optarg=yes ;;
2040 esac
2042 # Accept the important Cygnus configure options, so we can diagnose typos.
2044 case $ac_dashdash$ac_option in
2046 ac_dashdash=yes ;;
2048 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2049 ac_prev=bindir ;;
2050 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2051 bindir=$ac_optarg ;;
2053 -build | --build | --buil | --bui | --bu)
2054 ac_prev=build_alias ;;
2055 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2056 build_alias=$ac_optarg ;;
2058 -cache-file | --cache-file | --cache-fil | --cache-fi \
2059 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2060 ac_prev=cache_file ;;
2061 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2062 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2063 cache_file=$ac_optarg ;;
2065 --config-cache | -C)
2066 cache_file=config.cache ;;
2068 -datadir | --datadir | --datadi | --datad)
2069 ac_prev=datadir ;;
2070 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2071 datadir=$ac_optarg ;;
2073 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2074 | --dataroo | --dataro | --datar)
2075 ac_prev=datarootdir ;;
2076 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2077 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2078 datarootdir=$ac_optarg ;;
2080 -disable-* | --disable-*)
2081 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2082 # Reject names that are not valid shell variable names.
2083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2084 as_fn_error $? "invalid feature name: $ac_useropt"
2085 ac_useropt_orig=$ac_useropt
2086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2087 case $ac_user_opts in
2089 "enable_$ac_useropt"
2090 "*) ;;
2091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2092 ac_unrecognized_sep=', ';;
2093 esac
2094 eval enable_$ac_useropt=no ;;
2096 -docdir | --docdir | --docdi | --doc | --do)
2097 ac_prev=docdir ;;
2098 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2099 docdir=$ac_optarg ;;
2101 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2102 ac_prev=dvidir ;;
2103 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2104 dvidir=$ac_optarg ;;
2106 -enable-* | --enable-*)
2107 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2108 # Reject names that are not valid shell variable names.
2109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2110 as_fn_error $? "invalid feature name: $ac_useropt"
2111 ac_useropt_orig=$ac_useropt
2112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2113 case $ac_user_opts in
2115 "enable_$ac_useropt"
2116 "*) ;;
2117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2118 ac_unrecognized_sep=', ';;
2119 esac
2120 eval enable_$ac_useropt=\$ac_optarg ;;
2122 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2123 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2124 | --exec | --exe | --ex)
2125 ac_prev=exec_prefix ;;
2126 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2127 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2128 | --exec=* | --exe=* | --ex=*)
2129 exec_prefix=$ac_optarg ;;
2131 -gas | --gas | --ga | --g)
2132 # Obsolete; use --with-gas.
2133 with_gas=yes ;;
2135 -help | --help | --hel | --he | -h)
2136 ac_init_help=long ;;
2137 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2138 ac_init_help=recursive ;;
2139 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2140 ac_init_help=short ;;
2142 -host | --host | --hos | --ho)
2143 ac_prev=host_alias ;;
2144 -host=* | --host=* | --hos=* | --ho=*)
2145 host_alias=$ac_optarg ;;
2147 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2148 ac_prev=htmldir ;;
2149 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2150 | --ht=*)
2151 htmldir=$ac_optarg ;;
2153 -includedir | --includedir | --includedi | --included | --include \
2154 | --includ | --inclu | --incl | --inc)
2155 ac_prev=includedir ;;
2156 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2157 | --includ=* | --inclu=* | --incl=* | --inc=*)
2158 includedir=$ac_optarg ;;
2160 -infodir | --infodir | --infodi | --infod | --info | --inf)
2161 ac_prev=infodir ;;
2162 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2163 infodir=$ac_optarg ;;
2165 -libdir | --libdir | --libdi | --libd)
2166 ac_prev=libdir ;;
2167 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2168 libdir=$ac_optarg ;;
2170 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2171 | --libexe | --libex | --libe)
2172 ac_prev=libexecdir ;;
2173 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2174 | --libexe=* | --libex=* | --libe=*)
2175 libexecdir=$ac_optarg ;;
2177 -localedir | --localedir | --localedi | --localed | --locale)
2178 ac_prev=localedir ;;
2179 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2180 localedir=$ac_optarg ;;
2182 -localstatedir | --localstatedir | --localstatedi | --localstated \
2183 | --localstate | --localstat | --localsta | --localst | --locals)
2184 ac_prev=localstatedir ;;
2185 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2186 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2187 localstatedir=$ac_optarg ;;
2189 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2190 ac_prev=mandir ;;
2191 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2192 mandir=$ac_optarg ;;
2194 -nfp | --nfp | --nf)
2195 # Obsolete; use --without-fp.
2196 with_fp=no ;;
2198 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2199 | --no-cr | --no-c | -n)
2200 no_create=yes ;;
2202 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2203 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2204 no_recursion=yes ;;
2206 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2207 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2208 | --oldin | --oldi | --old | --ol | --o)
2209 ac_prev=oldincludedir ;;
2210 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2211 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2212 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2213 oldincludedir=$ac_optarg ;;
2215 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2216 ac_prev=prefix ;;
2217 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2218 prefix=$ac_optarg ;;
2220 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2221 | --program-pre | --program-pr | --program-p)
2222 ac_prev=program_prefix ;;
2223 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2224 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2225 program_prefix=$ac_optarg ;;
2227 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2228 | --program-suf | --program-su | --program-s)
2229 ac_prev=program_suffix ;;
2230 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2231 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2232 program_suffix=$ac_optarg ;;
2234 -program-transform-name | --program-transform-name \
2235 | --program-transform-nam | --program-transform-na \
2236 | --program-transform-n | --program-transform- \
2237 | --program-transform | --program-transfor \
2238 | --program-transfo | --program-transf \
2239 | --program-trans | --program-tran \
2240 | --progr-tra | --program-tr | --program-t)
2241 ac_prev=program_transform_name ;;
2242 -program-transform-name=* | --program-transform-name=* \
2243 | --program-transform-nam=* | --program-transform-na=* \
2244 | --program-transform-n=* | --program-transform-=* \
2245 | --program-transform=* | --program-transfor=* \
2246 | --program-transfo=* | --program-transf=* \
2247 | --program-trans=* | --program-tran=* \
2248 | --progr-tra=* | --program-tr=* | --program-t=*)
2249 program_transform_name=$ac_optarg ;;
2251 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2252 ac_prev=pdfdir ;;
2253 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2254 pdfdir=$ac_optarg ;;
2256 -psdir | --psdir | --psdi | --psd | --ps)
2257 ac_prev=psdir ;;
2258 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2259 psdir=$ac_optarg ;;
2261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2262 | -silent | --silent | --silen | --sile | --sil)
2263 silent=yes ;;
2265 -runstatedir | --runstatedir | --runstatedi | --runstated \
2266 | --runstate | --runstat | --runsta | --runst | --runs \
2267 | --run | --ru | --r)
2268 ac_prev=runstatedir ;;
2269 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2270 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2271 | --run=* | --ru=* | --r=*)
2272 runstatedir=$ac_optarg ;;
2274 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2275 ac_prev=sbindir ;;
2276 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2277 | --sbi=* | --sb=*)
2278 sbindir=$ac_optarg ;;
2280 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2281 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2282 | --sharedst | --shareds | --shared | --share | --shar \
2283 | --sha | --sh)
2284 ac_prev=sharedstatedir ;;
2285 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2286 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2287 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2288 | --sha=* | --sh=*)
2289 sharedstatedir=$ac_optarg ;;
2291 -site | --site | --sit)
2292 ac_prev=site ;;
2293 -site=* | --site=* | --sit=*)
2294 site=$ac_optarg ;;
2296 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2297 ac_prev=srcdir ;;
2298 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2299 srcdir=$ac_optarg ;;
2301 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2302 | --syscon | --sysco | --sysc | --sys | --sy)
2303 ac_prev=sysconfdir ;;
2304 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2305 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2306 sysconfdir=$ac_optarg ;;
2308 -target | --target | --targe | --targ | --tar | --ta | --t)
2309 ac_prev=target_alias ;;
2310 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2311 target_alias=$ac_optarg ;;
2313 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2314 verbose=yes ;;
2316 -version | --version | --versio | --versi | --vers | -V)
2317 ac_init_version=: ;;
2319 -with-* | --with-*)
2320 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2321 # Reject names that are not valid shell variable names.
2322 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2323 as_fn_error $? "invalid package name: $ac_useropt"
2324 ac_useropt_orig=$ac_useropt
2325 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2326 case $ac_user_opts in
2328 "with_$ac_useropt"
2329 "*) ;;
2330 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2331 ac_unrecognized_sep=', ';;
2332 esac
2333 eval with_$ac_useropt=\$ac_optarg ;;
2335 -without-* | --without-*)
2336 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2337 # Reject names that are not valid shell variable names.
2338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2339 as_fn_error $? "invalid package name: $ac_useropt"
2340 ac_useropt_orig=$ac_useropt
2341 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2342 case $ac_user_opts in
2344 "with_$ac_useropt"
2345 "*) ;;
2346 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2347 ac_unrecognized_sep=', ';;
2348 esac
2349 eval with_$ac_useropt=no ;;
2351 --x)
2352 # Obsolete; use --with-x.
2353 with_x=yes ;;
2355 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2356 | --x-incl | --x-inc | --x-in | --x-i)
2357 ac_prev=x_includes ;;
2358 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2359 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2360 x_includes=$ac_optarg ;;
2362 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2363 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2364 ac_prev=x_libraries ;;
2365 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2366 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2367 x_libraries=$ac_optarg ;;
2369 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2370 Try \`$0 --help' for more information"
2373 *=*)
2374 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2375 # Reject names that are not valid shell variable names.
2376 case $ac_envvar in #(
2377 '' | [0-9]* | *[!_$as_cr_alnum]* )
2378 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2379 esac
2380 eval $ac_envvar=\$ac_optarg
2381 export $ac_envvar ;;
2384 # FIXME: should be removed in autoconf 3.0.
2385 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2386 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2387 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2388 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2391 esac
2392 done
2394 if test -n "$ac_prev"; then
2395 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2396 as_fn_error $? "missing argument to $ac_option"
2399 if test -n "$ac_unrecognized_opts"; then
2400 case $enable_option_checking in
2401 no) ;;
2402 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2403 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2404 esac
2407 # Check all directory arguments for consistency.
2408 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2409 datadir sysconfdir sharedstatedir localstatedir includedir \
2410 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2411 libdir localedir mandir runstatedir
2413 eval ac_val=\$$ac_var
2414 # Remove trailing slashes.
2415 case $ac_val in
2416 */ )
2417 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2418 eval $ac_var=\$ac_val;;
2419 esac
2420 # Be sure to have absolute directory names.
2421 case $ac_val in
2422 [\\/$]* | ?:[\\/]* ) continue;;
2423 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2424 esac
2425 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2426 done
2428 # There might be people who depend on the old broken behavior: `$host'
2429 # used to hold the argument of --host etc.
2430 # FIXME: To remove some day.
2431 build=$build_alias
2432 host=$host_alias
2433 target=$target_alias
2435 # FIXME: To remove some day.
2436 if test "x$host_alias" != x; then
2437 if test "x$build_alias" = x; then
2438 cross_compiling=maybe
2439 elif test "x$build_alias" != "x$host_alias"; then
2440 cross_compiling=yes
2444 ac_tool_prefix=
2445 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2447 test "$silent" = yes && exec 6>/dev/null
2450 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2451 ac_ls_di=`ls -di .` &&
2452 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2453 as_fn_error $? "working directory cannot be determined"
2454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2455 as_fn_error $? "pwd does not report name of working directory"
2458 # Find the source files, if location was not specified.
2459 if test -z "$srcdir"; then
2460 ac_srcdir_defaulted=yes
2461 # Try the directory containing this script, then the parent directory.
2462 ac_confdir=`$as_dirname -- "$as_myself" ||
2463 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2464 X"$as_myself" : 'X\(//\)[^/]' \| \
2465 X"$as_myself" : 'X\(//\)$' \| \
2466 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2467 $as_echo X"$as_myself" |
2468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2469 s//\1/
2472 /^X\(\/\/\)[^/].*/{
2473 s//\1/
2476 /^X\(\/\/\)$/{
2477 s//\1/
2480 /^X\(\/\).*/{
2481 s//\1/
2484 s/.*/./; q'`
2485 srcdir=$ac_confdir
2486 if test ! -r "$srcdir/$ac_unique_file"; then
2487 srcdir=..
2489 else
2490 ac_srcdir_defaulted=no
2492 if test ! -r "$srcdir/$ac_unique_file"; then
2493 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2494 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2496 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2497 ac_abs_confdir=`(
2498 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2499 pwd)`
2500 # When building in place, set srcdir=.
2501 if test "$ac_abs_confdir" = "$ac_pwd"; then
2502 srcdir=.
2504 # Remove unnecessary trailing slashes from srcdir.
2505 # Double slashes in file names in object file debugging info
2506 # mess up M-x gdb in Emacs.
2507 case $srcdir in
2508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2509 esac
2510 for ac_var in $ac_precious_vars; do
2511 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2512 eval ac_env_${ac_var}_value=\$${ac_var}
2513 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2514 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2515 done
2518 # Report the --help message.
2520 if test "$ac_init_help" = "long"; then
2521 # Omit some internal or obsolete options to make the list less imposing.
2522 # This message is too long to be a string in the A/UX 3.1 sh.
2523 cat <<_ACEOF
2524 \`configure' configures Wine 6.11 to adapt to many kinds of systems.
2526 Usage: $0 [OPTION]... [VAR=VALUE]...
2528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2529 VAR=VALUE. See below for descriptions of some of the useful variables.
2531 Defaults for the options are specified in brackets.
2533 Configuration:
2534 -h, --help display this help and exit
2535 --help=short display options specific to this package
2536 --help=recursive display the short help of all the included packages
2537 -V, --version display version information and exit
2538 -q, --quiet, --silent do not print \`checking ...' messages
2539 --cache-file=FILE cache test results in FILE [disabled]
2540 -C, --config-cache alias for \`--cache-file=config.cache'
2541 -n, --no-create do not create output files
2542 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2544 Installation directories:
2545 --prefix=PREFIX install architecture-independent files in PREFIX
2546 [$ac_default_prefix]
2547 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2548 [PREFIX]
2550 By default, \`make install' will install all the files in
2551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2553 for instance \`--prefix=\$HOME'.
2555 For better control, use the options below.
2557 Fine tuning of the installation directories:
2558 --bindir=DIR user executables [EPREFIX/bin]
2559 --sbindir=DIR system admin executables [EPREFIX/sbin]
2560 --libexecdir=DIR program executables [EPREFIX/libexec]
2561 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2562 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2563 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2564 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2565 --libdir=DIR object code libraries [EPREFIX/lib]
2566 --includedir=DIR C header files [PREFIX/include]
2567 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2568 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2569 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2570 --infodir=DIR info documentation [DATAROOTDIR/info]
2571 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2572 --mandir=DIR man documentation [DATAROOTDIR/man]
2573 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2574 --htmldir=DIR html documentation [DOCDIR]
2575 --dvidir=DIR dvi documentation [DOCDIR]
2576 --pdfdir=DIR pdf documentation [DOCDIR]
2577 --psdir=DIR ps documentation [DOCDIR]
2578 _ACEOF
2580 cat <<\_ACEOF
2582 X features:
2583 --x-includes=DIR X include files are in DIR
2584 --x-libraries=DIR X library files are in DIR
2586 System types:
2587 --build=BUILD configure for building on BUILD [guessed]
2588 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2589 _ACEOF
2592 if test -n "$ac_init_help"; then
2593 case $ac_init_help in
2594 short | recursive ) echo "Configuration of Wine 6.11:";;
2595 esac
2596 cat <<\_ACEOF
2598 Optional Features:
2599 --disable-option-checking ignore unrecognized --enable/--with options
2600 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2601 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2602 --disable-win16 do not include Win16 support
2603 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2604 binaries)
2605 --disable-tests do not build the regression tests
2606 --enable-build-id include .buildid section in output objects
2607 --enable-maintainer-mode
2608 enable maintainer-specific build rules
2609 --enable-silent-rules use silent build rules (override: "make V=1")
2610 --enable-werror treat compilation warnings as errors
2611 --disable-largefile omit support for large files
2613 Optional Packages:
2614 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2615 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2616 --without-alsa do not use the Alsa sound support
2617 --without-capi do not use CAPI (ISDN support)
2618 --without-cms do not use CMS (color management support)
2619 --without-coreaudio do not use the CoreAudio sound support
2620 --without-cups do not use CUPS
2621 --without-dbus do not use DBus (dynamic device support)
2622 --without-faudio do not use FAudio (XAudio2 support)
2623 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2624 --without-fontconfig do not use fontconfig
2625 --without-freetype do not use the FreeType library
2626 --without-gettext do not use gettext
2627 --with-gettextpo use the GetTextPO library to rebuild po files
2628 --without-gphoto do not use gphoto (Digital Camera support)
2629 --without-gnutls do not use GnuTLS (schannel support)
2630 --without-gsm do not use libgsm (GSM 06.10 codec support)
2631 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2632 --without-gstreamer do not use GStreamer (codecs support)
2633 --without-hal do not use HAL (dynamic device support)
2634 --without-inotify do not use inotify (filesystem change notifications)
2635 --without-jpeg do not use JPEG
2636 --without-jxrlib do not use JPEG-XR
2637 --without-krb5 do not use krb5 (Kerberos)
2638 --without-ldap do not use LDAP
2639 --without-mingw do not use the MinGW cross-compiler
2640 --without-mpg123 do not use the mpg123 library
2641 --without-netapi do not use the Samba NetAPI library
2642 --without-openal do not use OpenAL
2643 --without-opencl do not use OpenCL
2644 --without-opengl do not use OpenGL
2645 --without-osmesa do not use the OSMesa library
2646 --without-oss do not use the OSS sound support
2647 --without-pcap do not use the Packet Capture library
2648 --without-png do not use PNG
2649 --without-pthread do not use the pthread library
2650 --without-pulse do not use PulseAudio sound support
2651 --without-quicktime do not use QuickTime support
2652 --without-sane do not use SANE (scanner support)
2653 --without-sdl do not use SDL
2654 --without-tiff do not use TIFF
2655 --without-udev do not use udev (plug and play support)
2656 --without-unwind do not use the libunwind library (exception
2657 handling)
2658 --without-usb do not use the libusb library
2659 --without-v4l2 do not use v4l2 (video capture)
2660 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2661 --without-vulkan do not use Vulkan
2662 --without-xcomposite do not use the Xcomposite extension
2663 --without-xcursor do not use the Xcursor extension
2664 --without-xfixes do not use Xfixes for clipboard change notifications
2665 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2666 --without-xinput do not use the Xinput extension
2667 --without-xinput2 do not use the Xinput 2 extension
2668 --without-xml do not use XML
2669 --without-xrandr do not use Xrandr (multi-monitor support)
2670 --without-xrender do not use the Xrender extension
2671 --without-xshape do not use the Xshape extension
2672 --without-xshm do not use XShm (shared memory extension)
2673 --without-xslt do not use XSLT
2674 --without-xxf86vm do not use XFree video mode extension
2675 --with-wine-tools=DIR use Wine tools from directory DIR
2676 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2677 --with-x use the X Window System
2679 Some influential environment variables:
2680 CC C compiler command
2681 CFLAGS C compiler flags
2682 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2683 nonstandard directory <lib dir>
2684 LIBS libraries to pass to the linker, e.g. -l<library>
2685 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2686 you have headers in a nonstandard directory <include dir>
2687 CXX C++ compiler command
2688 CXXFLAGS C++ compiler flags
2689 CPP C preprocessor
2690 OBJC Objective C compiler command
2691 OBJCFLAGS Objective C compiler flags
2692 OBJCPP Objective C preprocessor
2693 XMKMF Path to xmkmf, Makefile generator for X Window System
2694 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2695 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2696 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2697 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2698 INOTIFY_CFLAGS
2699 C compiler flags for libinotify, overriding pkg-config
2700 INOTIFY_LIBS
2701 Linker flags for libinotify, overriding pkg-config
2702 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2703 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2704 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2705 HAL_LIBS Linker flags for hal, overriding pkg-config
2706 GNUTLS_CFLAGS
2707 C compiler flags for gnutls, overriding pkg-config
2708 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2709 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2710 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2711 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2712 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2713 GPHOTO2_CFLAGS
2714 C compiler flags for libgphoto2, overriding pkg-config
2715 GPHOTO2_LIBS
2716 Linker flags for libgphoto2, overriding pkg-config
2717 GPHOTO2_PORT_CFLAGS
2718 C compiler flags for libgphoto2_port, overriding pkg-config
2719 GPHOTO2_PORT_LIBS
2720 Linker flags for libgphoto2_port, overriding pkg-config
2721 LCMS2_CFLAGS
2722 C compiler flags for lcms2, overriding pkg-config
2723 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2724 FREETYPE_CFLAGS
2725 C compiler flags for freetype2, overriding pkg-config
2726 FREETYPE_LIBS
2727 Linker flags for freetype2, overriding pkg-config
2728 PULSE_CFLAGS
2729 C compiler flags for libpulse, overriding pkg-config
2730 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2731 GSTREAMER_CFLAGS
2732 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2733 gstreamer-audio-1.0, overriding pkg-config
2734 GSTREAMER_LIBS
2735 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2736 gstreamer-audio-1.0, overriding pkg-config
2737 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2738 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2739 UNWIND_CFLAGS
2740 C compiler flags for libunwind, overriding pkg-config
2741 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2742 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2743 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2744 FAUDIO_CFLAGS
2745 C compiler flags for FAudio, overriding pkg-config
2746 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2747 CAPI20_CFLAGS
2748 C compiler flags for capi20, overriding pkg-config
2749 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2750 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2751 CUPS_LIBS Linker flags for cups, overriding pkg-config
2752 FONTCONFIG_CFLAGS
2753 C compiler flags for fontconfig, overriding pkg-config
2754 FONTCONFIG_LIBS
2755 Linker flags for fontconfig, overriding pkg-config
2756 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2757 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2758 GSSAPI_CFLAGS
2759 C compiler flags for krb5-gssapi, overriding pkg-config
2760 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2761 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2762 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2763 JXRLIB_CFLAGS
2764 C compiler flags for jxrlib, overriding pkg-config
2765 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2766 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2767 PNG_LIBS Linker flags for libpng, overriding pkg-config
2768 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2769 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2770 MPG123_CFLAGS
2771 C compiler flags for libmpg123, overriding pkg-config
2772 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2773 NETAPI_CFLAGS
2774 C compiler flags for netapi, overriding pkg-config
2775 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2776 VKD3D_CFLAGS
2777 C compiler flags for libvkd3d, overriding pkg-config
2778 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2779 VKD3D_SHADER_CFLAGS
2780 C compiler flags for libvkd3d-shader, overriding pkg-config
2781 VKD3D_SHADER_LIBS
2782 Linker flags for libvkd3d-shader, overriding pkg-config
2783 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2784 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2786 Use these variables to override the choices made by `configure' or to help
2787 it to find libraries and programs with nonstandard names/locations.
2789 Report bugs to <wine-devel@winehq.org>.
2790 Wine home page: <https://www.winehq.org>.
2791 _ACEOF
2792 ac_status=$?
2795 if test "$ac_init_help" = "recursive"; then
2796 # If there are subdirs, report their specific --help.
2797 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2798 test -d "$ac_dir" ||
2799 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2800 continue
2801 ac_builddir=.
2803 case "$ac_dir" in
2804 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2806 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2807 # A ".." for each directory in $ac_dir_suffix.
2808 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2809 case $ac_top_builddir_sub in
2810 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2811 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2812 esac ;;
2813 esac
2814 ac_abs_top_builddir=$ac_pwd
2815 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2816 # for backward compatibility:
2817 ac_top_builddir=$ac_top_build_prefix
2819 case $srcdir in
2820 .) # We are building in place.
2821 ac_srcdir=.
2822 ac_top_srcdir=$ac_top_builddir_sub
2823 ac_abs_top_srcdir=$ac_pwd ;;
2824 [\\/]* | ?:[\\/]* ) # Absolute name.
2825 ac_srcdir=$srcdir$ac_dir_suffix;
2826 ac_top_srcdir=$srcdir
2827 ac_abs_top_srcdir=$srcdir ;;
2828 *) # Relative name.
2829 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2830 ac_top_srcdir=$ac_top_build_prefix$srcdir
2831 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2832 esac
2833 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2835 cd "$ac_dir" || { ac_status=$?; continue; }
2836 # Check for guested configure.
2837 if test -f "$ac_srcdir/configure.gnu"; then
2838 echo &&
2839 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2840 elif test -f "$ac_srcdir/configure"; then
2841 echo &&
2842 $SHELL "$ac_srcdir/configure" --help=recursive
2843 else
2844 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2845 fi || ac_status=$?
2846 cd "$ac_pwd" || { ac_status=$?; break; }
2847 done
2850 test -n "$ac_init_help" && exit $ac_status
2851 if $ac_init_version; then
2852 cat <<\_ACEOF
2853 Wine configure 6.11
2854 generated by GNU Autoconf 2.69
2856 Copyright (C) 2012 Free Software Foundation, Inc.
2857 This configure script is free software; the Free Software Foundation
2858 gives unlimited permission to copy, distribute and modify it.
2859 _ACEOF
2860 exit
2863 ## ------------------------ ##
2864 ## Autoconf initialization. ##
2865 ## ------------------------ ##
2867 # ac_fn_c_try_compile LINENO
2868 # --------------------------
2869 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2870 ac_fn_c_try_compile ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 rm -f conftest.$ac_objext
2874 if { { ac_try="$ac_compile"
2875 case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878 esac
2879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881 (eval "$ac_compile") 2>conftest.err
2882 ac_status=$?
2883 if test -s conftest.err; then
2884 grep -v '^ *+' conftest.err >conftest.er1
2885 cat conftest.er1 >&5
2886 mv -f conftest.er1 conftest.err
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; } && {
2890 test -z "$ac_c_werror_flag" ||
2891 test ! -s conftest.err
2892 } && test -s conftest.$ac_objext; then :
2893 ac_retval=0
2894 else
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 ac_retval=1
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 as_fn_set_status $ac_retval
2903 } # ac_fn_c_try_compile
2905 # ac_fn_cxx_try_compile LINENO
2906 # ----------------------------
2907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2908 ac_fn_cxx_try_compile ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 rm -f conftest.$ac_objext
2912 if { { ac_try="$ac_compile"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_compile") 2>conftest.err
2920 ac_status=$?
2921 if test -s conftest.err; then
2922 grep -v '^ *+' conftest.err >conftest.er1
2923 cat conftest.er1 >&5
2924 mv -f conftest.er1 conftest.err
2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; } && {
2928 test -z "$ac_cxx_werror_flag" ||
2929 test ! -s conftest.err
2930 } && test -s conftest.$ac_objext; then :
2931 ac_retval=0
2932 else
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_retval=1
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 as_fn_set_status $ac_retval
2941 } # ac_fn_cxx_try_compile
2943 # ac_fn_c_try_link LINENO
2944 # -----------------------
2945 # Try to link conftest.$ac_ext, and return whether this succeeded.
2946 ac_fn_c_try_link ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 rm -f conftest.$ac_objext conftest$ac_exeext
2950 if { { ac_try="$ac_link"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956 $as_echo "$ac_try_echo"; } >&5
2957 (eval "$ac_link") 2>conftest.err
2958 ac_status=$?
2959 if test -s conftest.err; then
2960 grep -v '^ *+' conftest.err >conftest.er1
2961 cat conftest.er1 >&5
2962 mv -f conftest.er1 conftest.err
2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2965 test $ac_status = 0; } && {
2966 test -z "$ac_c_werror_flag" ||
2967 test ! -s conftest.err
2968 } && test -s conftest$ac_exeext && {
2969 test "$cross_compiling" = yes ||
2970 test -x conftest$ac_exeext
2971 }; then :
2972 ac_retval=0
2973 else
2974 $as_echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2977 ac_retval=1
2979 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2980 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2981 # interfere with the next link command; also delete a directory that is
2982 # left behind by Apple's compiler. We do this before executing the actions.
2983 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_try_link
2989 # ac_fn_c_try_cpp LINENO
2990 # ----------------------
2991 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2992 ac_fn_c_try_cpp ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 if { { ac_try="$ac_cpp conftest.$ac_ext"
2996 case "(($ac_try" in
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
2999 esac
3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3001 $as_echo "$ac_try_echo"; } >&5
3002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3003 ac_status=$?
3004 if test -s conftest.err; then
3005 grep -v '^ *+' conftest.err >conftest.er1
3006 cat conftest.er1 >&5
3007 mv -f conftest.er1 conftest.err
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; } > conftest.i && {
3011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3012 test ! -s conftest.err
3013 }; then :
3014 ac_retval=0
3015 else
3016 $as_echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3019 ac_retval=1
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 as_fn_set_status $ac_retval
3024 } # ac_fn_c_try_cpp
3026 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3027 # -------------------------------------------------------
3028 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3029 # the include files in INCLUDES and setting the cache variable VAR
3030 # accordingly.
3031 ac_fn_c_check_header_mongrel ()
3033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034 if eval \${$3+:} false; then :
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3036 $as_echo_n "checking for $2... " >&6; }
3037 if eval \${$3+:} false; then :
3038 $as_echo_n "(cached) " >&6
3040 eval ac_res=\$$3
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3042 $as_echo "$ac_res" >&6; }
3043 else
3044 # Is the header compilable?
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3046 $as_echo_n "checking $2 usability... " >&6; }
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3050 #include <$2>
3051 _ACEOF
3052 if ac_fn_c_try_compile "$LINENO"; then :
3053 ac_header_compiler=yes
3054 else
3055 ac_header_compiler=no
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3059 $as_echo "$ac_header_compiler" >&6; }
3061 # Is the header present?
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3063 $as_echo_n "checking $2 presence... " >&6; }
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3066 #include <$2>
3067 _ACEOF
3068 if ac_fn_c_try_cpp "$LINENO"; then :
3069 ac_header_preproc=yes
3070 else
3071 ac_header_preproc=no
3073 rm -f conftest.err conftest.i conftest.$ac_ext
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3075 $as_echo "$ac_header_preproc" >&6; }
3077 # So? What about this header?
3078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3079 yes:no: )
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3081 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3083 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3085 no:yes:* )
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3087 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3089 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3091 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3093 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3095 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3096 ( $as_echo "## ------------------------------------ ##
3097 ## Report this to wine-devel@winehq.org ##
3098 ## ------------------------------------ ##"
3099 ) | sed "s/^/$as_me: WARNING: /" >&2
3101 esac
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3103 $as_echo_n "checking for $2... " >&6; }
3104 if eval \${$3+:} false; then :
3105 $as_echo_n "(cached) " >&6
3106 else
3107 eval "$3=\$ac_header_compiler"
3109 eval ac_res=\$$3
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3111 $as_echo "$ac_res" >&6; }
3113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3115 } # ac_fn_c_check_header_mongrel
3117 # ac_fn_c_try_run LINENO
3118 # ----------------------
3119 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3120 # that executables *can* be run.
3121 ac_fn_c_try_run ()
3123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3124 if { { ac_try="$ac_link"
3125 case "(($ac_try" in
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3128 esac
3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_link") 2>&5
3132 ac_status=$?
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3135 { { case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138 esac
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_try") 2>&5
3142 ac_status=$?
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; }; then :
3145 ac_retval=0
3146 else
3147 $as_echo "$as_me: program exited with status $ac_status" >&5
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_retval=$ac_status
3153 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3155 as_fn_set_status $ac_retval
3157 } # ac_fn_c_try_run
3159 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3160 # -------------------------------------------------------
3161 # Tests whether HEADER exists and can be compiled using the include files in
3162 # INCLUDES, setting the cache variable VAR accordingly.
3163 ac_fn_c_check_header_compile ()
3165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3167 $as_echo_n "checking for $2... " >&6; }
3168 if eval \${$3+:} false; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3174 #include <$2>
3175 _ACEOF
3176 if ac_fn_c_try_compile "$LINENO"; then :
3177 eval "$3=yes"
3178 else
3179 eval "$3=no"
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 eval ac_res=\$$3
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3185 $as_echo "$ac_res" >&6; }
3186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3188 } # ac_fn_c_check_header_compile
3190 # ac_fn_objc_try_compile LINENO
3191 # -----------------------------
3192 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3193 ac_fn_objc_try_compile ()
3195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3196 rm -f conftest.$ac_objext
3197 if { { ac_try="$ac_compile"
3198 case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_compile") 2>conftest.err
3205 ac_status=$?
3206 if test -s conftest.err; then
3207 grep -v '^ *+' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3209 mv -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; } && {
3213 test -z "$ac_objc_werror_flag" ||
3214 test ! -s conftest.err
3215 } && test -s conftest.$ac_objext; then :
3216 ac_retval=0
3217 else
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3221 ac_retval=1
3223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 as_fn_set_status $ac_retval
3226 } # ac_fn_objc_try_compile
3228 # ac_fn_objc_try_cpp LINENO
3229 # -------------------------
3230 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3231 ac_fn_objc_try_cpp ()
3233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3234 if { { ac_try="$ac_cpp conftest.$ac_ext"
3235 case "(($ac_try" in
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3238 esac
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3242 ac_status=$?
3243 if test -s conftest.err; then
3244 grep -v '^ *+' conftest.err >conftest.er1
3245 cat conftest.er1 >&5
3246 mv -f conftest.er1 conftest.err
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; } > conftest.i && {
3250 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3251 test ! -s conftest.err
3252 }; then :
3253 ac_retval=0
3254 else
3255 $as_echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3258 ac_retval=1
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 as_fn_set_status $ac_retval
3263 } # ac_fn_objc_try_cpp
3265 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3266 # ----------------------------------------------------------
3267 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3268 # the include files in INCLUDES and setting the cache variable VAR
3269 # accordingly.
3270 ac_fn_objc_check_header_mongrel ()
3272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3273 if eval \${$3+:} false; then :
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3275 $as_echo_n "checking for $2... " >&6; }
3276 if eval \${$3+:} false; then :
3277 $as_echo_n "(cached) " >&6
3279 eval ac_res=\$$3
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3281 $as_echo "$ac_res" >&6; }
3282 else
3283 # Is the header compilable?
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3285 $as_echo_n "checking $2 usability... " >&6; }
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3289 #include <$2>
3290 _ACEOF
3291 if ac_fn_objc_try_compile "$LINENO"; then :
3292 ac_header_compiler=yes
3293 else
3294 ac_header_compiler=no
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3298 $as_echo "$ac_header_compiler" >&6; }
3300 # Is the header present?
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3302 $as_echo_n "checking $2 presence... " >&6; }
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3305 #include <$2>
3306 _ACEOF
3307 if ac_fn_objc_try_cpp "$LINENO"; then :
3308 ac_header_preproc=yes
3309 else
3310 ac_header_preproc=no
3312 rm -f conftest.err conftest.i conftest.$ac_ext
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3314 $as_echo "$ac_header_preproc" >&6; }
3316 # So? What about this header?
3317 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3318 yes:no: )
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3320 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3322 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3324 no:yes:* )
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3326 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3328 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3330 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3332 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3334 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3335 ( $as_echo "## ------------------------------------ ##
3336 ## Report this to wine-devel@winehq.org ##
3337 ## ------------------------------------ ##"
3338 ) | sed "s/^/$as_me: WARNING: /" >&2
3340 esac
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 eval "$3=\$ac_header_compiler"
3348 eval ac_res=\$$3
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3350 $as_echo "$ac_res" >&6; }
3352 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3354 } # ac_fn_objc_check_header_mongrel
3356 # ac_fn_c_check_func LINENO FUNC VAR
3357 # ----------------------------------
3358 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3359 ac_fn_c_check_func ()
3361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3363 $as_echo_n "checking for $2... " >&6; }
3364 if eval \${$3+:} false; then :
3365 $as_echo_n "(cached) " >&6
3366 else
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3369 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3371 #define $2 innocuous_$2
3373 /* System header to define __stub macros and hopefully few prototypes,
3374 which can conflict with char $2 (); below.
3375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3376 <limits.h> exists even on freestanding compilers. */
3378 #ifdef __STDC__
3379 # include <limits.h>
3380 #else
3381 # include <assert.h>
3382 #endif
3384 #undef $2
3386 /* Override any GCC internal prototype to avoid an error.
3387 Use char because int might match the return type of a GCC
3388 builtin and then its argument prototype would still apply. */
3389 #ifdef __cplusplus
3390 extern "C"
3391 #endif
3392 char $2 ();
3393 /* The GNU C library defines this for functions which it implements
3394 to always fail with ENOSYS. Some functions are actually named
3395 something starting with __ and the normal name is an alias. */
3396 #if defined __stub_$2 || defined __stub___$2
3397 choke me
3398 #endif
3401 main ()
3403 return $2 ();
3405 return 0;
3407 _ACEOF
3408 if ac_fn_c_try_link "$LINENO"; then :
3409 eval "$3=yes"
3410 else
3411 eval "$3=no"
3413 rm -f core conftest.err conftest.$ac_objext \
3414 conftest$ac_exeext conftest.$ac_ext
3416 eval ac_res=\$$3
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3418 $as_echo "$ac_res" >&6; }
3419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3421 } # ac_fn_c_check_func
3423 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3424 # ----------------------------------------------------
3425 # Tries to find if the field MEMBER exists in type AGGR, after including
3426 # INCLUDES, setting cache variable VAR accordingly.
3427 ac_fn_c_check_member ()
3429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3431 $as_echo_n "checking for $2.$3... " >&6; }
3432 if eval \${$4+:} false; then :
3433 $as_echo_n "(cached) " >&6
3434 else
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3439 main ()
3441 static $2 ac_aggr;
3442 if (ac_aggr.$3)
3443 return 0;
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3449 eval "$4=yes"
3450 else
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3455 main ()
3457 static $2 ac_aggr;
3458 if (sizeof ac_aggr.$3)
3459 return 0;
3461 return 0;
3463 _ACEOF
3464 if ac_fn_c_try_compile "$LINENO"; then :
3465 eval "$4=yes"
3466 else
3467 eval "$4=no"
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 eval ac_res=\$$4
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3475 $as_echo "$ac_res" >&6; }
3476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3478 } # ac_fn_c_check_member
3480 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3481 # -------------------------------------------
3482 # Tests whether TYPE exists after having included INCLUDES, setting cache
3483 # variable VAR accordingly.
3484 ac_fn_c_check_type ()
3486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3488 $as_echo_n "checking for $2... " >&6; }
3489 if eval \${$3+:} false; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 eval "$3=no"
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3497 main ()
3499 if (sizeof ($2))
3500 return 0;
3502 return 0;
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3510 main ()
3512 if (sizeof (($2)))
3513 return 0;
3515 return 0;
3517 _ACEOF
3518 if ac_fn_c_try_compile "$LINENO"; then :
3520 else
3521 eval "$3=yes"
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 eval ac_res=\$$3
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3529 $as_echo "$ac_res" >&6; }
3530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3532 } # ac_fn_c_check_type
3533 cat >config.log <<_ACEOF
3534 This file contains any messages produced by compilers while
3535 running configure, to aid debugging if configure makes a mistake.
3537 It was created by Wine $as_me 6.11, which was
3538 generated by GNU Autoconf 2.69. Invocation command line was
3540 $ $0 $@
3542 _ACEOF
3543 exec 5>>config.log
3545 cat <<_ASUNAME
3546 ## --------- ##
3547 ## Platform. ##
3548 ## --------- ##
3550 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3551 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3552 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3553 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3554 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3556 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3557 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3559 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3560 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3561 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3562 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3563 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3564 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3565 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3567 _ASUNAME
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3572 IFS=$as_save_IFS
3573 test -z "$as_dir" && as_dir=.
3574 $as_echo "PATH: $as_dir"
3575 done
3576 IFS=$as_save_IFS
3578 } >&5
3580 cat >&5 <<_ACEOF
3583 ## ----------- ##
3584 ## Core tests. ##
3585 ## ----------- ##
3587 _ACEOF
3590 # Keep a trace of the command line.
3591 # Strip out --no-create and --no-recursion so they do not pile up.
3592 # Strip out --silent because we don't want to record it for future runs.
3593 # Also quote any args containing shell meta-characters.
3594 # Make two passes to allow for proper duplicate-argument suppression.
3595 ac_configure_args=
3596 ac_configure_args0=
3597 ac_configure_args1=
3598 ac_must_keep_next=false
3599 for ac_pass in 1 2
3601 for ac_arg
3603 case $ac_arg in
3604 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3605 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3606 | -silent | --silent | --silen | --sile | --sil)
3607 continue ;;
3608 *\'*)
3609 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3610 esac
3611 case $ac_pass in
3612 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3614 as_fn_append ac_configure_args1 " '$ac_arg'"
3615 if test $ac_must_keep_next = true; then
3616 ac_must_keep_next=false # Got value, back to normal.
3617 else
3618 case $ac_arg in
3619 *=* | --config-cache | -C | -disable-* | --disable-* \
3620 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3621 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3622 | -with-* | --with-* | -without-* | --without-* | --x)
3623 case "$ac_configure_args0 " in
3624 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3625 esac
3627 -* ) ac_must_keep_next=true ;;
3628 esac
3630 as_fn_append ac_configure_args " '$ac_arg'"
3632 esac
3633 done
3634 done
3635 { ac_configure_args0=; unset ac_configure_args0;}
3636 { ac_configure_args1=; unset ac_configure_args1;}
3638 # When interrupted or exit'd, cleanup temporary files, and complete
3639 # config.log. We remove comments because anyway the quotes in there
3640 # would cause problems or look ugly.
3641 # WARNING: Use '\'' to represent an apostrophe within the trap.
3642 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3643 trap 'exit_status=$?
3644 # Save into config.log some information that might help in debugging.
3646 echo
3648 $as_echo "## ---------------- ##
3649 ## Cache variables. ##
3650 ## ---------------- ##"
3651 echo
3652 # The following way of writing the cache mishandles newlines in values,
3654 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3655 eval ac_val=\$$ac_var
3656 case $ac_val in #(
3657 *${as_nl}*)
3658 case $ac_var in #(
3659 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3660 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3661 esac
3662 case $ac_var in #(
3663 _ | IFS | as_nl) ;; #(
3664 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3665 *) { eval $ac_var=; unset $ac_var;} ;;
3666 esac ;;
3667 esac
3668 done
3669 (set) 2>&1 |
3670 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3671 *${as_nl}ac_space=\ *)
3672 sed -n \
3673 "s/'\''/'\''\\\\'\'''\''/g;
3674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3675 ;; #(
3677 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3679 esac |
3680 sort
3682 echo
3684 $as_echo "## ----------------- ##
3685 ## Output variables. ##
3686 ## ----------------- ##"
3687 echo
3688 for ac_var in $ac_subst_vars
3690 eval ac_val=\$$ac_var
3691 case $ac_val in
3692 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3693 esac
3694 $as_echo "$ac_var='\''$ac_val'\''"
3695 done | sort
3696 echo
3698 if test -n "$ac_subst_files"; then
3699 $as_echo "## ------------------- ##
3700 ## File substitutions. ##
3701 ## ------------------- ##"
3702 echo
3703 for ac_var in $ac_subst_files
3705 eval ac_val=\$$ac_var
3706 case $ac_val in
3707 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3708 esac
3709 $as_echo "$ac_var='\''$ac_val'\''"
3710 done | sort
3711 echo
3714 if test -s confdefs.h; then
3715 $as_echo "## ----------- ##
3716 ## confdefs.h. ##
3717 ## ----------- ##"
3718 echo
3719 cat confdefs.h
3720 echo
3722 test "$ac_signal" != 0 &&
3723 $as_echo "$as_me: caught signal $ac_signal"
3724 $as_echo "$as_me: exit $exit_status"
3725 } >&5
3726 rm -f core *.core core.conftest.* &&
3727 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3728 exit $exit_status
3730 for ac_signal in 1 2 13 15; do
3731 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3732 done
3733 ac_signal=0
3735 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3736 rm -f -r conftest* confdefs.h
3738 $as_echo "/* confdefs.h */" > confdefs.h
3740 # Predefined preprocessor variables.
3742 cat >>confdefs.h <<_ACEOF
3743 #define PACKAGE_NAME "$PACKAGE_NAME"
3744 _ACEOF
3746 cat >>confdefs.h <<_ACEOF
3747 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3748 _ACEOF
3750 cat >>confdefs.h <<_ACEOF
3751 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3752 _ACEOF
3754 cat >>confdefs.h <<_ACEOF
3755 #define PACKAGE_STRING "$PACKAGE_STRING"
3756 _ACEOF
3758 cat >>confdefs.h <<_ACEOF
3759 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3760 _ACEOF
3762 cat >>confdefs.h <<_ACEOF
3763 #define PACKAGE_URL "$PACKAGE_URL"
3764 _ACEOF
3767 # Let the site file select an alternate cache file if it wants to.
3768 # Prefer an explicitly selected file to automatically selected ones.
3769 ac_site_file1=NONE
3770 ac_site_file2=NONE
3771 if test -n "$CONFIG_SITE"; then
3772 # We do not want a PATH search for config.site.
3773 case $CONFIG_SITE in #((
3774 -*) ac_site_file1=./$CONFIG_SITE;;
3775 */*) ac_site_file1=$CONFIG_SITE;;
3776 *) ac_site_file1=./$CONFIG_SITE;;
3777 esac
3778 elif test "x$prefix" != xNONE; then
3779 ac_site_file1=$prefix/share/config.site
3780 ac_site_file2=$prefix/etc/config.site
3781 else
3782 ac_site_file1=$ac_default_prefix/share/config.site
3783 ac_site_file2=$ac_default_prefix/etc/config.site
3785 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3787 test "x$ac_site_file" = xNONE && continue
3788 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3790 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3791 sed 's/^/| /' "$ac_site_file" >&5
3792 . "$ac_site_file" \
3793 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 as_fn_error $? "failed to load site script $ac_site_file
3796 See \`config.log' for more details" "$LINENO" 5; }
3798 done
3800 if test -r "$cache_file"; then
3801 # Some versions of bash will fail to source /dev/null (special files
3802 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3803 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3805 $as_echo "$as_me: loading cache $cache_file" >&6;}
3806 case $cache_file in
3807 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3808 *) . "./$cache_file";;
3809 esac
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3813 $as_echo "$as_me: creating cache $cache_file" >&6;}
3814 >$cache_file
3817 # Check that the precious variables saved in the cache have kept the same
3818 # value.
3819 ac_cache_corrupted=false
3820 for ac_var in $ac_precious_vars; do
3821 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3822 eval ac_new_set=\$ac_env_${ac_var}_set
3823 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3824 eval ac_new_val=\$ac_env_${ac_var}_value
3825 case $ac_old_set,$ac_new_set in
3826 set,)
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3828 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3829 ac_cache_corrupted=: ;;
3830 ,set)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3832 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3833 ac_cache_corrupted=: ;;
3834 ,);;
3836 if test "x$ac_old_val" != "x$ac_new_val"; then
3837 # differences in whitespace do not lead to failure.
3838 ac_old_val_w=`echo x $ac_old_val`
3839 ac_new_val_w=`echo x $ac_new_val`
3840 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3842 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3843 ac_cache_corrupted=:
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3846 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3847 eval $ac_var=\$ac_old_val
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3850 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3852 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3853 fi;;
3854 esac
3855 # Pass precious variables to config.status.
3856 if test "$ac_new_set" = set; then
3857 case $ac_new_val in
3858 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3859 *) ac_arg=$ac_var=$ac_new_val ;;
3860 esac
3861 case " $ac_configure_args " in
3862 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3863 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3864 esac
3866 done
3867 if $ac_cache_corrupted; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3871 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3872 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3874 ## -------------------- ##
3875 ## Main body of script. ##
3876 ## -------------------- ##
3878 ac_ext=c
3879 ac_cpp='$CPP $CPPFLAGS'
3880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886 ac_config_headers="$ac_config_headers include/config.h"
3888 ac_aux_dir=
3889 for ac_dir in tools "$srcdir"/tools; do
3890 if test -f "$ac_dir/install-sh"; then
3891 ac_aux_dir=$ac_dir
3892 ac_install_sh="$ac_aux_dir/install-sh -c"
3893 break
3894 elif test -f "$ac_dir/install.sh"; then
3895 ac_aux_dir=$ac_dir
3896 ac_install_sh="$ac_aux_dir/install.sh -c"
3897 break
3898 elif test -f "$ac_dir/shtool"; then
3899 ac_aux_dir=$ac_dir
3900 ac_install_sh="$ac_aux_dir/shtool install -c"
3901 break
3903 done
3904 if test -z "$ac_aux_dir"; then
3905 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3908 # These three variables are undocumented and unsupported,
3909 # and are intended to be withdrawn in a future Autoconf release.
3910 # They can cause serious problems if a builder's source tree is in a directory
3911 # whose full name contains unusual characters.
3912 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3913 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3914 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3918 libwine_version="1.0"
3922 # Check whether --enable-win16 was given.
3923 if test "${enable_win16+set}" = set; then :
3924 enableval=$enable_win16;
3927 # Check whether --enable-win64 was given.
3928 if test "${enable_win64+set}" = set; then :
3929 enableval=$enable_win64;
3932 # Check whether --enable-tests was given.
3933 if test "${enable_tests+set}" = set; then :
3934 enableval=$enable_tests;
3937 # Check whether --enable-build-id was given.
3938 if test "${enable_build_id+set}" = set; then :
3939 enableval=$enable_build_id;
3942 # Check whether --enable-maintainer-mode was given.
3943 if test "${enable_maintainer_mode+set}" = set; then :
3944 enableval=$enable_maintainer_mode;
3947 # Check whether --enable-silent-rules was given.
3948 if test "${enable_silent_rules+set}" = set; then :
3949 enableval=$enable_silent_rules;
3952 # Check whether --enable-werror was given.
3953 if test "${enable_werror+set}" = set; then :
3954 enableval=$enable_werror;
3959 # Check whether --with-alsa was given.
3960 if test "${with_alsa+set}" = set; then :
3961 withval=$with_alsa;
3965 # Check whether --with-capi was given.
3966 if test "${with_capi+set}" = set; then :
3967 withval=$with_capi;
3971 # Check whether --with-cms was given.
3972 if test "${with_cms+set}" = set; then :
3973 withval=$with_cms;
3977 # Check whether --with-coreaudio was given.
3978 if test "${with_coreaudio+set}" = set; then :
3979 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3983 # Check whether --with-cups was given.
3984 if test "${with_cups+set}" = set; then :
3985 withval=$with_cups;
3989 # Check whether --with-dbus was given.
3990 if test "${with_dbus+set}" = set; then :
3991 withval=$with_dbus;
3995 # Check whether --with-faudio was given.
3996 if test "${with_faudio+set}" = set; then :
3997 withval=$with_faudio;
4001 # Check whether --with-float-abi was given.
4002 if test "${with_float_abi+set}" = set; then :
4003 withval=$with_float_abi;
4007 # Check whether --with-fontconfig was given.
4008 if test "${with_fontconfig+set}" = set; then :
4009 withval=$with_fontconfig;
4013 # Check whether --with-freetype was given.
4014 if test "${with_freetype+set}" = set; then :
4015 withval=$with_freetype;
4019 # Check whether --with-gettext was given.
4020 if test "${with_gettext+set}" = set; then :
4021 withval=$with_gettext;
4025 # Check whether --with-gettextpo was given.
4026 if test "${with_gettextpo+set}" = set; then :
4027 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4031 # Check whether --with-gphoto was given.
4032 if test "${with_gphoto+set}" = set; then :
4033 withval=$with_gphoto;
4037 # Check whether --with-gnutls was given.
4038 if test "${with_gnutls+set}" = set; then :
4039 withval=$with_gnutls;
4043 # Check whether --with-gsm was given.
4044 if test "${with_gsm+set}" = set; then :
4045 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4049 # Check whether --with-gssapi was given.
4050 if test "${with_gssapi+set}" = set; then :
4051 withval=$with_gssapi;
4055 # Check whether --with-gstreamer was given.
4056 if test "${with_gstreamer+set}" = set; then :
4057 withval=$with_gstreamer;
4061 # Check whether --with-hal was given.
4062 if test "${with_hal+set}" = set; then :
4063 withval=$with_hal;
4067 # Check whether --with-inotify was given.
4068 if test "${with_inotify+set}" = set; then :
4069 withval=$with_inotify;
4073 # Check whether --with-jpeg was given.
4074 if test "${with_jpeg+set}" = set; then :
4075 withval=$with_jpeg;
4079 # Check whether --with-jxrlib was given.
4080 if test "${with_jxrlib+set}" = set; then :
4081 withval=$with_jxrlib;
4085 # Check whether --with-krb5 was given.
4086 if test "${with_krb5+set}" = set; then :
4087 withval=$with_krb5;
4091 # Check whether --with-ldap was given.
4092 if test "${with_ldap+set}" = set; then :
4093 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4097 # Check whether --with-mingw was given.
4098 if test "${with_mingw+set}" = set; then :
4099 withval=$with_mingw;
4103 # Check whether --with-mpg123 was given.
4104 if test "${with_mpg123+set}" = set; then :
4105 withval=$with_mpg123;
4109 # Check whether --with-netapi was given.
4110 if test "${with_netapi+set}" = set; then :
4111 withval=$with_netapi;
4115 # Check whether --with-openal was given.
4116 if test "${with_openal+set}" = set; then :
4117 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4121 # Check whether --with-opencl was given.
4122 if test "${with_opencl+set}" = set; then :
4123 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4127 # Check whether --with-opengl was given.
4128 if test "${with_opengl+set}" = set; then :
4129 withval=$with_opengl;
4133 # Check whether --with-osmesa was given.
4134 if test "${with_osmesa+set}" = set; then :
4135 withval=$with_osmesa;
4139 # Check whether --with-oss was given.
4140 if test "${with_oss+set}" = set; then :
4141 withval=$with_oss;
4145 # Check whether --with-pcap was given.
4146 if test "${with_pcap+set}" = set; then :
4147 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4151 # Check whether --with-png was given.
4152 if test "${with_png+set}" = set; then :
4153 withval=$with_png;
4157 # Check whether --with-pthread was given.
4158 if test "${with_pthread+set}" = set; then :
4159 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4163 # Check whether --with-pulse was given.
4164 if test "${with_pulse+set}" = set; then :
4165 withval=$with_pulse;
4169 # Check whether --with-quicktime was given.
4170 if test "${with_quicktime+set}" = set; then :
4171 withval=$with_quicktime;
4175 # Check whether --with-sane was given.
4176 if test "${with_sane+set}" = set; then :
4177 withval=$with_sane;
4181 # Check whether --with-sdl was given.
4182 if test "${with_sdl+set}" = set; then :
4183 withval=$with_sdl;
4187 # Check whether --with-tiff was given.
4188 if test "${with_tiff+set}" = set; then :
4189 withval=$with_tiff;
4193 # Check whether --with-udev was given.
4194 if test "${with_udev+set}" = set; then :
4195 withval=$with_udev;
4199 # Check whether --with-unwind was given.
4200 if test "${with_unwind+set}" = set; then :
4201 withval=$with_unwind;
4205 # Check whether --with-usb was given.
4206 if test "${with_usb+set}" = set; then :
4207 withval=$with_usb;
4211 # Check whether --with-v4l2 was given.
4212 if test "${with_v4l2+set}" = set; then :
4213 withval=$with_v4l2;
4217 # Check whether --with-vkd3d was given.
4218 if test "${with_vkd3d+set}" = set; then :
4219 withval=$with_vkd3d;
4223 # Check whether --with-vulkan was given.
4224 if test "${with_vulkan+set}" = set; then :
4225 withval=$with_vulkan;
4229 # Check whether --with-xcomposite was given.
4230 if test "${with_xcomposite+set}" = set; then :
4231 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4235 # Check whether --with-xcursor was given.
4236 if test "${with_xcursor+set}" = set; then :
4237 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4241 # Check whether --with-xfixes was given.
4242 if test "${with_xfixes+set}" = set; then :
4243 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4247 # Check whether --with-xinerama was given.
4248 if test "${with_xinerama+set}" = set; then :
4249 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4253 # Check whether --with-xinput was given.
4254 if test "${with_xinput+set}" = set; then :
4255 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4259 # Check whether --with-xinput2 was given.
4260 if test "${with_xinput2+set}" = set; then :
4261 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4265 # Check whether --with-xml was given.
4266 if test "${with_xml+set}" = set; then :
4267 withval=$with_xml;
4271 # Check whether --with-xrandr was given.
4272 if test "${with_xrandr+set}" = set; then :
4273 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4277 # Check whether --with-xrender was given.
4278 if test "${with_xrender+set}" = set; then :
4279 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4283 # Check whether --with-xshape was given.
4284 if test "${with_xshape+set}" = set; then :
4285 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4289 # Check whether --with-xshm was given.
4290 if test "${with_xshm+set}" = set; then :
4291 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4295 # Check whether --with-xslt was given.
4296 if test "${with_xslt+set}" = set; then :
4297 withval=$with_xslt;
4301 # Check whether --with-xxf86vm was given.
4302 if test "${with_xxf86vm+set}" = set; then :
4303 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
4308 # Check whether --with-wine-tools was given.
4309 if test "${with_wine_tools+set}" = set; then :
4310 withval=$with_wine_tools;
4314 # Check whether --with-wine64 was given.
4315 if test "${with_wine64+set}" = set; then :
4316 withval=$with_wine64;
4320 # Make sure we can run config.sub.
4321 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4322 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4325 $as_echo_n "checking build system type... " >&6; }
4326 if ${ac_cv_build+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 ac_build_alias=$build_alias
4330 test "x$ac_build_alias" = x &&
4331 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4332 test "x$ac_build_alias" = x &&
4333 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4334 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4335 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4339 $as_echo "$ac_cv_build" >&6; }
4340 case $ac_cv_build in
4341 *-*-*) ;;
4342 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4343 esac
4344 build=$ac_cv_build
4345 ac_save_IFS=$IFS; IFS='-'
4346 set x $ac_cv_build
4347 shift
4348 build_cpu=$1
4349 build_vendor=$2
4350 shift; shift
4351 # Remember, the first character of IFS is used to create $*,
4352 # except with old shells:
4353 build_os=$*
4354 IFS=$ac_save_IFS
4355 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4359 $as_echo_n "checking host system type... " >&6; }
4360 if ${ac_cv_host+:} false; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 if test "x$host_alias" = x; then
4364 ac_cv_host=$ac_cv_build
4365 else
4366 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4367 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4372 $as_echo "$ac_cv_host" >&6; }
4373 case $ac_cv_host in
4374 *-*-*) ;;
4375 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4376 esac
4377 host=$ac_cv_host
4378 ac_save_IFS=$IFS; IFS='-'
4379 set x $ac_cv_host
4380 shift
4381 host_cpu=$1
4382 host_vendor=$2
4383 shift; shift
4384 # Remember, the first character of IFS is used to create $*,
4385 # except with old shells:
4386 host_os=$*
4387 IFS=$ac_save_IFS
4388 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4394 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4395 set x ${MAKE-make}
4396 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4397 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4398 $as_echo_n "(cached) " >&6
4399 else
4400 cat >conftest.make <<\_ACEOF
4401 SHELL = /bin/sh
4402 all:
4403 @echo '@@@%%%=$(MAKE)=@@@%%%'
4404 _ACEOF
4405 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4406 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4407 *@@@%%%=?*=@@@%%%*)
4408 eval ac_cv_prog_make_${ac_make}_set=yes;;
4410 eval ac_cv_prog_make_${ac_make}_set=no;;
4411 esac
4412 rm -f conftest.make
4414 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4416 $as_echo "yes" >&6; }
4417 SET_MAKE=
4418 else
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4421 SET_MAKE="MAKE=${MAKE-make}"
4424 ac_ext=c
4425 ac_cpp='$CPP $CPPFLAGS'
4426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4429 if test -n "$ac_tool_prefix"; then
4430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 CC=$ac_cv_prog_CC
4458 if test -n "$CC"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4460 $as_echo "$CC" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4468 if test -z "$ac_cv_prog_CC"; then
4469 ac_ct_CC=$CC
4470 # Extract the first word of "gcc", so it can be a program name with args.
4471 set dummy gcc; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$ac_ct_CC"; then
4478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_ac_ct_CC="gcc"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4498 if test -n "$ac_ct_CC"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4500 $as_echo "$ac_ct_CC" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4506 if test "x$ac_ct_CC" = x; then
4507 CC=""
4508 else
4509 case $cross_compiling:$ac_tool_warned in
4510 yes:)
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4513 ac_tool_warned=yes ;;
4514 esac
4515 CC=$ac_ct_CC
4517 else
4518 CC="$ac_cv_prog_CC"
4521 if test -z "$CC"; then
4522 if test -n "$ac_tool_prefix"; then
4523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4524 set dummy ${ac_tool_prefix}cc; ac_word=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if ${ac_cv_prog_CC+:} false; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 if test -n "$CC"; then
4531 ac_cv_prog_CC="$CC" # Let the user override the test.
4532 else
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 for as_dir in $PATH
4536 IFS=$as_save_IFS
4537 test -z "$as_dir" && as_dir=.
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4540 ac_cv_prog_CC="${ac_tool_prefix}cc"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 break 2
4544 done
4545 done
4546 IFS=$as_save_IFS
4550 CC=$ac_cv_prog_CC
4551 if test -n "$CC"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4553 $as_echo "$CC" >&6; }
4554 else
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4562 if test -z "$CC"; then
4563 # Extract the first word of "cc", so it can be a program name with args.
4564 set dummy cc; ac_word=$2
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4566 $as_echo_n "checking for $ac_word... " >&6; }
4567 if ${ac_cv_prog_CC+:} false; then :
4568 $as_echo_n "(cached) " >&6
4569 else
4570 if test -n "$CC"; then
4571 ac_cv_prog_CC="$CC" # Let the user override the test.
4572 else
4573 ac_prog_rejected=no
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 for as_dir in $PATH
4577 IFS=$as_save_IFS
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4582 ac_prog_rejected=yes
4583 continue
4585 ac_cv_prog_CC="cc"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 break 2
4589 done
4590 done
4591 IFS=$as_save_IFS
4593 if test $ac_prog_rejected = yes; then
4594 # We found a bogon in the path, so make sure we never use it.
4595 set dummy $ac_cv_prog_CC
4596 shift
4597 if test $# != 0; then
4598 # We chose a different compiler from the bogus one.
4599 # However, it has the same basename, so the bogon will be chosen
4600 # first if we set CC to just the basename; use the full file name.
4601 shift
4602 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4607 CC=$ac_cv_prog_CC
4608 if test -n "$CC"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4610 $as_echo "$CC" >&6; }
4611 else
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4618 if test -z "$CC"; then
4619 if test -n "$ac_tool_prefix"; then
4620 for ac_prog in cl.exe
4622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4625 $as_echo_n "checking for $ac_word... " >&6; }
4626 if ${ac_cv_prog_CC+:} false; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 if test -n "$CC"; then
4630 ac_cv_prog_CC="$CC" # Let the user override the test.
4631 else
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH
4635 IFS=$as_save_IFS
4636 test -z "$as_dir" && as_dir=.
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 break 2
4643 done
4644 done
4645 IFS=$as_save_IFS
4649 CC=$ac_cv_prog_CC
4650 if test -n "$CC"; then
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4652 $as_echo "$CC" >&6; }
4653 else
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4659 test -n "$CC" && break
4660 done
4662 if test -z "$CC"; then
4663 ac_ct_CC=$CC
4664 for ac_prog in cl.exe
4666 # Extract the first word of "$ac_prog", so it can be a program name with args.
4667 set dummy $ac_prog; ac_word=$2
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669 $as_echo_n "checking for $ac_word... " >&6; }
4670 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4671 $as_echo_n "(cached) " >&6
4672 else
4673 if test -n "$ac_ct_CC"; then
4674 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4675 else
4676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 for as_dir in $PATH
4679 IFS=$as_save_IFS
4680 test -z "$as_dir" && as_dir=.
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4683 ac_cv_prog_ac_ct_CC="$ac_prog"
4684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 break 2
4687 done
4688 done
4689 IFS=$as_save_IFS
4693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4694 if test -n "$ac_ct_CC"; then
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4696 $as_echo "$ac_ct_CC" >&6; }
4697 else
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699 $as_echo "no" >&6; }
4703 test -n "$ac_ct_CC" && break
4704 done
4706 if test "x$ac_ct_CC" = x; then
4707 CC=""
4708 else
4709 case $cross_compiling:$ac_tool_warned in
4710 yes:)
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4713 ac_tool_warned=yes ;;
4714 esac
4715 CC=$ac_ct_CC
4722 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4724 as_fn_error $? "no acceptable C compiler found in \$PATH
4725 See \`config.log' for more details" "$LINENO" 5; }
4727 # Provide some information about the compiler.
4728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4729 set X $ac_compile
4730 ac_compiler=$2
4731 for ac_option in --version -v -V -qversion; do
4732 { { ac_try="$ac_compiler $ac_option >&5"
4733 case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4736 esac
4737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4738 $as_echo "$ac_try_echo"; } >&5
4739 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4740 ac_status=$?
4741 if test -s conftest.err; then
4742 sed '10a\
4743 ... rest of stderr output deleted ...
4744 10q' conftest.err >conftest.er1
4745 cat conftest.er1 >&5
4747 rm -f conftest.er1 conftest.err
4748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4749 test $ac_status = 0; }
4750 done
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4756 main ()
4760 return 0;
4762 _ACEOF
4763 ac_clean_files_save=$ac_clean_files
4764 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4765 # Try to create an executable without -o first, disregard a.out.
4766 # It will help us diagnose broken compilers, and finding out an intuition
4767 # of exeext.
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4769 $as_echo_n "checking whether the C compiler works... " >&6; }
4770 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4772 # The possible output files:
4773 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4775 ac_rmfiles=
4776 for ac_file in $ac_files
4778 case $ac_file in
4779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4780 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4781 esac
4782 done
4783 rm -f $ac_rmfiles
4785 if { { ac_try="$ac_link_default"
4786 case "(($ac_try" in
4787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4788 *) ac_try_echo=$ac_try;;
4789 esac
4790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4791 $as_echo "$ac_try_echo"; } >&5
4792 (eval "$ac_link_default") 2>&5
4793 ac_status=$?
4794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4795 test $ac_status = 0; }; then :
4796 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4797 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4798 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4799 # so that the user can short-circuit this test for compilers unknown to
4800 # Autoconf.
4801 for ac_file in $ac_files ''
4803 test -f "$ac_file" || continue
4804 case $ac_file in
4805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4807 [ab].out )
4808 # We found the default executable, but exeext='' is most
4809 # certainly right.
4810 break;;
4811 *.* )
4812 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4813 then :; else
4814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4816 # We set ac_cv_exeext here because the later test for it is not
4817 # safe: cross compilers may not add the suffix if given an `-o'
4818 # argument, so we may need to know it at that point already.
4819 # Even if this section looks crufty: it has the advantage of
4820 # actually working.
4821 break;;
4823 break;;
4824 esac
4825 done
4826 test "$ac_cv_exeext" = no && ac_cv_exeext=
4828 else
4829 ac_file=''
4831 if test -z "$ac_file"; then :
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4834 $as_echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4839 as_fn_error 77 "C compiler cannot create executables
4840 See \`config.log' for more details" "$LINENO" 5; }
4841 else
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4843 $as_echo "yes" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4846 $as_echo_n "checking for C compiler default output file name... " >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4848 $as_echo "$ac_file" >&6; }
4849 ac_exeext=$ac_cv_exeext
4851 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4852 ac_clean_files=$ac_clean_files_save
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4854 $as_echo_n "checking for suffix of executables... " >&6; }
4855 if { { ac_try="$ac_link"
4856 case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4859 esac
4860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4861 $as_echo "$ac_try_echo"; } >&5
4862 (eval "$ac_link") 2>&5
4863 ac_status=$?
4864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4865 test $ac_status = 0; }; then :
4866 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4867 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4868 # work properly (i.e., refer to `conftest.exe'), while it won't with
4869 # `rm'.
4870 for ac_file in conftest.exe conftest conftest.*; do
4871 test -f "$ac_file" || continue
4872 case $ac_file in
4873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4874 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4875 break;;
4876 * ) break;;
4877 esac
4878 done
4879 else
4880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4882 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4883 See \`config.log' for more details" "$LINENO" 5; }
4885 rm -f conftest conftest$ac_cv_exeext
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4887 $as_echo "$ac_cv_exeext" >&6; }
4889 rm -f conftest.$ac_ext
4890 EXEEXT=$ac_cv_exeext
4891 ac_exeext=$EXEEXT
4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */
4894 #include <stdio.h>
4896 main ()
4898 FILE *f = fopen ("conftest.out", "w");
4899 return ferror (f) || fclose (f) != 0;
4902 return 0;
4904 _ACEOF
4905 ac_clean_files="$ac_clean_files conftest.out"
4906 # Check that the compiler produces executables we can run. If not, either
4907 # the compiler is broken, or we cross compile.
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4909 $as_echo_n "checking whether we are cross compiling... " >&6; }
4910 if test "$cross_compiling" != yes; then
4911 { { ac_try="$ac_link"
4912 case "(($ac_try" in
4913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4915 esac
4916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4917 $as_echo "$ac_try_echo"; } >&5
4918 (eval "$ac_link") 2>&5
4919 ac_status=$?
4920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4921 test $ac_status = 0; }
4922 if { ac_try='./conftest$ac_cv_exeext'
4923 { { case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926 esac
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_try") 2>&5
4930 ac_status=$?
4931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4932 test $ac_status = 0; }; }; then
4933 cross_compiling=no
4934 else
4935 if test "$cross_compiling" = maybe; then
4936 cross_compiling=yes
4937 else
4938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4940 as_fn_error $? "cannot run C compiled programs.
4941 If you meant to cross compile, use \`--host'.
4942 See \`config.log' for more details" "$LINENO" 5; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4947 $as_echo "$cross_compiling" >&6; }
4949 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4950 ac_clean_files=$ac_clean_files_save
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4952 $as_echo_n "checking for suffix of object files... " >&6; }
4953 if ${ac_cv_objext+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 rm -f conftest.o conftest.obj
4968 if { { ac_try="$ac_compile"
4969 case "(($ac_try" in
4970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4971 *) ac_try_echo=$ac_try;;
4972 esac
4973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4974 $as_echo "$ac_try_echo"; } >&5
4975 (eval "$ac_compile") 2>&5
4976 ac_status=$?
4977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4978 test $ac_status = 0; }; then :
4979 for ac_file in conftest.o conftest.obj conftest.*; do
4980 test -f "$ac_file" || continue;
4981 case $ac_file in
4982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4983 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4984 break;;
4985 esac
4986 done
4987 else
4988 $as_echo "$as_me: failed program was:" >&5
4989 sed 's/^/| /' conftest.$ac_ext >&5
4991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4993 as_fn_error $? "cannot compute suffix of object files: cannot compile
4994 See \`config.log' for more details" "$LINENO" 5; }
4996 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4999 $as_echo "$ac_cv_objext" >&6; }
5000 OBJEXT=$ac_cv_objext
5001 ac_objext=$OBJEXT
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5003 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5004 if ${ac_cv_c_compiler_gnu+:} false; then :
5005 $as_echo_n "(cached) " >&6
5006 else
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5011 main ()
5013 #ifndef __GNUC__
5014 choke me
5015 #endif
5018 return 0;
5020 _ACEOF
5021 if ac_fn_c_try_compile "$LINENO"; then :
5022 ac_compiler_gnu=yes
5023 else
5024 ac_compiler_gnu=no
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5031 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5032 if test $ac_compiler_gnu = yes; then
5033 GCC=yes
5034 else
5035 GCC=
5037 ac_test_CFLAGS=${CFLAGS+set}
5038 ac_save_CFLAGS=$CFLAGS
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5040 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5041 if ${ac_cv_prog_cc_g+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 ac_save_c_werror_flag=$ac_c_werror_flag
5045 ac_c_werror_flag=yes
5046 ac_cv_prog_cc_g=no
5047 CFLAGS="-g"
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5052 main ()
5056 return 0;
5058 _ACEOF
5059 if ac_fn_c_try_compile "$LINENO"; then :
5060 ac_cv_prog_cc_g=yes
5061 else
5062 CFLAGS=""
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5067 main ()
5071 return 0;
5073 _ACEOF
5074 if ac_fn_c_try_compile "$LINENO"; then :
5076 else
5077 ac_c_werror_flag=$ac_save_c_werror_flag
5078 CFLAGS="-g"
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5083 main ()
5087 return 0;
5089 _ACEOF
5090 if ac_fn_c_try_compile "$LINENO"; then :
5091 ac_cv_prog_cc_g=yes
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5098 ac_c_werror_flag=$ac_save_c_werror_flag
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5101 $as_echo "$ac_cv_prog_cc_g" >&6; }
5102 if test "$ac_test_CFLAGS" = set; then
5103 CFLAGS=$ac_save_CFLAGS
5104 elif test $ac_cv_prog_cc_g = yes; then
5105 if test "$GCC" = yes; then
5106 CFLAGS="-g -O2"
5107 else
5108 CFLAGS="-g"
5110 else
5111 if test "$GCC" = yes; then
5112 CFLAGS="-O2"
5113 else
5114 CFLAGS=
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5118 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5119 if ${ac_cv_prog_cc_c89+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 ac_cv_prog_cc_c89=no
5123 ac_save_CC=$CC
5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5126 #include <stdarg.h>
5127 #include <stdio.h>
5128 struct stat;
5129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5130 struct buf { int x; };
5131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5132 static char *e (p, i)
5133 char **p;
5134 int i;
5136 return p[i];
5138 static char *f (char * (*g) (char **, int), char **p, ...)
5140 char *s;
5141 va_list v;
5142 va_start (v,p);
5143 s = g (p, va_arg (v,int));
5144 va_end (v);
5145 return s;
5148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5149 function prototypes and stuff, but not '\xHH' hex character constants.
5150 These don't provoke an error unfortunately, instead are silently treated
5151 as 'x'. The following induces an error, until -std is added to get
5152 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5153 array size at least. It's necessary to write '\x00'==0 to get something
5154 that's true only with -std. */
5155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5158 inside strings and character constants. */
5159 #define FOO(x) 'x'
5160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5162 int test (int i, double x);
5163 struct s1 {int (*f) (int a);};
5164 struct s2 {int (*f) (double a);};
5165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5166 int argc;
5167 char **argv;
5169 main ()
5171 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5173 return 0;
5175 _ACEOF
5176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5177 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5179 CC="$ac_save_CC $ac_arg"
5180 if ac_fn_c_try_compile "$LINENO"; then :
5181 ac_cv_prog_cc_c89=$ac_arg
5183 rm -f core conftest.err conftest.$ac_objext
5184 test "x$ac_cv_prog_cc_c89" != "xno" && break
5185 done
5186 rm -f conftest.$ac_ext
5187 CC=$ac_save_CC
5190 # AC_CACHE_VAL
5191 case "x$ac_cv_prog_cc_c89" in
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5194 $as_echo "none needed" >&6; } ;;
5195 xno)
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5197 $as_echo "unsupported" >&6; } ;;
5199 CC="$CC $ac_cv_prog_cc_c89"
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5201 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5202 esac
5203 if test "x$ac_cv_prog_cc_c89" != xno; then :
5207 ac_ext=c
5208 ac_cpp='$CPP $CPPFLAGS'
5209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5213 ac_ext=cpp
5214 ac_cpp='$CXXCPP $CPPFLAGS'
5215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5218 if test -z "$CXX"; then
5219 if test -n "$CCC"; then
5220 CXX=$CCC
5221 else
5222 if test -n "$ac_tool_prefix"; then
5223 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_CXX+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 if test -n "$CXX"; then
5233 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 break 2
5246 done
5247 done
5248 IFS=$as_save_IFS
5252 CXX=$ac_cv_prog_CXX
5253 if test -n "$CXX"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5255 $as_echo "$CXX" >&6; }
5256 else
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5262 test -n "$CXX" && break
5263 done
5265 if test -z "$CXX"; then
5266 ac_ct_CXX=$CXX
5267 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5269 # Extract the first word of "$ac_prog", so it can be a program name with args.
5270 set dummy $ac_prog; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5274 $as_echo_n "(cached) " >&6
5275 else
5276 if test -n "$ac_ct_CXX"; then
5277 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5282 IFS=$as_save_IFS
5283 test -z "$as_dir" && as_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5286 ac_cv_prog_ac_ct_CXX="$ac_prog"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 break 2
5290 done
5291 done
5292 IFS=$as_save_IFS
5296 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5297 if test -n "$ac_ct_CXX"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5299 $as_echo "$ac_ct_CXX" >&6; }
5300 else
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5306 test -n "$ac_ct_CXX" && break
5307 done
5309 if test "x$ac_ct_CXX" = x; then
5310 CXX="g++"
5311 else
5312 case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318 CXX=$ac_ct_CXX
5324 # Provide some information about the compiler.
5325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5326 set X $ac_compile
5327 ac_compiler=$2
5328 for ac_option in --version -v -V -qversion; do
5329 { { ac_try="$ac_compiler $ac_option >&5"
5330 case "(($ac_try" in
5331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5333 esac
5334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5335 $as_echo "$ac_try_echo"; } >&5
5336 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5337 ac_status=$?
5338 if test -s conftest.err; then
5339 sed '10a\
5340 ... rest of stderr output deleted ...
5341 10q' conftest.err >conftest.er1
5342 cat conftest.er1 >&5
5344 rm -f conftest.er1 conftest.err
5345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5346 test $ac_status = 0; }
5347 done
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5350 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5351 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5352 $as_echo_n "(cached) " >&6
5353 else
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5358 main ()
5360 #ifndef __GNUC__
5361 choke me
5362 #endif
5365 return 0;
5367 _ACEOF
5368 if ac_fn_cxx_try_compile "$LINENO"; then :
5369 ac_compiler_gnu=yes
5370 else
5371 ac_compiler_gnu=no
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5378 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5379 if test $ac_compiler_gnu = yes; then
5380 GXX=yes
5381 else
5382 GXX=
5384 ac_test_CXXFLAGS=${CXXFLAGS+set}
5385 ac_save_CXXFLAGS=$CXXFLAGS
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5387 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5388 if ${ac_cv_prog_cxx_g+:} false; then :
5389 $as_echo_n "(cached) " >&6
5390 else
5391 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5392 ac_cxx_werror_flag=yes
5393 ac_cv_prog_cxx_g=no
5394 CXXFLAGS="-g"
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5399 main ()
5403 return 0;
5405 _ACEOF
5406 if ac_fn_cxx_try_compile "$LINENO"; then :
5407 ac_cv_prog_cxx_g=yes
5408 else
5409 CXXFLAGS=""
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5414 main ()
5418 return 0;
5420 _ACEOF
5421 if ac_fn_cxx_try_compile "$LINENO"; then :
5423 else
5424 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5425 CXXFLAGS="-g"
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5430 main ()
5434 return 0;
5436 _ACEOF
5437 if ac_fn_cxx_try_compile "$LINENO"; then :
5438 ac_cv_prog_cxx_g=yes
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5445 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5448 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5449 if test "$ac_test_CXXFLAGS" = set; then
5450 CXXFLAGS=$ac_save_CXXFLAGS
5451 elif test $ac_cv_prog_cxx_g = yes; then
5452 if test "$GXX" = yes; then
5453 CXXFLAGS="-g -O2"
5454 else
5455 CXXFLAGS="-g"
5457 else
5458 if test "$GXX" = yes; then
5459 CXXFLAGS="-O2"
5460 else
5461 CXXFLAGS=
5464 ac_ext=c
5465 ac_cpp='$CPP $CPPFLAGS'
5466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5470 if test -n "$ac_tool_prefix"; then
5471 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5472 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_CPPBIN+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$CPPBIN"; then
5479 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 CPPBIN=$ac_cv_prog_CPPBIN
5499 if test -n "$CPPBIN"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5501 $as_echo "$CPPBIN" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5509 if test -z "$ac_cv_prog_CPPBIN"; then
5510 ac_ct_CPPBIN=$CPPBIN
5511 # Extract the first word of "cpp", so it can be a program name with args.
5512 set dummy cpp; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -n "$ac_ct_CPPBIN"; then
5519 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_ac_ct_CPPBIN="cpp"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5539 if test -n "$ac_ct_CPPBIN"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5541 $as_echo "$ac_ct_CPPBIN" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5547 if test "x$ac_ct_CPPBIN" = x; then
5548 CPPBIN="cpp"
5549 else
5550 case $cross_compiling:$ac_tool_warned in
5551 yes:)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5554 ac_tool_warned=yes ;;
5555 esac
5556 CPPBIN=$ac_ct_CPPBIN
5558 else
5559 CPPBIN="$ac_cv_prog_CPPBIN"
5563 cat >>confdefs.h <<_ACEOF
5564 #define EXEEXT "$ac_exeext"
5565 _ACEOF
5567 if test -n "$ac_tool_prefix"; then
5568 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5569 set dummy ${ac_tool_prefix}ld; ac_word=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_prog_LD+:} false; then :
5573 $as_echo_n "(cached) " >&6
5574 else
5575 if test -n "$LD"; then
5576 ac_cv_prog_LD="$LD" # Let the user override the test.
5577 else
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 for as_dir in $PATH
5581 IFS=$as_save_IFS
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_prog_LD="${ac_tool_prefix}ld"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 break 2
5589 done
5590 done
5591 IFS=$as_save_IFS
5595 LD=$ac_cv_prog_LD
5596 if test -n "$LD"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5598 $as_echo "$LD" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5606 if test -z "$ac_cv_prog_LD"; then
5607 ac_ct_LD=$LD
5608 # Extract the first word of "ld", so it can be a program name with args.
5609 set dummy ld; ac_word=$2
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5611 $as_echo_n "checking for $ac_word... " >&6; }
5612 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5613 $as_echo_n "(cached) " >&6
5614 else
5615 if test -n "$ac_ct_LD"; then
5616 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5617 else
5618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 for as_dir in $PATH
5621 IFS=$as_save_IFS
5622 test -z "$as_dir" && as_dir=.
5623 for ac_exec_ext in '' $ac_executable_extensions; do
5624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5625 ac_cv_prog_ac_ct_LD="ld"
5626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 break 2
5629 done
5630 done
5631 IFS=$as_save_IFS
5635 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5636 if test -n "$ac_ct_LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5638 $as_echo "$ac_ct_LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5644 if test "x$ac_ct_LD" = x; then
5645 LD=""
5646 else
5647 case $cross_compiling:$ac_tool_warned in
5648 yes:)
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5651 ac_tool_warned=yes ;;
5652 esac
5653 LD=$ac_ct_LD
5655 else
5656 LD="$ac_cv_prog_LD"
5660 case $host in
5661 *-darwin*)
5662 with_fontconfig=${with_fontconfig:-no}
5664 *-mingw32*|*-cygwin*)
5665 enable_win16=${enable_win16:-no}
5666 with_mingw=${with_mingw:-no}
5667 CFLAGS="$CFLAGS -D_WIN32"
5669 esac
5672 case $host in
5673 x86_64*|amd64*)
5674 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5675 then
5676 CC="$CC -m32"
5677 CXX="$CXX -m32"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5680 $as_echo_n "checking whether $CC works... " >&6; }
5681 if ${wine_cv_cc_m32+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5688 main ()
5692 return 0;
5694 _ACEOF
5695 if ac_fn_c_try_link "$LINENO"; then :
5696 wine_cv_cc_m32=yes
5697 else
5698 wine_cv_cc_m32=no
5700 rm -f core conftest.err conftest.$ac_objext \
5701 conftest$ac_exeext conftest.$ac_ext
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5704 $as_echo "$wine_cv_cc_m32" >&6; }
5705 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
5706 host_cpu="i386"
5707 notice_platform="32-bit "
5708 TARGETFLAGS="$TARGETFLAGS -m32"
5709 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5710 export PKG_CONFIG_PATH
5711 enable_win16=${enable_win16:-yes}
5712 with_unwind=${with_unwind:-no}
5713 else
5714 if test "x${GCC}" = "xyes"
5715 then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5717 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5718 if ${wine_cv_builtin_ms_va_list+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5722 /* end confdefs.h. */
5723 #include <stdarg.h>
5725 main ()
5727 void func(__builtin_ms_va_list *args);
5729 return 0;
5731 _ACEOF
5732 if ac_fn_c_try_compile "$LINENO"; then :
5733 wine_cv_builtin_ms_va_list=yes
5734 else
5735 wine_cv_builtin_ms_va_list=no
5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5740 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5741 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
5743 CC="$CC -m64"
5744 CXX="$CXX -m64"
5745 host_cpu="x86_64"
5746 notice_platform="64-bit "
5747 TARGETFLAGS="$TARGETFLAGS -m64"
5748 enable_wow64cpu=${enable_wow64cpu:-yes}
5751 arm*)
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5753 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5754 if ${wine_cv_thumb2+:} false; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758 /* end confdefs.h. */
5761 main ()
5763 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5765 return 0;
5767 _ACEOF
5768 if ac_fn_c_try_link "$LINENO"; then :
5769 wine_cv_thumb2=yes
5770 else
5771 wine_cv_thumb2=no
5773 rm -f core conftest.err conftest.$ac_objext \
5774 conftest$ac_exeext conftest.$ac_ext
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5777 $as_echo "$wine_cv_thumb2" >&6; }
5778 if test x"$wine_cv_thumb2" = xyes
5779 then
5780 CFLAGS="$CFLAGS -mthumb"
5781 TARGETFLAGS="$TARGETFLAGS -mthumb"
5782 else
5783 CFLAGS="$CFLAGS -marm"
5784 TARGETFLAGS="$TARGETFLAGS -marm"
5786 case $with_float_abi in
5787 soft|softfp|hard)
5788 float_abi=$with_float_abi ;;
5790 case $host_os in
5791 *eabihf)
5792 float_abi=hard ;;
5794 float_abi=softfp
5795 saved_CFLAGS=$CFLAGS
5796 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5798 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5799 if ${wine_cv_float_abi+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5806 main ()
5808 asm("vmrs r2,fpscr");
5810 return 0;
5812 _ACEOF
5813 if ac_fn_c_try_link "$LINENO"; then :
5814 wine_cv_float_abi=yes
5815 else
5816 wine_cv_float_abi=no
5818 rm -f core conftest.err conftest.$ac_objext \
5819 conftest$ac_exeext conftest.$ac_ext
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5822 $as_echo "$wine_cv_float_abi" >&6; }
5823 if test $wine_cv_float_abi = no
5824 then
5825 float_abi=soft
5826 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5828 CFLAGS=$saved_CFLAGS
5829 esac
5831 esac
5832 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5833 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5835 aarch64*)
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5837 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5838 if ${wine_cv_builtin_ms_va_list+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5843 #include <stdarg.h>
5845 main ()
5847 void func(__builtin_ms_va_list *args);
5849 return 0;
5851 _ACEOF
5852 if ac_fn_c_try_compile "$LINENO"; then :
5853 wine_cv_builtin_ms_va_list=yes
5854 else
5855 wine_cv_builtin_ms_va_list=no
5857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5860 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5861 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5863 i[3456789]86*)
5864 enable_win16=${enable_win16:-yes}
5865 with_unwind=${with_unwind:-no}
5867 esac
5869 enable_win16=${enable_win16:-no}
5870 enable_win64=${enable_win64:-no}
5871 enable_wow64cpu=${enable_wow64cpu:-no}
5873 enable_winetest=${enable_winetest:-$enable_tests}
5875 if test "x$enable_win64" = "xyes"
5876 then
5877 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5878 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5881 case $host_cpu in
5882 *i[3456789]86*) ARCH="i386"
5884 *x86_64*) ARCH="x86_64"
5886 *aarch64*) ARCH="aarch64"
5888 *arm*) ARCH="arm"
5890 *) ARCH=""
5892 esac
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5895 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5896 if ${wine_cv_toolsdir+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 wine_cv_toolsdir="$with_wine_tools"
5900 if test -z "$with_wine_tools"; then
5901 if test "$cross_compiling" = "yes"; then
5902 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5903 elif test -n "$with_wine64"; then
5904 wine_cv_toolsdir="$with_wine64"
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5909 $as_echo "$wine_cv_toolsdir" >&6; }
5910 if test -z "$wine_cv_toolsdir"; then
5911 wine_makedep=tools/makedep
5912 TOOLSDIR="."
5914 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5915 wine_makedep=$wine_cv_toolsdir/tools/makedep
5916 TOOLSDIR=$wine_cv_toolsdir
5918 enable_tools=${enable_tools:-no}
5919 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5920 else
5921 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5923 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5924 then
5925 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5928 for ac_prog in flex
5930 # Extract the first word of "$ac_prog", so it can be a program name with args.
5931 set dummy $ac_prog; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_FLEX+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$FLEX"; then
5938 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_FLEX="$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 FLEX=$ac_cv_prog_FLEX
5958 if test -n "$FLEX"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5960 $as_echo "$FLEX" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$FLEX" && break
5968 done
5969 test -n "$FLEX" || FLEX="none"
5971 if test "$FLEX" = "none"
5972 then
5973 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5976 $as_echo_n "checking whether flex is recent enough... " >&6; }
5977 if ${wine_cv_recent_flex+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 cat >conftest.l <<EOF
5981 %top{
5982 #include "prediluvian.h"
5986 if $FLEX -t conftest.l >/dev/null 2>&5
5987 then
5988 wine_cv_recent_flex=yes
5989 else
5990 wine_cv_recent_flex=no
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5994 $as_echo "$wine_cv_recent_flex" >&6; }
5995 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
5997 for ac_prog in bison
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_BISON+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 if test -n "$BISON"; then
6007 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_BISON="$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 BISON=$ac_cv_prog_BISON
6027 if test -n "$BISON"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6029 $as_echo "$BISON" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$BISON" && break
6037 done
6038 test -n "$BISON" || BISON="none"
6040 if test "$BISON" = "none"
6041 then
6042 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6045 $as_echo_n "checking whether bison is recent enough... " >&6; }
6046 if ${wine_cv_recent_bison+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 cat >conftest.y <<EOF
6050 %define parse.error verbose
6052 empty: ;
6054 if $BISON conftest.y >/dev/null 2>&5
6055 then
6056 wine_cv_recent_bison=yes
6057 else
6058 wine_cv_recent_bison=no
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6062 $as_echo "$wine_cv_recent_bison" >&6; }
6063 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
6065 if test -n "$ac_tool_prefix"; then
6066 for ac_prog in ar gar
6068 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6069 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 $as_echo_n "checking for $ac_word... " >&6; }
6072 if ${ac_cv_prog_AR+:} false; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 if test -n "$AR"; then
6076 ac_cv_prog_AR="$AR" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 AR=$ac_cv_prog_AR
6096 if test -n "$AR"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6098 $as_echo "$AR" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6105 test -n "$AR" && break
6106 done
6108 if test -z "$AR"; then
6109 ac_ct_AR=$AR
6110 for ac_prog in ar gar
6112 # Extract the first word of "$ac_prog", so it can be a program name with args.
6113 set dummy $ac_prog; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_AR"; then
6120 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_AR="$ac_prog"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6140 if test -n "$ac_ct_AR"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6142 $as_echo "$ac_ct_AR" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6149 test -n "$ac_ct_AR" && break
6150 done
6152 if test "x$ac_ct_AR" = x; then
6153 AR="ar"
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 AR=$ac_ct_AR
6165 if test -n "$ac_tool_prefix"; then
6166 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6167 set dummy ${ac_tool_prefix}strip; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_STRIP+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$STRIP"; then
6174 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 STRIP=$ac_cv_prog_STRIP
6194 if test -n "$STRIP"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6196 $as_echo "$STRIP" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6204 if test -z "$ac_cv_prog_STRIP"; then
6205 ac_ct_STRIP=$STRIP
6206 # Extract the first word of "strip", so it can be a program name with args.
6207 set dummy strip; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ac_ct_STRIP"; then
6214 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ac_ct_STRIP="strip"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6234 if test -n "$ac_ct_STRIP"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6236 $as_echo "$ac_ct_STRIP" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6242 if test "x$ac_ct_STRIP" = x; then
6243 STRIP="strip"
6244 else
6245 case $cross_compiling:$ac_tool_warned in
6246 yes:)
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6249 ac_tool_warned=yes ;;
6250 esac
6251 STRIP=$ac_ct_STRIP
6253 else
6254 STRIP="$ac_cv_prog_STRIP"
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if ${ac_cv_prog_RANLIB+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 if test -n "$RANLIB"; then
6266 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6275 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6279 done
6280 done
6281 IFS=$as_save_IFS
6285 RANLIB=$ac_cv_prog_RANLIB
6286 if test -n "$RANLIB"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6288 $as_echo "$RANLIB" >&6; }
6289 else
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6296 if test -z "$ac_cv_prog_RANLIB"; then
6297 ac_ct_RANLIB=$RANLIB
6298 # Extract the first word of "ranlib", so it can be a program name with args.
6299 set dummy ranlib; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6303 $as_echo_n "(cached) " >&6
6304 else
6305 if test -n "$ac_ct_RANLIB"; then
6306 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6311 IFS=$as_save_IFS
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6315 ac_cv_prog_ac_ct_RANLIB="ranlib"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 break 2
6319 done
6320 done
6321 IFS=$as_save_IFS
6325 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6326 if test -n "$ac_ct_RANLIB"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6328 $as_echo "$ac_ct_RANLIB" >&6; }
6329 else
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6334 if test "x$ac_ct_RANLIB" = x; then
6335 RANLIB=":"
6336 else
6337 case $cross_compiling:$ac_tool_warned in
6338 yes:)
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6342 esac
6343 RANLIB=$ac_ct_RANLIB
6345 else
6346 RANLIB="$ac_cv_prog_RANLIB"
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6350 $as_echo_n "checking whether ln -s works... " >&6; }
6351 LN_S=$as_ln_s
6352 if test "$LN_S" = "ln -s"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6354 $as_echo "yes" >&6; }
6355 else
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6357 $as_echo "no, using $LN_S" >&6; }
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6362 if ${ac_cv_path_GREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 if test -z "$GREP"; then
6366 ac_path_GREP_found=false
6367 # Loop through the user's path and test for each of PROGNAME-LIST
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6371 IFS=$as_save_IFS
6372 test -z "$as_dir" && as_dir=.
6373 for ac_prog in grep ggrep; do
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6376 as_fn_executable_p "$ac_path_GREP" || continue
6377 # Check for GNU ac_path_GREP and select it if it is found.
6378 # Check for GNU $ac_path_GREP
6379 case `"$ac_path_GREP" --version 2>&1` in
6380 *GNU*)
6381 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6383 ac_count=0
6384 $as_echo_n 0123456789 >"conftest.in"
6385 while :
6387 cat "conftest.in" "conftest.in" >"conftest.tmp"
6388 mv "conftest.tmp" "conftest.in"
6389 cp "conftest.in" "conftest.nl"
6390 $as_echo 'GREP' >> "conftest.nl"
6391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6393 as_fn_arith $ac_count + 1 && ac_count=$as_val
6394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6395 # Best one so far, save it but keep looking for a better one
6396 ac_cv_path_GREP="$ac_path_GREP"
6397 ac_path_GREP_max=$ac_count
6399 # 10*(2^10) chars as input seems more than enough
6400 test $ac_count -gt 10 && break
6401 done
6402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6403 esac
6405 $ac_path_GREP_found && break 3
6406 done
6407 done
6408 done
6409 IFS=$as_save_IFS
6410 if test -z "$ac_cv_path_GREP"; then
6411 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6413 else
6414 ac_cv_path_GREP=$GREP
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6419 $as_echo "$ac_cv_path_GREP" >&6; }
6420 GREP="$ac_cv_path_GREP"
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6424 $as_echo_n "checking for egrep... " >&6; }
6425 if ${ac_cv_path_EGREP+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6429 then ac_cv_path_EGREP="$GREP -E"
6430 else
6431 if test -z "$EGREP"; then
6432 ac_path_EGREP_found=false
6433 # Loop through the user's path and test for each of PROGNAME-LIST
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_prog in egrep; do
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6442 as_fn_executable_p "$ac_path_EGREP" || continue
6443 # Check for GNU ac_path_EGREP and select it if it is found.
6444 # Check for GNU $ac_path_EGREP
6445 case `"$ac_path_EGREP" --version 2>&1` in
6446 *GNU*)
6447 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6449 ac_count=0
6450 $as_echo_n 0123456789 >"conftest.in"
6451 while :
6453 cat "conftest.in" "conftest.in" >"conftest.tmp"
6454 mv "conftest.tmp" "conftest.in"
6455 cp "conftest.in" "conftest.nl"
6456 $as_echo 'EGREP' >> "conftest.nl"
6457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6459 as_fn_arith $ac_count + 1 && ac_count=$as_val
6460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6461 # Best one so far, save it but keep looking for a better one
6462 ac_cv_path_EGREP="$ac_path_EGREP"
6463 ac_path_EGREP_max=$ac_count
6465 # 10*(2^10) chars as input seems more than enough
6466 test $ac_count -gt 10 && break
6467 done
6468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6469 esac
6471 $ac_path_EGREP_found && break 3
6472 done
6473 done
6474 done
6475 IFS=$as_save_IFS
6476 if test -z "$ac_cv_path_EGREP"; then
6477 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6479 else
6480 ac_cv_path_EGREP=$EGREP
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6486 $as_echo "$ac_cv_path_EGREP" >&6; }
6487 EGREP="$ac_cv_path_EGREP"
6490 # Extract the first word of "ldconfig", so it can be a program name with args.
6491 set dummy ldconfig; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if ${ac_cv_path_LDCONFIG+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 case $LDCONFIG in
6498 [\\/]* | ?:[\\/]*)
6499 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 for as_dir in /sbin /usr/sbin $PATH
6505 IFS=$as_save_IFS
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6509 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 break 2
6513 done
6514 done
6515 IFS=$as_save_IFS
6517 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6519 esac
6521 LDCONFIG=$ac_cv_path_LDCONFIG
6522 if test -n "$LDCONFIG"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6524 $as_echo "$LDCONFIG" >&6; }
6525 else
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6531 for ac_prog in msgfmt
6533 # Extract the first word of "$ac_prog", so it can be a program name with args.
6534 set dummy $ac_prog; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_MSGFMT+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 if test -n "$MSGFMT"; then
6541 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6546 IFS=$as_save_IFS
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_MSGFMT="$ac_prog"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 break 2
6554 done
6555 done
6556 IFS=$as_save_IFS
6560 MSGFMT=$ac_cv_prog_MSGFMT
6561 if test -n "$MSGFMT"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6563 $as_echo "$MSGFMT" >&6; }
6564 else
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6570 test -n "$MSGFMT" && break
6571 done
6572 test -n "$MSGFMT" || MSGFMT="false"
6574 if ${ac_tool_prefix+:} false; then :
6575 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6576 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$PKG_CONFIG"; then
6583 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6603 if test -n "$PKG_CONFIG"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6605 $as_echo "$PKG_CONFIG" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6613 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6614 if test "x$cross_compiling" = xyes; then :
6616 else
6617 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6618 # Extract the first word of "pkg-config", so it can be a program name with args.
6619 set dummy pkg-config; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$PKG_CONFIG"; then
6626 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_PKG_CONFIG="pkg-config"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6646 if test -n "$PKG_CONFIG"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6648 $as_echo "$PKG_CONFIG" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 else
6657 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6660 if test "x$enable_maintainer_mode" != "xyes"
6661 then
6662 FONTFORGE=""
6663 RSVG=""
6664 CONVERT=""
6665 ICOTOOL=""
6666 else
6667 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6668 for ac_prog in fontforge
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_FONTFORGE+:} false; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 if test -n "$FONTFORGE"; then
6678 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6683 IFS=$as_save_IFS
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_FONTFORGE="$ac_prog"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 break 2
6691 done
6692 done
6693 IFS=$as_save_IFS
6697 FONTFORGE=$ac_cv_prog_FONTFORGE
6698 if test -n "$FONTFORGE"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6700 $as_echo "$FONTFORGE" >&6; }
6701 else
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6707 test -n "$FONTFORGE" && break
6708 done
6709 test -n "$FONTFORGE" || FONTFORGE="false"
6711 for ac_prog in rsvg-convert rsvg
6713 # Extract the first word of "$ac_prog", so it can be a program name with args.
6714 set dummy $ac_prog; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_RSVG+:} false; then :
6718 $as_echo_n "(cached) " >&6
6719 else
6720 if test -n "$RSVG"; then
6721 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6726 IFS=$as_save_IFS
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_RSVG="$ac_prog"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 break 2
6734 done
6735 done
6736 IFS=$as_save_IFS
6740 RSVG=$ac_cv_prog_RSVG
6741 if test -n "$RSVG"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6743 $as_echo "$RSVG" >&6; }
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6750 test -n "$RSVG" && break
6751 done
6752 test -n "$RSVG" || RSVG="false"
6754 for ac_prog in convert
6756 # Extract the first word of "$ac_prog", so it can be a program name with args.
6757 set dummy $ac_prog; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if ${ac_cv_prog_CONVERT+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 if test -n "$CONVERT"; then
6764 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_CONVERT="$ac_prog"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 CONVERT=$ac_cv_prog_CONVERT
6784 if test -n "$CONVERT"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6786 $as_echo "$CONVERT" >&6; }
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6793 test -n "$CONVERT" && break
6794 done
6795 test -n "$CONVERT" || CONVERT="false"
6797 for ac_prog in icotool
6799 # Extract the first word of "$ac_prog", so it can be a program name with args.
6800 set dummy $ac_prog; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_ICOTOOL+:} false; then :
6804 $as_echo_n "(cached) " >&6
6805 else
6806 if test -n "$ICOTOOL"; then
6807 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6808 else
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 for as_dir in $PATH
6812 IFS=$as_save_IFS
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6816 ac_cv_prog_ICOTOOL="$ac_prog"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 break 2
6820 done
6821 done
6822 IFS=$as_save_IFS
6826 ICOTOOL=$ac_cv_prog_ICOTOOL
6827 if test -n "$ICOTOOL"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6829 $as_echo "$ICOTOOL" >&6; }
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6836 test -n "$ICOTOOL" && break
6837 done
6838 test -n "$ICOTOOL" || ICOTOOL="false"
6840 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6841 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6843 if test "$CONVERT" = false
6844 then
6845 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6846 else
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6848 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6849 convert_version=`convert --version | head -n1`
6850 if test "x$convert_version" != "x"
6851 then
6852 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6853 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6854 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6855 then
6856 CONVERT=false
6859 if test "$CONVERT" = false
6860 then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6862 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6863 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6864 else
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6866 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6870 if test "$ICOTOOL" = false
6871 then
6872 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6873 else
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6875 $as_echo_n "checking for recent enough icotool... " >&6; }
6876 icotool_version=`icotool --version | head -n1`
6877 if test "x$icotool_version" != "x"
6878 then
6879 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6880 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6881 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6882 then
6883 ICOTOOL=false
6884 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6887 if test "$ICOTOOL" = false
6888 then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6890 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6891 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6892 else
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6894 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6898 with_gettext=yes
6899 with_gettextpo=yes
6901 enable_werror=yes
6904 test "x$with_gettext" != xno || MSGFMT=false
6905 if test "$MSGFMT" != "false"
6906 then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6908 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6909 if ${wine_cv_msgfmt_contexts+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 cat >conftest.po <<EOF
6913 # comment
6914 msgctxt "ctxt"
6915 msgid "id"
6916 msgstr "str"
6918 if $MSGFMT -o /dev/null conftest.po 2>&5
6919 then
6920 wine_cv_msgfmt_contexts=yes
6921 else
6922 wine_cv_msgfmt_contexts=no
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6926 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6927 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6929 if test "$MSGFMT" = false; then :
6930 case "x$with_gettext" in
6931 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6932 xno) ;;
6933 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6934 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6935 esac
6936 enable_po=${enable_po:-no}
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6941 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6942 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 ac_check_lib_save_LIBS=$LIBS
6946 LIBS="-li386 $LIBS"
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6950 /* Override any GCC internal prototype to avoid an error.
6951 Use char because int might match the return type of a GCC
6952 builtin and then its argument prototype would still apply. */
6953 #ifdef __cplusplus
6954 extern "C"
6955 #endif
6956 char i386_set_ldt ();
6958 main ()
6960 return i386_set_ldt ();
6962 return 0;
6964 _ACEOF
6965 if ac_fn_c_try_link "$LINENO"; then :
6966 ac_cv_lib_i386_i386_set_ldt=yes
6967 else
6968 ac_cv_lib_i386_i386_set_ldt=no
6970 rm -f core conftest.err conftest.$ac_objext \
6971 conftest$ac_exeext conftest.$ac_ext
6972 LIBS=$ac_check_lib_save_LIBS
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6975 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6976 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6977 I386_LIBS="-li386"
6982 OPENGL_LIBS=""
6986 # Check whether --enable-largefile was given.
6987 if test "${enable_largefile+set}" = set; then :
6988 enableval=$enable_largefile;
6991 if test "$enable_largefile" != no; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6994 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6995 if ${ac_cv_sys_largefile_CC+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 ac_cv_sys_largefile_CC=no
6999 if test "$GCC" != yes; then
7000 ac_save_CC=$CC
7001 while :; do
7002 # IRIX 6.2 and later do not support large files by default,
7003 # so use the C compiler's -n32 option if that helps.
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #include <sys/types.h>
7007 /* Check that off_t can represent 2**63 - 1 correctly.
7008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7009 since some C++ compilers masquerading as C compilers
7010 incorrectly reject 9223372036854775807. */
7011 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7013 && LARGE_OFF_T % 2147483647 == 1)
7014 ? 1 : -1];
7016 main ()
7020 return 0;
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 break
7026 rm -f core conftest.err conftest.$ac_objext
7027 CC="$CC -n32"
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_largefile_CC=' -n32'; break
7031 rm -f core conftest.err conftest.$ac_objext
7032 break
7033 done
7034 CC=$ac_save_CC
7035 rm -f conftest.$ac_ext
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7039 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7040 if test "$ac_cv_sys_largefile_CC" != no; then
7041 CC=$CC$ac_cv_sys_largefile_CC
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7045 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7046 if ${ac_cv_sys_file_offset_bits+:} false; then :
7047 $as_echo_n "(cached) " >&6
7048 else
7049 while :; do
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7052 #include <sys/types.h>
7053 /* Check that off_t can represent 2**63 - 1 correctly.
7054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7055 since some C++ compilers masquerading as C compilers
7056 incorrectly reject 9223372036854775807. */
7057 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7059 && LARGE_OFF_T % 2147483647 == 1)
7060 ? 1 : -1];
7062 main ()
7066 return 0;
7068 _ACEOF
7069 if ac_fn_c_try_compile "$LINENO"; then :
7070 ac_cv_sys_file_offset_bits=no; break
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7075 #define _FILE_OFFSET_BITS 64
7076 #include <sys/types.h>
7077 /* Check that off_t can represent 2**63 - 1 correctly.
7078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7079 since some C++ compilers masquerading as C compilers
7080 incorrectly reject 9223372036854775807. */
7081 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7083 && LARGE_OFF_T % 2147483647 == 1)
7084 ? 1 : -1];
7086 main ()
7090 return 0;
7092 _ACEOF
7093 if ac_fn_c_try_compile "$LINENO"; then :
7094 ac_cv_sys_file_offset_bits=64; break
7096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7097 ac_cv_sys_file_offset_bits=unknown
7098 break
7099 done
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7102 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7103 case $ac_cv_sys_file_offset_bits in #(
7104 no | unknown) ;;
7106 cat >>confdefs.h <<_ACEOF
7107 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7108 _ACEOF
7110 esac
7111 rm -rf conftest*
7112 if test $ac_cv_sys_file_offset_bits = unknown; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7114 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7115 if ${ac_cv_sys_large_files+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 while :; do
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <sys/types.h>
7122 /* Check that off_t can represent 2**63 - 1 correctly.
7123 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7124 since some C++ compilers masquerading as C compilers
7125 incorrectly reject 9223372036854775807. */
7126 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7127 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7128 && LARGE_OFF_T % 2147483647 == 1)
7129 ? 1 : -1];
7131 main ()
7135 return 0;
7137 _ACEOF
7138 if ac_fn_c_try_compile "$LINENO"; then :
7139 ac_cv_sys_large_files=no; break
7141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7144 #define _LARGE_FILES 1
7145 #include <sys/types.h>
7146 /* Check that off_t can represent 2**63 - 1 correctly.
7147 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7148 since some C++ compilers masquerading as C compilers
7149 incorrectly reject 9223372036854775807. */
7150 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7151 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7152 && LARGE_OFF_T % 2147483647 == 1)
7153 ? 1 : -1];
7155 main ()
7159 return 0;
7161 _ACEOF
7162 if ac_fn_c_try_compile "$LINENO"; then :
7163 ac_cv_sys_large_files=1; break
7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7166 ac_cv_sys_large_files=unknown
7167 break
7168 done
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7171 $as_echo "$ac_cv_sys_large_files" >&6; }
7172 case $ac_cv_sys_large_files in #(
7173 no | unknown) ;;
7175 cat >>confdefs.h <<_ACEOF
7176 #define _LARGE_FILES $ac_cv_sys_large_files
7177 _ACEOF
7179 esac
7180 rm -rf conftest*
7187 ac_ext=c
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7193 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7194 # On Suns, sometimes $CPP names a directory.
7195 if test -n "$CPP" && test -d "$CPP"; then
7196 CPP=
7198 if test -z "$CPP"; then
7199 if ${ac_cv_prog_CPP+:} false; then :
7200 $as_echo_n "(cached) " >&6
7201 else
7202 # Double quotes because CPP needs to be expanded
7203 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7205 ac_preproc_ok=false
7206 for ac_c_preproc_warn_flag in '' yes
7208 # Use a header file that comes with gcc, so configuring glibc
7209 # with a fresh cross-compiler works.
7210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7211 # <limits.h> exists even on freestanding compilers.
7212 # On the NeXT, cc -E runs the code through the compiler's parser,
7213 # not just through cpp. "Syntax error" is here to catch this case.
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #ifdef __STDC__
7217 # include <limits.h>
7218 #else
7219 # include <assert.h>
7220 #endif
7221 Syntax error
7222 _ACEOF
7223 if ac_fn_c_try_cpp "$LINENO"; then :
7225 else
7226 # Broken: fails on valid input.
7227 continue
7229 rm -f conftest.err conftest.i conftest.$ac_ext
7231 # OK, works on sane cases. Now check whether nonexistent headers
7232 # can be detected and how.
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h. */
7235 #include <ac_nonexistent.h>
7236 _ACEOF
7237 if ac_fn_c_try_cpp "$LINENO"; then :
7238 # Broken: success on invalid input.
7239 continue
7240 else
7241 # Passes both tests.
7242 ac_preproc_ok=:
7243 break
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 done
7248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7249 rm -f conftest.i conftest.err conftest.$ac_ext
7250 if $ac_preproc_ok; then :
7251 break
7254 done
7255 ac_cv_prog_CPP=$CPP
7258 CPP=$ac_cv_prog_CPP
7259 else
7260 ac_cv_prog_CPP=$CPP
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7263 $as_echo "$CPP" >&6; }
7264 ac_preproc_ok=false
7265 for ac_c_preproc_warn_flag in '' yes
7267 # Use a header file that comes with gcc, so configuring glibc
7268 # with a fresh cross-compiler works.
7269 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7270 # <limits.h> exists even on freestanding compilers.
7271 # On the NeXT, cc -E runs the code through the compiler's parser,
7272 # not just through cpp. "Syntax error" is here to catch this case.
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275 #ifdef __STDC__
7276 # include <limits.h>
7277 #else
7278 # include <assert.h>
7279 #endif
7280 Syntax error
7281 _ACEOF
7282 if ac_fn_c_try_cpp "$LINENO"; then :
7284 else
7285 # Broken: fails on valid input.
7286 continue
7288 rm -f conftest.err conftest.i conftest.$ac_ext
7290 # OK, works on sane cases. Now check whether nonexistent headers
7291 # can be detected and how.
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <ac_nonexistent.h>
7295 _ACEOF
7296 if ac_fn_c_try_cpp "$LINENO"; then :
7297 # Broken: success on invalid input.
7298 continue
7299 else
7300 # Passes both tests.
7301 ac_preproc_ok=:
7302 break
7304 rm -f conftest.err conftest.i conftest.$ac_ext
7306 done
7307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7308 rm -f conftest.i conftest.err conftest.$ac_ext
7309 if $ac_preproc_ok; then :
7311 else
7312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7314 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7315 See \`config.log' for more details" "$LINENO" 5; }
7318 ac_ext=c
7319 ac_cpp='$CPP $CPPFLAGS'
7320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7326 $as_echo_n "checking for ANSI C header files... " >&6; }
7327 if ${ac_cv_header_stdc+:} false; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h. */
7332 #include <stdlib.h>
7333 #include <stdarg.h>
7334 #include <string.h>
7335 #include <float.h>
7338 main ()
7342 return 0;
7344 _ACEOF
7345 if ac_fn_c_try_compile "$LINENO"; then :
7346 ac_cv_header_stdc=yes
7347 else
7348 ac_cv_header_stdc=no
7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7352 if test $ac_cv_header_stdc = yes; then
7353 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h. */
7356 #include <string.h>
7358 _ACEOF
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360 $EGREP "memchr" >/dev/null 2>&1; then :
7362 else
7363 ac_cv_header_stdc=no
7365 rm -f conftest*
7369 if test $ac_cv_header_stdc = yes; then
7370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7373 #include <stdlib.h>
7375 _ACEOF
7376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7377 $EGREP "free" >/dev/null 2>&1; then :
7379 else
7380 ac_cv_header_stdc=no
7382 rm -f conftest*
7386 if test $ac_cv_header_stdc = yes; then
7387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7388 if test "$cross_compiling" = yes; then :
7390 else
7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7392 /* end confdefs.h. */
7393 #include <ctype.h>
7394 #include <stdlib.h>
7395 #if ((' ' & 0x0FF) == 0x020)
7396 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7397 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7398 #else
7399 # define ISLOWER(c) \
7400 (('a' <= (c) && (c) <= 'i') \
7401 || ('j' <= (c) && (c) <= 'r') \
7402 || ('s' <= (c) && (c) <= 'z'))
7403 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7404 #endif
7406 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7408 main ()
7410 int i;
7411 for (i = 0; i < 256; i++)
7412 if (XOR (islower (i), ISLOWER (i))
7413 || toupper (i) != TOUPPER (i))
7414 return 2;
7415 return 0;
7417 _ACEOF
7418 if ac_fn_c_try_run "$LINENO"; then :
7420 else
7421 ac_cv_header_stdc=no
7423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7424 conftest.$ac_objext conftest.beam conftest.$ac_ext
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7430 $as_echo "$ac_cv_header_stdc" >&6; }
7431 if test $ac_cv_header_stdc = yes; then
7433 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7437 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7438 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7439 inttypes.h stdint.h unistd.h
7440 do :
7441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7442 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7444 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7445 cat >>confdefs.h <<_ACEOF
7446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7447 _ACEOF
7451 done
7454 for ac_header in \
7455 AL/al.h \
7456 ApplicationServices/ApplicationServices.h \
7457 CL/cl.h \
7458 Carbon/Carbon.h \
7459 CommonCrypto/CommonCryptor.h \
7460 CoreAudio/CoreAudio.h \
7461 DiskArbitration/DiskArbitration.h \
7462 EGL/egl.h \
7463 IOKit/IOKitLib.h \
7464 IOKit/hid/IOHIDLib.h \
7465 OpenAL/al.h \
7466 OpenCL/opencl.h \
7467 QuickTime/ImageCompression.h \
7468 Security/Security.h \
7469 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7470 SystemConfiguration/SCNetworkConfiguration.h \
7471 alias.h \
7472 arpa/inet.h \
7473 arpa/nameser.h \
7474 asm/types.h \
7475 asm/user.h \
7476 dirent.h \
7477 dlfcn.h \
7478 elf.h \
7479 float.h \
7480 fnmatch.h \
7481 getopt.h \
7482 gettext-po.h \
7483 grp.h \
7484 gsm.h \
7485 gsm/gsm.h \
7486 ieeefp.h \
7487 inet/mib2.h \
7488 kstat.h \
7489 libproc.h \
7490 link.h \
7491 linux/cdrom.h \
7492 linux/filter.h \
7493 linux/hdreg.h \
7494 linux/hidraw.h \
7495 linux/input.h \
7496 linux/ioctl.h \
7497 linux/joystick.h \
7498 linux/major.h \
7499 linux/param.h \
7500 linux/serial.h \
7501 linux/types.h \
7502 linux/ucdrom.h \
7503 lwp.h \
7504 mach-o/loader.h \
7505 mach/mach.h \
7506 machine/cpu.h \
7507 machine/sysarch.h \
7508 mntent.h \
7509 netdb.h \
7510 netinet/in.h \
7511 netinet/in_systm.h \
7512 netinet/tcp.h \
7513 netinet/tcp_fsm.h \
7514 pcap/pcap.h \
7515 poll.h \
7516 port.h \
7517 pthread.h \
7518 pwd.h \
7519 sasl/sasl.h \
7520 sched.h \
7521 scsi/scsi.h \
7522 scsi/scsi_ioctl.h \
7523 scsi/sg.h \
7524 stdint.h \
7525 stropts.h \
7526 sys/attr.h \
7527 sys/auxv.h \
7528 sys/cdio.h \
7529 sys/epoll.h \
7530 sys/event.h \
7531 sys/filio.h \
7532 sys/ioctl.h \
7533 sys/ipc.h \
7534 sys/link.h \
7535 sys/mman.h \
7536 sys/modem.h \
7537 sys/msg.h \
7538 sys/mtio.h \
7539 sys/param.h \
7540 sys/poll.h \
7541 sys/prctl.h \
7542 sys/protosw.h \
7543 sys/ptrace.h \
7544 sys/queue.h \
7545 sys/random.h \
7546 sys/resource.h \
7547 sys/scsiio.h \
7548 sys/shm.h \
7549 sys/signal.h \
7550 sys/socket.h \
7551 sys/socketvar.h \
7552 sys/sockio.h \
7553 sys/statvfs.h \
7554 sys/strtio.h \
7555 sys/syscall.h \
7556 sys/sysinfo.h \
7557 sys/tihdr.h \
7558 sys/time.h \
7559 sys/timeout.h \
7560 sys/times.h \
7561 sys/uio.h \
7562 sys/user.h \
7563 sys/utsname.h \
7564 sys/vnode.h \
7565 sys/wait.h \
7566 syscall.h \
7567 termios.h \
7568 unistd.h \
7569 utime.h \
7570 valgrind/memcheck.h \
7571 valgrind/valgrind.h
7573 do :
7574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7575 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7577 cat >>confdefs.h <<_ACEOF
7578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7579 _ACEOF
7583 done
7585 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7586 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7588 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7593 if test $ac_cv_header_sys_mkdev_h = no; then
7594 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7595 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7597 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7604 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7605 if ${ac_cv_header_stat_broken+:} false; then :
7606 $as_echo_n "(cached) " >&6
7607 else
7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7610 #include <sys/types.h>
7611 #include <sys/stat.h>
7613 #if defined S_ISBLK && defined S_IFDIR
7614 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7615 #endif
7617 #if defined S_ISBLK && defined S_IFCHR
7618 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7619 #endif
7621 #if defined S_ISLNK && defined S_IFREG
7622 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7623 #endif
7625 #if defined S_ISSOCK && defined S_IFREG
7626 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7627 #endif
7629 _ACEOF
7630 if ac_fn_c_try_compile "$LINENO"; then :
7631 ac_cv_header_stat_broken=no
7632 else
7633 ac_cv_header_stat_broken=yes
7635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7638 $as_echo "$ac_cv_header_stat_broken" >&6; }
7639 if test $ac_cv_header_stat_broken = yes; then
7641 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7647 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7648 do :
7649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7651 #ifdef HAVE_SYS_PARAM_H
7652 # include <sys/param.h>
7653 #endif
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7665 saved_sysctl_h_CFLAGS=$CFLAGS
7666 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7667 for ac_header in sys/sysctl.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7670 #ifdef HAVE_SYS_PARAM_H
7671 # include <sys/param.h>
7672 #endif
7674 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define HAVE_SYS_SYSCTL_H 1
7677 _ACEOF
7681 done
7683 CFLAGS=$saved_sysctl_h_CFLAGS
7685 for ac_header in \
7686 netinet/ip.h \
7687 net/if.h \
7688 net/if_arp.h \
7689 net/if_dl.h \
7690 net/if_types.h \
7691 net/route.h \
7692 netinet/if_ether.h \
7693 netinet/if_inarp.h \
7694 netinet/in_pcb.h \
7695 netinet/ip_icmp.h \
7696 netinet/ip_var.h \
7697 netinet/udp.h \
7698 netipx/ipx.h \
7699 sys/un.h \
7701 do :
7702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7704 #ifdef HAVE_SYS_SOCKET_H
7705 # include <sys/socket.h>
7706 #endif
7707 #ifdef HAVE_SYS_SOCKETVAR_H
7708 # include <sys/socketvar.h>
7709 #endif
7710 #ifdef HAVE_NET_ROUTE_H
7711 # include <net/route.h>
7712 #endif
7713 #ifdef HAVE_NETINET_IN_H
7714 # include <netinet/in.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IN_SYSTM_H
7717 # include <netinet/in_systm.h>
7718 #endif
7719 #ifdef HAVE_NET_IF_H
7720 # include <net/if.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IP_H
7723 # include <netinet/ip.h>
7724 #endif
7726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7727 cat >>confdefs.h <<_ACEOF
7728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 _ACEOF
7733 done
7736 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7737 do :
7738 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7739 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7740 #ifdef HAVE_ALIAS_H
7741 # include <alias.h>
7742 #endif
7743 #ifdef HAVE_SYS_SOCKET_H
7744 # include <sys/socket.h>
7745 #endif
7746 #ifdef HAVE_SYS_SOCKETVAR_H
7747 # include <sys/socketvar.h>
7748 #endif
7749 #ifdef HAVE_SYS_TIMEOUT_H
7750 # include <sys/timeout.h>
7751 #endif
7752 #ifdef HAVE_NETINET_IN_H
7753 # include <netinet/in.h>
7754 #endif
7755 #ifdef HAVE_NETINET_IN_SYSTM_H
7756 # include <netinet/in_systm.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IP_H
7759 # include <netinet/ip.h>
7760 #endif
7761 #ifdef HAVE_NETINET_IP_VAR_H
7762 # include <netinet/ip_var.h>
7763 #endif
7764 #ifdef HAVE_NETINET_IP_ICMP_H
7765 # include <netinet/ip_icmp.h>
7766 #endif
7767 #ifdef HAVE_NETINET_UDP_H
7768 # include <netinet/udp.h>
7769 #endif
7770 #ifdef HAVE_NETINET_TCP_H
7771 # include <netinet/tcp.h>
7772 #endif
7773 #ifdef HAVE_NETINET_TCP_TIMER_H
7774 #include <netinet/tcp_timer.h>
7775 #endif
7777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 _ACEOF
7784 done
7787 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7788 do :
7789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7791 #ifdef HAVE_ASM_TYPES_H
7792 # include <asm/types.h>
7793 #endif
7794 #ifdef HAVE_SYS_SOCKET_H
7795 # include <sys/socket.h>
7796 #endif
7797 #ifdef HAVE_LINUX_TYPES_H
7798 # include <linux/types.h>
7799 #endif
7801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7804 _ACEOF
7808 done
7811 for ac_header in resolv.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7814 #ifdef HAVE_SYS_SOCKET_H
7815 # include <sys/socket.h>
7816 #endif
7817 #ifdef HAVE_NETINET_IN_H
7818 # include <netinet/in.h>
7819 #endif
7820 #ifdef HAVE_ARPA_NAMESER_H
7821 # include <arpa/nameser.h>
7822 #endif
7824 if test "x$ac_cv_header_resolv_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_RESOLV_H 1
7827 _ACEOF
7831 done
7834 for ac_header in ifaddrs.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7838 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_IFADDRS_H 1
7841 _ACEOF
7845 done
7848 for ac_header in sys/ucontext.h
7849 do :
7850 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7852 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define HAVE_SYS_UCONTEXT_H 1
7855 _ACEOF
7859 done
7862 for ac_header in sys/thr.h
7863 do :
7864 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7865 #ifdef HAVE_SYS_UCONTEXT_H
7866 #include <sys/ucontext.h>
7867 #endif
7869 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7870 cat >>confdefs.h <<_ACEOF
7871 #define HAVE_SYS_THR_H 1
7872 _ACEOF
7876 done
7879 for ac_header in pthread_np.h
7880 do :
7881 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7882 #include <pthread.h>
7883 #endif
7885 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7886 cat >>confdefs.h <<_ACEOF
7887 #define HAVE_PTHREAD_NP_H 1
7888 _ACEOF
7892 done
7895 for ac_header in linux/videodev2.h
7896 do :
7897 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7898 #include <sys/time.h>
7899 #endif
7900 #include <sys/types.h>
7901 #ifdef HAVE_ASM_TYPES_H
7902 #include <asm/types.h>
7903 #endif
7905 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_LINUX_VIDEODEV2_H 1
7908 _ACEOF
7912 done
7915 for ac_header in libprocstat.h
7916 do :
7917 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7918 #include <sys/param.h>
7919 #endif
7920 #ifdef HAVE_SYS_QUEUE_H
7921 #include <sys/queue.h>
7922 #endif
7923 #ifdef HAVE_SYS_SOCKET_H
7924 #include <sys/socket.h>
7925 #endif
7927 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_LIBPROCSTAT_H 1
7930 _ACEOF
7934 done
7938 DLLFLAGS="-D_REENTRANT"
7940 LDDLLFLAGS=""
7942 LDEXECFLAGS=""
7944 TOP_INSTALL_LIB=""
7946 TOP_INSTALL_DEV=""
7948 WINELOADER_LDFLAGS=""
7950 WINEPRELOADER_LDFLAGS=""
7952 LIBEXT="so"
7953 DLLEXT=".so"
7954 # Extract the first word of "ldd", so it can be a program name with args.
7955 set dummy ldd; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_path_LDD+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 case $LDD in
7962 [\\/]* | ?:[\\/]*)
7963 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 as_dummy="/sbin:/usr/sbin:$PATH"
7968 for as_dir in $as_dummy
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7982 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7984 esac
7986 LDD=$ac_cv_path_LDD
7987 if test -n "$LDD"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7989 $as_echo "$LDD" >&6; }
7990 else
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7996 if test -n "$ac_tool_prefix"; then
7997 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7998 set dummy ${ac_tool_prefix}otool; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000 $as_echo_n "checking for $ac_word... " >&6; }
8001 if ${ac_cv_prog_OTOOL+:} false; then :
8002 $as_echo_n "(cached) " >&6
8003 else
8004 if test -n "$OTOOL"; then
8005 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8006 else
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 for as_dir in $PATH
8010 IFS=$as_save_IFS
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 break 2
8018 done
8019 done
8020 IFS=$as_save_IFS
8024 OTOOL=$ac_cv_prog_OTOOL
8025 if test -n "$OTOOL"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8027 $as_echo "$OTOOL" >&6; }
8028 else
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030 $as_echo "no" >&6; }
8035 if test -z "$ac_cv_prog_OTOOL"; then
8036 ac_ct_OTOOL=$OTOOL
8037 # Extract the first word of "otool", so it can be a program name with args.
8038 set dummy otool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 if test -n "$ac_ct_OTOOL"; then
8045 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8046 else
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 for as_dir in $PATH
8050 IFS=$as_save_IFS
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_ac_ct_OTOOL="otool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 break 2
8058 done
8059 done
8060 IFS=$as_save_IFS
8064 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8065 if test -n "$ac_ct_OTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8067 $as_echo "$ac_ct_OTOOL" >&6; }
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8073 if test "x$ac_ct_OTOOL" = x; then
8074 OTOOL="otool"
8075 else
8076 case $cross_compiling:$ac_tool_warned in
8077 yes:)
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8080 ac_tool_warned=yes ;;
8081 esac
8082 OTOOL=$ac_ct_OTOOL
8084 else
8085 OTOOL="$ac_cv_prog_OTOOL"
8088 if test -n "$ac_tool_prefix"; then
8089 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8090 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 $as_echo_n "checking for $ac_word... " >&6; }
8093 if ${ac_cv_prog_READELF+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 if test -n "$READELF"; then
8097 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8098 else
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 for as_dir in $PATH
8102 IFS=$as_save_IFS
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8106 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 break 2
8110 done
8111 done
8112 IFS=$as_save_IFS
8116 READELF=$ac_cv_prog_READELF
8117 if test -n "$READELF"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8119 $as_echo "$READELF" >&6; }
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8127 if test -z "$ac_cv_prog_READELF"; then
8128 ac_ct_READELF=$READELF
8129 # Extract the first word of "readelf", so it can be a program name with args.
8130 set dummy readelf; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132 $as_echo_n "checking for $ac_word... " >&6; }
8133 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 if test -n "$ac_ct_READELF"; then
8137 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8138 else
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 for as_dir in $PATH
8142 IFS=$as_save_IFS
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8146 ac_cv_prog_ac_ct_READELF="readelf"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 break 2
8150 done
8151 done
8152 IFS=$as_save_IFS
8156 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8157 if test -n "$ac_ct_READELF"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8159 $as_echo "$ac_ct_READELF" >&6; }
8160 else
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162 $as_echo "no" >&6; }
8165 if test "x$ac_ct_READELF" = x; then
8166 READELF="true"
8167 else
8168 case $cross_compiling:$ac_tool_warned in
8169 yes:)
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8172 ac_tool_warned=yes ;;
8173 esac
8174 READELF=$ac_ct_READELF
8176 else
8177 READELF="$ac_cv_prog_READELF"
8180 wine_rules_file=conf$$rules.make
8181 rm -f $wine_rules_file
8182 SUBDIRS=""
8184 DISABLED_SUBDIRS=""
8186 CONFIGURE_TARGETS=""
8189 wine_fn_append_file ()
8191 as_fn_append $1 " \\$as_nl $2"
8194 wine_fn_append_rule ()
8196 $as_echo "$1" >>$wine_rules_file
8199 wine_fn_config_makefile ()
8201 wine_fn_append_file SUBDIRS $1
8202 if eval test \"x\$"$2"\" = x"no"; then :
8203 wine_fn_append_file DISABLED_SUBDIRS $1
8207 wine_fn_config_symlink ()
8209 ac_links=$@
8210 wine_fn_append_rule \
8211 "$ac_links:
8212 @./config.status \$@"
8213 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8216 wine_binary="wine"
8217 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8218 WINELOADER_PROGRAMS="$wine_binary"
8220 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8222 case $host_os in
8223 cygwin*|mingw32*)
8224 if test -n "$ac_tool_prefix"; then
8225 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8226 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_DLLTOOL+:} false; then :
8230 $as_echo_n "(cached) " >&6
8231 else
8232 if test -n "$DLLTOOL"; then
8233 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8238 IFS=$as_save_IFS
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 break 2
8246 done
8247 done
8248 IFS=$as_save_IFS
8252 DLLTOOL=$ac_cv_prog_DLLTOOL
8253 if test -n "$DLLTOOL"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8255 $as_echo "$DLLTOOL" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8263 if test -z "$ac_cv_prog_DLLTOOL"; then
8264 ac_ct_DLLTOOL=$DLLTOOL
8265 # Extract the first word of "dlltool", so it can be a program name with args.
8266 set dummy dlltool; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 if test -n "$ac_ct_DLLTOOL"; then
8273 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8274 else
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in $PATH
8278 IFS=$as_save_IFS
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 break 2
8286 done
8287 done
8288 IFS=$as_save_IFS
8292 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8293 if test -n "$ac_ct_DLLTOOL"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8295 $as_echo "$ac_ct_DLLTOOL" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8301 if test "x$ac_ct_DLLTOOL" = x; then
8302 DLLTOOL="false"
8303 else
8304 case $cross_compiling:$ac_tool_warned in
8305 yes:)
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8308 ac_tool_warned=yes ;;
8309 esac
8310 DLLTOOL=$ac_ct_DLLTOOL
8312 else
8313 DLLTOOL="$ac_cv_prog_DLLTOOL"
8316 LIBEXT="dll"
8317 DLLEXT=""
8318 case $host_cpu in
8319 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8320 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8321 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8329 _ACEOF
8330 if ac_fn_c_try_link "$LINENO"; then :
8331 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8332 else
8333 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 CFLAGS=$ac_wine_try_cflags_saved
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8340 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8341 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8342 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8343 fi ;;
8344 esac
8345 enable_iphlpapi=${enable_iphlpapi:-no}
8346 enable_ws2_32=${enable_ws2_32:-no}
8347 enable_loader=${enable_loader:-no}
8348 enable_server=${enable_server:-no}
8349 with_x=${with_x:-no}
8350 with_pthread=${with_pthread:-no}
8353 darwin*|macosx*)
8354 ac_ext=m
8355 ac_cpp='$OBJCPP $CPPFLAGS'
8356 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8360 ac_ext=m
8361 ac_cpp='$OBJCPP $CPPFLAGS'
8362 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8363 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8364 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8365 if test -n "$ac_tool_prefix"; then
8366 for ac_prog in gcc objcc objc cc CC
8368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8371 $as_echo_n "checking for $ac_word... " >&6; }
8372 if ${ac_cv_prog_OBJC+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 if test -n "$OBJC"; then
8376 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8377 else
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 for as_dir in $PATH
8381 IFS=$as_save_IFS
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8385 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 break 2
8389 done
8390 done
8391 IFS=$as_save_IFS
8395 OBJC=$ac_cv_prog_OBJC
8396 if test -n "$OBJC"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8398 $as_echo "$OBJC" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 test -n "$OBJC" && break
8406 done
8408 if test -z "$OBJC"; then
8409 ac_ct_OBJC=$OBJC
8410 for ac_prog in gcc objcc objc cc CC
8412 # Extract the first word of "$ac_prog", so it can be a program name with args.
8413 set dummy $ac_prog; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 if test -n "$ac_ct_OBJC"; then
8420 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8421 else
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 for as_dir in $PATH
8425 IFS=$as_save_IFS
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431 break 2
8433 done
8434 done
8435 IFS=$as_save_IFS
8439 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8440 if test -n "$ac_ct_OBJC"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8442 $as_echo "$ac_ct_OBJC" >&6; }
8443 else
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8449 test -n "$ac_ct_OBJC" && break
8450 done
8452 if test "x$ac_ct_OBJC" = x; then
8453 OBJC="gcc"
8454 else
8455 case $cross_compiling:$ac_tool_warned in
8456 yes:)
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8459 ac_tool_warned=yes ;;
8460 esac
8461 OBJC=$ac_ct_OBJC
8465 # Provide some information about the compiler.
8466 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8467 set X $ac_compile
8468 ac_compiler=$2
8469 for ac_option in --version -v -V -qversion; do
8470 { { ac_try="$ac_compiler $ac_option >&5"
8471 case "(($ac_try" in
8472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8473 *) ac_try_echo=$ac_try;;
8474 esac
8475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8476 $as_echo "$ac_try_echo"; } >&5
8477 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8478 ac_status=$?
8479 if test -s conftest.err; then
8480 sed '10a\
8481 ... rest of stderr output deleted ...
8482 10q' conftest.err >conftest.er1
8483 cat conftest.er1 >&5
8485 rm -f conftest.er1 conftest.err
8486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8487 test $ac_status = 0; }
8488 done
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8491 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8492 if ${ac_cv_objc_compiler_gnu+:} false; then :
8493 $as_echo_n "(cached) " >&6
8494 else
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8499 main ()
8501 #ifndef __GNUC__
8502 choke me
8503 #endif
8506 return 0;
8508 _ACEOF
8509 if ac_fn_objc_try_compile "$LINENO"; then :
8510 ac_compiler_gnu=yes
8511 else
8512 ac_compiler_gnu=no
8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8519 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8520 if test $ac_compiler_gnu = yes; then
8521 GOBJC=yes
8522 else
8523 GOBJC=
8525 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8526 ac_save_OBJCFLAGS=$OBJCFLAGS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8528 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8529 if ${ac_cv_prog_objc_g+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_save_objc_werror_flag=$ac_objc_werror_flag
8533 ac_objc_werror_flag=yes
8534 ac_cv_prog_objc_g=no
8535 OBJCFLAGS="-g"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8540 main ()
8544 return 0;
8546 _ACEOF
8547 if ac_fn_objc_try_compile "$LINENO"; then :
8548 ac_cv_prog_objc_g=yes
8549 else
8550 OBJCFLAGS=""
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8555 main ()
8559 return 0;
8561 _ACEOF
8562 if ac_fn_objc_try_compile "$LINENO"; then :
8564 else
8565 ac_objc_werror_flag=$ac_save_objc_werror_flag
8566 OBJCFLAGS="-g"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8571 main ()
8575 return 0;
8577 _ACEOF
8578 if ac_fn_objc_try_compile "$LINENO"; then :
8579 ac_cv_prog_objc_g=yes
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 ac_objc_werror_flag=$ac_save_objc_werror_flag
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8589 $as_echo "$ac_cv_prog_objc_g" >&6; }
8590 if test "$ac_test_OBJCFLAGS" = set; then
8591 OBJCFLAGS=$ac_save_OBJCFLAGS
8592 elif test $ac_cv_prog_objc_g = yes; then
8593 if test "$GOBJC" = yes; then
8594 OBJCFLAGS="-g -O2"
8595 else
8596 OBJCFLAGS="-g"
8598 else
8599 if test "$GOBJC" = yes; then
8600 OBJCFLAGS="-O2"
8601 else
8602 OBJCFLAGS=
8605 ac_ext=m
8606 ac_cpp='$OBJCPP $CPPFLAGS'
8607 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8612 ac_ext=m
8613 ac_cpp='$OBJCPP $CPPFLAGS'
8614 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8618 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8619 if test -z "$OBJCPP"; then
8620 if ${ac_cv_prog_OBJCPP+:} false; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 # Double quotes because OBJCPP needs to be expanded
8624 for OBJCPP in "$OBJC -E" "/lib/cpp"
8626 ac_preproc_ok=false
8627 for ac_objc_preproc_warn_flag in '' yes
8629 # Use a header file that comes with gcc, so configuring glibc
8630 # with a fresh cross-compiler works.
8631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8632 # <limits.h> exists even on freestanding compilers.
8633 # On the NeXT, cc -E runs the code through the compiler's parser,
8634 # not just through cpp. "Syntax error" is here to catch this case.
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 #ifdef __STDC__
8638 # include <limits.h>
8639 #else
8640 # include <assert.h>
8641 #endif
8642 Syntax error
8643 _ACEOF
8644 if ac_fn_objc_try_cpp "$LINENO"; then :
8646 else
8647 # Broken: fails on valid input.
8648 continue
8650 rm -f conftest.err conftest.i conftest.$ac_ext
8652 # OK, works on sane cases. Now check whether nonexistent headers
8653 # can be detected and how.
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 #include <ac_nonexistent.h>
8657 _ACEOF
8658 if ac_fn_objc_try_cpp "$LINENO"; then :
8659 # Broken: success on invalid input.
8660 continue
8661 else
8662 # Passes both tests.
8663 ac_preproc_ok=:
8664 break
8666 rm -f conftest.err conftest.i conftest.$ac_ext
8668 done
8669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8670 rm -f conftest.i conftest.err conftest.$ac_ext
8671 if $ac_preproc_ok; then :
8672 break
8675 done
8676 ac_cv_prog_OBJCPP=$OBJCPP
8679 OBJCPP=$ac_cv_prog_OBJCPP
8680 else
8681 ac_cv_prog_OBJCPP=$OBJCPP
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8684 $as_echo "$OBJCPP" >&6; }
8685 ac_preproc_ok=false
8686 for ac_objc_preproc_warn_flag in '' yes
8688 # Use a header file that comes with gcc, so configuring glibc
8689 # with a fresh cross-compiler works.
8690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8691 # <limits.h> exists even on freestanding compilers.
8692 # On the NeXT, cc -E runs the code through the compiler's parser,
8693 # not just through cpp. "Syntax error" is here to catch this case.
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 #ifdef __STDC__
8697 # include <limits.h>
8698 #else
8699 # include <assert.h>
8700 #endif
8701 Syntax error
8702 _ACEOF
8703 if ac_fn_objc_try_cpp "$LINENO"; then :
8705 else
8706 # Broken: fails on valid input.
8707 continue
8709 rm -f conftest.err conftest.i conftest.$ac_ext
8711 # OK, works on sane cases. Now check whether nonexistent headers
8712 # can be detected and how.
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 #include <ac_nonexistent.h>
8716 _ACEOF
8717 if ac_fn_objc_try_cpp "$LINENO"; then :
8718 # Broken: success on invalid input.
8719 continue
8720 else
8721 # Passes both tests.
8722 ac_preproc_ok=:
8723 break
8725 rm -f conftest.err conftest.i conftest.$ac_ext
8727 done
8728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8729 rm -f conftest.i conftest.err conftest.$ac_ext
8730 if $ac_preproc_ok; then :
8732 else
8733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8735 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8736 See \`config.log' for more details" "$LINENO" 5; }
8739 ac_ext=m
8740 ac_cpp='$OBJCPP $CPPFLAGS'
8741 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8742 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8743 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8746 for ac_header in Metal/Metal.h
8747 do :
8748 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8749 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8750 cat >>confdefs.h <<_ACEOF
8751 #define HAVE_METAL_METAL_H 1
8752 _ACEOF
8756 done
8758 ac_ext=c
8759 ac_cpp='$CPP $CPPFLAGS'
8760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8764 LIBEXT="dylib"
8765 DLLFLAGS="$DLLFLAGS -fPIC"
8766 LDDLLFLAGS="-fPIC"
8767 COREFOUNDATION_LIBS="-framework CoreFoundation"
8769 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8771 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8773 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8775 CORESERVICES_LIBS="-framework CoreServices"
8777 APPKIT_LIBS="-framework AppKit"
8779 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8782 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8784 wine_can_build_preloader=yes
8785 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8788 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__no_new_main__e__main=yes
8799 else
8800 ac_cv_cflags__Wl__no_new_main__e__main=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8807 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8808 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8809 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8811 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8812 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_wine_try_cflags_saved=$CFLAGS
8816 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8820 _ACEOF
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8823 else
8824 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 CFLAGS=$ac_wine_try_cflags_saved
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8831 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8832 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8833 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8836 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8837 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8848 else
8849 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8856 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8857 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8858 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8859 else
8860 wine_can_build_preloader=no
8863 else
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8865 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8866 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_wine_try_cflags_saved=$CFLAGS
8870 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 int main(int argc, char **argv) { return 0; }
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8877 else
8878 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8885 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8886 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8887 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8890 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8891 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 ac_wine_try_cflags_saved=$CFLAGS
8895 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8898 int main(int argc, char **argv) { return 0; }
8899 _ACEOF
8900 if ac_fn_c_try_link "$LINENO"; then :
8901 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8902 else
8903 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 CFLAGS=$ac_wine_try_cflags_saved
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8910 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8911 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8912 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8913 else
8914 wine_can_build_preloader=no
8918 if test "$wine_can_build_preloader" = "yes"
8919 then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8921 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8922 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 ac_wine_try_cflags_saved=$CFLAGS
8926 CFLAGS="$CFLAGS -Wl,-no_pie"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8929 int main(int argc, char **argv) { return 0; }
8930 _ACEOF
8931 if ac_fn_c_try_link "$LINENO"; then :
8932 ac_cv_cflags__Wl__no_pie=yes
8933 else
8934 ac_cv_cflags__Wl__no_pie=no
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 CFLAGS=$ac_wine_try_cflags_saved
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8941 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8942 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8943 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8945 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8946 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8947 else
8948 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8951 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8952 then
8953 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8956 if test "$ac_cv_header_Security_Security_h" = "yes"
8957 then
8958 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $SECURITY_LIBS"
8962 for ac_func in SSLCopyPeerCertificates
8963 do :
8964 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8965 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8968 _ACEOF
8971 done
8973 LIBS="$ac_save_LIBS"
8975 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8976 then
8977 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8979 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8981 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8982 then
8983 OPENAL_LIBS="-framework OpenAL"
8986 cat >>confdefs.h <<_ACEOF
8987 #define HAVE_OPENAL 1
8988 _ACEOF
8990 ac_cv_lib_openal=yes
8992 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8993 then
8994 OPENCL_LIBS="-framework OpenCL"
8996 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8998 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8999 then
9000 ac_save_LIBS="$LIBS"
9001 LIBS="$LIBS $IOKIT_LIBS"
9002 for ac_func in IOHIDManagerCreate
9003 do :
9004 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9005 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9006 cat >>confdefs.h <<_ACEOF
9007 #define HAVE_IOHIDMANAGERCREATE 1
9008 _ACEOF
9011 done
9013 LIBS="$ac_save_LIBS"
9016 if test "x$with_quicktime" != "xno"
9017 then
9018 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9019 then
9020 ac_save_LIBS="$LIBS"
9021 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9023 $as_echo_n "checking for the QuickTime framework... " >&6; }
9024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9026 #include <QuickTime/ImageCompression.h>
9028 main ()
9030 CodecManagerVersion(NULL);
9032 return 0;
9034 _ACEOF
9035 if ac_fn_c_try_link "$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9037 $as_echo "yes" >&6; }
9038 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9040 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9041 else
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9044 ac_cv_header_QuickTime_ImageCompression_h=no
9046 rm -f core conftest.err conftest.$ac_objext \
9047 conftest$ac_exeext conftest.$ac_ext
9048 LIBS="$ac_save_LIBS"
9051 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9052 case "x$with_quicktime" in
9053 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9054 xno) ;;
9055 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9056 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9057 esac
9061 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9062 then
9063 CARBON_LIBS="-framework Carbon"
9066 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9067 then
9068 METAL_LIBS="-framework Metal -framework QuartzCore"
9072 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9073 then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9075 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9076 ac_ext=m
9077 ac_cpp='$OBJCPP $CPPFLAGS'
9078 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9079 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9080 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 #include <Metal/Metal.h>
9086 main ()
9088 id<MTLDevice> device; device.registryID;
9090 return 0;
9092 _ACEOF
9093 if ac_fn_objc_try_compile "$LINENO"; then :
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9095 $as_echo "yes" >&6; }
9097 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9099 else
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9101 $as_echo "no" >&6; }
9103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9104 ac_ext=c
9105 ac_cpp='$CPP $CPPFLAGS'
9106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9112 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9113 then
9114 ac_save_LIBS="$LIBS"
9115 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9116 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9117 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9118 enable_winemac_drv=${enable_winemac_drv:-yes}
9121 LIBS="$ac_save_LIBS"
9124 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9126 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9128 WINELOADER_DEPENDS="wine_info.plist"
9130 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9133 linux-android*)
9134 DLLFLAGS="$DLLFLAGS -fPIC"
9135 LDDLLFLAGS="-fPIC"
9136 LDEXECFLAGS="-Wl,-pie"
9137 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9139 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9140 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_wine_try_cflags_saved=$CFLAGS
9144 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 int main(int argc, char **argv) { return 0; }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9151 else
9152 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 CFLAGS=$ac_wine_try_cflags_saved
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9159 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9160 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9161 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9163 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9166 $as_echo_n "checking for -lEGL... " >&6; }
9167 if ${ac_cv_lib_soname_EGL+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_soname_save_LIBS=$LIBS
9171 LIBS="-lEGL $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char eglGetProcAddress ();
9183 main ()
9185 return eglGetProcAddress ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 case "$LIBEXT" in
9192 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9193 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'` ;;
9194 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9197 fi ;;
9198 esac
9199 else
9200 ac_cv_lib_soname_EGL=
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_soname_save_LIBS
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9208 $as_echo "not found" >&6; }
9210 else
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9212 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9214 cat >>confdefs.h <<_ACEOF
9215 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9216 _ACEOF
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9221 $as_echo_n "checking for -lGLESv2... " >&6; }
9222 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_soname_save_LIBS=$LIBS
9226 LIBS="-lGLESv2 $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char glFlush ();
9238 main ()
9240 return glFlush ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 case "$LIBEXT" in
9247 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9248 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'` ;;
9249 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9252 fi ;;
9253 esac
9254 else
9255 ac_cv_lib_soname_GLESv2=
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_soname_save_LIBS
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9267 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9269 cat >>confdefs.h <<_ACEOF
9270 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9271 _ACEOF
9276 if test "x$exec_prefix" = xNONE
9277 then
9278 case $host_cpu in
9279 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9280 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9281 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9282 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9283 esac
9288 case $host_cpu in
9289 *i[3456789]86*)
9290 DLLFLAGS="$DLLFLAGS -fno-PIC"
9291 LDDLLFLAGS="-fno-PIC"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9293 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9294 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9295 $as_echo_n "(cached) " >&6
9296 else
9297 ac_wine_try_cflags_saved=$CFLAGS
9298 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9301 int main(int argc, char **argv) { return 0; }
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9305 else
9306 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 CFLAGS=$ac_wine_try_cflags_saved
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9313 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9314 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9315 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9319 DLLFLAGS="$DLLFLAGS -fPIC"
9320 LDDLLFLAGS="-fPIC" ;;
9321 esac
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9323 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9324 if ${ac_cv_c_dll_gnuelf+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_wine_try_cflags_saved=$CFLAGS
9328 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 void myfunc() {}
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9335 else
9336 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 CFLAGS=$ac_wine_try_cflags_saved
9341 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9342 ac_cv_c_dll_gnuelf="yes"
9343 else
9344 ac_cv_c_dll_gnuelf="no"
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9348 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9349 if test "$ac_cv_c_dll_gnuelf" = "yes"
9350 then
9351 LIBWINE_LDFLAGS="-shared"
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9353 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9354 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9355 $as_echo_n "(cached) " >&6
9356 else
9357 ac_wine_try_cflags_saved=$CFLAGS
9358 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360 /* end confdefs.h. */
9361 int main(int argc, char **argv) { return 0; }
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9365 else
9366 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 CFLAGS=$ac_wine_try_cflags_saved
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9373 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9374 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9375 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9376 else
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9378 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9379 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9390 else
9391 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9398 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9399 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9400 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9404 echo '{ global: *; };' >conftest.map
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9406 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9407 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_wine_try_cflags_saved=$CFLAGS
9411 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9414 int main(int argc, char **argv) { return 0; }
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9418 else
9419 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 CFLAGS=$ac_wine_try_cflags_saved
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9426 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9427 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9428 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9430 rm -f conftest.map
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9433 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9434 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_wine_try_cflags_saved=$CFLAGS
9438 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_cflags__Wl___export_dynamic=yes
9445 else
9446 ac_cv_cflags__Wl___export_dynamic=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS=$ac_wine_try_cflags_saved
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9453 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9454 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9455 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9457 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9459 case $host_cpu in
9460 *i[3456789]86* | x86_64 | *aarch64*)
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9462 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9463 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9474 else
9475 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9482 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9483 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9484 case $host_os in
9485 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9486 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9487 esac
9488 else
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9490 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9491 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 ac_wine_try_cflags_saved=$CFLAGS
9495 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9498 int main(int argc, char **argv) { return 0; }
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9502 else
9503 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 CFLAGS=$ac_wine_try_cflags_saved
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9510 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9511 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9512 case $host_os in
9513 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9514 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9515 esac
9517 # Extract the first word of "prelink", so it can be a program name with args.
9518 set dummy prelink; ac_word=$2
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9520 $as_echo_n "checking for $ac_word... " >&6; }
9521 if ${ac_cv_path_PRELINK+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 case $PRELINK in
9525 [\\/]* | ?:[\\/]*)
9526 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9530 for as_dir in /sbin /usr/sbin $PATH
9532 IFS=$as_save_IFS
9533 test -z "$as_dir" && as_dir=.
9534 for ac_exec_ext in '' $ac_executable_extensions; do
9535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9536 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9538 break 2
9540 done
9541 done
9542 IFS=$as_save_IFS
9544 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9546 esac
9548 PRELINK=$ac_cv_path_PRELINK
9549 if test -n "$PRELINK"; then
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9551 $as_echo "$PRELINK" >&6; }
9552 else
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9554 $as_echo "no" >&6; }
9558 if test "x$PRELINK" = xfalse
9559 then
9560 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9564 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9565 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_wine_try_cflags_saved=$CFLAGS
9569 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9576 else
9577 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 CFLAGS=$ac_wine_try_cflags_saved
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9584 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9585 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9586 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9589 esac
9591 else
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9593 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9594 if ${ac_cv_c_dll_unixware+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_wine_try_cflags_saved=$CFLAGS
9598 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601 void myfunc() {}
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9605 else
9606 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 CFLAGS=$ac_wine_try_cflags_saved
9611 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9612 ac_cv_c_dll_unixware="yes"
9613 else
9614 ac_cv_c_dll_unixware="no"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9618 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9619 if test "$ac_cv_c_dll_unixware" = "yes"
9620 then
9621 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9624 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9626 LIBWINE_DEPENDS="wine.map"
9628 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9630 esac
9632 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9633 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9634 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9635 enable_winemac_drv=${enable_winemac_drv:-no}
9636 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9639 if test "x$with_mingw" != xno
9640 then
9641 case "x$with_mingw" in
9642 x|xyes) case "$host_cpu" in
9643 aarch64*)
9644 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9645 arm*)
9646 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9647 i[3456789]86*)
9648 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
9649 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9650 mingw32-gcc clang" ;;
9651 x86_64)
9652 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
9653 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9655 ac_prefix_list="" ;;
9656 esac
9657 for ac_prog in $ac_prefix_list
9659 # Extract the first word of "$ac_prog", so it can be a program name with args.
9660 set dummy $ac_prog; ac_word=$2
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9662 $as_echo_n "checking for $ac_word... " >&6; }
9663 if ${ac_cv_prog_CROSSCC+:} false; then :
9664 $as_echo_n "(cached) " >&6
9665 else
9666 if test -n "$CROSSCC"; then
9667 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9668 else
9669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9670 for as_dir in $PATH
9672 IFS=$as_save_IFS
9673 test -z "$as_dir" && as_dir=.
9674 for ac_exec_ext in '' $ac_executable_extensions; do
9675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9676 ac_cv_prog_CROSSCC="$ac_prog"
9677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9678 break 2
9680 done
9681 done
9682 IFS=$as_save_IFS
9686 CROSSCC=$ac_cv_prog_CROSSCC
9687 if test -n "$CROSSCC"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9689 $as_echo "$CROSSCC" >&6; }
9690 else
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9696 test -n "$CROSSCC" && break
9697 done
9698 test -n "$CROSSCC" || CROSSCC="false"
9700 *) CROSSCC=$with_mingw ;;
9701 esac
9702 if test "$CROSSCC" != "false"
9703 then
9704 ac_save_CC="$CC"
9705 saved_CFLAGS=$CFLAGS
9706 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9708 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9712 CC="$CROSSCC"
9713 CFLAGS=$CROSSCFLAGS
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9715 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9716 if ${wine_cv_crosscc+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9723 main ()
9727 return 0;
9729 _ACEOF
9730 if ac_fn_c_try_compile "$LINENO"; then :
9731 wine_cv_crosscc=yes
9732 else
9733 wine_cv_crosscc=no
9735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9738 $as_echo "$wine_cv_crosscc" >&6; }
9739 if test $wine_cv_crosscc = yes
9740 then
9741 set x $CROSSCC
9742 shift
9743 while test $# -ge 1
9745 case "$1" in
9746 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9747 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9748 esac
9749 shift
9750 done
9752 llvm_target=$CROSSTARGET
9753 llvm_cflags="-fuse-ld=lld"
9754 if test -z "$llvm_target"
9755 then
9756 case $host_cpu in
9757 *i[3456789]86*) llvm_target=i686-windows ;;
9758 *) llvm_target=$host_cpu-windows ;;
9759 esac
9761 case $llvm_target in
9762 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9763 esac
9764 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9766 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9767 if eval \${$as_ac_var+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_wine_try_cflags_saved=$CFLAGS
9771 ac_wine_try_cflags_saved_cc=$CC
9772 ac_wine_try_cflags_saved_exeext=$ac_exeext
9773 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9774 CC="$CROSSCC"
9775 ac_exeext=".exe"
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9778 int __cdecl mainCRTStartup(void) { return 0; }
9779 _ACEOF
9780 if ac_fn_c_try_link "$LINENO"; then :
9781 eval "$as_ac_var=yes"
9782 else
9783 eval "$as_ac_var=no"
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 CFLAGS=$ac_wine_try_cflags_saved
9788 CC=$ac_wine_try_cflags_saved_cc
9789 ac_exeext=$ac_wine_try_cflags_saved_exeext
9791 eval ac_res=\$$as_ac_var
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9793 $as_echo "$ac_res" >&6; }
9794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9795 CROSSTARGET=$llvm_target
9796 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9797 DELAYLOADFLAG="-Wl,-delayload,"
9799 CFLAGS="$CFLAGS $llvm_cflags"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9803 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9804 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806 else
9807 ac_wine_try_cflags_saved=$CFLAGS
9808 ac_wine_try_cflags_saved_cc=$CC
9809 ac_wine_try_cflags_saved_exeext=$ac_exeext
9810 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9811 CC="$CROSSCC"
9812 ac_exeext=".exe"
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9815 int __cdecl mainCRTStartup(void) { return 0; }
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 ac_cv_crosscflags__fno_strict_aliasing=yes
9819 else
9820 ac_cv_crosscflags__fno_strict_aliasing=no
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 CFLAGS=$ac_wine_try_cflags_saved
9825 CC=$ac_wine_try_cflags_saved_cc
9826 ac_exeext=$ac_wine_try_cflags_saved_exeext
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9829 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9830 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9831 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9834 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9835 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_wine_try_cflags_saved=$CFLAGS
9839 ac_wine_try_cflags_saved_cc=$CC
9840 ac_wine_try_cflags_saved_exeext=$ac_exeext
9841 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9842 CC="$CROSSCC"
9843 ac_exeext=".exe"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9846 int __cdecl mainCRTStartup(void) { return 0; }
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9850 else
9851 ac_cv_crosscflags__Werror_unknown_warning_option=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 CFLAGS=$ac_wine_try_cflags_saved
9856 CC=$ac_wine_try_cflags_saved_cc
9857 ac_exeext=$ac_wine_try_cflags_saved_exeext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9860 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9861 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9862 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9865 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9866 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9867 $as_echo_n "(cached) " >&6
9868 else
9869 ac_wine_try_cflags_saved=$CFLAGS
9870 ac_wine_try_cflags_saved_cc=$CC
9871 ac_wine_try_cflags_saved_exeext=$ac_exeext
9872 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9873 CC="$CROSSCC"
9874 ac_exeext=".exe"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 int __cdecl mainCRTStartup(void) { return 0; }
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9881 else
9882 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 CFLAGS=$ac_wine_try_cflags_saved
9887 CC=$ac_wine_try_cflags_saved_cc
9888 ac_exeext=$ac_wine_try_cflags_saved_exeext
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9891 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9892 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9893 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9896 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9897 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_wine_try_cflags_saved=$CFLAGS
9901 ac_wine_try_cflags_saved_cc=$CC
9902 ac_wine_try_cflags_saved_exeext=$ac_exeext
9903 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9904 CC="$CROSSCC"
9905 ac_exeext=".exe"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int __cdecl mainCRTStartup(void) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9912 else
9913 ac_cv_crosscflags__Wdeclaration_after_statement=no
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9918 CC=$ac_wine_try_cflags_saved_cc
9919 ac_exeext=$ac_wine_try_cflags_saved_exeext
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9922 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9923 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9924 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9927 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9928 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 ac_wine_try_cflags_saved_cc=$CC
9933 ac_wine_try_cflags_saved_exeext=$ac_exeext
9934 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9935 CC="$CROSSCC"
9936 ac_exeext=".exe"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int __cdecl mainCRTStartup(void) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 ac_cv_crosscflags__Wempty_body=yes
9943 else
9944 ac_cv_crosscflags__Wempty_body=no
9946 rm -f core conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9948 CFLAGS=$ac_wine_try_cflags_saved
9949 CC=$ac_wine_try_cflags_saved_cc
9950 ac_exeext=$ac_wine_try_cflags_saved_exeext
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9953 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9954 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9955 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9958 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9959 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9960 $as_echo_n "(cached) " >&6
9961 else
9962 ac_wine_try_cflags_saved=$CFLAGS
9963 ac_wine_try_cflags_saved_cc=$CC
9964 ac_wine_try_cflags_saved_exeext=$ac_exeext
9965 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9966 CC="$CROSSCC"
9967 ac_exeext=".exe"
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9970 int __cdecl mainCRTStartup(void) { return 0; }
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 ac_cv_crosscflags__Wignored_qualifiers=yes
9974 else
9975 ac_cv_crosscflags__Wignored_qualifiers=no
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 CFLAGS=$ac_wine_try_cflags_saved
9980 CC=$ac_wine_try_cflags_saved_cc
9981 ac_exeext=$ac_wine_try_cflags_saved_exeext
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9984 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9985 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9986 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9989 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9990 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_wine_try_cflags_saved=$CFLAGS
9994 ac_wine_try_cflags_saved_cc=$CC
9995 ac_wine_try_cflags_saved_exeext=$ac_exeext
9996 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9997 CC="$CROSSCC"
9998 ac_exeext=".exe"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10001 int __cdecl mainCRTStartup(void) { return 0; }
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"; then :
10004 ac_cv_crosscflags__Winit_self=yes
10005 else
10006 ac_cv_crosscflags__Winit_self=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 CFLAGS=$ac_wine_try_cflags_saved
10011 CC=$ac_wine_try_cflags_saved_cc
10012 ac_exeext=$ac_wine_try_cflags_saved_exeext
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10015 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10016 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10017 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10020 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10021 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_wine_try_cflags_saved=$CFLAGS
10025 ac_wine_try_cflags_saved_cc=$CC
10026 ac_wine_try_cflags_saved_exeext=$ac_exeext
10027 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10028 CC="$CROSSCC"
10029 ac_exeext=".exe"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10032 int __cdecl mainCRTStartup(void) { return 0; }
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_crosscflags__Wpacked_not_aligned=yes
10036 else
10037 ac_cv_crosscflags__Wpacked_not_aligned=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 CFLAGS=$ac_wine_try_cflags_saved
10042 CC=$ac_wine_try_cflags_saved_cc
10043 ac_exeext=$ac_wine_try_cflags_saved_exeext
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10046 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10047 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10048 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10051 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10052 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_wine_try_cflags_saved=$CFLAGS
10056 ac_wine_try_cflags_saved_cc=$CC
10057 ac_wine_try_cflags_saved_exeext=$ac_exeext
10058 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10059 CC="$CROSSCC"
10060 ac_exeext=".exe"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10063 int __cdecl mainCRTStartup(void) { return 0; }
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"; then :
10066 ac_cv_crosscflags__Wpragma_pack=yes
10067 else
10068 ac_cv_crosscflags__Wpragma_pack=no
10070 rm -f core conftest.err conftest.$ac_objext \
10071 conftest$ac_exeext conftest.$ac_ext
10072 CFLAGS=$ac_wine_try_cflags_saved
10073 CC=$ac_wine_try_cflags_saved_cc
10074 ac_exeext=$ac_wine_try_cflags_saved_exeext
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10077 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10078 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10079 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10082 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10083 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_wine_try_cflags_saved=$CFLAGS
10087 ac_wine_try_cflags_saved_cc=$CC
10088 ac_wine_try_cflags_saved_exeext=$ac_exeext
10089 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10090 CC="$CROSSCC"
10091 ac_exeext=".exe"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10094 int __cdecl mainCRTStartup(void) { return 0; }
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 ac_cv_crosscflags__Wshift_overflow_2=yes
10098 else
10099 ac_cv_crosscflags__Wshift_overflow_2=no
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 CFLAGS=$ac_wine_try_cflags_saved
10104 CC=$ac_wine_try_cflags_saved_cc
10105 ac_exeext=$ac_wine_try_cflags_saved_exeext
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10108 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10109 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10110 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10113 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10114 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10115 $as_echo_n "(cached) " >&6
10116 else
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 ac_wine_try_cflags_saved_cc=$CC
10119 ac_wine_try_cflags_saved_exeext=$ac_exeext
10120 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10121 CC="$CROSSCC"
10122 ac_exeext=".exe"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 int __cdecl mainCRTStartup(void) { return 0; }
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_crosscflags__Wstrict_prototypes=yes
10129 else
10130 ac_cv_crosscflags__Wstrict_prototypes=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 CFLAGS=$ac_wine_try_cflags_saved
10135 CC=$ac_wine_try_cflags_saved_cc
10136 ac_exeext=$ac_wine_try_cflags_saved_exeext
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10139 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10140 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10141 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10144 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10145 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 ac_wine_try_cflags_saved_cc=$CC
10150 ac_wine_try_cflags_saved_exeext=$ac_exeext
10151 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10152 CC="$CROSSCC"
10153 ac_exeext=".exe"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int __cdecl mainCRTStartup(void) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 ac_cv_crosscflags__Wtype_limits=yes
10160 else
10161 ac_cv_crosscflags__Wtype_limits=no
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 CFLAGS=$ac_wine_try_cflags_saved
10166 CC=$ac_wine_try_cflags_saved_cc
10167 ac_exeext=$ac_wine_try_cflags_saved_exeext
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10170 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10171 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10172 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10175 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10176 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_wine_try_cflags_saved=$CFLAGS
10180 ac_wine_try_cflags_saved_cc=$CC
10181 ac_wine_try_cflags_saved_exeext=$ac_exeext
10182 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10183 CC="$CROSSCC"
10184 ac_exeext=".exe"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int __cdecl mainCRTStartup(void) { return 0; }
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10191 else
10192 ac_cv_crosscflags__Wunused_but_set_parameter=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10197 CC=$ac_wine_try_cflags_saved_cc
10198 ac_exeext=$ac_wine_try_cflags_saved_exeext
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10201 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10202 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10203 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10206 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10207 if ${ac_cv_crosscflags__Wvla+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 ac_wine_try_cflags_saved_cc=$CC
10212 ac_wine_try_cflags_saved_exeext=$ac_exeext
10213 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10214 CC="$CROSSCC"
10215 ac_exeext=".exe"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 int __cdecl mainCRTStartup(void) { return 0; }
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 ac_cv_crosscflags__Wvla=yes
10222 else
10223 ac_cv_crosscflags__Wvla=no
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10228 CC=$ac_wine_try_cflags_saved_cc
10229 ac_exeext=$ac_wine_try_cflags_saved_exeext
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10232 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10233 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10234 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10237 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10238 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 ac_wine_try_cflags_saved_cc=$CC
10243 ac_wine_try_cflags_saved_exeext=$ac_exeext
10244 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10245 CC="$CROSSCC"
10246 ac_exeext=".exe"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249 int __cdecl mainCRTStartup(void) { return 0; }
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_crosscflags__Wwrite_strings=yes
10253 else
10254 ac_cv_crosscflags__Wwrite_strings=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10259 CC=$ac_wine_try_cflags_saved_cc
10260 ac_exeext=$ac_wine_try_cflags_saved_exeext
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10263 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10264 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10265 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10268 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10269 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 ac_wine_try_cflags_saved_cc=$CC
10274 ac_wine_try_cflags_saved_exeext=$ac_exeext
10275 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10276 CC="$CROSSCC"
10277 ac_exeext=".exe"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 int __cdecl mainCRTStartup(void) { return 0; }
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_crosscflags__Wpointer_arith=yes
10284 else
10285 ac_cv_crosscflags__Wpointer_arith=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 CFLAGS=$ac_wine_try_cflags_saved
10290 CC=$ac_wine_try_cflags_saved_cc
10291 ac_exeext=$ac_wine_try_cflags_saved_exeext
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10294 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10295 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10296 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10299 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10300 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_wine_try_cflags_saved=$CFLAGS
10304 ac_wine_try_cflags_saved_cc=$CC
10305 ac_wine_try_cflags_saved_exeext=$ac_exeext
10306 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10307 CC="$CROSSCC"
10308 ac_exeext=".exe"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10311 int __cdecl mainCRTStartup(void) { return 0; }
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 ac_cv_crosscflags__Wlogical_op=yes
10315 else
10316 ac_cv_crosscflags__Wlogical_op=no
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 CFLAGS=$ac_wine_try_cflags_saved
10321 CC=$ac_wine_try_cflags_saved_cc
10322 ac_exeext=$ac_wine_try_cflags_saved_exeext
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10325 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10326 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10327 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10330 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10331 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_wine_try_cflags_saved=$CFLAGS
10335 ac_wine_try_cflags_saved_cc=$CC
10336 ac_wine_try_cflags_saved_exeext=$ac_exeext
10337 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10338 CC="$CROSSCC"
10339 ac_exeext=".exe"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 int __cdecl mainCRTStartup(void) { return 0; }
10343 _ACEOF
10344 if ac_fn_c_try_link "$LINENO"; then :
10345 ac_cv_crosscflags__Wabsolute_value=yes
10346 else
10347 ac_cv_crosscflags__Wabsolute_value=no
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10351 CFLAGS=$ac_wine_try_cflags_saved
10352 CC=$ac_wine_try_cflags_saved_cc
10353 ac_exeext=$ac_wine_try_cflags_saved_exeext
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10356 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10357 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10358 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10361 case $host_cpu in
10362 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10363 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10364 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10365 $as_echo_n "(cached) " >&6
10366 else
10367 ac_wine_try_cflags_saved=$CFLAGS
10368 ac_wine_try_cflags_saved_cc=$CC
10369 ac_wine_try_cflags_saved_exeext=$ac_exeext
10370 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10371 CC="$CROSSCC"
10372 ac_exeext=".exe"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10375 int __cdecl mainCRTStartup(void) { return 0; }
10376 _ACEOF
10377 if ac_fn_c_try_link "$LINENO"; then :
10378 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10379 else
10380 ac_cv_crosscflags__fno_omit_frame_pointer=no
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 CFLAGS=$ac_wine_try_cflags_saved
10385 CC=$ac_wine_try_cflags_saved_cc
10386 ac_exeext=$ac_wine_try_cflags_saved_exeext
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10389 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10390 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10391 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10392 fi ;;
10393 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10394 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10395 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_wine_try_cflags_saved=$CFLAGS
10399 ac_wine_try_cflags_saved_cc=$CC
10400 ac_wine_try_cflags_saved_exeext=$ac_exeext
10401 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10402 CC="$CROSSCC"
10403 ac_exeext=".exe"
10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10406 int __cdecl mainCRTStartup(void) { return 0; }
10407 _ACEOF
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 ac_cv_crosscflags__Wno_format=yes
10410 else
10411 ac_cv_crosscflags__Wno_format=no
10413 rm -f core conftest.err conftest.$ac_objext \
10414 conftest$ac_exeext conftest.$ac_ext
10415 CFLAGS=$ac_wine_try_cflags_saved
10416 CC=$ac_wine_try_cflags_saved_cc
10417 ac_exeext=$ac_wine_try_cflags_saved_exeext
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10420 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10421 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10422 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10425 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10426 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_wine_try_cflags_saved=$CFLAGS
10430 ac_wine_try_cflags_saved_cc=$CC
10431 ac_wine_try_cflags_saved_exeext=$ac_exeext
10432 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10433 CC="$CROSSCC"
10434 ac_exeext=".exe"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 int __cdecl mainCRTStartup(void) { return 0; }
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 ac_cv_crosscflags__Wformat_overflow=yes
10441 else
10442 ac_cv_crosscflags__Wformat_overflow=no
10444 rm -f core conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 CFLAGS=$ac_wine_try_cflags_saved
10447 CC=$ac_wine_try_cflags_saved_cc
10448 ac_exeext=$ac_wine_try_cflags_saved_exeext
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10451 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10452 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10456 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10457 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10458 $as_echo_n "(cached) " >&6
10459 else
10460 ac_wine_try_cflags_saved=$CFLAGS
10461 ac_wine_try_cflags_saved_cc=$CC
10462 ac_wine_try_cflags_saved_exeext=$ac_exeext
10463 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10464 CC="$CROSSCC"
10465 ac_exeext=".exe"
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10468 int __cdecl mainCRTStartup(void) { return 0; }
10469 _ACEOF
10470 if ac_fn_c_try_link "$LINENO"; then :
10471 ac_cv_crosscflags__Wnonnull=yes
10472 else
10473 ac_cv_crosscflags__Wnonnull=no
10475 rm -f core conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 CFLAGS=$ac_wine_try_cflags_saved
10478 CC=$ac_wine_try_cflags_saved_cc
10479 ac_exeext=$ac_wine_try_cflags_saved_exeext
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10482 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10483 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10484 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10487 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10488 if ${ac_cv_crosscflags__mcx16+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_wine_try_cflags_saved=$CFLAGS
10492 ac_wine_try_cflags_saved_cc=$CC
10493 ac_wine_try_cflags_saved_exeext=$ac_exeext
10494 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10495 CC="$CROSSCC"
10496 ac_exeext=".exe"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10499 int __cdecl mainCRTStartup(void) { return 0; }
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 ac_cv_crosscflags__mcx16=yes
10503 else
10504 ac_cv_crosscflags__mcx16=no
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 CFLAGS=$ac_wine_try_cflags_saved
10509 CC=$ac_wine_try_cflags_saved_cc
10510 ac_exeext=$ac_wine_try_cflags_saved_exeext
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10513 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10514 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10515 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10516 fi ;;
10517 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10518 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10519 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_wine_try_cflags_saved=$CFLAGS
10523 ac_wine_try_cflags_saved_cc=$CC
10524 ac_wine_try_cflags_saved_exeext=$ac_exeext
10525 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10526 CC="$CROSSCC"
10527 ac_exeext=".exe"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 int __cdecl mainCRTStartup(void) { return 0; }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_crosscflags__Wno_format=yes
10534 else
10535 ac_cv_crosscflags__Wno_format=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 CFLAGS=$ac_wine_try_cflags_saved
10540 CC=$ac_wine_try_cflags_saved_cc
10541 ac_exeext=$ac_wine_try_cflags_saved_exeext
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10544 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10545 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10546 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10547 fi ;;
10548 esac
10551 if test -z "$CROSSDEBUG"
10552 then
10553 for ac_flag in $CROSSCFLAGS; do
10554 case $ac_flag in
10555 -gdwarf*) CROSSDEBUG=dwarf ;;
10556 -gcodeview) CROSSDEBUG=pdb ;;
10557 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10558 esac
10559 done
10561 case $CROSSDEBUG in
10562 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10563 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10564 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_wine_try_cflags_saved=$CFLAGS
10568 ac_wine_try_cflags_saved_cc=$CC
10569 ac_wine_try_cflags_saved_exeext=$ac_exeext
10570 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10571 CC="$CROSSCC"
10572 ac_exeext=".exe"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10575 int __cdecl mainCRTStartup(void) { return 0; }
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_crosscflags__gdwarf_2=yes
10579 else
10580 ac_cv_crosscflags__gdwarf_2=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 CFLAGS=$ac_wine_try_cflags_saved
10585 CC=$ac_wine_try_cflags_saved_cc
10586 ac_exeext=$ac_wine_try_cflags_saved_exeext
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10589 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10590 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10591 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10594 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10595 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10596 $as_echo_n "(cached) " >&6
10597 else
10598 ac_wine_try_cflags_saved=$CFLAGS
10599 ac_wine_try_cflags_saved_cc=$CC
10600 ac_wine_try_cflags_saved_exeext=$ac_exeext
10601 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10602 CC="$CROSSCC"
10603 ac_exeext=".exe"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10606 int __cdecl mainCRTStartup(void) { return 0; }
10607 _ACEOF
10608 if ac_fn_c_try_link "$LINENO"; then :
10609 ac_cv_crosscflags__gstrict_dwarf=yes
10610 else
10611 ac_cv_crosscflags__gstrict_dwarf=no
10613 rm -f core conftest.err conftest.$ac_objext \
10614 conftest$ac_exeext conftest.$ac_ext
10615 CFLAGS=$ac_wine_try_cflags_saved
10616 CC=$ac_wine_try_cflags_saved_cc
10617 ac_exeext=$ac_wine_try_cflags_saved_exeext
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10620 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10621 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10622 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10623 fi ;;
10624 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10625 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10626 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10627 $as_echo_n "(cached) " >&6
10628 else
10629 ac_wine_try_cflags_saved=$CFLAGS
10630 ac_wine_try_cflags_saved_cc=$CC
10631 ac_wine_try_cflags_saved_exeext=$ac_exeext
10632 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10633 CC="$CROSSCC"
10634 ac_exeext=".exe"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10637 int __cdecl mainCRTStartup(void) { return 0; }
10638 _ACEOF
10639 if ac_fn_c_try_link "$LINENO"; then :
10640 ac_cv_crosscflags__gcodeview=yes
10641 else
10642 ac_cv_crosscflags__gcodeview=no
10644 rm -f core conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10646 CFLAGS=$ac_wine_try_cflags_saved
10647 CC=$ac_wine_try_cflags_saved_cc
10648 ac_exeext=$ac_wine_try_cflags_saved_exeext
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10651 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10652 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10653 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10654 fi ;;
10655 esac
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10658 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10659 if ${ac_cv_crosscflags__fexcess_precision_standard+:} 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 -fexcess-precision=standard"
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__fexcess_precision_standard=yes
10674 else
10675 ac_cv_crosscflags__fexcess_precision_standard=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__fexcess_precision_standard" >&5
10684 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10685 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10686 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10690 if test "x$enable_werror" = "xyes"
10691 then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10693 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10694 if ${ac_cv_crosscflags__Werror+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_wine_try_cflags_saved=$CFLAGS
10698 ac_wine_try_cflags_saved_cc=$CC
10699 ac_wine_try_cflags_saved_exeext=$ac_exeext
10700 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10701 CC="$CROSSCC"
10702 ac_exeext=".exe"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int __cdecl mainCRTStartup(void) { return 0; }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_crosscflags__Werror=yes
10709 else
10710 ac_cv_crosscflags__Werror=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 CFLAGS=$ac_wine_try_cflags_saved
10715 CC=$ac_wine_try_cflags_saved_cc
10716 ac_exeext=$ac_wine_try_cflags_saved_exeext
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10719 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10720 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10721 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10724 if test "x$enable_build_id" = "xyes"
10725 then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10727 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10728 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 ac_wine_try_cflags_saved=$CFLAGS
10732 ac_wine_try_cflags_saved_cc=$CC
10733 ac_wine_try_cflags_saved_exeext=$ac_exeext
10734 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10735 CC="$CROSSCC"
10736 ac_exeext=".exe"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 int __cdecl mainCRTStartup(void) { return 0; }
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 ac_cv_crosscflags__Wl___build_id=yes
10743 else
10744 ac_cv_crosscflags__Wl___build_id=no
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 CFLAGS=$ac_wine_try_cflags_saved
10749 CC=$ac_wine_try_cflags_saved_cc
10750 ac_exeext=$ac_wine_try_cflags_saved_exeext
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10753 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10754 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10755 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10756 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10760 CFLAGS=$saved_CFLAGS
10761 CC="$ac_save_CC"
10764 if test "x$CROSSTARGET" = "x"; then :
10765 case "x$with_mingw" in
10766 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10767 xno) ;;
10768 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10769 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10770 esac
10775 if test "$ac_cv_header_pthread_h" = "yes"
10776 then
10777 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10778 if test "x$ac_cv_func_pthread_create" = xyes; then :
10780 else
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10782 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10783 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10784 $as_echo_n "(cached) " >&6
10785 else
10786 ac_check_lib_save_LIBS=$LIBS
10787 LIBS="-lpthread $LIBS"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10794 #ifdef __cplusplus
10795 extern "C"
10796 #endif
10797 char pthread_create ();
10799 main ()
10801 return pthread_create ();
10803 return 0;
10805 _ACEOF
10806 if ac_fn_c_try_link "$LINENO"; then :
10807 ac_cv_lib_pthread_pthread_create=yes
10808 else
10809 ac_cv_lib_pthread_pthread_create=no
10811 rm -f core conftest.err conftest.$ac_objext \
10812 conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_lib_save_LIBS
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10816 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10817 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10818 PTHREAD_LIBS="-lpthread"
10825 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10826 case "x$with_pthread" in
10827 xno) ;;
10828 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10829 Wine cannot support threads without libpthread.
10830 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10831 esac
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10837 $as_echo_n "checking for X... " >&6; }
10840 # Check whether --with-x was given.
10841 if test "${with_x+set}" = set; then :
10842 withval=$with_x;
10845 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10846 if test "x$with_x" = xno; then
10847 # The user explicitly disabled X.
10848 have_x=disabled
10849 else
10850 case $x_includes,$x_libraries in #(
10851 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10852 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10853 $as_echo_n "(cached) " >&6
10854 else
10855 # One or both of the vars are not set, and there is no cached value.
10856 ac_x_includes=no ac_x_libraries=no
10857 rm -f -r conftest.dir
10858 if mkdir conftest.dir; then
10859 cd conftest.dir
10860 cat >Imakefile <<'_ACEOF'
10861 incroot:
10862 @echo incroot='${INCROOT}'
10863 usrlibdir:
10864 @echo usrlibdir='${USRLIBDIR}'
10865 libdir:
10866 @echo libdir='${LIBDIR}'
10867 _ACEOF
10868 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10869 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10870 for ac_var in incroot usrlibdir libdir; do
10871 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10872 done
10873 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10874 for ac_extension in a so sl dylib la dll; do
10875 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10876 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10877 ac_im_usrlibdir=$ac_im_libdir; break
10879 done
10880 # Screen out bogus values from the imake configuration. They are
10881 # bogus both because they are the default anyway, and because
10882 # using them would break gcc on systems where it needs fixed includes.
10883 case $ac_im_incroot in
10884 /usr/include) ac_x_includes= ;;
10885 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10886 esac
10887 case $ac_im_usrlibdir in
10888 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10889 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10890 esac
10892 cd ..
10893 rm -f -r conftest.dir
10896 # Standard set of common directories for X headers.
10897 # Check X11 before X11Rn because it is often a symlink to the current release.
10898 ac_x_header_dirs='
10899 /usr/X11/include
10900 /usr/X11R7/include
10901 /usr/X11R6/include
10902 /usr/X11R5/include
10903 /usr/X11R4/include
10905 /usr/include/X11
10906 /usr/include/X11R7
10907 /usr/include/X11R6
10908 /usr/include/X11R5
10909 /usr/include/X11R4
10911 /usr/local/X11/include
10912 /usr/local/X11R7/include
10913 /usr/local/X11R6/include
10914 /usr/local/X11R5/include
10915 /usr/local/X11R4/include
10917 /usr/local/include/X11
10918 /usr/local/include/X11R7
10919 /usr/local/include/X11R6
10920 /usr/local/include/X11R5
10921 /usr/local/include/X11R4
10923 /usr/X386/include
10924 /usr/x386/include
10925 /usr/XFree86/include/X11
10927 /usr/include
10928 /usr/local/include
10929 /usr/unsupported/include
10930 /usr/athena/include
10931 /usr/local/x11r5/include
10932 /usr/lpp/Xamples/include
10934 /usr/openwin/include
10935 /usr/openwin/share/include'
10937 if test "$ac_x_includes" = no; then
10938 # Guess where to find include files, by looking for Xlib.h.
10939 # First, try using that file with no special directory specified.
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10942 #include <X11/Xlib.h>
10943 _ACEOF
10944 if ac_fn_c_try_cpp "$LINENO"; then :
10945 # We can compile using X headers with no special include directory.
10946 ac_x_includes=
10947 else
10948 for ac_dir in $ac_x_header_dirs; do
10949 if test -r "$ac_dir/X11/Xlib.h"; then
10950 ac_x_includes=$ac_dir
10951 break
10953 done
10955 rm -f conftest.err conftest.i conftest.$ac_ext
10956 fi # $ac_x_includes = no
10958 if test "$ac_x_libraries" = no; then
10959 # Check for the libraries.
10960 # See if we find them without any special options.
10961 # Don't add to $LIBS permanently.
10962 ac_save_LIBS=$LIBS
10963 LIBS="-lX11 $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10966 #include <X11/Xlib.h>
10968 main ()
10970 XrmInitialize ()
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 LIBS=$ac_save_LIBS
10977 # We can link X programs with no special library path.
10978 ac_x_libraries=
10979 else
10980 LIBS=$ac_save_LIBS
10981 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10983 # Don't even attempt the hair of trying to link an X program!
10984 for ac_extension in a so sl dylib la dll; do
10985 if test -r "$ac_dir/libX11.$ac_extension"; then
10986 ac_x_libraries=$ac_dir
10987 break 2
10989 done
10990 done
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 fi # $ac_x_libraries = no
10996 case $ac_x_includes,$ac_x_libraries in #(
10997 no,* | *,no | *\'*)
10998 # Didn't find X, or a directory has "'" in its name.
10999 ac_cv_have_x="have_x=no";; #(
11001 # Record where we found X for the cache.
11002 ac_cv_have_x="have_x=yes\
11003 ac_x_includes='$ac_x_includes'\
11004 ac_x_libraries='$ac_x_libraries'"
11005 esac
11007 ;; #(
11008 *) have_x=yes;;
11009 esac
11010 eval "$ac_cv_have_x"
11011 fi # $with_x != no
11013 if test "$have_x" != yes; then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11015 $as_echo "$have_x" >&6; }
11016 no_x=yes
11017 else
11018 # If each of the values was on the command line, it overrides each guess.
11019 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11020 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11021 # Update the cache value to reflect the command line values.
11022 ac_cv_have_x="have_x=yes\
11023 ac_x_includes='$x_includes'\
11024 ac_x_libraries='$x_libraries'"
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11026 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11029 if test "$no_x" = yes; then
11030 # Not all programs may use this symbol, but it does not hurt to define it.
11032 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11034 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11035 else
11036 if test -n "$x_includes"; then
11037 X_CFLAGS="$X_CFLAGS -I$x_includes"
11040 # It would also be nice to do this for all -L options, not just this one.
11041 if test -n "$x_libraries"; then
11042 X_LIBS="$X_LIBS -L$x_libraries"
11043 # For Solaris; some versions of Sun CC require a space after -R and
11044 # others require no space. Words are not sufficient . . . .
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11046 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11047 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11048 ac_xsave_c_werror_flag=$ac_c_werror_flag
11049 ac_c_werror_flag=yes
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11054 main ()
11058 return 0;
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063 $as_echo "no" >&6; }
11064 X_LIBS="$X_LIBS -R$x_libraries"
11065 else
11066 LIBS="$ac_xsave_LIBS -R $x_libraries"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11071 main ()
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11080 $as_echo "yes" >&6; }
11081 X_LIBS="$X_LIBS -R $x_libraries"
11082 else
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11084 $as_echo "neither works" >&6; }
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 ac_c_werror_flag=$ac_xsave_c_werror_flag
11092 LIBS=$ac_xsave_LIBS
11095 # Check for system-dependent libraries X programs must link with.
11096 # Do this before checking for the system-independent R6 libraries
11097 # (-lICE), since we may need -lsocket or whatever for X linking.
11099 if test "$ISC" = yes; then
11100 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11101 else
11102 # Martyn Johnson says this is needed for Ultrix, if the X
11103 # libraries were built with DECnet support. And Karl Berry says
11104 # the Alpha needs dnet_stub (dnet does not exist).
11105 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char XOpenDisplay ();
11117 main ()
11119 return XOpenDisplay ();
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11126 else
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11128 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11129 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11130 $as_echo_n "(cached) " >&6
11131 else
11132 ac_check_lib_save_LIBS=$LIBS
11133 LIBS="-ldnet $LIBS"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11140 #ifdef __cplusplus
11141 extern "C"
11142 #endif
11143 char dnet_ntoa ();
11145 main ()
11147 return dnet_ntoa ();
11149 return 0;
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"; then :
11153 ac_cv_lib_dnet_dnet_ntoa=yes
11154 else
11155 ac_cv_lib_dnet_dnet_ntoa=no
11157 rm -f core conftest.err conftest.$ac_objext \
11158 conftest$ac_exeext conftest.$ac_ext
11159 LIBS=$ac_check_lib_save_LIBS
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11162 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11163 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11167 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11169 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11170 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11171 $as_echo_n "(cached) " >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-ldnet_stub $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11181 #ifdef __cplusplus
11182 extern "C"
11183 #endif
11184 char dnet_ntoa ();
11186 main ()
11188 return dnet_ntoa ();
11190 return 0;
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"; then :
11194 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11195 else
11196 ac_cv_lib_dnet_stub_dnet_ntoa=no
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11203 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11204 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11205 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS="$ac_xsave_LIBS"
11214 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11215 # to get the SysV transport functions.
11216 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11217 # needs -lnsl.
11218 # The nsl library prevents programs from opening the X display
11219 # on Irix 5.2, according to T.E. Dickey.
11220 # The functions gethostbyname, getservbyname, and inet_addr are
11221 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11222 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11223 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11227 if test $ac_cv_func_gethostbyname = no; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11229 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11230 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lnsl $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char gethostbyname ();
11246 main ()
11248 return gethostbyname ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_nsl_gethostbyname=yes
11255 else
11256 ac_cv_lib_nsl_gethostbyname=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11263 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11264 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11265 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11268 if test $ac_cv_lib_nsl_gethostbyname = no; then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11270 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11271 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-lbsd $LIBS"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char gethostbyname ();
11287 main ()
11289 return gethostbyname ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 ac_cv_lib_bsd_gethostbyname=yes
11296 else
11297 ac_cv_lib_bsd_gethostbyname=no
11299 rm -f core conftest.err conftest.$ac_objext \
11300 conftest$ac_exeext conftest.$ac_ext
11301 LIBS=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11304 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11305 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11312 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11313 # socket/setsockopt and other routines are undefined under SCO ODT
11314 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11315 # on later versions), says Simon Leinen: it contains gethostby*
11316 # variants that don't use the name server (or something). -lsocket
11317 # must be given before -lnsl if both are needed. We assume that
11318 # if connect needs -lnsl, so does gethostbyname.
11319 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11320 if test "x$ac_cv_func_connect" = xyes; then :
11324 if test $ac_cv_func_connect = no; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11326 $as_echo_n "checking for connect in -lsocket... " >&6; }
11327 if ${ac_cv_lib_socket_connect+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char connect ();
11343 main ()
11345 return connect ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_socket_connect=yes
11352 else
11353 ac_cv_lib_socket_connect=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11360 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11361 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11362 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11367 # Guillermo Gomez says -lposix is necessary on A/UX.
11368 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11369 if test "x$ac_cv_func_remove" = xyes; then :
11373 if test $ac_cv_func_remove = no; then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11375 $as_echo_n "checking for remove in -lposix... " >&6; }
11376 if ${ac_cv_lib_posix_remove+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-lposix $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char remove ();
11392 main ()
11394 return remove ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 ac_cv_lib_posix_remove=yes
11401 else
11402 ac_cv_lib_posix_remove=no
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11409 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11410 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11416 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11417 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11418 if test "x$ac_cv_func_shmat" = xyes; then :
11422 if test $ac_cv_func_shmat = no; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11424 $as_echo_n "checking for shmat in -lipc... " >&6; }
11425 if ${ac_cv_lib_ipc_shmat+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-lipc $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char shmat ();
11441 main ()
11443 return shmat ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_ipc_shmat=yes
11450 else
11451 ac_cv_lib_ipc_shmat=no
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11458 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11459 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11466 # Check for libraries that X11R6 Xt/Xaw programs need.
11467 ac_save_LDFLAGS=$LDFLAGS
11468 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11469 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11470 # check for ICE first), but we must link in the order -lSM -lICE or
11471 # we get undefined symbols. So assume we have SM if we have ICE.
11472 # These have to be linked with before -lX11, unlike the other
11473 # libraries we check for below, so use a different variable.
11474 # John Interrante, Karl Berry
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11476 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11477 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_lib_save_LIBS=$LIBS
11481 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char IceConnectionNumber ();
11493 main ()
11495 return IceConnectionNumber ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 ac_cv_lib_ICE_IceConnectionNumber=yes
11502 else
11503 ac_cv_lib_ICE_IceConnectionNumber=no
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_lib_save_LIBS
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11510 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11511 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11512 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11515 LDFLAGS=$ac_save_LDFLAGS
11520 if test "$have_x" = "yes"
11521 then
11522 ac_save_CPPFLAGS="$CPPFLAGS"
11523 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11526 $as_echo_n "checking for -lX11... " >&6; }
11527 if ${ac_cv_lib_soname_X11+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_soname_save_LIBS=$LIBS
11531 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char XCreateWindow ();
11543 main ()
11545 return XCreateWindow ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 case "$LIBEXT" in
11552 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11555 if ${ac_cv_lib_soname_X11:+false} :; then :
11556 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11557 fi ;;
11558 esac
11559 else
11560 ac_cv_lib_soname_X11=
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_X11:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11570 else
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11572 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11574 cat >>confdefs.h <<_ACEOF
11575 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11576 _ACEOF
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11581 $as_echo_n "checking for -lXext... " >&6; }
11582 if ${ac_cv_lib_soname_Xext+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char XextCreateExtension ();
11598 main ()
11600 return XextCreateExtension ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11610 if ${ac_cv_lib_soname_Xext:+false} :; then :
11611 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 fi ;;
11613 esac
11614 else
11615 ac_cv_lib_soname_Xext=
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if ${ac_cv_lib_soname_Xext:+false} :; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11625 else
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11627 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11631 _ACEOF
11633 X_LIBS="$X_LIBS -lXext"
11635 X_LIBS="$X_LIBS -lX11"
11637 for ac_header in X11/Xlib.h \
11638 X11/XKBlib.h \
11639 X11/Xutil.h \
11640 X11/Xcursor/Xcursor.h \
11641 X11/extensions/shape.h \
11642 X11/extensions/XInput.h \
11643 X11/extensions/XInput2.h \
11644 X11/extensions/XShm.h \
11645 X11/extensions/Xcomposite.h \
11646 X11/extensions/Xfixes.h \
11647 X11/extensions/Xinerama.h \
11648 X11/extensions/Xrandr.h \
11649 X11/extensions/Xrender.h \
11650 X11/extensions/xf86vmode.h \
11651 X11/extensions/xf86vmproto.h
11652 do :
11653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11655 # include <X11/Xlib.h>
11656 #endif
11657 #ifdef HAVE_X11_XUTIL_H
11658 # include <X11/Xutil.h>
11659 #endif
11661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11662 cat >>confdefs.h <<_ACEOF
11663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11664 _ACEOF
11668 done
11671 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11672 then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11674 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11675 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11676 $as_echo_n "(cached) " >&6
11677 else
11678 ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char XkbQueryExtension ();
11691 main ()
11693 return XkbQueryExtension ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_X11_XkbQueryExtension=yes
11700 else
11701 ac_cv_lib_X11_XkbQueryExtension=no
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11708 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11709 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11711 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11717 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11718 then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11720 $as_echo_n "checking for -lXcursor... " >&6; }
11721 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11722 $as_echo_n "(cached) " >&6
11723 else
11724 ac_check_soname_save_LIBS=$LIBS
11725 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11732 #ifdef __cplusplus
11733 extern "C"
11734 #endif
11735 char XcursorImageLoadCursor ();
11737 main ()
11739 return XcursorImageLoadCursor ();
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 case "$LIBEXT" in
11746 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11747 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'` ;;
11748 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11749 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11750 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11751 fi ;;
11752 esac
11753 else
11754 ac_cv_lib_soname_Xcursor=
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11766 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11770 _ACEOF
11775 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11776 case "x$with_xcursor" in
11777 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11780 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11781 esac
11785 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11786 then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11788 $as_echo_n "checking for -lXi... " >&6; }
11789 if ${ac_cv_lib_soname_Xi+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_check_soname_save_LIBS=$LIBS
11793 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char XOpenDevice ();
11805 main ()
11807 return XOpenDevice ();
11809 return 0;
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"; then :
11813 case "$LIBEXT" in
11814 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11815 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'` ;;
11816 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11817 if ${ac_cv_lib_soname_Xi:+false} :; then :
11818 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11819 fi ;;
11820 esac
11821 else
11822 ac_cv_lib_soname_Xi=
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_soname_save_LIBS
11828 if ${ac_cv_lib_soname_Xi:+false} :; then :
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11830 $as_echo "not found" >&6; }
11832 else
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11834 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11836 cat >>confdefs.h <<_ACEOF
11837 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11838 _ACEOF
11843 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11844 case "x$with_xinput" in
11845 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11846 xno) ;;
11847 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11848 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11849 esac
11853 if test "x$ac_cv_lib_soname_Xi" != x
11854 then
11855 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11856 case "x$with_xinput2" in
11857 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11858 xno) ;;
11859 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11860 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11861 esac
11866 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11869 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11870 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char XShmQueryExtension ();
11886 main ()
11888 return XShmQueryExtension ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 ac_cv_lib_Xext_XShmQueryExtension=yes
11895 else
11896 ac_cv_lib_Xext_XShmQueryExtension=no
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11903 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11904 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11906 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11911 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11912 case "x$with_xshm" in
11913 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11914 xno) ;;
11915 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11916 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11917 esac
11921 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11922 then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11924 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11925 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_lib_save_LIBS=$LIBS
11929 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char XShapeQueryExtension ();
11941 main ()
11943 return XShapeQueryExtension ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 ac_cv_lib_Xext_XShapeQueryExtension=yes
11950 else
11951 ac_cv_lib_Xext_XShapeQueryExtension=no
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11958 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11959 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11961 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11966 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11967 case "x$with_xshape" in
11968 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11969 xno) ;;
11970 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11971 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11972 esac
11976 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11977 then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11979 $as_echo_n "checking for -lXxf86vm... " >&6; }
11980 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_soname_save_LIBS=$LIBS
11984 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char XF86VidModeQueryExtension ();
11996 main ()
11998 return XF86VidModeQueryExtension ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 case "$LIBEXT" in
12005 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12006 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'` ;;
12007 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12008 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12009 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12010 fi ;;
12011 esac
12012 else
12013 ac_cv_lib_soname_Xxf86vm=
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_soname_save_LIBS
12019 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12021 $as_echo "not found" >&6; }
12023 else
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12025 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12027 cat >>confdefs.h <<_ACEOF
12028 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12029 _ACEOF
12034 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12035 case "x$with_xxf86vm" in
12036 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12037 xno) ;;
12038 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12039 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12040 esac
12044 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12045 then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12047 $as_echo_n "checking for -lXrender... " >&6; }
12048 if ${ac_cv_lib_soname_Xrender+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_soname_save_LIBS=$LIBS
12052 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char XRenderQueryExtension ();
12064 main ()
12066 return XRenderQueryExtension ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 case "$LIBEXT" in
12073 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12074 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'` ;;
12075 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12076 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12077 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12078 fi ;;
12079 esac
12080 else
12081 ac_cv_lib_soname_Xrender=
12083 rm -f core conftest.err conftest.$ac_objext \
12084 conftest$ac_exeext conftest.$ac_ext
12085 LIBS=$ac_check_soname_save_LIBS
12087 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12089 $as_echo "not found" >&6; }
12091 else
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12093 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12095 cat >>confdefs.h <<_ACEOF
12096 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12097 _ACEOF
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12100 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12101 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12102 $as_echo_n "(cached) " >&6
12103 else
12104 ac_check_lib_save_LIBS=$LIBS
12105 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12109 /* Override any GCC internal prototype to avoid an error.
12110 Use char because int might match the return type of a GCC
12111 builtin and then its argument prototype would still apply. */
12112 #ifdef __cplusplus
12113 extern "C"
12114 #endif
12115 char XRenderSetPictureTransform ();
12117 main ()
12119 return XRenderSetPictureTransform ();
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"; then :
12125 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12126 else
12127 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12129 rm -f core conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_lib_save_LIBS
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12134 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12135 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12137 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12142 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12143 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_lib_save_LIBS=$LIBS
12147 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char XRenderCreateLinearGradient ();
12159 main ()
12161 return XRenderCreateLinearGradient ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12168 else
12169 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_lib_save_LIBS
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12176 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12177 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12179 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12186 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12187 case "x$with_xrender" in
12188 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12189 xno) ;;
12190 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12191 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12192 esac
12196 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12197 then
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12200 #include <X11/Xlib.h>
12201 #include <X11/extensions/Xrandr.h>
12203 main ()
12205 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_compile "$LINENO"; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12212 $as_echo_n "checking for -lXrandr... " >&6; }
12213 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12216 ac_check_soname_save_LIBS=$LIBS
12217 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char XRRQueryExtension ();
12229 main ()
12231 return XRRQueryExtension ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12237 case "$LIBEXT" in
12238 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12239 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'` ;;
12240 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12241 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12242 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12243 fi ;;
12244 esac
12245 else
12246 ac_cv_lib_soname_Xrandr=
12248 rm -f core conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 LIBS=$ac_check_soname_save_LIBS
12252 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12254 $as_echo "not found" >&6; }
12256 else
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12258 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12260 cat >>confdefs.h <<_ACEOF
12261 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12262 _ACEOF
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266 #include <X11/Xlib.h>
12267 #include <X11/extensions/Xrandr.h>
12269 main ()
12271 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_compile "$LINENO"; then :
12278 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12280 else
12281 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12289 case "x$with_xrandr" in
12290 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12291 xno) ;;
12292 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12293 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12294 esac
12298 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12299 then
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12302 #include <X11/Xlib.h>
12303 #include <X11/extensions/Xfixes.h>
12305 main ()
12307 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_compile "$LINENO"; then :
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12314 $as_echo_n "checking for -lXfixes... " >&6; }
12315 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12316 $as_echo_n "(cached) " >&6
12317 else
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 char XFixesQueryVersion ();
12331 main ()
12333 return XFixesQueryVersion ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 case "$LIBEXT" in
12340 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12341 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'` ;;
12342 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12343 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12344 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12345 fi ;;
12346 esac
12347 else
12348 ac_cv_lib_soname_Xfixes=
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_soname_save_LIBS
12354 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12356 $as_echo "not found" >&6; }
12358 else
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12360 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12362 cat >>confdefs.h <<_ACEOF
12363 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12364 _ACEOF
12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12371 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12372 case "x$with_xfixes" in
12373 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12374 xno) ;;
12375 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12376 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12377 esac
12381 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12382 then
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12385 #include <X11/Xlib.h>
12386 #include <X11/extensions/Xinerama.h>
12388 main ()
12390 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_compile "$LINENO"; then :
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12397 $as_echo_n "checking for -lXinerama... " >&6; }
12398 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12399 $as_echo_n "(cached) " >&6
12400 else
12401 ac_check_soname_save_LIBS=$LIBS
12402 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12409 #ifdef __cplusplus
12410 extern "C"
12411 #endif
12412 char XineramaQueryScreens ();
12414 main ()
12416 return XineramaQueryScreens ();
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"; then :
12422 case "$LIBEXT" in
12423 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12424 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'` ;;
12425 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12426 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12427 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12428 fi ;;
12429 esac
12430 else
12431 ac_cv_lib_soname_Xinerama=
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 LIBS=$ac_check_soname_save_LIBS
12437 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12439 $as_echo "not found" >&6; }
12441 else
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12443 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12445 cat >>confdefs.h <<_ACEOF
12446 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12447 _ACEOF
12452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12454 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12455 case "x$with_xinerama" in
12456 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12457 xno) ;;
12458 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12459 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12460 esac
12464 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12465 then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12467 $as_echo_n "checking for -lXcomposite... " >&6; }
12468 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12469 $as_echo_n "(cached) " >&6
12470 else
12471 ac_check_soname_save_LIBS=$LIBS
12472 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 /* Override any GCC internal prototype to avoid an error.
12477 Use char because int might match the return type of a GCC
12478 builtin and then its argument prototype would still apply. */
12479 #ifdef __cplusplus
12480 extern "C"
12481 #endif
12482 char XCompositeRedirectWindow ();
12484 main ()
12486 return XCompositeRedirectWindow ();
12488 return 0;
12490 _ACEOF
12491 if ac_fn_c_try_link "$LINENO"; then :
12492 case "$LIBEXT" in
12493 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12494 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'` ;;
12495 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12496 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12497 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12498 fi ;;
12499 esac
12500 else
12501 ac_cv_lib_soname_Xcomposite=
12503 rm -f core conftest.err conftest.$ac_objext \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_soname_save_LIBS
12507 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12509 $as_echo "not found" >&6; }
12511 else
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12513 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12515 cat >>confdefs.h <<_ACEOF
12516 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12517 _ACEOF
12522 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12523 case "x$with_xcomposite" in
12524 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12525 xno) ;;
12526 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12527 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12528 esac
12532 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12533 #include <X11/Xlib.h>
12534 #endif
12536 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12538 cat >>confdefs.h <<_ACEOF
12539 #define HAVE_XICCALLBACK_CALLBACK 1
12540 _ACEOF
12544 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12545 #include <X11/Xlib.h>
12546 #endif
12548 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12550 cat >>confdefs.h <<_ACEOF
12551 #define HAVE_XEVENT_XCOOKIE 1
12552 _ACEOF
12559 opengl_msg=""
12560 if test "x$with_opengl" != "xno"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12563 $as_echo_n "checking for -lGL... " >&6; }
12564 if ${ac_cv_lib_soname_GL+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_soname_save_LIBS=$LIBS
12568 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char glXCreateContext ();
12580 main ()
12582 return glXCreateContext ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 case "$LIBEXT" in
12589 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 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'` ;;
12591 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_GL:+false} :; then :
12593 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 fi ;;
12595 esac
12596 else
12597 ac_cv_lib_soname_GL=
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_GL:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12607 $as_echo_n "checking for -lGL... " >&6; }
12608 if ${ac_cv_lib_soname_GL+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_soname_save_LIBS=$LIBS
12612 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"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char glXCreateContext ();
12624 main ()
12626 return glXCreateContext ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 case "$LIBEXT" in
12633 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12634 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'` ;;
12635 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12636 if ${ac_cv_lib_soname_GL:+false} :; then :
12637 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12638 fi ;;
12639 esac
12640 else
12641 ac_cv_lib_soname_GL=
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_soname_save_LIBS
12647 if ${ac_cv_lib_soname_GL:+false} :; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12649 $as_echo "not found" >&6; }
12650 if test -f /usr/X11R6/lib/libGL.a
12651 then
12652 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12653 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12654 else
12655 opengl_msg="No OpenGL library found on this system."
12657 else
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12659 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12661 cat >>confdefs.h <<_ACEOF
12662 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12663 _ACEOF
12665 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"
12667 else
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12669 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12671 cat >>confdefs.h <<_ACEOF
12672 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12673 _ACEOF
12675 OPENGL_LIBS="-lGL"
12677 if test "x$with_osmesa" != "xno"
12678 then
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12680 $as_echo_n "checking for -lOSMesa... " >&6; }
12681 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_soname_save_LIBS=$LIBS
12685 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char OSMesaGetProcAddress ();
12697 main ()
12699 return OSMesaGetProcAddress ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 case "$LIBEXT" in
12706 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12707 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'` ;;
12708 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12709 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12710 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12711 fi ;;
12712 esac
12713 else
12714 ac_cv_lib_soname_OSMesa=
12716 rm -f core conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_soname_save_LIBS
12720 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12722 $as_echo "not found" >&6; }
12724 else
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12726 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12728 cat >>confdefs.h <<_ACEOF
12729 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12730 _ACEOF
12734 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12735 case "x$with_osmesa" in
12736 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12737 xno) ;;
12738 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12739 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12740 esac
12745 if test -n "$opengl_msg"; then :
12746 case "x$with_opengl" in
12747 x) as_fn_append wine_warnings "|$opengl_msg
12748 OpenGL and Direct3D won't be supported." ;;
12749 xno) ;;
12750 *) as_fn_error $? "$opengl_msg
12751 OpenGL and Direct3D won't be supported.
12752 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12753 esac
12757 CPPFLAGS="$ac_save_CPPFLAGS"
12758 else
12759 X_CFLAGS=""
12760 X_LIBS=""
12763 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12764 then
12765 if test "x$X_LIBS" = "x"; then :
12766 case "x$with_x" in
12767 xno) ;;
12768 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12769 without X support, which probably isn't what you want. You will need
12770 to install ${notice_platform}development packages of Xlib at the very least.
12771 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12772 esac
12773 enable_winex11_drv=${enable_winex11_drv:-no}
12775 else
12776 if test "x$X_LIBS" = "x"; then :
12777 case "x$with_x" in
12778 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12779 xno) ;;
12780 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12781 This is an error since --with-x was requested." "$LINENO" 5 ;;
12782 esac
12783 enable_winex11_drv=${enable_winex11_drv:-no}
12787 if test "$ac_cv_header_CL_cl_h" = "yes"
12788 then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12790 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12791 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 ac_check_lib_save_LIBS=$LIBS
12795 LIBS="-lOpenCL $LIBS"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char clGetPlatformInfo ();
12807 main ()
12809 return clGetPlatformInfo ();
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_link "$LINENO"; then :
12815 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12816 else
12817 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12819 rm -f core conftest.err conftest.$ac_objext \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12824 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12825 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12826 OPENCL_LIBS="-lOpenCL"
12831 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12832 case "x$with_opencl" in
12833 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12834 xno) ;;
12835 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12836 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12837 esac
12838 enable_opencl=${enable_opencl:-no}
12841 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12842 then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12844 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12845 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_lib_save_LIBS=$LIBS
12849 LIBS="-lpcap $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char pcap_create ();
12861 main ()
12863 return pcap_create ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_pcap_pcap_create=yes
12870 else
12871 ac_cv_lib_pcap_pcap_create=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12878 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12879 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12880 PCAP_LIBS="-lpcap"
12885 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12886 case "x$with_pcap" in
12887 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12888 xno) ;;
12889 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12890 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12891 esac
12892 enable_wpcap=${enable_wpcap:-no}
12896 if test "x$with_xml" != "xno"
12897 then
12898 if ${XML2_CFLAGS:+false} :; then :
12899 if ${PKG_CONFIG+:} false; then :
12900 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12903 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12904 if ${XML2_LIBS:+false} :; then :
12905 if ${PKG_CONFIG+:} false; then :
12906 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12909 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12910 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12911 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12912 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12913 ac_save_CPPFLAGS=$CPPFLAGS
12914 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12915 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12916 do :
12917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12920 cat >>confdefs.h <<_ACEOF
12921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12922 _ACEOF
12926 done
12928 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"
12929 then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12931 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12932 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12933 $as_echo_n "(cached) " >&6
12934 else
12935 ac_check_lib_save_LIBS=$LIBS
12936 LIBS="-lxml2 $XML2_LIBS $LIBS"
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12943 #ifdef __cplusplus
12944 extern "C"
12945 #endif
12946 char xmlParseMemory ();
12948 main ()
12950 return xmlParseMemory ();
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_lib_xml2_xmlParseMemory=yes
12957 else
12958 ac_cv_lib_xml2_xmlParseMemory=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12965 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12966 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12968 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12970 else
12971 XML2_LIBS=""
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12975 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12976 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lxml2 $XML2_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char xmlReadMemory ();
12992 main ()
12994 return xmlReadMemory ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_xml2_xmlReadMemory=yes
13001 else
13002 ac_cv_lib_xml2_xmlReadMemory=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13009 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13010 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13012 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13017 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13018 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-lxml2 $XML2_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char xmlNewDocPI ();
13034 main ()
13036 return xmlNewDocPI ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_xml2_xmlNewDocPI=yes
13043 else
13044 ac_cv_lib_xml2_xmlNewDocPI=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13051 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13052 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13054 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13059 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13060 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13061 $as_echo_n "(cached) " >&6
13062 else
13063 ac_check_lib_save_LIBS=$LIBS
13064 LIBS="-lxml2 $XML2_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 char xmlSchemaSetParserStructuredErrors ();
13076 main ()
13078 return xmlSchemaSetParserStructuredErrors ();
13080 return 0;
13082 _ACEOF
13083 if ac_fn_c_try_link "$LINENO"; then :
13084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13085 else
13086 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_lib_save_LIBS
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13093 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13094 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13096 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13101 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13102 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_lib_save_LIBS=$LIBS
13106 LIBS="-lxml2 $XML2_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char xmlSchemaSetValidStructuredErrors ();
13118 main ()
13120 return xmlSchemaSetValidStructuredErrors ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13127 else
13128 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_lib_save_LIBS
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13135 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13136 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13138 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13143 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13144 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13145 $as_echo_n "(cached) " >&6
13146 else
13147 ac_check_lib_save_LIBS=$LIBS
13148 LIBS="-lxml2 $XML2_LIBS $LIBS"
13149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13150 /* end confdefs.h. */
13152 /* Override any GCC internal prototype to avoid an error.
13153 Use char because int might match the return type of a GCC
13154 builtin and then its argument prototype would still apply. */
13155 #ifdef __cplusplus
13156 extern "C"
13157 #endif
13158 char xmlFirstElementChild ();
13160 main ()
13162 return xmlFirstElementChild ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"; then :
13168 ac_cv_lib_xml2_xmlFirstElementChild=yes
13169 else
13170 ac_cv_lib_xml2_xmlFirstElementChild=no
13172 rm -f core conftest.err conftest.$ac_objext \
13173 conftest$ac_exeext conftest.$ac_ext
13174 LIBS=$ac_check_lib_save_LIBS
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13177 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13178 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13180 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13184 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13186 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13188 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13192 else
13193 XML2_CFLAGS=""
13194 XML2_LIBS=""
13196 CPPFLAGS=$ac_save_CPPFLAGS
13199 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13200 case "x$with_xml" in
13201 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13202 xno) ;;
13203 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13204 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13205 esac
13209 if test "x$with_xslt" != "xno"
13210 then
13211 if ${XSLT_CFLAGS:+false} :; then :
13212 if ${PKG_CONFIG+:} false; then :
13213 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13216 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13217 if ${XSLT_LIBS:+false} :; then :
13218 if ${PKG_CONFIG+:} false; then :
13219 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13222 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13223 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13225 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13226 ac_save_CPPFLAGS=$CPPFLAGS
13227 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13228 for ac_header in libxslt/pattern.h libxslt/transform.h
13229 do :
13230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13232 # include <libxslt/pattern.h>
13233 #endif
13235 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13236 cat >>confdefs.h <<_ACEOF
13237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13238 _ACEOF
13242 done
13244 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13245 then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13247 $as_echo_n "checking for -lxslt... " >&6; }
13248 if ${ac_cv_lib_soname_xslt+:} false; then :
13249 $as_echo_n "(cached) " >&6
13250 else
13251 ac_check_soname_save_LIBS=$LIBS
13252 LIBS="-lxslt $XSLT_LIBS $LIBS"
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char xsltCompilePattern ();
13264 main ()
13266 return xsltCompilePattern ();
13268 return 0;
13270 _ACEOF
13271 if ac_fn_c_try_link "$LINENO"; then :
13272 case "$LIBEXT" in
13273 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13274 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'` ;;
13275 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13276 if ${ac_cv_lib_soname_xslt:+false} :; then :
13277 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13278 fi ;;
13279 esac
13280 else
13281 ac_cv_lib_soname_xslt=
13283 rm -f core conftest.err conftest.$ac_objext \
13284 conftest$ac_exeext conftest.$ac_ext
13285 LIBS=$ac_check_soname_save_LIBS
13287 if ${ac_cv_lib_soname_xslt:+false} :; then :
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13289 $as_echo "not found" >&6; }
13291 else
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13293 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13295 cat >>confdefs.h <<_ACEOF
13296 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13297 _ACEOF
13301 else
13302 XSLT_CFLAGS=""
13304 CPPFLAGS=$ac_save_CPPFLAGS
13307 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13308 case "x$with_xslt" in
13309 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13310 xno) ;;
13311 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13312 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13313 esac
13317 if test "x$with_inotify" != "xno"
13318 then
13319 if ${INOTIFY_CFLAGS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13325 if ${INOTIFY_LIBS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13334 ac_save_CPPFLAGS=$CPPFLAGS
13335 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13336 for ac_header in sys/inotify.h
13337 do :
13338 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13339 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13340 cat >>confdefs.h <<_ACEOF
13341 #define HAVE_SYS_INOTIFY_H 1
13342 _ACEOF
13346 done
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13349 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13350 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13351 $as_echo_n "(cached) " >&6
13352 else
13353 ac_check_lib_save_LIBS=$LIBS
13354 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13361 #ifdef __cplusplus
13362 extern "C"
13363 #endif
13364 char inotify_add_watch ();
13366 main ()
13368 return inotify_add_watch ();
13370 return 0;
13372 _ACEOF
13373 if ac_fn_c_try_link "$LINENO"; then :
13374 ac_cv_lib_inotify_inotify_add_watch=yes
13375 else
13376 ac_cv_lib_inotify_inotify_add_watch=no
13378 rm -f core conftest.err conftest.$ac_objext \
13379 conftest$ac_exeext conftest.$ac_ext
13380 LIBS=$ac_check_lib_save_LIBS
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13383 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13384 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13386 else
13387 INOTIFY_LIBS=""
13390 CPPFLAGS=$ac_save_CPPFLAGS
13393 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13394 case "x$with_inotify" in
13395 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13396 xno) ;;
13397 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13398 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13399 esac
13403 if test "x$with_dbus" != "xno"
13404 then
13405 if ${DBUS_CFLAGS:+false} :; then :
13406 if ${PKG_CONFIG+:} false; then :
13407 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13411 if ${DBUS_LIBS:+false} :; then :
13412 if ${PKG_CONFIG+:} false; then :
13413 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13418 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13419 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13420 ac_save_CPPFLAGS=$CPPFLAGS
13421 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13422 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13423 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13425 $as_echo_n "checking for -ldbus-1... " >&6; }
13426 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13427 $as_echo_n "(cached) " >&6
13428 else
13429 ac_check_soname_save_LIBS=$LIBS
13430 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13437 #ifdef __cplusplus
13438 extern "C"
13439 #endif
13440 char dbus_connection_close ();
13442 main ()
13444 return dbus_connection_close ();
13446 return 0;
13448 _ACEOF
13449 if ac_fn_c_try_link "$LINENO"; then :
13450 case "$LIBEXT" in
13451 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13452 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'` ;;
13453 *) 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'`
13454 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13455 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13456 fi ;;
13457 esac
13458 else
13459 ac_cv_lib_soname_dbus_1=
13461 rm -f core conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13463 LIBS=$ac_check_soname_save_LIBS
13465 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13467 $as_echo "not found" >&6; }
13468 DBUS_CFLAGS=""
13469 else
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13471 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13473 cat >>confdefs.h <<_ACEOF
13474 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13475 _ACEOF
13479 else
13480 DBUS_CFLAGS=""
13484 CPPFLAGS=$ac_save_CPPFLAGS
13487 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13488 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13489 case "x$with_dbus" in
13490 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13491 xno) ;;
13492 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13493 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13494 esac
13498 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13499 then
13500 if ${HAL_CFLAGS:+false} :; then :
13501 if ${PKG_CONFIG+:} false; then :
13502 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13506 if ${HAL_LIBS:+false} :; then :
13507 if ${PKG_CONFIG+:} false; then :
13508 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13512 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13513 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13514 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13515 ac_save_CPPFLAGS=$CPPFLAGS
13516 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13517 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13518 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13520 $as_echo_n "checking for -lhal... " >&6; }
13521 if ${ac_cv_lib_soname_hal+:} false; then :
13522 $as_echo_n "(cached) " >&6
13523 else
13524 ac_check_soname_save_LIBS=$LIBS
13525 LIBS="-lhal $HAL_LIBS $LIBS"
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13529 /* Override any GCC internal prototype to avoid an error.
13530 Use char because int might match the return type of a GCC
13531 builtin and then its argument prototype would still apply. */
13532 #ifdef __cplusplus
13533 extern "C"
13534 #endif
13535 char libhal_ctx_new ();
13537 main ()
13539 return libhal_ctx_new ();
13541 return 0;
13543 _ACEOF
13544 if ac_fn_c_try_link "$LINENO"; then :
13545 case "$LIBEXT" in
13546 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13547 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'` ;;
13548 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13549 if ${ac_cv_lib_soname_hal:+false} :; then :
13550 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13551 fi ;;
13552 esac
13553 else
13554 ac_cv_lib_soname_hal=
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 LIBS=$ac_check_soname_save_LIBS
13560 if ${ac_cv_lib_soname_hal:+false} :; then :
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13562 $as_echo "not found" >&6; }
13563 HAL_CFLAGS=""
13564 else
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13566 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13568 cat >>confdefs.h <<_ACEOF
13569 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13570 _ACEOF
13574 else
13575 HAL_CFLAGS=""
13579 CPPFLAGS=$ac_save_CPPFLAGS
13581 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13583 case "x$with_hal" in
13584 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13585 xno) ;;
13586 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13587 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13588 esac
13593 if test "x$with_gnutls" != "xno"
13594 then
13595 if ${GNUTLS_CFLAGS:+false} :; then :
13596 if ${PKG_CONFIG+:} false; then :
13597 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13601 if ${GNUTLS_LIBS:+false} :; then :
13602 if ${PKG_CONFIG+:} false; then :
13603 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13607 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13608 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13609 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13610 ac_save_CPPFLAGS=$CPPFLAGS
13611 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13612 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13613 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 #include <gnutls/gnutls.h>
13617 #include <gnutls/crypto.h>
13619 main ()
13621 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13623 return 0;
13625 _ACEOF
13626 if ac_fn_c_try_compile "$LINENO"; then :
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13628 $as_echo_n "checking for -lgnutls... " >&6; }
13629 if ${ac_cv_lib_soname_gnutls+:} false; then :
13630 $as_echo_n "(cached) " >&6
13631 else
13632 ac_check_soname_save_LIBS=$LIBS
13633 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13640 #ifdef __cplusplus
13641 extern "C"
13642 #endif
13643 char gnutls_global_init ();
13645 main ()
13647 return gnutls_global_init ();
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 case "$LIBEXT" in
13654 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13655 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'` ;;
13656 *) 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'`
13657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13658 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'`
13659 fi ;;
13660 esac
13661 else
13662 ac_cv_lib_soname_gnutls=
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 LIBS=$ac_check_soname_save_LIBS
13668 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13670 $as_echo "not found" >&6; }
13671 GNUTLS_CFLAGS=""
13672 else
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13674 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13676 cat >>confdefs.h <<_ACEOF
13677 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13678 _ACEOF
13682 ac_wine_check_funcs_save_LIBS="$LIBS"
13683 LIBS="$LIBS $GNUTLS_LIBS"
13684 for ac_func in gnutls_cipher_init
13685 do :
13686 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13687 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13688 cat >>confdefs.h <<_ACEOF
13689 #define HAVE_GNUTLS_CIPHER_INIT 1
13690 _ACEOF
13692 else
13693 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13695 done
13697 LIBS="$ac_wine_check_funcs_save_LIBS"
13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13700 else
13701 GNUTLS_CFLAGS=""
13705 CPPFLAGS=$ac_save_CPPFLAGS
13708 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13709 case "x$with_gnutls" in
13710 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13711 xno) ;;
13712 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13713 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13714 esac
13718 if test "x$with_sane" != "xno"
13719 then
13720 if ${SANE_CFLAGS:+false} :; then :
13721 if ${PKG_CONFIG+:} false; then :
13722 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13725 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13726 if ${SANE_LIBS:+false} :; then :
13727 if ${PKG_CONFIG+:} false; then :
13728 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13731 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13733 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13734 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13735 ac_save_CPPFLAGS=$CPPFLAGS
13736 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13737 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13738 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13740 $as_echo_n "checking for -lsane... " >&6; }
13741 if ${ac_cv_lib_soname_sane+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_check_soname_save_LIBS=$LIBS
13745 LIBS="-lsane $SANE_LIBS $LIBS"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13749 /* Override any GCC internal prototype to avoid an error.
13750 Use char because int might match the return type of a GCC
13751 builtin and then its argument prototype would still apply. */
13752 #ifdef __cplusplus
13753 extern "C"
13754 #endif
13755 char sane_init ();
13757 main ()
13759 return sane_init ();
13761 return 0;
13763 _ACEOF
13764 if ac_fn_c_try_link "$LINENO"; then :
13765 case "$LIBEXT" in
13766 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13767 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'` ;;
13768 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13769 if ${ac_cv_lib_soname_sane:+false} :; then :
13770 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13771 fi ;;
13772 esac
13773 else
13774 ac_cv_lib_soname_sane=
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13778 LIBS=$ac_check_soname_save_LIBS
13780 if ${ac_cv_lib_soname_sane:+false} :; then :
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13782 $as_echo "not found" >&6; }
13783 SANE_CFLAGS=""
13784 else
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13786 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13788 cat >>confdefs.h <<_ACEOF
13789 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13790 _ACEOF
13794 else
13795 SANE_CFLAGS=""
13799 CPPFLAGS=$ac_save_CPPFLAGS
13802 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13803 case "x$with_sane" in
13804 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13805 xno) ;;
13806 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13807 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13808 esac
13812 if test "x$with_usb" != "xno"
13813 then
13814 if ${USB_CFLAGS:+false} :; then :
13815 if ${PKG_CONFIG+:} false; then :
13816 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13820 if ${USB_LIBS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13826 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13829 ac_save_CPPFLAGS=$CPPFLAGS
13830 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13831 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_libusb_h" = xyes; then :
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13834 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13835 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_lib_save_LIBS=$LIBS
13839 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char libusb_interrupt_event_handler ();
13851 main ()
13853 return libusb_interrupt_event_handler ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13860 else
13861 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_lib_save_LIBS
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13868 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13869 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13871 else
13872 USB_LIBS=""
13875 else
13876 USB_LIBS=""
13880 CPPFLAGS=$ac_save_CPPFLAGS
13883 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13884 case "x$with_usb" in
13885 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13886 xno) ;;
13887 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13888 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13889 esac
13890 enable_wineusb_sys=${enable_wineusb_sys:-no}
13893 if test "x$with_v4l2" != "xno"
13894 then
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13896 $as_echo_n "checking for -lv4l2... " >&6; }
13897 if ${ac_cv_lib_soname_v4l2+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 ac_check_soname_save_LIBS=$LIBS
13901 LIBS="-lv4l2 $LIBS"
13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 /* Override any GCC internal prototype to avoid an error.
13906 Use char because int might match the return type of a GCC
13907 builtin and then its argument prototype would still apply. */
13908 #ifdef __cplusplus
13909 extern "C"
13910 #endif
13911 char v4l2_open ();
13913 main ()
13915 return v4l2_open ();
13917 return 0;
13919 _ACEOF
13920 if ac_fn_c_try_link "$LINENO"; then :
13921 case "$LIBEXT" in
13922 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13923 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'` ;;
13924 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13925 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13926 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13927 fi ;;
13928 esac
13929 else
13930 ac_cv_lib_soname_v4l2=
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_soname_save_LIBS
13936 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13938 $as_echo "not found" >&6; }
13940 else
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13942 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13944 cat >>confdefs.h <<_ACEOF
13945 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13946 _ACEOF
13951 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13952 case "x$with_v4l2" in
13953 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13954 xno) ;;
13955 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13956 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13957 esac
13961 if test "x$with_gphoto" != "xno"
13962 then
13963 if ${GPHOTO2_CFLAGS:+false} :; then :
13964 if ${PKG_CONFIG+:} false; then :
13965 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13968 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13969 if ${GPHOTO2_LIBS:+false} :; then :
13970 if ${PKG_CONFIG+:} false; then :
13971 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13974 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13975 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13976 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13977 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13978 ac_save_CPPFLAGS=$CPPFLAGS
13979 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13980 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13981 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13983 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13984 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char gp_camera_new ();
14000 main ()
14002 return gp_camera_new ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_lib_gphoto2_gp_camera_new=yes
14009 else
14010 ac_cv_lib_gphoto2_gp_camera_new=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 LIBS=$ac_check_lib_save_LIBS
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14017 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14018 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14020 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14022 else
14023 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14026 else
14027 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14031 CPPFLAGS=$ac_save_CPPFLAGS
14033 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14034 if ${PKG_CONFIG+:} false; then :
14035 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14038 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14039 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14040 if ${PKG_CONFIG+:} false; then :
14041 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14044 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14045 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14048 ac_save_CPPFLAGS=$CPPFLAGS
14049 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14050 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14051 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14053 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14054 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14065 #ifdef __cplusplus
14066 extern "C"
14067 #endif
14068 char gp_port_info_list_new ();
14070 main ()
14072 return gp_port_info_list_new ();
14074 return 0;
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14079 else
14080 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_lib_save_LIBS
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14087 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14088 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14090 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14092 else
14093 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14096 else
14097 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14101 CPPFLAGS=$ac_save_CPPFLAGS
14104 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14105 case "x$with_gphoto" in
14106 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14107 xno) ;;
14108 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14109 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14110 esac
14113 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14114 case "x$with_gphoto" in
14115 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14116 xno) ;;
14117 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14118 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14119 esac
14124 if test "$ac_cv_header_resolv_h" = "yes"
14125 then
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14127 $as_echo_n "checking for resolver library... " >&6; }
14128 if ${ac_cv_have_resolv+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_save_LIBS="$LIBS"
14132 for lib in '' -lresolv
14134 LIBS="$lib $ac_save_LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 #ifdef HAVE_NETINET_IN_H
14138 #include <netinet/in.h>
14139 #endif
14140 #include <resolv.h>
14142 main ()
14144 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_have_resolv=${lib:-"none required"}
14151 else
14152 ac_cv_have_resolv="not found"
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 test "x$ac_cv_have_resolv" = "xnot found" || break
14157 done
14158 LIBS="$ac_save_LIBS"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14161 $as_echo "$ac_cv_have_resolv" >&6; }
14163 case "$ac_cv_have_resolv" in
14164 "not found") ;;
14165 "none required")
14167 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14170 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14172 RESOLV_LIBS=$ac_cv_have_resolv
14174 esac
14176 if test "x$ac_cv_have_resolv" != "xnot found"
14177 then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14179 $as_echo_n "checking for res_getservers... " >&6; }
14180 if ${ac_cv_have_res_getservers+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_save_LIBS="$LIBS"
14184 LIBS="$RESOLV_LIBS $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 #include <resolv.h>
14189 main ()
14191 res_getservers(NULL, NULL, 0);
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_have_res_getservers=yes
14198 else
14199 ac_cv_have_res_getservers=no
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14203 LIBS="$ac_save_LIBS"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14206 $as_echo "$ac_cv_have_res_getservers" >&6; }
14207 if test "$ac_cv_have_res_getservers" = "yes"
14208 then
14210 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14216 if test "x$with_cms" != "xno"
14217 then
14218 if ${LCMS2_CFLAGS:+false} :; then :
14219 if ${PKG_CONFIG+:} false; then :
14220 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14224 if ${LCMS2_LIBS:+false} :; then :
14225 if ${PKG_CONFIG+:} false; then :
14226 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14230 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14231 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14232 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14233 ac_save_CPPFLAGS=$CPPFLAGS
14234 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14235 for ac_header in lcms2.h
14236 do :
14237 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14238 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14239 cat >>confdefs.h <<_ACEOF
14240 #define HAVE_LCMS2_H 1
14241 _ACEOF
14245 done
14247 if test "$ac_cv_header_lcms2_h" = "yes"
14248 then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14250 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14251 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_check_lib_save_LIBS=$LIBS
14255 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 #ifdef __cplusplus
14263 extern "C"
14264 #endif
14265 char cmsOpenProfileFromFile ();
14267 main ()
14269 return cmsOpenProfileFromFile ();
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14276 else
14277 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 LIBS=$ac_check_lib_save_LIBS
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14284 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14285 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14287 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14289 else
14290 LCMS2_LIBS=""
14293 else
14294 LCMS2_CFLAGS=""
14295 LCMS2_LIBS=""
14297 CPPFLAGS=$ac_save_CPPFLAGS
14300 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14301 case "x$with_cms" in
14302 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14303 xno) ;;
14304 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14305 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14306 esac
14310 if test "x$with_freetype" != "xno"
14311 then
14312 if ${FREETYPE_CFLAGS:+false} :; then :
14313 if ${PKG_CONFIG+:} false; then :
14314 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14317 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14318 if ${FREETYPE_LIBS:+false} :; then :
14319 if ${PKG_CONFIG+:} false; then :
14320 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14323 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14324 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14325 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14326 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14327 ac_save_CPPFLAGS=$CPPFLAGS
14328 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14329 for ac_header in ft2build.h
14330 do :
14331 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14332 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14333 cat >>confdefs.h <<_ACEOF
14334 #define HAVE_FT2BUILD_H 1
14335 _ACEOF
14339 done
14341 if test "$ac_cv_header_ft2build_h" = "yes"
14342 then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14344 $as_echo_n "checking for -lfreetype... " >&6; }
14345 if ${ac_cv_lib_soname_freetype+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_check_soname_save_LIBS=$LIBS
14349 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14353 /* Override any GCC internal prototype to avoid an error.
14354 Use char because int might match the return type of a GCC
14355 builtin and then its argument prototype would still apply. */
14356 #ifdef __cplusplus
14357 extern "C"
14358 #endif
14359 char FT_Init_FreeType ();
14361 main ()
14363 return FT_Init_FreeType ();
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 case "$LIBEXT" in
14370 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14371 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'` ;;
14372 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14373 if ${ac_cv_lib_soname_freetype:+false} :; then :
14374 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14375 fi ;;
14376 esac
14377 else
14378 ac_cv_lib_soname_freetype=
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 LIBS=$ac_check_soname_save_LIBS
14384 if ${ac_cv_lib_soname_freetype:+false} :; then :
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14386 $as_echo "not found" >&6; }
14387 FREETYPE_LIBS=""
14388 else
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14390 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14392 cat >>confdefs.h <<_ACEOF
14393 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14394 _ACEOF
14397 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14399 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14400 #include FT_MODULE_H
14402 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14404 cat >>confdefs.h <<_ACEOF
14405 #define HAVE_FT_TRUETYPEENGINETYPE 1
14406 _ACEOF
14412 else
14413 FREETYPE_CFLAGS=""
14414 FREETYPE_LIBS=""
14416 CPPFLAGS=$ac_save_CPPFLAGS
14419 if test "x$ac_cv_lib_soname_freetype" = x; then :
14420 case "x$with_freetype" in
14421 xno) ;;
14422 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14423 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14424 esac
14425 enable_fonts=${enable_fonts:-no}
14428 ac_wine_check_funcs_save_LIBS="$LIBS"
14429 LIBS="$LIBS $PTHREAD_LIBS"
14430 for ac_func in \
14431 pthread_getthreadid_np
14432 do :
14433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14436 cat >>confdefs.h <<_ACEOF
14437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14438 _ACEOF
14441 done
14443 LIBS="$ac_wine_check_funcs_save_LIBS"
14445 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14446 then
14447 if test "$ac_cv_header_gettext_po_h" = "yes"
14448 then
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14450 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14451 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14452 $as_echo_n "(cached) " >&6
14453 else
14454 ac_check_lib_save_LIBS=$LIBS
14455 LIBS="-lgettextpo $LIBS"
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14459 /* Override any GCC internal prototype to avoid an error.
14460 Use char because int might match the return type of a GCC
14461 builtin and then its argument prototype would still apply. */
14462 #ifdef __cplusplus
14463 extern "C"
14464 #endif
14465 char po_message_msgctxt ();
14467 main ()
14469 return po_message_msgctxt ();
14471 return 0;
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14476 else
14477 ac_cv_lib_gettextpo_po_message_msgctxt=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 LIBS=$ac_check_lib_save_LIBS
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14484 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14485 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14487 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14489 GETTEXTPO_LIBS="-lgettextpo"
14494 if test "x$GETTEXTPO_LIBS" = "x"; then :
14495 case "x$with_gettextpo" in
14496 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14497 xno) ;;
14498 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14499 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14500 esac
14503 if test "$srcdir" != .; then :
14504 case "x$with_gettextpo" in
14505 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14506 xno) ;;
14507 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14508 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14509 esac
14514 if test "x$with_pulse" != "xno";
14515 then
14516 if ${PULSE_CFLAGS:+false} :; then :
14517 if ${PKG_CONFIG+:} false; then :
14518 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14522 if ${PULSE_LIBS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14529 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14531 ac_save_CPPFLAGS=$CPPFLAGS
14532 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14533 for ac_header in pulse/pulseaudio.h
14534 do :
14535 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14536 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14537 cat >>confdefs.h <<_ACEOF
14538 #define HAVE_PULSE_PULSEAUDIO_H 1
14539 _ACEOF
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14541 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14542 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_check_lib_save_LIBS=$LIBS
14546 LIBS="-lpulse $PULSE_LIBS $LIBS"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 #endif
14556 char pa_stream_is_corked ();
14558 main ()
14560 return pa_stream_is_corked ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_lib_pulse_pa_stream_is_corked=yes
14567 else
14568 ac_cv_lib_pulse_pa_stream_is_corked=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_check_lib_save_LIBS
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14575 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14576 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14578 else
14579 PULSE_LIBS=""
14582 else
14583 PULSE_LIBS=""
14586 done
14588 CPPFLAGS=$ac_save_CPPFLAGS
14591 if test -z "$PULSE_LIBS"; then :
14592 case "x$with_pulse" in
14593 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14594 xno) ;;
14595 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14596 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14597 esac
14598 enable_winepulse_drv=${enable_winepulse_drv:-no}
14601 if test "x$with_gstreamer" != "xno"
14602 then
14603 if ${GSTREAMER_CFLAGS:+false} :; then :
14604 if ${PKG_CONFIG+:} false; then :
14605 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14609 if ${GSTREAMER_LIBS:+false} :; then :
14610 if ${PKG_CONFIG+:} false; then :
14611 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14617 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14618 ac_save_CPPFLAGS=$CPPFLAGS
14619 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14620 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14621 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14623 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 #include <gst/gst.h>
14628 main ()
14630 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14632 return 0;
14634 _ACEOF
14635 if ac_fn_c_try_compile "$LINENO"; then :
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14637 $as_echo "yes" >&6; }
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14639 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14640 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 ac_check_lib_save_LIBS=$LIBS
14644 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14651 #ifdef __cplusplus
14652 extern "C"
14653 #endif
14654 char gst_pad_new ();
14656 main ()
14658 return gst_pad_new ();
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"; then :
14664 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14665 else
14666 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14668 rm -f core conftest.err conftest.$ac_objext \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LIBS=$ac_check_lib_save_LIBS
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14673 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14674 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14678 else
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14680 $as_echo "no" >&6; }
14681 ac_glib2_broken=yes
14682 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14688 CPPFLAGS=$ac_save_CPPFLAGS
14691 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14692 then
14693 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14694 case "x$with_gstreamer" in
14695 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14696 xno) ;;
14697 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14698 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14699 esac
14703 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14705 ALSA_LIBS=""
14707 if test "x$with_alsa" != "xno"
14708 then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14710 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14711 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14712 $as_echo_n "(cached) " >&6
14713 else
14714 ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lasound $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14722 #ifdef __cplusplus
14723 extern "C"
14724 #endif
14725 char snd_pcm_hw_params_get_access_mask ();
14727 main ()
14729 return snd_pcm_hw_params_get_access_mask ();
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14736 else
14737 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_lib_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14744 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14745 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 #include <alsa/asoundlib.h>
14750 main ()
14752 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14754 return 0;
14756 _ACEOF
14757 if ac_fn_c_try_compile "$LINENO"; then :
14758 ALSA_LIBS="-lasound"
14760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14764 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14766 if test "x$with_oss" != xno
14767 then
14768 ac_save_CPPFLAGS="$CPPFLAGS"
14769 if test -f /etc/oss.conf
14770 then
14771 . /etc/oss.conf
14773 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14774 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14775 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14776 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14777 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14779 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14781 cat >>confdefs.h <<_ACEOF
14782 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14783 _ACEOF
14785 OSS4_CFLAGS="$ac_oss_incl"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14788 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14789 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_check_lib_save_LIBS=$LIBS
14793 LIBS="-lossaudio $LIBS"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char _oss_ioctl ();
14805 main ()
14807 return _oss_ioctl ();
14809 return 0;
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_lib_ossaudio__oss_ioctl=yes
14814 else
14815 ac_cv_lib_ossaudio__oss_ioctl=no
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14819 LIBS=$ac_check_lib_save_LIBS
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14822 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14823 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14824 OSS4_LIBS="-lossaudio"
14833 CPPFLAGS="$ac_save_CPPFLAGS"
14835 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14836 case "x$with_oss" in
14837 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14838 xno) ;;
14839 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14840 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14841 esac
14842 enable_wineoss_drv=${enable_wineoss_drv:-no}
14845 if test "x$with_udev" != "xno"
14846 then
14847 if ${UDEV_CFLAGS:+false} :; then :
14848 if ${PKG_CONFIG+:} false; then :
14849 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14853 if ${UDEV_LIBS:+false} :; then :
14854 if ${PKG_CONFIG+:} false; then :
14855 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14859 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14860 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14861 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14862 ac_save_CPPFLAGS=$CPPFLAGS
14863 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14864 for ac_header in libudev.h
14865 do :
14866 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14867 if test "x$ac_cv_header_libudev_h" = xyes; then :
14868 cat >>confdefs.h <<_ACEOF
14869 #define HAVE_LIBUDEV_H 1
14870 _ACEOF
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14872 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14873 if ${ac_cv_lib_udev_udev_new+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 ac_check_lib_save_LIBS=$LIBS
14877 LIBS="-ludev $UDEV_LIBS $LIBS"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 #ifdef __cplusplus
14885 extern "C"
14886 #endif
14887 char udev_new ();
14889 main ()
14891 return udev_new ();
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 ac_cv_lib_udev_udev_new=yes
14898 else
14899 ac_cv_lib_udev_udev_new=no
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext conftest.$ac_ext
14903 LIBS=$ac_check_lib_save_LIBS
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14906 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14907 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14909 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14911 else
14912 UDEV_LIBS=""
14915 else
14916 UDEV_LIBS=""
14919 done
14921 CPPFLAGS=$ac_save_CPPFLAGS
14924 if test "x$UDEV_LIBS" = "x"; then :
14925 case "x$with_udev" in
14926 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14927 xno) ;;
14928 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14929 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14930 esac
14934 if test "x$with_unwind" != xno
14935 then
14936 if ${UNWIND_CFLAGS:+false} :; then :
14937 if ${PKG_CONFIG+:} false; then :
14938 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14942 if ${UNWIND_LIBS:+false} :; then :
14943 if ${PKG_CONFIG+:} false; then :
14944 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14948 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14949 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14950 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14951 ac_save_CPPFLAGS=$CPPFLAGS
14952 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14954 $as_echo_n "checking for unw_step... " >&6; }
14955 if ${wine_cv_have_unw_step+:} false; then :
14956 $as_echo_n "(cached) " >&6
14957 else
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14960 #define UNW_LOCAL_ONLY
14961 #include <libunwind.h>
14963 main ()
14965 unw_cursor_t cursor; unw_step( &cursor );
14967 return 0;
14969 _ACEOF
14970 if ac_fn_c_try_link "$LINENO"; then :
14971 wine_cv_have_unw_step="yes"
14972 else
14973 wine_cv_have_unw_step="no"
14975 rm -f core conftest.err conftest.$ac_objext \
14976 conftest$ac_exeext conftest.$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14979 $as_echo "$wine_cv_have_unw_step" >&6; }
14980 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14981 then
14982 save_libs=$LIBS
14983 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14984 LIBS="$UNWIND_LIBS $LIBS"
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14986 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14987 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 #define UNW_LOCAL_ONLY
14993 #include <libunwind.h>
14995 main ()
14997 unw_cursor_t cursor; unw_step( &cursor );
14999 return 0;
15001 _ACEOF
15002 if ac_fn_c_try_link "$LINENO"; then :
15003 wine_cv_have_libunwind_unw_step="yes"
15004 else
15005 wine_cv_have_libunwind_unw_step="no"
15007 rm -f core conftest.err conftest.$ac_objext \
15008 conftest$ac_exeext conftest.$ac_ext
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15011 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15012 LIBS=$save_libs
15014 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15015 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15016 then
15018 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15021 CPPFLAGS=$ac_save_CPPFLAGS
15024 case $host in
15025 aarch64*|*-darwin*)
15026 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15027 case "x$with_unwind" in
15028 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15029 xno) ;;
15030 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15031 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15032 esac
15034 fi ;;
15035 esac
15037 if test "x$with_sdl" != "xno"
15038 then
15039 if ${SDL2_CFLAGS:+false} :; then :
15040 if ${PKG_CONFIG+:} false; then :
15041 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15045 if ${SDL2_LIBS:+false} :; then :
15046 if ${PKG_CONFIG+:} false; then :
15047 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15051 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15052 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15053 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15054 ac_save_CPPFLAGS=$CPPFLAGS
15055 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15056 for ac_header in SDL.h
15057 do :
15058 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15059 if test "x$ac_cv_header_SDL_h" = xyes; then :
15060 cat >>confdefs.h <<_ACEOF
15061 #define HAVE_SDL_H 1
15062 _ACEOF
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15064 $as_echo_n "checking for -lSDL2... " >&6; }
15065 if ${ac_cv_lib_soname_SDL2+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_check_soname_save_LIBS=$LIBS
15069 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 #ifdef __cplusplus
15077 extern "C"
15078 #endif
15079 char SDL_Init ();
15081 main ()
15083 return SDL_Init ();
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 case "$LIBEXT" in
15090 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15091 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15092 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15093 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15094 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15095 fi ;;
15096 esac
15097 else
15098 ac_cv_lib_soname_SDL2=
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LIBS=$ac_check_soname_save_LIBS
15104 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15106 $as_echo "not found" >&6; }
15108 else
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15110 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15112 cat >>confdefs.h <<_ACEOF
15113 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15114 _ACEOF
15120 done
15122 CPPFLAGS=$ac_save_CPPFLAGS
15125 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15126 case "x$with_sdl" in
15127 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15128 xno) ;;
15129 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15130 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15131 esac
15135 if test "x$with_faudio" != "xno"
15136 then
15137 if ${FAUDIO_CFLAGS:+false} :; then :
15138 if ${PKG_CONFIG+:} false; then :
15139 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15143 if ${FAUDIO_LIBS:+false} :; then :
15144 if ${PKG_CONFIG+:} false; then :
15145 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15149 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15150 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15151 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15152 ac_save_CPPFLAGS=$CPPFLAGS
15153 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15154 for ac_header in FAudio.h
15155 do :
15156 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15157 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_FAUDIO_H 1
15160 _ACEOF
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15162 $as_echo_n "checking for -lFAudio... " >&6; }
15163 if ${ac_cv_lib_soname_FAudio+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_check_soname_save_LIBS=$LIBS
15167 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15174 #ifdef __cplusplus
15175 extern "C"
15176 #endif
15177 char FAudioCreate ();
15179 main ()
15181 return FAudioCreate ();
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 case "$LIBEXT" in
15188 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15189 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15190 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15191 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15192 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15193 fi ;;
15194 esac
15195 else
15196 ac_cv_lib_soname_FAudio=
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15200 LIBS=$ac_check_soname_save_LIBS
15202 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15204 $as_echo "not found" >&6; }
15206 else
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15208 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15210 cat >>confdefs.h <<_ACEOF
15211 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15212 _ACEOF
15218 done
15220 ac_wine_check_funcs_save_LIBS="$LIBS"
15221 LIBS="$LIBS $FAUDIO_LIBS"
15222 for ac_func in FAudio_CommitOperationSet \
15223 F3DAudioInitialize8 \
15224 FAudioLinkedVersion \
15225 FAudioCreateReverb9WithCustomAllocatorEXT
15226 do :
15227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15230 cat >>confdefs.h <<_ACEOF
15231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15232 _ACEOF
15235 done
15237 LIBS="$ac_wine_check_funcs_save_LIBS"
15239 CPPFLAGS=$ac_save_CPPFLAGS
15242 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15243 case "x$with_faudio" in
15244 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15245 xno) ;;
15246 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15247 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15248 esac
15252 if test "x$with_capi" != "xno"
15253 then
15254 if ${CAPI20_CFLAGS:+false} :; then :
15255 if ${PKG_CONFIG+:} false; then :
15256 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15260 if ${CAPI20_LIBS:+false} :; then :
15261 if ${PKG_CONFIG+:} false; then :
15262 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15267 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15268 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15269 ac_save_CPPFLAGS=$CPPFLAGS
15270 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15271 for ac_header in capi20.h linux/capi.h
15272 do :
15273 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15274 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15276 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15279 _ACEOF
15283 done
15285 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15286 then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15288 $as_echo_n "checking for -lcapi20... " >&6; }
15289 if ${ac_cv_lib_soname_capi20+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char capi20_register ();
15305 main ()
15307 return capi20_register ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15316 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15317 if ${ac_cv_lib_soname_capi20:+false} :; then :
15318 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else
15322 ac_cv_lib_soname_capi20=
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_capi20:+false} :; then :
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15330 $as_echo "not found" >&6; }
15332 else
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15334 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15338 _ACEOF
15343 CPPFLAGS=$ac_save_CPPFLAGS
15346 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15347 case "x$with_capi" in
15348 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15349 xno) ;;
15350 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15351 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15352 esac
15356 if test "x$with_cups" != "xno"
15357 then
15358 if ${CUPS_CFLAGS:+false} :; then :
15359 if ${PKG_CONFIG+:} false; then :
15360 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15363 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15364 if ${CUPS_LIBS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15369 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15370 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15371 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15372 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15373 ac_save_CPPFLAGS=$CPPFLAGS
15374 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15375 for ac_header in cups/cups.h cups/ppd.h
15376 do :
15377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15378 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15380 cat >>confdefs.h <<_ACEOF
15381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15382 _ACEOF
15386 done
15388 if test "$ac_cv_header_cups_cups_h" = "yes"
15389 then
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15391 $as_echo_n "checking for -lcups... " >&6; }
15392 if ${ac_cv_lib_soname_cups+:} false; then :
15393 $as_echo_n "(cached) " >&6
15394 else
15395 ac_check_soname_save_LIBS=$LIBS
15396 LIBS="-lcups $CUPS_LIBS $LIBS"
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15403 #ifdef __cplusplus
15404 extern "C"
15405 #endif
15406 char cupsGetDefault ();
15408 main ()
15410 return cupsGetDefault ();
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 case "$LIBEXT" in
15417 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15418 dylib) ac_cv_lib_soname_cups=`$OTOOL -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15419 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15420 if ${ac_cv_lib_soname_cups:+false} :; then :
15421 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15422 fi ;;
15423 esac
15424 else
15425 ac_cv_lib_soname_cups=
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15429 LIBS=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_cups:+false} :; then :
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15433 $as_echo "not found" >&6; }
15434 CUPS_LIBS=""
15435 else
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15437 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15439 cat >>confdefs.h <<_ACEOF
15440 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15441 _ACEOF
15445 else
15446 CUPS_CFLAGS=""
15447 CUPS_LIBS=""
15449 CPPFLAGS=$ac_save_CPPFLAGS
15452 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15453 case "x$with_cups" in
15454 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15455 xno) ;;
15456 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15457 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15458 esac
15462 if test "x$with_fontconfig" != "xno"
15463 then
15464 if ${FONTCONFIG_CFLAGS:+false} :; then :
15465 if ${PKG_CONFIG+:} false; then :
15466 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15469 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15470 if ${FONTCONFIG_LIBS:+false} :; then :
15471 if ${PKG_CONFIG+:} false; then :
15472 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15475 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15477 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15479 ac_save_CPPFLAGS=$CPPFLAGS
15480 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15481 for ac_header in fontconfig/fontconfig.h
15482 do :
15483 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15484 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15485 cat >>confdefs.h <<_ACEOF
15486 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15487 _ACEOF
15491 done
15493 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15494 then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15496 $as_echo_n "checking for -lfontconfig... " >&6; }
15497 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15498 $as_echo_n "(cached) " >&6
15499 else
15500 ac_check_soname_save_LIBS=$LIBS
15501 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 char FcInit ();
15513 main ()
15515 return FcInit ();
15517 return 0;
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 case "$LIBEXT" in
15522 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15523 dylib) ac_cv_lib_soname_fontconfig=`$OTOOL -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15524 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15525 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15526 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15527 fi ;;
15528 esac
15529 else
15530 ac_cv_lib_soname_fontconfig=
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_soname_save_LIBS
15536 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15538 $as_echo "not found" >&6; }
15539 FONTCONFIG_CFLAGS=""
15540 else
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15542 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15546 _ACEOF
15550 else
15551 FONTCONFIG_CFLAGS=""
15553 CPPFLAGS=$ac_save_CPPFLAGS
15556 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15557 case "x$with_fontconfig" in
15558 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15559 xno) ;;
15560 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15561 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15562 esac
15566 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15567 then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15569 $as_echo_n "checking for -lgsm... " >&6; }
15570 if ${ac_cv_lib_soname_gsm+:} false; then :
15571 $as_echo_n "(cached) " >&6
15572 else
15573 ac_check_soname_save_LIBS=$LIBS
15574 LIBS="-lgsm $LIBS"
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15578 /* Override any GCC internal prototype to avoid an error.
15579 Use char because int might match the return type of a GCC
15580 builtin and then its argument prototype would still apply. */
15581 #ifdef __cplusplus
15582 extern "C"
15583 #endif
15584 char gsm_create ();
15586 main ()
15588 return gsm_create ();
15590 return 0;
15592 _ACEOF
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 case "$LIBEXT" in
15595 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15596 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15597 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15598 if ${ac_cv_lib_soname_gsm:+false} :; then :
15599 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15600 fi ;;
15601 esac
15602 else
15603 ac_cv_lib_soname_gsm=
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15607 LIBS=$ac_check_soname_save_LIBS
15609 if ${ac_cv_lib_soname_gsm:+false} :; then :
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15611 $as_echo "not found" >&6; }
15613 else
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15615 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15617 cat >>confdefs.h <<_ACEOF
15618 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15619 _ACEOF
15624 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15625 case "x$with_gsm" in
15626 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15627 xno) ;;
15628 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15629 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15630 esac
15634 if test "x$with_krb5" != "xno"
15635 then
15636 if ${KRB5_CFLAGS:+false} :; then :
15637 if ${PKG_CONFIG+:} false; then :
15638 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15641 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15642 if ${KRB5_LIBS:+false} :; then :
15643 if ${PKG_CONFIG+:} false; then :
15644 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15647 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15649 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15650 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15651 ac_save_CPPFLAGS=$CPPFLAGS
15652 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15653 for ac_header in krb5/krb5.h
15654 do :
15655 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15656 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15657 cat >>confdefs.h <<_ACEOF
15658 #define HAVE_KRB5_KRB5_H 1
15659 _ACEOF
15663 done
15665 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15666 then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15668 $as_echo_n "checking for -lkrb5... " >&6; }
15669 if ${ac_cv_lib_soname_krb5+:} false; then :
15670 $as_echo_n "(cached) " >&6
15671 else
15672 ac_check_soname_save_LIBS=$LIBS
15673 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 #ifdef __cplusplus
15681 extern "C"
15682 #endif
15683 char krb5_is_config_principal ();
15685 main ()
15687 return krb5_is_config_principal ();
15689 return 0;
15691 _ACEOF
15692 if ac_fn_c_try_link "$LINENO"; then :
15693 case "$LIBEXT" in
15694 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15695 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15696 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15697 if ${ac_cv_lib_soname_krb5:+false} :; then :
15698 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15699 fi ;;
15700 esac
15701 else
15702 ac_cv_lib_soname_krb5=
15704 rm -f core conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15706 LIBS=$ac_check_soname_save_LIBS
15708 if ${ac_cv_lib_soname_krb5:+false} :; then :
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15710 $as_echo "not found" >&6; }
15711 KRB5_CFLAGS=""
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15714 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15716 cat >>confdefs.h <<_ACEOF
15717 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15718 _ACEOF
15722 else
15723 KRB5_CFLAGS=""
15725 CPPFLAGS=$ac_save_CPPFLAGS
15728 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15729 case "x$with_krb5" in
15730 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15731 xno) ;;
15732 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15733 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15734 esac
15737 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15739 if test "x$with_gssapi" != "xno"
15740 then
15741 if ${GSSAPI_CFLAGS:+false} :; then :
15742 if ${PKG_CONFIG+:} false; then :
15743 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15746 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15747 if ${GSSAPI_LIBS:+false} :; then :
15748 if ${PKG_CONFIG+:} false; then :
15749 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15752 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15754 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15755 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15756 ac_save_CPPFLAGS=$CPPFLAGS
15757 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15758 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15759 do :
15760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15761 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15765 _ACEOF
15769 done
15771 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15772 then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15774 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15775 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15776 $as_echo_n "(cached) " >&6
15777 else
15778 ac_check_soname_save_LIBS=$LIBS
15779 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15783 /* Override any GCC internal prototype to avoid an error.
15784 Use char because int might match the return type of a GCC
15785 builtin and then its argument prototype would still apply. */
15786 #ifdef __cplusplus
15787 extern "C"
15788 #endif
15789 char gss_init_sec_context ();
15791 main ()
15793 return gss_init_sec_context ();
15795 return 0;
15797 _ACEOF
15798 if ac_fn_c_try_link "$LINENO"; then :
15799 case "$LIBEXT" in
15800 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15801 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15802 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15803 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15804 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15805 fi ;;
15806 esac
15807 else
15808 ac_cv_lib_soname_gssapi_krb5=
15810 rm -f core conftest.err conftest.$ac_objext \
15811 conftest$ac_exeext conftest.$ac_ext
15812 LIBS=$ac_check_soname_save_LIBS
15814 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15816 $as_echo "not found" >&6; }
15817 GSSAPI_CFLAGS=""
15818 else
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15820 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15822 cat >>confdefs.h <<_ACEOF
15823 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15824 _ACEOF
15828 else
15829 GSSAPI_CFLAGS=""
15831 CPPFLAGS=$ac_save_CPPFLAGS
15834 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15835 case "x$with_gssapi" in
15836 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15837 xno) ;;
15838 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15839 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15840 esac
15844 if test "x$with_jpeg" != "xno"
15845 then
15846 if ${JPEG_CFLAGS:+false} :; then :
15847 if ${PKG_CONFIG+:} false; then :
15848 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15852 if ${JPEG_LIBS:+false} :; then :
15853 if ${PKG_CONFIG+:} false; then :
15854 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15861 ac_save_CPPFLAGS=$CPPFLAGS
15862 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15863 for ac_header in jpeglib.h
15864 do :
15865 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15866 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_JPEGLIB_H 1
15869 _ACEOF
15873 done
15875 if test "$ac_cv_header_jpeglib_h" = "yes"
15876 then
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15878 $as_echo_n "checking for -ljpeg... " >&6; }
15879 if ${ac_cv_lib_soname_jpeg+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 ac_check_soname_save_LIBS=$LIBS
15883 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 #ifdef __cplusplus
15891 extern "C"
15892 #endif
15893 char jpeg_start_decompress ();
15895 main ()
15897 return jpeg_start_decompress ();
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"; then :
15903 case "$LIBEXT" in
15904 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15905 dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15906 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15907 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15908 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15909 fi ;;
15910 esac
15911 else
15912 ac_cv_lib_soname_jpeg=
15914 rm -f core conftest.err conftest.$ac_objext \
15915 conftest$ac_exeext conftest.$ac_ext
15916 LIBS=$ac_check_soname_save_LIBS
15918 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15920 $as_echo "not found" >&6; }
15921 JPEG_CFLAGS=""
15922 else
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15924 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15926 cat >>confdefs.h <<_ACEOF
15927 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15928 _ACEOF
15932 else
15933 JPEG_CFLAGS=""
15935 CPPFLAGS=$ac_save_CPPFLAGS
15938 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15939 case "x$with_jpeg" in
15940 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15941 xno) ;;
15942 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15943 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15944 esac
15948 if test "x$with_jxrlib" != "xno"
15949 then
15950 if ${JXRLIB_CFLAGS:+false} :; then :
15951 if ${PKG_CONFIG+:} false; then :
15952 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15955 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15956 if ${JXRLIB_LIBS:+false} :; then :
15957 if ${PKG_CONFIG+:} false; then :
15958 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15963 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15964 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15965 ac_save_CPPFLAGS=$CPPFLAGS
15966 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15967 for ac_header in JXRGlue.h
15968 do :
15969 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15971 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_JXRGLUE_H 1
15974 _ACEOF
15978 done
15980 if test "$ac_cv_header_JXRGlue_h" = "yes"
15981 then
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15983 $as_echo_n "checking for -ljxrglue... " >&6; }
15984 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 ac_check_soname_save_LIBS=$LIBS
15988 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
15992 /* Override any GCC internal prototype to avoid an error.
15993 Use char because int might match the return type of a GCC
15994 builtin and then its argument prototype would still apply. */
15995 #ifdef __cplusplus
15996 extern "C"
15997 #endif
15998 char PKImageDecode_Create_WMP ();
16000 main ()
16002 return PKImageDecode_Create_WMP ();
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_link "$LINENO"; then :
16008 case "$LIBEXT" in
16009 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16010 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16011 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16012 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16013 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16014 fi ;;
16015 esac
16016 else
16017 ac_cv_lib_soname_jxrglue=
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_soname_save_LIBS
16023 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16025 $as_echo "not found" >&6; }
16026 JXRLIB_CFLAGS=""
16027 else
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16029 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16031 cat >>confdefs.h <<_ACEOF
16032 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16033 _ACEOF
16037 else
16038 JXRLIB_CFLAGS=""
16040 CPPFLAGS=$ac_save_CPPFLAGS
16043 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16044 case "x$with_jxrlib" in
16045 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16046 xno) ;;
16047 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16048 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16049 esac
16053 if test "x$with_png" != "xno"
16054 then
16055 if ${PNG_CFLAGS:+false} :; then :
16056 if ${PKG_CONFIG+:} false; then :
16057 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16060 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16061 if ${PNG_LIBS:+false} :; then :
16062 if ${PKG_CONFIG+:} false; then :
16063 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16066 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16068 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16069 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16070 ac_save_CPPFLAGS=$CPPFLAGS
16071 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16072 for ac_header in png.h
16073 do :
16074 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16075 if test "x$ac_cv_header_png_h" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_PNG_H 1
16078 _ACEOF
16082 done
16084 if test "$ac_cv_header_png_h" = "yes"
16085 then
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16087 $as_echo_n "checking for -lpng... " >&6; }
16088 if ${ac_cv_lib_soname_png+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_check_soname_save_LIBS=$LIBS
16092 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 #ifdef __cplusplus
16100 extern "C"
16101 #endif
16102 char png_create_read_struct ();
16104 main ()
16106 return png_create_read_struct ();
16108 return 0;
16110 _ACEOF
16111 if ac_fn_c_try_link "$LINENO"; then :
16112 case "$LIBEXT" in
16113 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16114 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16115 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16116 if ${ac_cv_lib_soname_png:+false} :; then :
16117 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16118 fi ;;
16119 esac
16120 else
16121 ac_cv_lib_soname_png=
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext conftest.$ac_ext
16125 LIBS=$ac_check_soname_save_LIBS
16127 if ${ac_cv_lib_soname_png:+false} :; then :
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16129 $as_echo "not found" >&6; }
16130 PNG_CFLAGS=""
16131 else
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16133 $as_echo "$ac_cv_lib_soname_png" >&6; }
16135 cat >>confdefs.h <<_ACEOF
16136 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16137 _ACEOF
16141 else
16142 PNG_CFLAGS=""
16144 CPPFLAGS=$ac_save_CPPFLAGS
16147 if test "x$ac_cv_lib_soname_png" = "x"; then :
16148 case "x$with_png" in
16149 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16150 xno) ;;
16151 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16152 This is an error since --with-png was requested." "$LINENO" 5 ;;
16153 esac
16157 if test "x$with_tiff" != "xno"
16158 then
16159 if ${TIFF_CFLAGS:+false} :; then :
16160 if ${PKG_CONFIG+:} false; then :
16161 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16165 if ${TIFF_LIBS:+false} :; then :
16166 if ${PKG_CONFIG+:} false; then :
16167 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16172 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16173 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16174 ac_save_CPPFLAGS=$CPPFLAGS
16175 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16176 for ac_header in tiffio.h
16177 do :
16178 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16179 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16180 cat >>confdefs.h <<_ACEOF
16181 #define HAVE_TIFFIO_H 1
16182 _ACEOF
16186 done
16188 if test "$ac_cv_header_tiffio_h" = "yes"
16189 then
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16191 $as_echo_n "checking for -ltiff... " >&6; }
16192 if ${ac_cv_lib_soname_tiff+:} false; then :
16193 $as_echo_n "(cached) " >&6
16194 else
16195 ac_check_soname_save_LIBS=$LIBS
16196 LIBS="-ltiff $TIFF_LIBS $LIBS"
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 /* Override any GCC internal prototype to avoid an error.
16201 Use char because int might match the return type of a GCC
16202 builtin and then its argument prototype would still apply. */
16203 #ifdef __cplusplus
16204 extern "C"
16205 #endif
16206 char TIFFClientOpen ();
16208 main ()
16210 return TIFFClientOpen ();
16212 return 0;
16214 _ACEOF
16215 if ac_fn_c_try_link "$LINENO"; then :
16216 case "$LIBEXT" in
16217 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16218 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16219 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16220 if ${ac_cv_lib_soname_tiff:+false} :; then :
16221 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16222 fi ;;
16223 esac
16224 else
16225 ac_cv_lib_soname_tiff=
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16229 LIBS=$ac_check_soname_save_LIBS
16231 if ${ac_cv_lib_soname_tiff:+false} :; then :
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16233 $as_echo "not found" >&6; }
16235 else
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16237 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16239 cat >>confdefs.h <<_ACEOF
16240 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16241 _ACEOF
16246 CPPFLAGS=$ac_save_CPPFLAGS
16249 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16250 case "x$with_tiff" in
16251 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16252 xno) ;;
16253 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16254 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16255 esac
16259 if test "x$with_mpg123" != "xno"
16260 then
16261 if ${MPG123_CFLAGS:+false} :; then :
16262 if ${PKG_CONFIG+:} false; then :
16263 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16267 if ${MPG123_LIBS:+false} :; then :
16268 if ${PKG_CONFIG+:} false; then :
16269 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16273 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16274 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16275 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16276 ac_save_CPPFLAGS=$CPPFLAGS
16277 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16278 for ac_header in mpg123.h
16279 do :
16280 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_MPG123_H 1
16284 _ACEOF
16288 done
16290 if test "$ac_cv_header_mpg123_h" = "yes"
16291 then
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16293 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16294 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16295 $as_echo_n "(cached) " >&6
16296 else
16297 ac_check_lib_save_LIBS=$LIBS
16298 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 char mpg123_feed ();
16310 main ()
16312 return mpg123_feed ();
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_lib_mpg123_mpg123_feed=yes
16319 else
16320 ac_cv_lib_mpg123_mpg123_feed=no
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16327 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16328 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16330 else
16331 MPG123_LIBS=""
16334 else
16335 MPG123_CFLAGS=""
16336 MPG123_LIBS=""
16338 CPPFLAGS=$ac_save_CPPFLAGS
16341 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16342 case "x$with_mpg123" in
16343 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16344 xno) ;;
16345 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16346 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16347 esac
16348 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16350 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16352 if test "$ac_cv_header_AL_al_h" = "yes"
16353 then
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16355 $as_echo_n "checking for -lopenal... " >&6; }
16356 if ${ac_cv_lib_soname_openal+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 ac_check_soname_save_LIBS=$LIBS
16360 LIBS="-lopenal $LIBS"
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16364 /* Override any GCC internal prototype to avoid an error.
16365 Use char because int might match the return type of a GCC
16366 builtin and then its argument prototype would still apply. */
16367 #ifdef __cplusplus
16368 extern "C"
16369 #endif
16370 char alGetSource3i ();
16372 main ()
16374 return alGetSource3i ();
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_link "$LINENO"; then :
16380 case "$LIBEXT" in
16381 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16382 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16383 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16384 if ${ac_cv_lib_soname_openal:+false} :; then :
16385 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16386 fi ;;
16387 esac
16388 else
16389 ac_cv_lib_soname_openal=
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_soname_save_LIBS
16395 if ${ac_cv_lib_soname_openal:+false} :; then :
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16397 $as_echo "not found" >&6; }
16399 else
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16401 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16403 cat >>confdefs.h <<_ACEOF
16404 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16405 _ACEOF
16407 OPENAL_LIBS="-lopenal"
16409 ac_cv_lib_openal=yes
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_OPENAL 1
16413 _ACEOF
16417 if test "x$ac_cv_lib_openal" != xyes; then :
16418 case "x$with_openal" in
16419 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16420 xno) ;;
16421 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16422 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16423 esac
16424 enable_openal32=${enable_openal32:-no}
16427 if test "x$ac_cv_lib_soname_FAudio" = "x"
16428 then
16429 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16430 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16431 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16432 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16433 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16434 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16435 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16436 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16437 enable_xactengine2_0=${enable_xactengine2_0:-no}
16438 enable_xactengine2_4=${enable_xactengine2_4:-no}
16439 enable_xactengine2_7=${enable_xactengine2_7:-no}
16440 enable_xactengine2_9=${enable_xactengine2_9:-no}
16441 enable_xactengine3_0=${enable_xactengine3_0:-no}
16442 enable_xactengine3_1=${enable_xactengine3_1:-no}
16443 enable_xactengine3_2=${enable_xactengine3_2:-no}
16444 enable_xactengine3_3=${enable_xactengine3_3:-no}
16445 enable_xactengine3_4=${enable_xactengine3_4:-no}
16446 enable_xactengine3_5=${enable_xactengine3_5:-no}
16447 enable_xactengine3_6=${enable_xactengine3_6:-no}
16448 enable_xactengine3_7=${enable_xactengine3_7:-no}
16449 enable_xapofx1_1=${enable_xapofx1_1:-no}
16450 enable_xapofx1_2=${enable_xapofx1_2:-no}
16451 enable_xapofx1_3=${enable_xapofx1_3:-no}
16452 enable_xapofx1_4=${enable_xapofx1_4:-no}
16453 enable_xapofx1_5=${enable_xapofx1_5:-no}
16454 enable_xaudio2_0=${enable_xaudio2_0:-no}
16455 enable_xaudio2_1=${enable_xaudio2_1:-no}
16456 enable_xaudio2_2=${enable_xaudio2_2:-no}
16457 enable_xaudio2_3=${enable_xaudio2_3:-no}
16458 enable_xaudio2_4=${enable_xaudio2_4:-no}
16459 enable_xaudio2_5=${enable_xaudio2_5:-no}
16460 enable_xaudio2_6=${enable_xaudio2_6:-no}
16461 enable_xaudio2_7=${enable_xaudio2_7:-no}
16462 enable_xaudio2_8=${enable_xaudio2_8:-no}
16463 enable_xaudio2_9=${enable_xaudio2_9:-no}
16466 if test "$ac_cv_header_kstat_h" = "yes"
16467 then
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16469 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16470 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16471 $as_echo_n "(cached) " >&6
16472 else
16473 ac_check_lib_save_LIBS=$LIBS
16474 LIBS="-lkstat $LIBS"
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16478 /* Override any GCC internal prototype to avoid an error.
16479 Use char because int might match the return type of a GCC
16480 builtin and then its argument prototype would still apply. */
16481 #ifdef __cplusplus
16482 extern "C"
16483 #endif
16484 char kstat_open ();
16486 main ()
16488 return kstat_open ();
16490 return 0;
16492 _ACEOF
16493 if ac_fn_c_try_link "$LINENO"; then :
16494 ac_cv_lib_kstat_kstat_open=yes
16495 else
16496 ac_cv_lib_kstat_kstat_open=no
16498 rm -f core conftest.err conftest.$ac_objext \
16499 conftest$ac_exeext conftest.$ac_ext
16500 LIBS=$ac_check_lib_save_LIBS
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16503 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16504 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16506 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16508 KSTAT_LIBS="-lkstat"
16514 if test "$ac_cv_header_libprocstat_h" = "yes"
16515 then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16517 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16518 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 ac_check_lib_save_LIBS=$LIBS
16522 LIBS="-lprocstat $LIBS"
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16529 #ifdef __cplusplus
16530 extern "C"
16531 #endif
16532 char procstat_open_sysctl ();
16534 main ()
16536 return procstat_open_sysctl ();
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 ac_cv_lib_procstat_procstat_open_sysctl=yes
16543 else
16544 ac_cv_lib_procstat_procstat_open_sysctl=no
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16548 LIBS=$ac_check_lib_save_LIBS
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16551 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16552 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16554 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16556 PROCSTAT_LIBS="-lprocstat"
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16563 $as_echo_n "checking for -lodbc... " >&6; }
16564 if ${ac_cv_lib_soname_odbc+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 ac_check_soname_save_LIBS=$LIBS
16568 LIBS="-lodbc $LIBS"
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 #ifdef __cplusplus
16576 extern "C"
16577 #endif
16578 char SQLConnect ();
16580 main ()
16582 return SQLConnect ();
16584 return 0;
16586 _ACEOF
16587 if ac_fn_c_try_link "$LINENO"; then :
16588 case "$LIBEXT" in
16589 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16590 dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16591 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16592 if ${ac_cv_lib_soname_odbc:+false} :; then :
16593 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16594 fi ;;
16595 esac
16596 else
16597 ac_cv_lib_soname_odbc=
16599 rm -f core conftest.err conftest.$ac_objext \
16600 conftest$ac_exeext conftest.$ac_ext
16601 LIBS=$ac_check_soname_save_LIBS
16603 if ${ac_cv_lib_soname_odbc:+false} :; then :
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16605 $as_echo "not found" >&6; }
16606 cat >>confdefs.h <<_ACEOF
16607 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16608 _ACEOF
16610 else
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16612 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16614 cat >>confdefs.h <<_ACEOF
16615 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16616 _ACEOF
16621 if test "x$with_netapi" != "xno"
16622 then
16623 if ${NETAPI_CFLAGS:+false} :; then :
16624 if ${PKG_CONFIG+:} false; then :
16625 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16629 if ${NETAPI_LIBS:+false} :; then :
16630 if ${PKG_CONFIG+:} false; then :
16631 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16636 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16637 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16638 ac_save_CPPFLAGS=$CPPFLAGS
16639 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16641 $as_echo_n "checking for -lnetapi... " >&6; }
16642 if ${ac_cv_lib_soname_netapi+:} false; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16645 ac_check_soname_save_LIBS=$LIBS
16646 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16650 /* Override any GCC internal prototype to avoid an error.
16651 Use char because int might match the return type of a GCC
16652 builtin and then its argument prototype would still apply. */
16653 #ifdef __cplusplus
16654 extern "C"
16655 #endif
16656 char libnetapi_init ();
16658 main ()
16660 return libnetapi_init ();
16662 return 0;
16664 _ACEOF
16665 if ac_fn_c_try_link "$LINENO"; then :
16666 case "$LIBEXT" in
16667 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16668 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16669 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16670 if ${ac_cv_lib_soname_netapi:+false} :; then :
16671 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16672 fi ;;
16673 esac
16674 else
16675 ac_cv_lib_soname_netapi=
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16679 LIBS=$ac_check_soname_save_LIBS
16681 if ${ac_cv_lib_soname_netapi:+false} :; then :
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16683 $as_echo "not found" >&6; }
16684 cat >>confdefs.h <<_ACEOF
16685 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16686 _ACEOF
16688 else
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16690 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16692 cat >>confdefs.h <<_ACEOF
16693 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16694 _ACEOF
16698 CPPFLAGS=$ac_save_CPPFLAGS
16702 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16703 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16704 then
16705 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16708 if test "x$with_vulkan" != "xno"
16709 then
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16711 $as_echo_n "checking for -lvulkan... " >&6; }
16712 if ${ac_cv_lib_soname_vulkan+:} false; then :
16713 $as_echo_n "(cached) " >&6
16714 else
16715 ac_check_soname_save_LIBS=$LIBS
16716 LIBS="-lvulkan $LIBS"
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16720 /* Override any GCC internal prototype to avoid an error.
16721 Use char because int might match the return type of a GCC
16722 builtin and then its argument prototype would still apply. */
16723 #ifdef __cplusplus
16724 extern "C"
16725 #endif
16726 char vkGetInstanceProcAddr ();
16728 main ()
16730 return vkGetInstanceProcAddr ();
16732 return 0;
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"; then :
16736 case "$LIBEXT" in
16737 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16738 dylib) ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16739 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16740 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16741 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16742 fi ;;
16743 esac
16744 else
16745 ac_cv_lib_soname_vulkan=
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16749 LIBS=$ac_check_soname_save_LIBS
16751 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16753 $as_echo "not found" >&6; }
16755 else
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16757 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16759 cat >>confdefs.h <<_ACEOF
16760 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16761 _ACEOF
16765 if test "x$ac_cv_lib_soname_vulkan" = "x"
16766 then
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16768 $as_echo_n "checking for -lMoltenVK... " >&6; }
16769 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 ac_check_soname_save_LIBS=$LIBS
16773 LIBS="-lMoltenVK $LIBS"
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16780 #ifdef __cplusplus
16781 extern "C"
16782 #endif
16783 char vkGetInstanceProcAddr ();
16785 main ()
16787 return vkGetInstanceProcAddr ();
16789 return 0;
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"; then :
16793 case "$LIBEXT" in
16794 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16795 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16796 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16797 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16798 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16799 fi ;;
16800 esac
16801 else
16802 ac_cv_lib_soname_MoltenVK=
16804 rm -f core conftest.err conftest.$ac_objext \
16805 conftest$ac_exeext conftest.$ac_ext
16806 LIBS=$ac_check_soname_save_LIBS
16808 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16810 $as_echo "not found" >&6; }
16812 else
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16814 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16816 cat >>confdefs.h <<_ACEOF
16817 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16818 _ACEOF
16824 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16825 case "x$with_vulkan" in
16826 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16827 xno) ;;
16828 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16829 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16830 esac
16834 if test "x$with_vkd3d" != "xno"
16835 then
16836 if ${VKD3D_CFLAGS:+false} :; then :
16837 if ${PKG_CONFIG+:} false; then :
16838 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16842 if ${VKD3D_LIBS:+false} :; then :
16843 if ${PKG_CONFIG+:} false; then :
16844 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16849 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16850 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16851 ac_save_CPPFLAGS=$CPPFLAGS
16852 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16854 $as_echo_n "checking for -lvkd3d... " >&6; }
16855 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858 ac_check_soname_save_LIBS=$LIBS
16859 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16863 /* Override any GCC internal prototype to avoid an error.
16864 Use char because int might match the return type of a GCC
16865 builtin and then its argument prototype would still apply. */
16866 #ifdef __cplusplus
16867 extern "C"
16868 #endif
16869 char vkd3d_serialize_versioned_root_signature ();
16871 main ()
16873 return vkd3d_serialize_versioned_root_signature ();
16875 return 0;
16877 _ACEOF
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 case "$LIBEXT" in
16880 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16881 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16882 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16883 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16884 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16885 fi ;;
16886 esac
16887 else
16888 ac_cv_lib_soname_vkd3d=
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16892 LIBS=$ac_check_soname_save_LIBS
16894 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16896 $as_echo "not found" >&6; }
16898 else
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16900 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16902 cat >>confdefs.h <<_ACEOF
16903 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16904 _ACEOF
16908 CPPFLAGS=$ac_save_CPPFLAGS
16910 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16911 if ${PKG_CONFIG+:} false; then :
16912 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16916 if ${VKD3D_SHADER_LIBS:+false} :; then :
16917 if ${PKG_CONFIG+:} false; then :
16918 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16923 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16924 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16925 ac_save_CPPFLAGS=$CPPFLAGS
16926 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16928 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16929 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 ac_check_soname_save_LIBS=$LIBS
16933 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16940 #ifdef __cplusplus
16941 extern "C"
16942 #endif
16943 char vkd3d_shader_compile ();
16945 main ()
16947 return vkd3d_shader_compile ();
16949 return 0;
16951 _ACEOF
16952 if ac_fn_c_try_link "$LINENO"; then :
16953 case "$LIBEXT" in
16954 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16955 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16956 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16957 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16958 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16959 fi ;;
16960 esac
16961 else
16962 ac_cv_lib_soname_vkd3d_shader=
16964 rm -f core conftest.err conftest.$ac_objext \
16965 conftest$ac_exeext conftest.$ac_ext
16966 LIBS=$ac_check_soname_save_LIBS
16968 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16970 $as_echo "not found" >&6; }
16972 else
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16974 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16976 cat >>confdefs.h <<_ACEOF
16977 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16978 _ACEOF
16982 CPPFLAGS=$ac_save_CPPFLAGS
16985 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16986 case "x$with_vkd3d" in
16987 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16988 xno) ;;
16989 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16990 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16991 esac
16994 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16997 EXTRACFLAGS=""
16999 if test "x${GCC}" = "xyes"
17000 then
17001 EXTRACFLAGS="-Wall -pipe"
17003 saved_CFLAGS=$CFLAGS
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17005 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17006 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17007 $as_echo_n "(cached) " >&6
17008 else
17009 ac_wine_try_cflags_saved=$CFLAGS
17010 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 int main(int argc, char **argv) { return 0; }
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_cflags__Werror_unknown_warning_option=yes
17017 else
17018 ac_cv_cflags__Werror_unknown_warning_option=no
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17022 CFLAGS=$ac_wine_try_cflags_saved
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17025 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17026 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17027 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17030 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17031 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 ac_wine_try_cflags_saved=$CFLAGS
17035 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 int main(int argc, char **argv) { return 0; }
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 ac_cv_cflags__Werror_unused_command_line_argument=yes
17042 else
17043 ac_cv_cflags__Werror_unused_command_line_argument=no
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17047 CFLAGS=$ac_wine_try_cflags_saved
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17050 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17051 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17052 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17055 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17056 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 ac_wine_try_cflags_saved=$CFLAGS
17060 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17062 /* end confdefs.h. */
17063 int main(int argc, char **argv) { return 0; }
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17067 else
17068 ac_cv_cflags__Werror_ignored_optimization_argument=no
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17072 CFLAGS=$ac_wine_try_cflags_saved
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17075 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17076 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17077 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17080 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17081 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17082 $as_echo_n "(cached) " >&6
17083 else
17084 ac_wine_try_cflags_saved=$CFLAGS
17085 CFLAGS="$CFLAGS -fcf-protection=none"
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 int main(int argc, char **argv) { return 0; }
17089 _ACEOF
17090 if ac_fn_c_try_link "$LINENO"; then :
17091 ac_cv_cflags__fcf_protection_none=yes
17092 else
17093 ac_cv_cflags__fcf_protection_none=no
17095 rm -f core conftest.err conftest.$ac_objext \
17096 conftest$ac_exeext conftest.$ac_ext
17097 CFLAGS=$ac_wine_try_cflags_saved
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17100 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17101 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17102 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17105 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17106 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 ac_wine_try_cflags_saved=$CFLAGS
17110 CFLAGS="$CFLAGS -fno-stack-protector"
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 int main(int argc, char **argv) { return 0; }
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"; then :
17116 ac_cv_cflags__fno_stack_protector=yes
17117 else
17118 ac_cv_cflags__fno_stack_protector=no
17120 rm -f core conftest.err conftest.$ac_objext \
17121 conftest$ac_exeext conftest.$ac_ext
17122 CFLAGS=$ac_wine_try_cflags_saved
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17125 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17126 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17127 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17130 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17131 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 ac_wine_try_cflags_saved=$CFLAGS
17135 CFLAGS="$CFLAGS -fno-strict-aliasing"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 int main(int argc, char **argv) { return 0; }
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 ac_cv_cflags__fno_strict_aliasing=yes
17142 else
17143 ac_cv_cflags__fno_strict_aliasing=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17147 CFLAGS=$ac_wine_try_cflags_saved
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17150 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17151 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17152 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17155 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17156 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 ac_wine_try_cflags_saved=$CFLAGS
17160 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 int main(int argc, char **argv) { return 0; }
17164 _ACEOF
17165 if ac_fn_c_try_link "$LINENO"; then :
17166 ac_cv_cflags__Wdeclaration_after_statement=yes
17167 else
17168 ac_cv_cflags__Wdeclaration_after_statement=no
17170 rm -f core conftest.err conftest.$ac_objext \
17171 conftest$ac_exeext conftest.$ac_ext
17172 CFLAGS=$ac_wine_try_cflags_saved
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17175 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17176 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17177 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17180 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17181 if ${ac_cv_cflags__Wempty_body+:} false; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17184 ac_wine_try_cflags_saved=$CFLAGS
17185 CFLAGS="$CFLAGS -Wempty-body"
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 int main(int argc, char **argv) { return 0; }
17189 _ACEOF
17190 if ac_fn_c_try_link "$LINENO"; then :
17191 ac_cv_cflags__Wempty_body=yes
17192 else
17193 ac_cv_cflags__Wempty_body=no
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17197 CFLAGS=$ac_wine_try_cflags_saved
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17200 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17201 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17202 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17205 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17206 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209 ac_wine_try_cflags_saved=$CFLAGS
17210 CFLAGS="$CFLAGS -Wignored-qualifiers"
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 int main(int argc, char **argv) { return 0; }
17214 _ACEOF
17215 if ac_fn_c_try_link "$LINENO"; then :
17216 ac_cv_cflags__Wignored_qualifiers=yes
17217 else
17218 ac_cv_cflags__Wignored_qualifiers=no
17220 rm -f core conftest.err conftest.$ac_objext \
17221 conftest$ac_exeext conftest.$ac_ext
17222 CFLAGS=$ac_wine_try_cflags_saved
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17225 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17226 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17227 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17230 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17231 if ${ac_cv_cflags__Winit_self+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 ac_wine_try_cflags_saved=$CFLAGS
17235 CFLAGS="$CFLAGS -Winit-self"
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 int main(int argc, char **argv) { return 0; }
17239 _ACEOF
17240 if ac_fn_c_try_link "$LINENO"; then :
17241 ac_cv_cflags__Winit_self=yes
17242 else
17243 ac_cv_cflags__Winit_self=no
17245 rm -f core conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 CFLAGS=$ac_wine_try_cflags_saved
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17250 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17251 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17252 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17255 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17256 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 ac_wine_try_cflags_saved=$CFLAGS
17260 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263 int main(int argc, char **argv) { return 0; }
17264 _ACEOF
17265 if ac_fn_c_try_link "$LINENO"; then :
17266 ac_cv_cflags__Wpacked_not_aligned=yes
17267 else
17268 ac_cv_cflags__Wpacked_not_aligned=no
17270 rm -f core conftest.err conftest.$ac_objext \
17271 conftest$ac_exeext conftest.$ac_ext
17272 CFLAGS=$ac_wine_try_cflags_saved
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17275 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17276 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17277 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17280 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17281 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 ac_wine_try_cflags_saved=$CFLAGS
17285 CFLAGS="$CFLAGS -Wpragma-pack"
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 int main(int argc, char **argv) { return 0; }
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_cflags__Wpragma_pack=yes
17292 else
17293 ac_cv_cflags__Wpragma_pack=no
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17297 CFLAGS=$ac_wine_try_cflags_saved
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17300 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17301 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17302 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17305 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17306 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17309 ac_wine_try_cflags_saved=$CFLAGS
17310 CFLAGS="$CFLAGS -Wshift-overflow=2"
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 int main(int argc, char **argv) { return 0; }
17314 _ACEOF
17315 if ac_fn_c_try_link "$LINENO"; then :
17316 ac_cv_cflags__Wshift_overflow_2=yes
17317 else
17318 ac_cv_cflags__Wshift_overflow_2=no
17320 rm -f core conftest.err conftest.$ac_objext \
17321 conftest$ac_exeext conftest.$ac_ext
17322 CFLAGS=$ac_wine_try_cflags_saved
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17325 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17326 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17327 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17330 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17331 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 ac_wine_try_cflags_saved=$CFLAGS
17335 CFLAGS="$CFLAGS -Wstrict-prototypes"
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 int main(int argc, char **argv) { return 0; }
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"; then :
17341 ac_cv_cflags__Wstrict_prototypes=yes
17342 else
17343 ac_cv_cflags__Wstrict_prototypes=no
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17347 CFLAGS=$ac_wine_try_cflags_saved
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17350 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17351 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17352 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17355 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17356 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 ac_wine_try_cflags_saved=$CFLAGS
17360 CFLAGS="$CFLAGS -Wtype-limits"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363 int main(int argc, char **argv) { return 0; }
17364 _ACEOF
17365 if ac_fn_c_try_link "$LINENO"; then :
17366 ac_cv_cflags__Wtype_limits=yes
17367 else
17368 ac_cv_cflags__Wtype_limits=no
17370 rm -f core conftest.err conftest.$ac_objext \
17371 conftest$ac_exeext conftest.$ac_ext
17372 CFLAGS=$ac_wine_try_cflags_saved
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17375 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17376 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17377 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17380 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17381 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384 ac_wine_try_cflags_saved=$CFLAGS
17385 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 int main(int argc, char **argv) { return 0; }
17389 _ACEOF
17390 if ac_fn_c_try_link "$LINENO"; then :
17391 ac_cv_cflags__Wunused_but_set_parameter=yes
17392 else
17393 ac_cv_cflags__Wunused_but_set_parameter=no
17395 rm -f core conftest.err conftest.$ac_objext \
17396 conftest$ac_exeext conftest.$ac_ext
17397 CFLAGS=$ac_wine_try_cflags_saved
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17400 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17401 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17402 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17405 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17406 if ${ac_cv_cflags__Wvla+:} false; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 ac_wine_try_cflags_saved=$CFLAGS
17410 CFLAGS="$CFLAGS -Wvla"
17411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17413 int main(int argc, char **argv) { return 0; }
17414 _ACEOF
17415 if ac_fn_c_try_link "$LINENO"; then :
17416 ac_cv_cflags__Wvla=yes
17417 else
17418 ac_cv_cflags__Wvla=no
17420 rm -f core conftest.err conftest.$ac_objext \
17421 conftest$ac_exeext conftest.$ac_ext
17422 CFLAGS=$ac_wine_try_cflags_saved
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17425 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17426 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17427 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17430 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17431 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17434 ac_wine_try_cflags_saved=$CFLAGS
17435 CFLAGS="$CFLAGS -Wwrite-strings"
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 int main(int argc, char **argv) { return 0; }
17439 _ACEOF
17440 if ac_fn_c_try_link "$LINENO"; then :
17441 ac_cv_cflags__Wwrite_strings=yes
17442 else
17443 ac_cv_cflags__Wwrite_strings=no
17445 rm -f core conftest.err conftest.$ac_objext \
17446 conftest$ac_exeext conftest.$ac_ext
17447 CFLAGS=$ac_wine_try_cflags_saved
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17450 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17451 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17452 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17455 if test -z "$CROSSTARGET"
17456 then
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17458 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17459 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 ac_wine_try_cflags_saved=$CFLAGS
17463 CFLAGS="$CFLAGS -fexcess-precision=standard"
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 int main(int argc, char **argv) { return 0; }
17467 _ACEOF
17468 if ac_fn_c_try_link "$LINENO"; then :
17469 ac_cv_cflags__fexcess_precision_standard=yes
17470 else
17471 ac_cv_cflags__fexcess_precision_standard=no
17473 rm -f core conftest.err conftest.$ac_objext \
17474 conftest$ac_exeext conftest.$ac_ext
17475 CFLAGS=$ac_wine_try_cflags_saved
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17478 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17479 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17480 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17486 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17487 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 ac_wine_try_cflags_saved=$CFLAGS
17491 CFLAGS="$CFLAGS -Wpointer-arith"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 int main(int argc, char **argv) { return 0; }
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_cflags__Wpointer_arith=yes
17498 else
17499 ac_cv_cflags__Wpointer_arith=no
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17503 CFLAGS=$ac_wine_try_cflags_saved
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17506 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17507 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17508 saved_string_h_CFLAGS=$CFLAGS
17509 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17511 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17512 if ${ac_cv_c_string_h_warnings+:} false; then :
17513 $as_echo_n "(cached) " >&6
17514 else
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <string.h>
17519 main ()
17523 return 0;
17525 _ACEOF
17526 if ac_fn_c_try_compile "$LINENO"; then :
17527 ac_cv_c_string_h_warnings=no
17528 else
17529 ac_cv_c_string_h_warnings=yes
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17534 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17535 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17536 CFLAGS=$saved_string_h_CFLAGS
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17540 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17541 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17542 $as_echo_n "(cached) " >&6
17543 else
17544 ac_wine_try_cflags_saved=$CFLAGS
17545 CFLAGS="$CFLAGS -Wlogical-op"
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17548 int main(int argc, char **argv) { return 0; }
17549 _ACEOF
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_cflags__Wlogical_op=yes
17552 else
17553 ac_cv_cflags__Wlogical_op=no
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17557 CFLAGS=$ac_wine_try_cflags_saved
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17560 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17561 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17562 saved_string_h_CFLAGS=$CFLAGS
17563 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17565 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17566 if ${ac_cv_c_logicalop_noisy+:} false; then :
17567 $as_echo_n "(cached) " >&6
17568 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #include <string.h>
17572 char*f(const char *h,char n) {return strchr(h,n);}
17574 main ()
17578 return 0;
17580 _ACEOF
17581 if ac_fn_c_try_compile "$LINENO"; then :
17582 ac_cv_c_logicalop_noisy=no
17583 else
17584 ac_cv_c_logicalop_noisy=yes
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17589 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17590 CFLAGS=$saved_string_h_CFLAGS
17591 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17595 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17596 if ${wine_cv_64bit_compare_swap+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17601 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17602 #error no
17603 #endif
17605 main ()
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_compile "$LINENO"; then :
17613 wine_cv_64bit_compare_swap="none needed"
17614 else
17615 case $host_cpu in
17616 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17617 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17618 *) wine_cv_64bit_compare_swap="unknown" ;;
17619 esac
17620 if test "x$wine_cv_64bit_compare_swap" != xunknown
17621 then
17622 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17626 #error no
17627 #endif
17629 main ()
17633 return 0;
17635 _ACEOF
17636 if ac_fn_c_try_compile "$LINENO"; then :
17638 else
17639 wine_cv_64bit_compare_swap="unknown"
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642 CFLAGS=$saved_CFLAGS
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17648 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17649 case "$wine_cv_64bit_compare_swap" in
17650 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17651 "none needed") ;;
17652 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17653 esac
17655 for ac_flag in $CFLAGS; do
17656 case $ac_flag in
17657 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17658 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17659 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17662 ac_wine_try_cflags_saved=$CFLAGS
17663 CFLAGS="$CFLAGS -gdwarf-2"
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666 int main(int argc, char **argv) { return 0; }
17667 _ACEOF
17668 if ac_fn_c_try_link "$LINENO"; then :
17669 ac_cv_cflags__gdwarf_2=yes
17670 else
17671 ac_cv_cflags__gdwarf_2=no
17673 rm -f core conftest.err conftest.$ac_objext \
17674 conftest$ac_exeext conftest.$ac_ext
17675 CFLAGS=$ac_wine_try_cflags_saved
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17678 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17679 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17680 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17683 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17684 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 ac_wine_try_cflags_saved=$CFLAGS
17688 CFLAGS="$CFLAGS -gstrict-dwarf"
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 int main(int argc, char **argv) { return 0; }
17692 _ACEOF
17693 if ac_fn_c_try_link "$LINENO"; then :
17694 ac_cv_cflags__gstrict_dwarf=yes
17695 else
17696 ac_cv_cflags__gstrict_dwarf=no
17698 rm -f core conftest.err conftest.$ac_objext \
17699 conftest$ac_exeext conftest.$ac_ext
17700 CFLAGS=$ac_wine_try_cflags_saved
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17703 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17704 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17705 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17706 fi ;;
17707 esac
17708 done
17710 MSVCRTFLAGS=""
17712 case $host_os in
17713 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17714 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17715 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 ac_wine_try_cflags_saved=$CFLAGS
17719 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 int main(int argc, char **argv) { return 0; }
17723 _ACEOF
17724 if ac_fn_c_try_link "$LINENO"; then :
17725 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17726 else
17727 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17731 CFLAGS=$ac_wine_try_cflags_saved
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17734 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17735 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17736 DELAYLOADFLAG="-Wl,-delayload,"
17738 fi ;;
17739 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17740 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17741 if ${ac_cv_cflags__fno_builtin+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 ac_wine_try_cflags_saved=$CFLAGS
17745 CFLAGS="$CFLAGS -fno-builtin"
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 int main(int argc, char **argv) { return 0; }
17749 _ACEOF
17750 if ac_fn_c_try_link "$LINENO"; then :
17751 ac_cv_cflags__fno_builtin=yes
17752 else
17753 ac_cv_cflags__fno_builtin=no
17755 rm -f core conftest.err conftest.$ac_objext \
17756 conftest$ac_exeext conftest.$ac_ext
17757 CFLAGS=$ac_wine_try_cflags_saved
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17760 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17761 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17762 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17765 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17766 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 ac_wine_try_cflags_saved=$CFLAGS
17770 CFLAGS="$CFLAGS -fshort-wchar"
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 int main(int argc, char **argv) { return 0; }
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_cflags__fshort_wchar=yes
17777 else
17778 ac_cv_cflags__fshort_wchar=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17782 CFLAGS=$ac_wine_try_cflags_saved
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17785 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17786 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17787 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17788 fi ;;
17789 esac
17791 case $host_cpu in
17792 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17793 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17794 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 ac_wine_try_cflags_saved=$CFLAGS
17798 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 int main(int argc, char **argv) { return 0; }
17802 _ACEOF
17803 if ac_fn_c_try_link "$LINENO"; then :
17804 ac_cv_cflags__fno_omit_frame_pointer=yes
17805 else
17806 ac_cv_cflags__fno_omit_frame_pointer=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17810 CFLAGS=$ac_wine_try_cflags_saved
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17813 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17814 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17815 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17816 fi ;;
17817 *x86_64*)
17818 case $host_os in
17819 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17820 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17821 if ${ac_cv_cflags__Wno_format+:} false; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17824 ac_wine_try_cflags_saved=$CFLAGS
17825 CFLAGS="$CFLAGS -Wno-format"
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 int main(int argc, char **argv) { return 0; }
17829 _ACEOF
17830 if ac_fn_c_try_link "$LINENO"; then :
17831 ac_cv_cflags__Wno_format=yes
17832 else
17833 ac_cv_cflags__Wno_format=no
17835 rm -f core conftest.err conftest.$ac_objext \
17836 conftest$ac_exeext conftest.$ac_ext
17837 CFLAGS=$ac_wine_try_cflags_saved
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17840 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17841 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17842 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17843 fi ;;
17844 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17845 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17846 if ${ac_cv_cflags__mabi_ms+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 ac_wine_try_cflags_saved=$CFLAGS
17850 CFLAGS="$CFLAGS -mabi=ms"
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 int main(int argc, char **argv) { return 0; }
17854 _ACEOF
17855 if ac_fn_c_try_link "$LINENO"; then :
17856 ac_cv_cflags__mabi_ms=yes
17857 else
17858 ac_cv_cflags__mabi_ms=no
17860 rm -f core conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862 CFLAGS=$ac_wine_try_cflags_saved
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17865 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17866 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17867 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17868 fi ;;
17869 esac ;;
17870 esac
17872 CFLAGS=$saved_CFLAGS
17874 if test "x$enable_werror" = "xyes"
17875 then
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17877 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17878 if ${ac_cv_cflags__Werror+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 ac_wine_try_cflags_saved=$CFLAGS
17882 CFLAGS="$CFLAGS -Werror"
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 int main(int argc, char **argv) { return 0; }
17886 _ACEOF
17887 if ac_fn_c_try_link "$LINENO"; then :
17888 ac_cv_cflags__Werror=yes
17889 else
17890 ac_cv_cflags__Werror=no
17892 rm -f core conftest.err conftest.$ac_objext \
17893 conftest$ac_exeext conftest.$ac_ext
17894 CFLAGS=$ac_wine_try_cflags_saved
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17897 $as_echo "$ac_cv_cflags__Werror" >&6; }
17898 if test "x$ac_cv_cflags__Werror" = xyes; then :
17899 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17902 if test "x$enable_build_id" = "xyes"
17903 then
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17905 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17906 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 ac_wine_try_cflags_saved=$CFLAGS
17910 CFLAGS="$CFLAGS -Wl,--build-id"
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17913 int main(int argc, char **argv) { return 0; }
17914 _ACEOF
17915 if ac_fn_c_try_link "$LINENO"; then :
17916 ac_cv_cflags__Wl___build_id=yes
17917 else
17918 ac_cv_cflags__Wl___build_id=no
17920 rm -f core conftest.err conftest.$ac_objext \
17921 conftest$ac_exeext conftest.$ac_ext
17922 CFLAGS=$ac_wine_try_cflags_saved
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17925 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17926 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17927 CFLAGS="$CFLAGS -Wl,--build-id"
17928 LDFLAGS="$LDFLAGS -Wl,--build-id"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17935 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17936 if ${ac_cv_c_fortify_enabled+:} false; then :
17937 $as_echo_n "(cached) " >&6
17938 else
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17941 #include <string.h>
17943 main ()
17945 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17946 #error Fortify enabled
17947 #endif
17949 return 0;
17951 _ACEOF
17952 if ac_fn_c_try_compile "$LINENO"; then :
17953 ac_cv_c_fortify_enabled=no
17954 else
17955 ac_cv_c_fortify_enabled=yes
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17960 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17961 if test "$ac_cv_c_fortify_enabled" = yes
17962 then
17963 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17968 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17969 if ${ac_cv_c_cfi_support+:} false; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17974 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17976 main ()
17980 return 0;
17982 _ACEOF
17983 if ac_fn_c_try_compile "$LINENO"; then :
17984 ac_cv_c_cfi_support="yes"
17985 else
17986 ac_cv_c_cfi_support="no"
17988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17991 $as_echo "$ac_cv_c_cfi_support" >&6; }
17992 if test "$ac_cv_c_cfi_support" = "yes"
17993 then
17994 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17995 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17996 else
17997 if test "x$enable_win64" = "xyes"
17998 then
17999 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18004 case $build_os in
18005 cygwin*|mingw32*) TOOLSEXT=".exe"
18007 esac
18009 case $host_os in
18010 linux*)
18011 case $host_cpu in
18012 *i[3456789]86*|x86_64*|*aarch64*)
18013 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18014 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18016 esac
18018 esac
18021 ac_save_CFLAGS="$CFLAGS"
18022 CFLAGS="$CFLAGS $BUILTINFLAG"
18023 for ac_func in \
18024 __res_get_state \
18025 __res_getservers \
18026 _spawnvp \
18027 epoll_create \
18028 fnmatch \
18029 fork \
18030 fstatfs \
18031 futimens \
18032 futimes \
18033 futimesat \
18034 getattrlist \
18035 getauxval \
18036 getifaddrs \
18037 getopt_long_only \
18038 getrandom \
18039 kqueue \
18040 lstat \
18041 mach_continuous_time \
18042 pipe2 \
18043 poll \
18044 port_create \
18045 prctl \
18046 pread \
18047 proc_pidinfo \
18048 pwrite \
18049 readlink \
18050 sched_yield \
18051 setproctitle \
18052 setprogname \
18053 sigprocmask \
18054 symlink \
18055 tcdrain \
18056 thr_kill2
18058 do :
18059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18062 cat >>confdefs.h <<_ACEOF
18063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18064 _ACEOF
18067 done
18069 CFLAGS="$ac_save_CFLAGS"
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18072 $as_echo_n "checking for library containing dlopen... " >&6; }
18073 if ${ac_cv_search_dlopen+:} false; then :
18074 $as_echo_n "(cached) " >&6
18075 else
18076 ac_func_search_save_LIBS=$LIBS
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18080 /* Override any GCC internal prototype to avoid an error.
18081 Use char because int might match the return type of a GCC
18082 builtin and then its argument prototype would still apply. */
18083 #ifdef __cplusplus
18084 extern "C"
18085 #endif
18086 char dlopen ();
18088 main ()
18090 return dlopen ();
18092 return 0;
18094 _ACEOF
18095 for ac_lib in '' dl; do
18096 if test -z "$ac_lib"; then
18097 ac_res="none required"
18098 else
18099 ac_res=-l$ac_lib
18100 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18102 if ac_fn_c_try_link "$LINENO"; then :
18103 ac_cv_search_dlopen=$ac_res
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext
18107 if ${ac_cv_search_dlopen+:} false; then :
18108 break
18110 done
18111 if ${ac_cv_search_dlopen+:} false; then :
18113 else
18114 ac_cv_search_dlopen=no
18116 rm conftest.$ac_ext
18117 LIBS=$ac_func_search_save_LIBS
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18120 $as_echo "$ac_cv_search_dlopen" >&6; }
18121 ac_res=$ac_cv_search_dlopen
18122 if test "$ac_res" != no; then :
18123 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18127 ac_wine_check_funcs_save_LIBS="$LIBS"
18128 LIBS="$LIBS $DL_LIBS"
18129 for ac_func in dladdr dlinfo
18130 do :
18131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18134 cat >>confdefs.h <<_ACEOF
18135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18136 _ACEOF
18139 done
18141 LIBS="$ac_wine_check_funcs_save_LIBS"
18143 if test "$ac_cv_func_poll" = no
18144 then
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18146 $as_echo_n "checking for poll in -lpoll... " >&6; }
18147 if ${ac_cv_lib_poll_poll+:} false; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18150 ac_check_lib_save_LIBS=$LIBS
18151 LIBS="-lpoll $LIBS"
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18155 /* Override any GCC internal prototype to avoid an error.
18156 Use char because int might match the return type of a GCC
18157 builtin and then its argument prototype would still apply. */
18158 #ifdef __cplusplus
18159 extern "C"
18160 #endif
18161 char poll ();
18163 main ()
18165 return poll ();
18167 return 0;
18169 _ACEOF
18170 if ac_fn_c_try_link "$LINENO"; then :
18171 ac_cv_lib_poll_poll=yes
18172 else
18173 ac_cv_lib_poll_poll=no
18175 rm -f core conftest.err conftest.$ac_objext \
18176 conftest$ac_exeext conftest.$ac_ext
18177 LIBS=$ac_check_lib_save_LIBS
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18180 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18181 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18182 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18183 POLL_LIBS="-lpoll"
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18190 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18191 if ${ac_cv_search_gethostbyname+:} false; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18194 ac_func_search_save_LIBS=$LIBS
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 #ifdef __cplusplus
18202 extern "C"
18203 #endif
18204 char gethostbyname ();
18206 main ()
18208 return gethostbyname ();
18210 return 0;
18212 _ACEOF
18213 for ac_lib in '' nsl; do
18214 if test -z "$ac_lib"; then
18215 ac_res="none required"
18216 else
18217 ac_res=-l$ac_lib
18218 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18220 if ac_fn_c_try_link "$LINENO"; then :
18221 ac_cv_search_gethostbyname=$ac_res
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext
18225 if ${ac_cv_search_gethostbyname+:} false; then :
18226 break
18228 done
18229 if ${ac_cv_search_gethostbyname+:} false; then :
18231 else
18232 ac_cv_search_gethostbyname=no
18234 rm conftest.$ac_ext
18235 LIBS=$ac_func_search_save_LIBS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18238 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18239 ac_res=$ac_cv_search_gethostbyname
18240 if test "$ac_res" != no; then :
18241 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18247 $as_echo_n "checking for library containing connect... " >&6; }
18248 if ${ac_cv_search_connect+:} false; then :
18249 $as_echo_n "(cached) " >&6
18250 else
18251 ac_func_search_save_LIBS=$LIBS
18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253 /* end confdefs.h. */
18255 /* Override any GCC internal prototype to avoid an error.
18256 Use char because int might match the return type of a GCC
18257 builtin and then its argument prototype would still apply. */
18258 #ifdef __cplusplus
18259 extern "C"
18260 #endif
18261 char connect ();
18263 main ()
18265 return connect ();
18267 return 0;
18269 _ACEOF
18270 for ac_lib in '' socket; do
18271 if test -z "$ac_lib"; then
18272 ac_res="none required"
18273 else
18274 ac_res=-l$ac_lib
18275 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18277 if ac_fn_c_try_link "$LINENO"; then :
18278 ac_cv_search_connect=$ac_res
18280 rm -f core conftest.err conftest.$ac_objext \
18281 conftest$ac_exeext
18282 if ${ac_cv_search_connect+:} false; then :
18283 break
18285 done
18286 if ${ac_cv_search_connect+:} false; then :
18288 else
18289 ac_cv_search_connect=no
18291 rm conftest.$ac_ext
18292 LIBS=$ac_func_search_save_LIBS
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18295 $as_echo "$ac_cv_search_connect" >&6; }
18296 ac_res=$ac_cv_search_connect
18297 if test "$ac_res" != no; then :
18298 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18304 $as_echo_n "checking for library containing inet_aton... " >&6; }
18305 if ${ac_cv_search_inet_aton+:} false; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18308 ac_func_search_save_LIBS=$LIBS
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 /* Override any GCC internal prototype to avoid an error.
18313 Use char because int might match the return type of a GCC
18314 builtin and then its argument prototype would still apply. */
18315 #ifdef __cplusplus
18316 extern "C"
18317 #endif
18318 char inet_aton ();
18320 main ()
18322 return inet_aton ();
18324 return 0;
18326 _ACEOF
18327 for ac_lib in '' resolv; do
18328 if test -z "$ac_lib"; then
18329 ac_res="none required"
18330 else
18331 ac_res=-l$ac_lib
18332 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18334 if ac_fn_c_try_link "$LINENO"; then :
18335 ac_cv_search_inet_aton=$ac_res
18337 rm -f core conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext
18339 if ${ac_cv_search_inet_aton+:} false; then :
18340 break
18342 done
18343 if ${ac_cv_search_inet_aton+:} false; then :
18345 else
18346 ac_cv_search_inet_aton=no
18348 rm conftest.$ac_ext
18349 LIBS=$ac_func_search_save_LIBS
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18352 $as_echo "$ac_cv_search_inet_aton" >&6; }
18353 ac_res=$ac_cv_search_inet_aton
18354 if test "$ac_res" != no; then :
18355 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18360 for ac_func in \
18361 getaddrinfo \
18362 getnameinfo \
18363 getservbyport \
18365 do :
18366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18368 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18369 cat >>confdefs.h <<_ACEOF
18370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18371 _ACEOF
18374 done
18377 case $host_os in
18378 darwin*|macosx*) ;;
18379 *) ac_save_LIBS=$LIBS
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18381 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18382 if ${ac_cv_search_clock_gettime+:} false; then :
18383 $as_echo_n "(cached) " >&6
18384 else
18385 ac_func_search_save_LIBS=$LIBS
18386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h. */
18389 /* Override any GCC internal prototype to avoid an error.
18390 Use char because int might match the return type of a GCC
18391 builtin and then its argument prototype would still apply. */
18392 #ifdef __cplusplus
18393 extern "C"
18394 #endif
18395 char clock_gettime ();
18397 main ()
18399 return clock_gettime ();
18401 return 0;
18403 _ACEOF
18404 for ac_lib in '' rt; do
18405 if test -z "$ac_lib"; then
18406 ac_res="none required"
18407 else
18408 ac_res=-l$ac_lib
18409 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18411 if ac_fn_c_try_link "$LINENO"; then :
18412 ac_cv_search_clock_gettime=$ac_res
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext
18416 if ${ac_cv_search_clock_gettime+:} false; then :
18417 break
18419 done
18420 if ${ac_cv_search_clock_gettime+:} false; then :
18422 else
18423 ac_cv_search_clock_gettime=no
18425 rm conftest.$ac_ext
18426 LIBS=$ac_func_search_save_LIBS
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18429 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18430 ac_res=$ac_cv_search_clock_gettime
18431 if test "$ac_res" != no; then :
18432 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18434 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18436 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18440 LIBS=$ac_save_LIBS
18442 esac
18444 if test "x$with_ldap" != "xno"
18445 then
18446 if ${LDAP_CFLAGS:+false} :; then :
18447 if ${PKG_CONFIG+:} false; then :
18448 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18452 if ${LDAP_LIBS:+false} :; then :
18453 if ${PKG_CONFIG+:} false; then :
18454 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18458 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18459 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18460 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18461 ac_save_CPPFLAGS=$CPPFLAGS
18462 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18463 for ac_header in ldap.h lber.h
18464 do :
18465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18466 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18468 cat >>confdefs.h <<_ACEOF
18469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18470 _ACEOF
18474 done
18476 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18477 then
18478 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18480 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18482 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18483 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18484 $as_echo_n "(cached) " >&6
18485 else
18486 ac_check_lib_save_LIBS=$LIBS
18487 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18491 /* Override any GCC internal prototype to avoid an error.
18492 Use char because int might match the return type of a GCC
18493 builtin and then its argument prototype would still apply. */
18494 #ifdef __cplusplus
18495 extern "C"
18496 #endif
18497 char ldap_initialize ();
18499 main ()
18501 return ldap_initialize ();
18503 return 0;
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"; then :
18507 ac_cv_lib_ldap_r_ldap_initialize=yes
18508 else
18509 ac_cv_lib_ldap_r_ldap_initialize=no
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18513 LIBS=$ac_check_lib_save_LIBS
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18516 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18517 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18519 $as_echo_n "checking for ber_init in -llber... " >&6; }
18520 if ${ac_cv_lib_lber_ber_init+:} false; then :
18521 $as_echo_n "(cached) " >&6
18522 else
18523 ac_check_lib_save_LIBS=$LIBS
18524 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18528 /* Override any GCC internal prototype to avoid an error.
18529 Use char because int might match the return type of a GCC
18530 builtin and then its argument prototype would still apply. */
18531 #ifdef __cplusplus
18532 extern "C"
18533 #endif
18534 char ber_init ();
18536 main ()
18538 return ber_init ();
18540 return 0;
18542 _ACEOF
18543 if ac_fn_c_try_link "$LINENO"; then :
18544 ac_cv_lib_lber_ber_init=yes
18545 else
18546 ac_cv_lib_lber_ber_init=no
18548 rm -f core conftest.err conftest.$ac_objext \
18549 conftest$ac_exeext conftest.$ac_ext
18550 LIBS=$ac_check_lib_save_LIBS
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18553 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18554 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18556 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18558 else
18559 LDAP_LIBS=""
18562 else
18563 LDAP_LIBS=""
18566 else
18567 LDAP_LIBS=""
18570 ac_wine_check_funcs_save_LIBS="$LIBS"
18571 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18572 for ac_func in \
18573 ldap_count_references \
18574 ldap_first_reference \
18575 ldap_next_reference \
18576 ldap_parse_reference \
18577 ldap_parse_sort_control \
18578 ldap_parse_sortresponse_control \
18579 ldap_parse_vlv_control \
18580 ldap_parse_vlvresponse_control
18581 do :
18582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18585 cat >>confdefs.h <<_ACEOF
18586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18587 _ACEOF
18590 done
18592 LIBS="$ac_wine_check_funcs_save_LIBS"
18593 else
18594 LDAP_LIBS=""
18596 CPPFLAGS=$ac_save_CPPFLAGS
18599 if test "x$LDAP_LIBS" = "x"; then :
18600 case "x$with_ldap" in
18601 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18602 xno) ;;
18603 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18604 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18605 esac
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18610 $as_echo_n "checking for sched_setaffinity... " >&6; }
18611 if ${wine_cv_have_sched_setaffinity+:} false; then :
18612 $as_echo_n "(cached) " >&6
18613 else
18614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18615 /* end confdefs.h. */
18616 #define _GNU_SOURCE
18617 #include <sched.h>
18619 main ()
18621 sched_setaffinity(0, 0, 0);
18623 return 0;
18625 _ACEOF
18626 if ac_fn_c_try_link "$LINENO"; then :
18627 wine_cv_have_sched_setaffinity=yes
18628 else
18629 wine_cv_have_sched_setaffinity=no
18631 rm -f core conftest.err conftest.$ac_objext \
18632 conftest$ac_exeext conftest.$ac_ext
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18635 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18636 if test "$wine_cv_have_sched_setaffinity" = "yes"
18637 then
18639 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18644 $as_echo_n "checking for fallocate... " >&6; }
18645 if ${wine_cv_have_fallocate+:} false; then :
18646 $as_echo_n "(cached) " >&6
18647 else
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #define _GNU_SOURCE
18651 #include <fcntl.h>
18653 main ()
18655 fallocate(-1, 0, 0, 0);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_c_try_link "$LINENO"; then :
18661 wine_cv_have_fallocate=yes
18662 else
18663 wine_cv_have_fallocate=no
18665 rm -f core conftest.err conftest.$ac_objext \
18666 conftest$ac_exeext conftest.$ac_ext
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18669 $as_echo "$wine_cv_have_fallocate" >&6; }
18670 if test "$wine_cv_have_fallocate" = "yes"
18671 then
18673 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18679 $as_echo_n "checking for inline... " >&6; }
18680 if ${ac_cv_c_inline+:} false; then :
18681 $as_echo_n "(cached) " >&6
18682 else
18683 ac_cv_c_inline=no
18684 for ac_kw in inline __inline__ __inline; do
18685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18687 #ifndef __cplusplus
18688 typedef int foo_t;
18689 static $ac_kw foo_t static_foo () {return 0; }
18690 $ac_kw foo_t foo () {return 0; }
18691 #endif
18693 _ACEOF
18694 if ac_fn_c_try_compile "$LINENO"; then :
18695 ac_cv_c_inline=$ac_kw
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 test "$ac_cv_c_inline" != no && break
18699 done
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18703 $as_echo "$ac_cv_c_inline" >&6; }
18705 case $ac_cv_c_inline in
18706 inline | yes) ;;
18708 case $ac_cv_c_inline in
18709 no) ac_val=;;
18710 *) ac_val=$ac_cv_c_inline;;
18711 esac
18712 cat >>confdefs.h <<_ACEOF
18713 #ifndef __cplusplus
18714 #define inline $ac_val
18715 #endif
18716 _ACEOF
18718 esac
18720 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18721 #include <signal.h>
18723 if test "x$ac_cv_type_sigset_t" = xyes; then :
18725 cat >>confdefs.h <<_ACEOF
18726 #define HAVE_SIGSET_T 1
18727 _ACEOF
18732 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18734 if test "x$ac_cv_type_request_sense" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_REQUEST_SENSE 1
18738 _ACEOF
18744 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18745 #ifdef HAVE_SYS_SOCKET_H
18746 #include <sys/socket.h>
18747 #endif
18748 #ifdef HAVE_SYS_SOCKETVAR_H
18749 #include <sys/socketvar.h>
18750 #endif
18751 #ifdef HAVE_NET_ROUTE_H
18752 #include <net/route.h>
18753 #endif
18754 #ifdef HAVE_NETINET_IN_H
18755 #include <netinet/in.h>
18756 #endif
18757 #ifdef HAVE_NETINET_IN_SYSTM_H
18758 #include <netinet/in_systm.h>
18759 #endif
18760 #ifdef HAVE_NETINET_IP_H
18761 #include <netinet/ip.h>
18762 #endif
18763 #ifdef HAVE_NETINET_IN_PCB_H
18764 #include <netinet/in_pcb.h>
18765 #endif
18767 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18769 cat >>confdefs.h <<_ACEOF
18770 #define HAVE_STRUCT_XINPGEN 1
18771 _ACEOF
18777 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18778 #include <linux/input.h>
18779 #endif
18781 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18785 _ACEOF
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18792 $as_echo_n "checking for if_nameindex... " >&6; }
18793 if ${wine_cv_have_if_nameindex+:} false; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798 #ifdef HAVE_SYS_TYPES_H
18799 #include <sys/types.h>
18800 #endif
18801 #ifdef HAVE_SYS_SOCKET_H
18802 #include <sys/socket.h>
18803 #endif
18804 #ifdef HAVE_NET_IF_H
18805 # include <net/if.h>
18806 #endif
18808 main ()
18810 struct if_nameindex *p = if_nameindex(); return p->if_index;
18812 return 0;
18814 _ACEOF
18815 if ac_fn_c_try_link "$LINENO"; then :
18816 wine_cv_have_if_nameindex=yes
18817 else
18818 wine_cv_have_if_nameindex=no
18820 rm -f core conftest.err conftest.$ac_objext \
18821 conftest$ac_exeext conftest.$ac_ext
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18824 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18825 if test "$wine_cv_have_if_nameindex" = "yes"
18826 then
18828 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18833 $as_echo_n "checking for sigaddset... " >&6; }
18834 if ${wine_cv_have_sigaddset+:} false; then :
18835 $as_echo_n "(cached) " >&6
18836 else
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 #include <signal.h>
18841 main ()
18843 sigset_t set; sigaddset(&set,SIGTERM);
18845 return 0;
18847 _ACEOF
18848 if ac_fn_c_try_link "$LINENO"; then :
18849 wine_cv_have_sigaddset=yes
18850 else
18851 wine_cv_have_sigaddset=no
18853 rm -f core conftest.err conftest.$ac_objext \
18854 conftest$ac_exeext conftest.$ac_ext
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18857 $as_echo "$wine_cv_have_sigaddset" >&6; }
18858 if test "$wine_cv_have_sigaddset" = "yes"
18859 then
18861 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18867 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18868 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18869 $as_echo_n "(cached) " >&6
18870 else
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 #include <netdb.h>
18875 main ()
18878 char *name=0;
18879 struct hostent he;
18880 struct hostent *result;
18881 char *buf=0;
18882 int bufsize=0;
18883 int errnr;
18884 char *addr=0;
18885 int addrlen=0;
18886 int addrtype=0;
18887 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18888 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18891 return 0;
18893 _ACEOF
18894 if ac_fn_c_try_link "$LINENO"; then :
18895 wine_cv_linux_gethostbyname_r_6=yes
18896 else
18897 wine_cv_linux_gethostbyname_r_6=no
18900 rm -f core conftest.err conftest.$ac_objext \
18901 conftest$ac_exeext conftest.$ac_ext
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18905 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18906 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18907 then
18909 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18913 if test "$ac_cv_header_linux_joystick_h" = "yes"
18914 then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18916 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18917 if ${wine_cv_linux_joystick_22_api+:} false; then :
18918 $as_echo_n "(cached) " >&6
18919 else
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18923 #include <sys/ioctl.h>
18924 #include <sys/types.h>
18925 #include <linux/joystick.h>
18927 struct js_event blub;
18928 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18929 #error "no 2.2 header"
18930 #endif
18933 main ()
18935 /*empty*/
18937 return 0;
18939 _ACEOF
18940 if ac_fn_c_try_compile "$LINENO"; then :
18941 wine_cv_linux_joystick_22_api=yes
18942 else
18943 wine_cv_linux_joystick_22_api=no
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18949 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18950 if test "$wine_cv_linux_joystick_22_api" = "yes"
18951 then
18953 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18958 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18959 #ifdef HAVE_SYS_SOCKET_H
18960 # include <sys/socket.h>
18961 #endif
18962 #ifdef HAVE_SYS_UN_H
18963 # include <sys/un.h>
18964 #endif
18966 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18970 _ACEOF
18974 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18975 #ifdef HAVE_SYS_SOCKET_H
18976 # include <sys/socket.h>
18977 #endif
18978 #ifdef HAVE_SYS_UN_H
18979 # include <sys/un.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_SOCKET_H
18992 # include <sys/socket.h>
18993 #endif
18994 #ifdef HAVE_SYS_UN_H
18995 # include <sys/un.h>
18996 #endif
18998 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19002 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19009 #ifdef HAVE_SCSI_SG_H
19010 #include <scsi/sg.h>
19011 #endif
19013 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_SCSIREQ_T_CMD 1
19017 _ACEOF
19021 ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
19022 #ifdef HAVE_SCSI_SG_H
19023 #include <scsi/sg.h>
19024 #endif
19026 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19030 _ACEOF
19036 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19038 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_SIGINFO_T_SI_FD 1
19042 _ACEOF
19048 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19049 #ifdef HAVE_SYS_MTIO_H
19050 #include <sys/mtio.h>
19051 #endif
19053 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19062 #ifdef HAVE_SYS_MTIO_H
19063 #include <sys/mtio.h>
19064 #endif
19066 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19070 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19075 #ifdef HAVE_SYS_MTIO_H
19076 #include <sys/mtio.h>
19077 #endif
19079 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19083 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19090 #include <getopt.h>
19091 #endif
19093 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_OPTION_NAME 1
19097 _ACEOF
19103 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19104 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19108 _ACEOF
19112 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19113 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_STRUCT_STAT_ST_MTIM 1
19117 _ACEOF
19121 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19122 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19126 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19131 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_STAT_ST_CTIM 1
19135 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19140 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19144 _ACEOF
19148 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19149 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT_STAT_ST_ATIM 1
19153 _ACEOF
19157 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19158 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19160 cat >>confdefs.h <<_ACEOF
19161 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19162 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19167 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19171 _ACEOF
19175 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19176 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19180 _ACEOF
19184 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19185 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19187 cat >>confdefs.h <<_ACEOF
19188 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19189 _ACEOF
19193 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19194 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19198 _ACEOF
19202 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19203 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19207 _ACEOF
19213 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
19214 #include <sys/types.h>
19215 #endif
19216 #ifdef HAVE_NETINET_IN_H
19217 #include <netinet/in.h>
19218 #endif
19220 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19222 cat >>confdefs.h <<_ACEOF
19223 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19224 _ACEOF
19230 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19231 #include <sys/types.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IN_H
19234 #include <netinet/in.h>
19235 #endif
19236 #ifdef HAVE_RESOLV_H
19237 #include <resolv.h>
19238 #endif
19240 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT___RES_STATE 1
19244 _ACEOF
19250 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
19251 #include <resolv.h>
19252 #endif
19254 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19258 _ACEOF
19264 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19265 #include <sys/types.h>
19266 #endif
19267 #ifdef HAVE_NETINET_IN_H
19268 # include <netinet/in.h>
19269 #endif
19270 #ifdef HAVE_ARPA_NAMESER_H
19271 # include <arpa/nameser.h>
19272 #endif
19274 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_NS_MSG__MSG_PTR 1
19278 _ACEOF
19284 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19285 #include <sys/types.h>
19286 #endif
19287 #ifdef HAVE_NETINET_IN_H
19288 #include <netinet/in.h>
19289 #endif
19290 #ifdef HAVE_NETINET_IP_H
19291 #include <netinet/ip.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IP_ICMP_H
19294 #include <netinet/ip_icmp.h>
19295 #endif
19296 #ifdef HAVE_NETINET_ICMP_VAR_H
19297 #include <netinet/icmp_var.h>
19298 #endif
19300 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19302 cat >>confdefs.h <<_ACEOF
19303 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19304 _ACEOF
19310 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19311 #include <sys/types.h>
19312 #endif
19313 #ifdef HAVE_ALIAS_H
19314 #include <alias.h>
19315 #endif
19316 #ifdef HAVE_SYS_SOCKET_H
19317 #include <sys/socket.h>
19318 #endif
19319 #ifdef HAVE_SYS_SOCKETVAR_H
19320 #include <sys/socketvar.h>
19321 #endif
19322 #ifdef HAVE_SYS_TIMEOUT_H
19323 #include <sys/timeout.h>
19324 #endif
19325 #ifdef HAVE_NETINET_IN_H
19326 #include <netinet/in.h>
19327 #endif
19328 #ifdef HAVE_NETINET_IN_SYSTM_H
19329 #include <netinet/in_systm.h>
19330 #endif
19331 #ifdef HAVE_NETINET_IP_H
19332 #include <netinet/ip.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IP_VAR_H
19335 #include <netinet/ip_var.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IP_ICMP_H
19338 #include <netinet/ip_icmp.h>
19339 #endif
19340 #ifdef HAVE_NETINET_ICMP_VAR_H
19341 #include <netinet/icmp_var.h>
19342 #endif
19344 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19346 cat >>confdefs.h <<_ACEOF
19347 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19348 _ACEOF
19354 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19355 #include <sys/types.h>
19356 #endif
19357 #ifdef HAVE_SYS_SOCKETVAR_H
19358 #include <sys/socketvar.h>
19359 #endif
19360 #ifdef HAVE_NETINET_IN_H
19361 #include <netinet/in.h>
19362 #endif
19363 #ifdef HAVE_NETINET_IP_VAR_H
19364 #include <netinet/ip_var.h>
19365 #endif
19367 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19371 _ACEOF
19377 ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
19378 #include <netinet/ip_var.h>
19379 #endif
19381 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19385 _ACEOF
19391 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19392 #include <sys/types.h>
19393 #endif
19394 #ifdef HAVE_SYS_SOCKETVAR_H
19395 #include <sys/socketvar.h>
19396 #endif
19397 #ifdef HAVE_NETINET_IN_H
19398 #include <netinet/in.h>
19399 #endif
19400 #ifdef HAVE_NETINET_TCP_H
19401 #include <netinet/tcp.h>
19402 #endif
19403 #ifdef HAVE_NETINET_TCP_VAR_H
19404 #include <netinet/tcp_var.h>
19405 #endif
19407 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19409 cat >>confdefs.h <<_ACEOF
19410 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19411 _ACEOF
19417 ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
19418 #include <netinet/tcp_var.h>
19419 #endif
19421 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19425 _ACEOF
19431 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19432 #include <sys/types.h>
19433 #endif
19434 #ifdef HAVE_NETINET_IN_H
19435 #include <netinet/in.h>
19436 #endif
19437 #ifdef HAVE_NETINET_IP_VAR_H
19438 #include <netinet/ip_var.h>
19439 #endif
19440 #ifdef HAVE_NETINET_UDP_H
19441 #include <netinet/udp.h>
19442 #endif
19443 #ifdef HAVE_NETINET_UDP_VAR_H
19444 #include <netinet/udp_var.h>
19445 #endif
19447 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19451 _ACEOF
19457 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19458 #include <sys/types.h>
19459 #endif
19460 #ifdef HAVE_NET_IF_H
19461 # include <net/if.h>
19462 #endif
19464 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19466 cat >>confdefs.h <<_ACEOF
19467 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19468 _ACEOF
19474 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19475 # include <sys/sysinfo.h>
19476 #endif
19478 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19480 cat >>confdefs.h <<_ACEOF
19481 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19482 _ACEOF
19486 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19487 # include <sys/sysinfo.h>
19488 #endif
19490 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19492 cat >>confdefs.h <<_ACEOF
19493 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19494 _ACEOF
19500 ac_save_LIBS="$LIBS"
19501 LIBS="$LIBS -lm"
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19503 $as_echo_n "checking for isfinite... " >&6; }
19504 if ${ac_cv_have_isfinite+:} false; then :
19505 $as_echo_n "(cached) " >&6
19506 else
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #define _GNU_SOURCE
19510 #include <math.h>
19512 main ()
19514 float f = 0.0; return isfinite(f)
19516 return 0;
19518 _ACEOF
19519 if ac_fn_c_try_link "$LINENO"; then :
19520 ac_cv_have_isfinite="yes"
19521 else
19522 ac_cv_have_isfinite="no"
19524 rm -f core conftest.err conftest.$ac_objext \
19525 conftest$ac_exeext conftest.$ac_ext
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19528 $as_echo "$ac_cv_have_isfinite" >&6; }
19529 if test "$ac_cv_have_isfinite" = "yes"
19530 then
19532 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19537 $as_echo_n "checking for isinf... " >&6; }
19538 if ${ac_cv_have_isinf+:} false; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 #include <math.h>
19545 main ()
19547 float f = 0.0; return isinf(f)
19549 return 0;
19551 _ACEOF
19552 if ac_fn_c_try_link "$LINENO"; then :
19553 ac_cv_have_isinf="yes"
19554 else
19555 ac_cv_have_isinf="no"
19557 rm -f core conftest.err conftest.$ac_objext \
19558 conftest$ac_exeext conftest.$ac_ext
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19561 $as_echo "$ac_cv_have_isinf" >&6; }
19562 if test "$ac_cv_have_isinf" = "yes"
19563 then
19565 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19570 $as_echo_n "checking for isnan... " >&6; }
19571 if ${ac_cv_have_isnan+:} false; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #include <math.h>
19578 main ()
19580 float f = 0.0; return isnan(f)
19582 return 0;
19584 _ACEOF
19585 if ac_fn_c_try_link "$LINENO"; then :
19586 ac_cv_have_isnan="yes"
19587 else
19588 ac_cv_have_isnan="no"
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext conftest.$ac_ext
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19594 $as_echo "$ac_cv_have_isnan" >&6; }
19595 if test "$ac_cv_have_isnan" = "yes"
19596 then
19598 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19602 LIBS="$ac_save_LIBS"
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19605 $as_echo_n "checking for __builtin_popcount... " >&6; }
19606 if ${ac_cv_have___builtin_popcount+:} false; then :
19607 $as_echo_n "(cached) " >&6
19608 else
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19613 main ()
19615 return __builtin_popcount(1)
19617 return 0;
19619 _ACEOF
19620 if ac_fn_c_try_link "$LINENO"; then :
19621 ac_cv_have___builtin_popcount="yes"
19622 else
19623 ac_cv_have___builtin_popcount="no"
19625 rm -f core conftest.err conftest.$ac_objext \
19626 conftest$ac_exeext conftest.$ac_ext
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19629 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19630 if test "$ac_cv_have___builtin_popcount" = "yes"
19631 then
19633 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19638 $as_echo_n "checking for __clear_cache... " >&6; }
19639 if ${ac_cv_have___clear_cache+:} false; then :
19640 $as_echo_n "(cached) " >&6
19641 else
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19646 main ()
19648 __clear_cache((void*)0, (void*)0); return 0;
19650 return 0;
19652 _ACEOF
19653 if ac_fn_c_try_link "$LINENO"; then :
19654 ac_cv_have___clear_cache="yes"
19655 else
19656 ac_cv_have___clear_cache="no"
19658 rm -f core conftest.err conftest.$ac_objext \
19659 conftest$ac_exeext conftest.$ac_ext
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19662 $as_echo "$ac_cv_have___clear_cache" >&6; }
19663 if test "$ac_cv_have___clear_cache" = "yes"
19664 then
19666 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19671 case $host_cpu in
19672 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19673 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19674 if ${ac_cv_cpp_def___i386__+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #ifndef __i386__
19681 #endif
19682 _ACEOF
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev/null 2>&1; then :
19685 ac_cv_cpp_def___i386__=yes
19686 else
19687 ac_cv_cpp_def___i386__=no
19689 rm -f conftest*
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19693 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19694 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19695 CFLAGS="$CFLAGS -D__i386__"
19696 LINTFLAGS="$LINTFLAGS -D__i386__"
19697 fi ;;
19698 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19699 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19700 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19705 #ifndef __x86_64__
19707 #endif
19708 _ACEOF
19709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19710 $EGREP "yes" >/dev/null 2>&1; then :
19711 ac_cv_cpp_def___x86_64__=yes
19712 else
19713 ac_cv_cpp_def___x86_64__=no
19715 rm -f conftest*
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19719 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19720 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19721 CFLAGS="$CFLAGS -D__x86_64__"
19722 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19723 fi ;;
19724 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19725 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19726 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19727 $as_echo_n "(cached) " >&6
19728 else
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 #ifndef __sparc64__
19733 #endif
19734 _ACEOF
19735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19736 $EGREP "yes" >/dev/null 2>&1; then :
19737 ac_cv_cpp_def___sparc64__=yes
19738 else
19739 ac_cv_cpp_def___sparc64__=no
19741 rm -f conftest*
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19745 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19746 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19747 CFLAGS="$CFLAGS -D__sparc64__"
19748 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19749 fi ;;
19750 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19751 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19752 if ${ac_cv_cpp_def___sparc__+:} false; then :
19753 $as_echo_n "(cached) " >&6
19754 else
19755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19756 /* end confdefs.h. */
19757 #ifndef __sparc__
19759 #endif
19760 _ACEOF
19761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19762 $EGREP "yes" >/dev/null 2>&1; then :
19763 ac_cv_cpp_def___sparc__=yes
19764 else
19765 ac_cv_cpp_def___sparc__=no
19767 rm -f conftest*
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19771 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19772 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19773 CFLAGS="$CFLAGS -D__sparc__"
19774 LINTFLAGS="$LINTFLAGS -D__sparc__"
19775 fi ;;
19776 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19777 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19778 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19779 $as_echo_n "(cached) " >&6
19780 else
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 #ifndef __powerpc64__
19785 #endif
19786 _ACEOF
19787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19788 $EGREP "yes" >/dev/null 2>&1; then :
19789 ac_cv_cpp_def___powerpc64__=yes
19790 else
19791 ac_cv_cpp_def___powerpc64__=no
19793 rm -f conftest*
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19797 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19798 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19799 CFLAGS="$CFLAGS -D__powerpc64__"
19800 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19801 fi ;;
19802 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19803 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19804 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #ifndef __powerpc__
19811 #endif
19812 _ACEOF
19813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19814 $EGREP "yes" >/dev/null 2>&1; then :
19815 ac_cv_cpp_def___powerpc__=yes
19816 else
19817 ac_cv_cpp_def___powerpc__=no
19819 rm -f conftest*
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19823 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19824 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19825 CFLAGS="$CFLAGS -D__powerpc__"
19826 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19827 fi ;;
19828 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19829 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19830 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19831 $as_echo_n "(cached) " >&6
19832 else
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h. */
19835 #ifndef __aarch64__
19837 #endif
19838 _ACEOF
19839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19840 $EGREP "yes" >/dev/null 2>&1; then :
19841 ac_cv_cpp_def___aarch64__=yes
19842 else
19843 ac_cv_cpp_def___aarch64__=no
19845 rm -f conftest*
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19849 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19850 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19851 CFLAGS="$CFLAGS -D__aarch64__"
19852 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19853 fi ;;
19854 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19855 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19856 if ${ac_cv_cpp_def___arm__+:} false; then :
19857 $as_echo_n "(cached) " >&6
19858 else
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19861 #ifndef __arm__
19863 #endif
19864 _ACEOF
19865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19866 $EGREP "yes" >/dev/null 2>&1; then :
19867 ac_cv_cpp_def___arm__=yes
19868 else
19869 ac_cv_cpp_def___arm__=no
19871 rm -f conftest*
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19875 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19876 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19877 CFLAGS="$CFLAGS -D__arm__"
19878 LINTFLAGS="$LINTFLAGS -D__arm__"
19879 fi ;;
19880 esac
19882 case $host_vendor in
19883 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19884 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19885 if ${ac_cv_cpp_def___sun__+:} false; then :
19886 $as_echo_n "(cached) " >&6
19887 else
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19890 #ifndef __sun__
19892 #endif
19893 _ACEOF
19894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19895 $EGREP "yes" >/dev/null 2>&1; then :
19896 ac_cv_cpp_def___sun__=yes
19897 else
19898 ac_cv_cpp_def___sun__=no
19900 rm -f conftest*
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19904 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19905 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19906 CFLAGS="$CFLAGS -D__sun__"
19907 LINTFLAGS="$LINTFLAGS -D__sun__"
19908 fi ;;
19909 esac
19915 ac_config_commands="$ac_config_commands include/stamp-h"
19917 $as_echo_n "creating Makefile rules..." >&6
19919 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19920 OPENGL_LIBS = $OPENGL_LIBS
19921 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19922 IOKIT_LIBS = $IOKIT_LIBS
19923 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19924 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19925 CORESERVICES_LIBS = $CORESERVICES_LIBS
19926 APPKIT_LIBS = $APPKIT_LIBS
19927 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19928 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19929 SECURITY_LIBS = $SECURITY_LIBS
19930 COREAUDIO_LIBS = $COREAUDIO_LIBS
19931 OPENAL_LIBS = $OPENAL_LIBS
19932 OPENCL_LIBS = $OPENCL_LIBS
19933 QUICKTIME_LIBS = $QUICKTIME_LIBS
19934 CARBON_LIBS = $CARBON_LIBS
19935 METAL_LIBS = $METAL_LIBS
19936 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19937 PTHREAD_LIBS = $PTHREAD_LIBS
19938 X_CFLAGS = $X_CFLAGS
19939 X_PRE_LIBS = $X_PRE_LIBS
19940 X_LIBS = $X_LIBS
19941 X_EXTRA_LIBS = $X_EXTRA_LIBS
19942 PCAP_LIBS = $PCAP_LIBS
19943 XML2_CFLAGS = $XML2_CFLAGS
19944 XML2_LIBS = $XML2_LIBS
19945 XSLT_CFLAGS = $XSLT_CFLAGS
19946 XSLT_LIBS = $XSLT_LIBS
19947 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19948 INOTIFY_LIBS = $INOTIFY_LIBS
19949 DBUS_CFLAGS = $DBUS_CFLAGS
19950 DBUS_LIBS = $DBUS_LIBS
19951 HAL_CFLAGS = $HAL_CFLAGS
19952 HAL_LIBS = $HAL_LIBS
19953 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19954 GNUTLS_LIBS = $GNUTLS_LIBS
19955 SANE_CFLAGS = $SANE_CFLAGS
19956 SANE_LIBS = $SANE_LIBS
19957 USB_CFLAGS = $USB_CFLAGS
19958 USB_LIBS = $USB_LIBS
19959 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19960 GPHOTO2_LIBS = $GPHOTO2_LIBS
19961 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19962 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19963 RESOLV_LIBS = $RESOLV_LIBS
19964 LCMS2_CFLAGS = $LCMS2_CFLAGS
19965 LCMS2_LIBS = $LCMS2_LIBS
19966 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19967 FREETYPE_LIBS = $FREETYPE_LIBS
19968 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19969 PULSE_CFLAGS = $PULSE_CFLAGS
19970 PULSE_LIBS = $PULSE_LIBS
19971 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19972 GSTREAMER_LIBS = $GSTREAMER_LIBS
19973 ALSA_LIBS = $ALSA_LIBS
19974 OSS4_CFLAGS = $OSS4_CFLAGS
19975 OSS4_LIBS = $OSS4_LIBS
19976 UDEV_CFLAGS = $UDEV_CFLAGS
19977 UDEV_LIBS = $UDEV_LIBS
19978 UNWIND_CFLAGS = $UNWIND_CFLAGS
19979 UNWIND_LIBS = $UNWIND_LIBS
19980 SDL2_CFLAGS = $SDL2_CFLAGS
19981 SDL2_LIBS = $SDL2_LIBS
19982 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19983 FAUDIO_LIBS = $FAUDIO_LIBS
19984 CAPI20_CFLAGS = $CAPI20_CFLAGS
19985 CAPI20_LIBS = $CAPI20_LIBS
19986 CUPS_CFLAGS = $CUPS_CFLAGS
19987 CUPS_LIBS = $CUPS_LIBS
19988 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19989 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19990 KRB5_CFLAGS = $KRB5_CFLAGS
19991 KRB5_LIBS = $KRB5_LIBS
19992 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19993 GSSAPI_LIBS = $GSSAPI_LIBS
19994 JPEG_CFLAGS = $JPEG_CFLAGS
19995 JPEG_LIBS = $JPEG_LIBS
19996 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19997 JXRLIB_LIBS = $JXRLIB_LIBS
19998 PNG_CFLAGS = $PNG_CFLAGS
19999 PNG_LIBS = $PNG_LIBS
20000 TIFF_CFLAGS = $TIFF_CFLAGS
20001 TIFF_LIBS = $TIFF_LIBS
20002 MPG123_CFLAGS = $MPG123_CFLAGS
20003 MPG123_LIBS = $MPG123_LIBS
20004 KSTAT_LIBS = $KSTAT_LIBS
20005 PROCSTAT_LIBS = $PROCSTAT_LIBS
20006 NETAPI_CFLAGS = $NETAPI_CFLAGS
20007 NETAPI_LIBS = $NETAPI_LIBS
20008 VKD3D_CFLAGS = $VKD3D_CFLAGS
20009 VKD3D_LIBS = $VKD3D_LIBS
20010 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20011 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20012 POLL_LIBS = $POLL_LIBS
20013 RT_LIBS = $RT_LIBS
20014 LDAP_CFLAGS = $LDAP_CFLAGS
20015 LDAP_LIBS = $LDAP_LIBS
20019 makedep_flags=""
20020 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20023 wine_fn_append_rule "
20024 # Rules automatically generated by configure
20026 .INIT: Makefile
20027 .MAKEFILEDEPS:
20028 all: Makefile
20029 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20030 @./config.status Make.tmp Makefile
20031 depend: \$(MAKEDEP)
20032 \$(MAKEDEP)$makedep_flags
20033 dummy:
20034 .PHONY: depend dummy"
20036 ac_config_links="$ac_config_links wine:tools/winewrapper"
20037 wine_fn_config_symlink wine
20038 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20039 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20040 wine_fn_config_symlink wine64
20043 wine_fn_config_makefile dlls/acledit enable_acledit
20044 wine_fn_config_makefile dlls/aclui enable_aclui
20045 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20046 wine_fn_config_makefile dlls/activeds enable_activeds
20047 wine_fn_config_makefile dlls/activeds/tests enable_tests
20048 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20049 wine_fn_config_makefile dlls/adsiid enable_adsiid
20050 wine_fn_config_makefile dlls/adsldp enable_adsldp
20051 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20052 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20053 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20054 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20055 wine_fn_config_makefile dlls/advpack enable_advpack
20056 wine_fn_config_makefile dlls/advpack/tests enable_tests
20057 wine_fn_config_makefile dlls/amsi enable_amsi
20058 wine_fn_config_makefile dlls/amstream enable_amstream
20059 wine_fn_config_makefile dlls/amstream/tests enable_tests
20060 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20062 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20063 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20065 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20081 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20086 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20087 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20098 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20107 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20112 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20116 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20119 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20124 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20134 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20135 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20148 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20149 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20172 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20196 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20223 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20255 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20259 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20263 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20277 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20280 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20282 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20290 wine_fn_config_makefile dlls/apphelp enable_apphelp
20291 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20292 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20293 wine_fn_config_makefile dlls/atl enable_atl
20294 wine_fn_config_makefile dlls/atl/tests enable_tests
20295 wine_fn_config_makefile dlls/atl100 enable_atl100
20296 wine_fn_config_makefile dlls/atl100/tests enable_tests
20297 wine_fn_config_makefile dlls/atl110 enable_atl110
20298 wine_fn_config_makefile dlls/atl80 enable_atl80
20299 wine_fn_config_makefile dlls/atl80/tests enable_tests
20300 wine_fn_config_makefile dlls/atl90 enable_atl90
20301 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20302 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20303 wine_fn_config_makefile dlls/atmlib enable_atmlib
20304 wine_fn_config_makefile dlls/authz enable_authz
20305 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20306 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20307 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20308 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20309 wine_fn_config_makefile dlls/avrt enable_avrt
20310 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20311 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20312 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20313 wine_fn_config_makefile dlls/browseui enable_browseui
20314 wine_fn_config_makefile dlls/browseui/tests enable_tests
20315 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20316 wine_fn_config_makefile dlls/cabinet enable_cabinet
20317 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20318 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20319 wine_fn_config_makefile dlls/cards enable_cards
20320 wine_fn_config_makefile dlls/cdosys enable_cdosys
20321 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20322 wine_fn_config_makefile dlls/clusapi enable_clusapi
20323 wine_fn_config_makefile dlls/combase enable_combase
20324 wine_fn_config_makefile dlls/combase/tests enable_tests
20325 wine_fn_config_makefile dlls/comcat enable_comcat
20326 wine_fn_config_makefile dlls/comcat/tests enable_tests
20327 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20328 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20329 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20330 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20331 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20332 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20333 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20334 wine_fn_config_makefile dlls/compstui enable_compstui
20335 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20336 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20337 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20338 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20339 wine_fn_config_makefile dlls/connect enable_connect
20340 wine_fn_config_makefile dlls/credui enable_credui
20341 wine_fn_config_makefile dlls/credui/tests enable_tests
20342 wine_fn_config_makefile dlls/crtdll enable_crtdll
20343 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20344 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20345 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20346 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20347 wine_fn_config_makefile dlls/cryptext enable_cryptext
20348 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20349 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20350 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20351 wine_fn_config_makefile dlls/cryptui enable_cryptui
20352 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20353 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20354 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20355 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20356 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20357 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20358 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20359 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20360 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20361 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20362 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20363 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20364 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20365 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20366 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20367 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20368 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20369 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20370 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20371 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20372 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20373 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20374 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20375 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20376 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20377 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20378 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20379 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20380 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20381 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20382 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20383 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20384 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20385 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20386 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20387 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20388 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20389 wine_fn_config_makefile dlls/d3dim enable_d3dim
20390 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20391 wine_fn_config_makefile dlls/d3drm enable_d3drm
20392 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20393 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20394 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20395 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20396 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20397 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20398 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20399 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20400 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20401 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20402 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20403 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20404 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20405 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20406 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20407 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20408 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20409 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20410 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20411 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20412 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20413 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20414 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20415 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20416 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20417 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20418 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20419 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20420 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20421 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20422 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20423 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20424 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20425 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20426 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20427 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20428 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20429 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20430 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20431 wine_fn_config_makefile dlls/davclnt enable_davclnt
20432 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20433 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20434 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20435 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20436 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20437 wine_fn_config_makefile dlls/dcomp enable_dcomp
20438 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20439 wine_fn_config_makefile dlls/ddraw enable_ddraw
20440 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20441 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20442 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20443 wine_fn_config_makefile dlls/devenum enable_devenum
20444 wine_fn_config_makefile dlls/devenum/tests enable_tests
20445 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20446 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20447 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20448 wine_fn_config_makefile dlls/difxapi enable_difxapi
20449 wine_fn_config_makefile dlls/dinput enable_dinput
20450 wine_fn_config_makefile dlls/dinput/tests enable_tests
20451 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20452 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20453 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20454 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20455 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20456 wine_fn_config_makefile dlls/dispex enable_dispex
20457 wine_fn_config_makefile dlls/dispex/tests enable_tests
20458 wine_fn_config_makefile dlls/display.drv16 enable_win16
20459 wine_fn_config_makefile dlls/dmband enable_dmband
20460 wine_fn_config_makefile dlls/dmband/tests enable_tests
20461 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20462 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20463 wine_fn_config_makefile dlls/dmime enable_dmime
20464 wine_fn_config_makefile dlls/dmime/tests enable_tests
20465 wine_fn_config_makefile dlls/dmloader enable_dmloader
20466 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20467 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20468 wine_fn_config_makefile dlls/dmscript enable_dmscript
20469 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20470 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20471 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20472 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20473 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20474 wine_fn_config_makefile dlls/dmusic enable_dmusic
20475 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20476 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20477 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20478 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20479 wine_fn_config_makefile dlls/dplay enable_dplay
20480 wine_fn_config_makefile dlls/dplayx enable_dplayx
20481 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20482 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20483 wine_fn_config_makefile dlls/dpnet enable_dpnet
20484 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20485 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20486 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20487 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20488 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20489 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20490 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20491 wine_fn_config_makefile dlls/drmclien enable_drmclien
20492 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20493 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20494 wine_fn_config_makefile dlls/dsound enable_dsound
20495 wine_fn_config_makefile dlls/dsound/tests enable_tests
20496 wine_fn_config_makefile dlls/dsquery enable_dsquery
20497 wine_fn_config_makefile dlls/dssenh enable_dssenh
20498 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20499 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20500 wine_fn_config_makefile dlls/dswave enable_dswave
20501 wine_fn_config_makefile dlls/dswave/tests enable_tests
20502 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20503 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20504 wine_fn_config_makefile dlls/dwrite enable_dwrite
20505 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20506 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20507 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20508 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20509 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20510 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20511 wine_fn_config_makefile dlls/dxgi enable_dxgi
20512 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20513 wine_fn_config_makefile dlls/dxguid enable_dxguid
20514 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20515 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20516 wine_fn_config_makefile dlls/esent enable_esent
20517 wine_fn_config_makefile dlls/evr enable_evr
20518 wine_fn_config_makefile dlls/evr/tests enable_tests
20519 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20520 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20521 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20522 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20526 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20527 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20533 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20535 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20555 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20561 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
20562 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20572 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20573 wine_fn_config_makefile dlls/faultrep enable_faultrep
20574 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20575 wine_fn_config_makefile dlls/feclient enable_feclient
20576 wine_fn_config_makefile dlls/fltlib enable_fltlib
20577 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20578 wine_fn_config_makefile dlls/fntcache enable_fntcache
20579 wine_fn_config_makefile dlls/fontsub enable_fontsub
20580 wine_fn_config_makefile dlls/fusion enable_fusion
20581 wine_fn_config_makefile dlls/fusion/tests enable_tests
20582 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20583 wine_fn_config_makefile dlls/gameux enable_gameux
20584 wine_fn_config_makefile dlls/gameux/tests enable_tests
20585 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20586 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20587 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20588 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20589 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20590 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20591 wine_fn_config_makefile dlls/glu32 enable_glu32
20592 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20593 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20594 wine_fn_config_makefile dlls/hal enable_hal
20595 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20596 wine_fn_config_makefile dlls/hid enable_hid
20597 wine_fn_config_makefile dlls/hid/tests enable_tests
20598 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20599 wine_fn_config_makefile dlls/hlink enable_hlink
20600 wine_fn_config_makefile dlls/hlink/tests enable_tests
20601 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20602 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20603 wine_fn_config_makefile dlls/http.sys enable_http_sys
20604 wine_fn_config_makefile dlls/httpapi enable_httpapi
20605 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20606 wine_fn_config_makefile dlls/iccvid enable_iccvid
20607 wine_fn_config_makefile dlls/icmp enable_icmp
20608 wine_fn_config_makefile dlls/ieframe enable_ieframe
20609 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20610 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20611 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20612 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20613 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20614 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20615 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20616 wine_fn_config_makefile dlls/imm32 enable_imm32
20617 wine_fn_config_makefile dlls/imm32/tests enable_tests
20618 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20619 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20620 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20621 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20622 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20623 wine_fn_config_makefile dlls/infosoft enable_infosoft
20624 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20625 wine_fn_config_makefile dlls/initpki enable_initpki
20626 wine_fn_config_makefile dlls/inkobj enable_inkobj
20627 wine_fn_config_makefile dlls/inseng enable_inseng
20628 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20629 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20630 wine_fn_config_makefile dlls/iprop enable_iprop
20631 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20632 wine_fn_config_makefile dlls/itircl enable_itircl
20633 wine_fn_config_makefile dlls/itss enable_itss
20634 wine_fn_config_makefile dlls/itss/tests enable_tests
20635 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20636 wine_fn_config_makefile dlls/jscript enable_jscript
20637 wine_fn_config_makefile dlls/jscript/tests enable_tests
20638 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20639 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20640 wine_fn_config_makefile dlls/kerberos enable_kerberos
20641 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20642 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20643 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20644 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20645 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20646 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20647 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20648 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20649 wine_fn_config_makefile dlls/ksuser enable_ksuser
20650 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20651 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20652 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20653 wine_fn_config_makefile dlls/loadperf enable_loadperf
20654 wine_fn_config_makefile dlls/localspl enable_localspl
20655 wine_fn_config_makefile dlls/localspl/tests enable_tests
20656 wine_fn_config_makefile dlls/localui enable_localui
20657 wine_fn_config_makefile dlls/localui/tests enable_tests
20658 wine_fn_config_makefile dlls/lz32 enable_lz32
20659 wine_fn_config_makefile dlls/lz32/tests enable_tests
20660 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20661 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20662 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20663 wine_fn_config_makefile dlls/mapistub enable_mapistub
20664 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20665 wine_fn_config_makefile dlls/mcicda enable_mcicda
20666 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20667 wine_fn_config_makefile dlls/mciseq enable_mciseq
20668 wine_fn_config_makefile dlls/mciwave enable_mciwave
20669 wine_fn_config_makefile dlls/mf enable_mf
20670 wine_fn_config_makefile dlls/mf/tests enable_tests
20671 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20672 wine_fn_config_makefile dlls/mferror enable_mferror
20673 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20674 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20675 wine_fn_config_makefile dlls/mfplat enable_mfplat
20676 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20677 wine_fn_config_makefile dlls/mfplay enable_mfplay
20678 wine_fn_config_makefile dlls/mfplay/tests enable_tests
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/msv1_0 enable_msv1_0
20752 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20753 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20754 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20755 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20756 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20757 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20758 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20759 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20760 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20761 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20762 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20763 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20764 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20765 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20766 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20767 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20768 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20769 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20770 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20771 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20772 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20773 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20775 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20777 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20779 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20781 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20782 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20783 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20784 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20785 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20787 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20789 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20790 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20791 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20792 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20793 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20794 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20795 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20796 wine_fn_config_makefile dlls/mswsock enable_mswsock
20797 wine_fn_config_makefile dlls/msxml enable_msxml
20798 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20799 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20800 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20801 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20802 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20803 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20804 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20805 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20806 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20807 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20808 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20809 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20810 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20811 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20812 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20813 wine_fn_config_makefile dlls/netprofm enable_netprofm
20814 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20815 wine_fn_config_makefile dlls/netutils enable_netutils
20816 wine_fn_config_makefile dlls/newdev enable_newdev
20817 wine_fn_config_makefile dlls/ninput enable_ninput
20818 wine_fn_config_makefile dlls/ninput/tests enable_tests
20819 wine_fn_config_makefile dlls/normaliz enable_normaliz
20820 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20821 wine_fn_config_makefile dlls/npptools enable_npptools
20822 wine_fn_config_makefile dlls/ntdll enable_ntdll
20823 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20824 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20825 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20826 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20827 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20828 wine_fn_config_makefile dlls/ntprint enable_ntprint
20829 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20830 wine_fn_config_makefile dlls/objsel enable_objsel
20831 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20832 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20833 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20834 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20835 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20836 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20837 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20838 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20839 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20840 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20841 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20842 wine_fn_config_makefile dlls/ole32 enable_ole32
20843 wine_fn_config_makefile dlls/ole32/tests enable_tests
20844 wine_fn_config_makefile dlls/oleacc enable_oleacc
20845 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20846 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20847 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20848 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20849 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20850 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20851 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20852 wine_fn_config_makefile dlls/oledlg enable_oledlg
20853 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20854 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20855 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20856 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20857 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20858 wine_fn_config_makefile dlls/opcservices enable_opcservices
20859 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20860 wine_fn_config_makefile dlls/openal32 enable_openal32
20861 wine_fn_config_makefile dlls/opencl enable_opencl
20862 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20863 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20864 wine_fn_config_makefile dlls/packager enable_packager
20865 wine_fn_config_makefile dlls/packager/tests enable_tests
20866 wine_fn_config_makefile dlls/pdh enable_pdh
20867 wine_fn_config_makefile dlls/pdh/tests enable_tests
20868 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20869 wine_fn_config_makefile dlls/pidgen enable_pidgen
20870 wine_fn_config_makefile dlls/powrprof enable_powrprof
20871 wine_fn_config_makefile dlls/printui enable_printui
20872 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20873 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20874 wine_fn_config_makefile dlls/propsys enable_propsys
20875 wine_fn_config_makefile dlls/propsys/tests enable_tests
20876 wine_fn_config_makefile dlls/psapi enable_psapi
20877 wine_fn_config_makefile dlls/psapi/tests enable_tests
20878 wine_fn_config_makefile dlls/pstorec enable_pstorec
20879 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20880 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20881 wine_fn_config_makefile dlls/qasf enable_qasf
20882 wine_fn_config_makefile dlls/qasf/tests enable_tests
20883 wine_fn_config_makefile dlls/qcap enable_qcap
20884 wine_fn_config_makefile dlls/qcap/tests enable_tests
20885 wine_fn_config_makefile dlls/qdvd enable_qdvd
20886 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20887 wine_fn_config_makefile dlls/qedit enable_qedit
20888 wine_fn_config_makefile dlls/qedit/tests enable_tests
20889 wine_fn_config_makefile dlls/qmgr enable_qmgr
20890 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20891 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20892 wine_fn_config_makefile dlls/quartz enable_quartz
20893 wine_fn_config_makefile dlls/quartz/tests enable_tests
20894 wine_fn_config_makefile dlls/query enable_query
20895 wine_fn_config_makefile dlls/qwave enable_qwave
20896 wine_fn_config_makefile dlls/qwave/tests enable_tests
20897 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20898 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20899 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20900 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20901 wine_fn_config_makefile dlls/regapi enable_regapi
20902 wine_fn_config_makefile dlls/resutils enable_resutils
20903 wine_fn_config_makefile dlls/riched20 enable_riched20
20904 wine_fn_config_makefile dlls/riched20/tests enable_tests
20905 wine_fn_config_makefile dlls/riched32 enable_riched32
20906 wine_fn_config_makefile dlls/riched32/tests enable_tests
20907 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20908 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20909 wine_fn_config_makefile dlls/rsabase enable_rsabase
20910 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20911 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20912 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20913 wine_fn_config_makefile dlls/rtutils enable_rtutils
20914 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20915 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20916 wine_fn_config_makefile dlls/samlib enable_samlib
20917 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20918 wine_fn_config_makefile dlls/sapi enable_sapi
20919 wine_fn_config_makefile dlls/sapi/tests enable_tests
20920 wine_fn_config_makefile dlls/sas enable_sas
20921 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20922 wine_fn_config_makefile dlls/sccbase enable_sccbase
20923 wine_fn_config_makefile dlls/schannel enable_schannel
20924 wine_fn_config_makefile dlls/schannel/tests enable_tests
20925 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20926 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20927 wine_fn_config_makefile dlls/scrobj enable_scrobj
20928 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20929 wine_fn_config_makefile dlls/scrrun enable_scrrun
20930 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20931 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20932 wine_fn_config_makefile dlls/sechost enable_sechost
20933 wine_fn_config_makefile dlls/secur32 enable_secur32
20934 wine_fn_config_makefile dlls/secur32/tests enable_tests
20935 wine_fn_config_makefile dlls/security enable_security
20936 wine_fn_config_makefile dlls/sensapi enable_sensapi
20937 wine_fn_config_makefile dlls/serialui enable_serialui
20938 wine_fn_config_makefile dlls/serialui/tests enable_tests
20939 wine_fn_config_makefile dlls/setupapi enable_setupapi
20940 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20941 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20942 wine_fn_config_makefile dlls/sfc enable_sfc
20943 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20944 wine_fn_config_makefile dlls/shcore enable_shcore
20945 wine_fn_config_makefile dlls/shcore/tests enable_tests
20946 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20947 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20948 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20949 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20950 wine_fn_config_makefile dlls/shell32 enable_shell32
20951 wine_fn_config_makefile dlls/shell32/tests enable_tests
20952 wine_fn_config_makefile dlls/shfolder enable_shfolder
20953 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20954 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20955 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20956 wine_fn_config_makefile dlls/slc enable_slc
20957 wine_fn_config_makefile dlls/slc/tests enable_tests
20958 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20959 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20960 wine_fn_config_makefile dlls/softpub enable_softpub
20961 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20962 wine_fn_config_makefile dlls/spoolss enable_spoolss
20963 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20964 wine_fn_config_makefile dlls/sppc enable_sppc
20965 wine_fn_config_makefile dlls/srclient enable_srclient
20966 wine_fn_config_makefile dlls/srvcli enable_srvcli
20967 wine_fn_config_makefile dlls/sspicli enable_sspicli
20968 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20969 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20970 wine_fn_config_makefile dlls/sti enable_sti
20971 wine_fn_config_makefile dlls/sti/tests enable_tests
20972 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20973 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20974 wine_fn_config_makefile dlls/strmbase enable_strmbase
20975 wine_fn_config_makefile dlls/strmdll enable_strmdll
20976 wine_fn_config_makefile dlls/strmiids enable_strmiids
20977 wine_fn_config_makefile dlls/svrapi enable_svrapi
20978 wine_fn_config_makefile dlls/sxs enable_sxs
20979 wine_fn_config_makefile dlls/sxs/tests enable_tests
20980 wine_fn_config_makefile dlls/system.drv16 enable_win16
20981 wine_fn_config_makefile dlls/t2embed enable_t2embed
20982 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20983 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20984 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20985 wine_fn_config_makefile dlls/taskschd enable_taskschd
20986 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20987 wine_fn_config_makefile dlls/tdh enable_tdh
20988 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20989 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20990 wine_fn_config_makefile dlls/traffic enable_traffic
20991 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20992 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20993 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20994 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20995 wine_fn_config_makefile dlls/tzres enable_tzres
20996 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20997 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20998 wine_fn_config_makefile dlls/uianimation enable_uianimation
20999 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21000 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21001 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21002 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21003 wine_fn_config_makefile dlls/unicows enable_unicows
21004 wine_fn_config_makefile dlls/updspapi enable_updspapi
21005 wine_fn_config_makefile dlls/url enable_url
21006 wine_fn_config_makefile dlls/urlmon enable_urlmon
21007 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21008 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21009 wine_fn_config_makefile dlls/user.exe16 enable_win16
21010 wine_fn_config_makefile dlls/user32 enable_user32
21011 wine_fn_config_makefile dlls/user32/tests enable_tests
21012 wine_fn_config_makefile dlls/userenv enable_userenv
21013 wine_fn_config_makefile dlls/userenv/tests enable_tests
21014 wine_fn_config_makefile dlls/usp10 enable_usp10
21015 wine_fn_config_makefile dlls/usp10/tests enable_tests
21016 wine_fn_config_makefile dlls/utildll enable_utildll
21017 wine_fn_config_makefile dlls/uuid enable_uuid
21018 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21019 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21020 wine_fn_config_makefile dlls/vbscript enable_vbscript
21021 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21022 wine_fn_config_makefile dlls/vcomp enable_vcomp
21023 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21024 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21025 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21026 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21027 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21028 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21029 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21030 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21031 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21032 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21033 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21034 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21035 wine_fn_config_makefile dlls/version enable_version
21036 wine_fn_config_makefile dlls/version/tests enable_tests
21037 wine_fn_config_makefile dlls/vga enable_vga
21038 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21039 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21040 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21041 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21042 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21043 wine_fn_config_makefile dlls/vssapi enable_vssapi
21044 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21045 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21046 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21047 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21048 wine_fn_config_makefile dlls/w32skrnl enable_win16
21049 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21050 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21051 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21052 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21053 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21054 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21055 wine_fn_config_makefile dlls/wdscore enable_wdscore
21056 wine_fn_config_makefile dlls/webservices enable_webservices
21057 wine_fn_config_makefile dlls/webservices/tests enable_tests
21058 wine_fn_config_makefile dlls/websocket enable_websocket
21059 wine_fn_config_makefile dlls/wer enable_wer
21060 wine_fn_config_makefile dlls/wer/tests enable_tests
21061 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21062 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21063 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21064 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21065 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21066 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21067 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21068 wine_fn_config_makefile dlls/win32u enable_win32u
21069 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21070 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21071 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21072 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21073 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21074 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21075 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21076 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21077 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21078 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21079 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21080 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21081 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21082 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21083 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21084 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21085 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21086 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21087 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21088 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21089 wine_fn_config_makefile dlls/wined3d enable_wined3d
21090 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21091 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21092 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21093 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21094 wine_fn_config_makefile dlls/winemapi enable_winemapi
21095 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21096 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21097 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21098 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21099 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21100 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21101 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21102 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21103 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21104 wine_fn_config_makefile dlls/wing32 enable_wing32
21105 wine_fn_config_makefile dlls/winhttp enable_winhttp
21106 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21107 wine_fn_config_makefile dlls/wininet enable_wininet
21108 wine_fn_config_makefile dlls/wininet/tests enable_tests
21109 wine_fn_config_makefile dlls/winmm enable_winmm
21110 wine_fn_config_makefile dlls/winmm/tests enable_tests
21111 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21112 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21113 wine_fn_config_makefile dlls/winscard enable_winscard
21114 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21115 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21116 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21117 wine_fn_config_makefile dlls/winsta enable_winsta
21118 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21119 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21120 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21121 wine_fn_config_makefile dlls/wintrust enable_wintrust
21122 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21123 wine_fn_config_makefile dlls/winusb enable_winusb
21124 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21125 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21126 wine_fn_config_makefile dlls/wlanui enable_wlanui
21127 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21128 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21129 wine_fn_config_makefile dlls/wmasf enable_wmasf
21130 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21131 wine_fn_config_makefile dlls/wmi enable_wmi
21132 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21133 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21134 wine_fn_config_makefile dlls/wmp enable_wmp
21135 wine_fn_config_makefile dlls/wmp/tests enable_tests
21136 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21137 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21138 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21139 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21140 wine_fn_config_makefile dlls/wow32 enable_win16
21141 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21142 wine_fn_config_makefile dlls/wpc enable_wpc
21143 wine_fn_config_makefile dlls/wpc/tests enable_tests
21144 wine_fn_config_makefile dlls/wpcap enable_wpcap
21145 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21146 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21147 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21148 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21149 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21150 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21151 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21152 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21153 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21154 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21155 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21156 wine_fn_config_makefile dlls/wuapi enable_wuapi
21157 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21158 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21159 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21160 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21161 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21162 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21163 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21164 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21165 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21166 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21167 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21168 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21169 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21170 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21171 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21172 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21173 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21174 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21175 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21176 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21177 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21178 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21179 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21180 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21181 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21182 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21183 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21184 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21185 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21186 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21187 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21188 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21189 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21190 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21191 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21192 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21193 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21194 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21195 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21196 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21197 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21198 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21199 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21200 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21201 wine_fn_config_makefile dlls/xmllite enable_xmllite
21202 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21203 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21204 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21205 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21206 wine_fn_config_makefile fonts enable_fonts
21207 wine_fn_config_makefile include enable_include
21208 wine_fn_config_makefile libs/port enable_port
21209 wine_fn_config_makefile libs/wine enable_wine
21210 wine_fn_config_makefile libs/wpp enable_wpp
21211 wine_fn_config_makefile loader enable_loader
21212 wine_fn_config_makefile nls enable_nls
21213 wine_fn_config_makefile po enable_po
21214 wine_fn_config_makefile programs/arp enable_arp
21215 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21216 wine_fn_config_makefile programs/attrib enable_attrib
21217 wine_fn_config_makefile programs/cabarc enable_cabarc
21218 wine_fn_config_makefile programs/cacls enable_cacls
21219 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21220 wine_fn_config_makefile programs/clock enable_clock
21221 wine_fn_config_makefile programs/cmd enable_cmd
21222 wine_fn_config_makefile programs/cmd/tests enable_tests
21223 wine_fn_config_makefile programs/conhost enable_conhost
21224 wine_fn_config_makefile programs/conhost/tests enable_tests
21225 wine_fn_config_makefile programs/control enable_control
21226 wine_fn_config_makefile programs/cscript enable_cscript
21227 wine_fn_config_makefile programs/dism enable_dism
21228 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21229 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21230 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21231 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21232 wine_fn_config_makefile programs/eject enable_eject
21233 wine_fn_config_makefile programs/expand enable_expand
21234 wine_fn_config_makefile programs/explorer enable_explorer
21235 wine_fn_config_makefile programs/extrac32 enable_extrac32
21236 wine_fn_config_makefile programs/fc enable_fc
21237 wine_fn_config_makefile programs/find enable_find
21238 wine_fn_config_makefile programs/find/tests enable_tests
21239 wine_fn_config_makefile programs/findstr enable_findstr
21240 wine_fn_config_makefile programs/fsutil enable_fsutil
21241 wine_fn_config_makefile programs/fsutil/tests enable_tests
21242 wine_fn_config_makefile programs/hh enable_hh
21243 wine_fn_config_makefile programs/hostname enable_hostname
21244 wine_fn_config_makefile programs/icacls enable_icacls
21245 wine_fn_config_makefile programs/icinfo enable_icinfo
21246 wine_fn_config_makefile programs/iexplore enable_iexplore
21247 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21248 wine_fn_config_makefile programs/lodctr enable_lodctr
21249 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21250 wine_fn_config_makefile programs/mshta enable_mshta
21251 wine_fn_config_makefile programs/msidb enable_msidb
21252 wine_fn_config_makefile programs/msiexec enable_msiexec
21253 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21254 wine_fn_config_makefile programs/net enable_net
21255 wine_fn_config_makefile programs/netsh enable_netsh
21256 wine_fn_config_makefile programs/netstat enable_netstat
21257 wine_fn_config_makefile programs/ngen enable_ngen
21258 wine_fn_config_makefile programs/notepad enable_notepad
21259 wine_fn_config_makefile programs/oleview enable_oleview
21260 wine_fn_config_makefile programs/ping enable_ping
21261 wine_fn_config_makefile programs/plugplay enable_plugplay
21262 wine_fn_config_makefile programs/powershell enable_powershell
21263 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21264 wine_fn_config_makefile programs/progman enable_progman
21265 wine_fn_config_makefile programs/reg enable_reg
21266 wine_fn_config_makefile programs/reg/tests enable_tests
21267 wine_fn_config_makefile programs/regasm enable_regasm
21268 wine_fn_config_makefile programs/regedit enable_regedit
21269 wine_fn_config_makefile programs/regedit/tests enable_tests
21270 wine_fn_config_makefile programs/regini enable_regini
21271 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21272 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21273 wine_fn_config_makefile programs/rpcss enable_rpcss
21274 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21275 wine_fn_config_makefile programs/rundll32 enable_rundll32
21276 wine_fn_config_makefile programs/sc enable_sc
21277 wine_fn_config_makefile programs/schtasks enable_schtasks
21278 wine_fn_config_makefile programs/schtasks/tests enable_tests
21279 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21280 wine_fn_config_makefile programs/secedit enable_secedit
21281 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21282 wine_fn_config_makefile programs/services enable_services
21283 wine_fn_config_makefile programs/services/tests enable_tests
21284 wine_fn_config_makefile programs/shutdown enable_shutdown
21285 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21286 wine_fn_config_makefile programs/start enable_start
21287 wine_fn_config_makefile programs/subst enable_subst
21288 wine_fn_config_makefile programs/svchost enable_svchost
21289 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21290 wine_fn_config_makefile programs/taskkill enable_taskkill
21291 wine_fn_config_makefile programs/tasklist enable_tasklist
21292 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21293 wine_fn_config_makefile programs/termsv enable_termsv
21294 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21295 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21296 wine_fn_config_makefile programs/view enable_view
21297 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21298 wine_fn_config_makefile programs/where enable_where
21299 wine_fn_config_makefile programs/whoami enable_whoami
21300 wine_fn_config_makefile programs/wineboot enable_wineboot
21301 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21302 wine_fn_config_makefile programs/winecfg enable_winecfg
21303 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21304 wine_fn_config_makefile programs/winedbg enable_winedbg
21305 wine_fn_config_makefile programs/winedevice enable_winedevice
21306 wine_fn_config_makefile programs/winefile enable_winefile
21307 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21308 wine_fn_config_makefile programs/winemine enable_winemine
21309 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21310 wine_fn_config_makefile programs/winepath enable_winepath
21311 wine_fn_config_makefile programs/winetest enable_winetest
21312 wine_fn_config_makefile programs/winevdm enable_win16
21313 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21314 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21315 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21316 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21317 wine_fn_config_makefile programs/winver enable_winver
21318 wine_fn_config_makefile programs/wmic enable_wmic
21319 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21320 wine_fn_config_makefile programs/wordpad enable_wordpad
21321 wine_fn_config_makefile programs/write enable_write
21322 wine_fn_config_makefile programs/wscript enable_wscript
21323 wine_fn_config_makefile programs/wscript/tests enable_tests
21324 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21325 wine_fn_config_makefile programs/wusa enable_wusa
21326 wine_fn_config_makefile programs/xcopy enable_xcopy
21327 wine_fn_config_makefile programs/xcopy/tests enable_tests
21328 wine_fn_config_makefile server enable_server
21329 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21333 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21336 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21337 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21340 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21341 wine_fn_append_file CONFIGURE_TARGETS "tags"
21342 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21343 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21344 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21345 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21346 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21347 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21349 if test "x$enable_tools" != xno
21350 then
21351 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21352 ac_config_commands="$ac_config_commands tools/makedep"
21356 ac_config_commands="$ac_config_commands Makefile"
21359 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21363 if test "x$enable_maintainer_mode" = xyes
21364 then
21365 wine_fn_append_rule "configure: configure.ac aclocal.m4
21366 autoconf --warnings=all
21367 include/config.h.in: include/stamp-h.in
21368 include/stamp-h.in: configure.ac aclocal.m4
21369 autoheader --warnings=all
21370 @echo timestamp > \$@"
21373 if test "x$enable_tools" != xno
21374 then
21375 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21376 @./config.status tools/makedep
21377 Makefile: tools/makedep$ac_exeext"
21378 else
21379 wine_fn_append_rule "\$(MAKEDEP):
21380 @echo \"You need to run make in $TOOLSDIR first\" && false"
21383 if test -n "$with_wine64"
21384 then
21385 case "$with_wine64" in
21386 /*) reldir="" ;;
21387 *) reldir="../" ;;
21388 esac
21389 rm -f fonts server 2>/dev/null
21390 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21391 loader/wine64 loader/wine64-preloader:
21392 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21393 $with_wine64/loader/wine:
21394 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21395 $with_wine64/loader/wine-preloader:
21396 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21397 clean::
21398 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21399 else
21400 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21401 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21402 fonts \
21403 loader/wine.inf \
21404 nls \
21405 programs/msidb/msidb \
21406 programs/msiexec/msiexec \
21407 programs/notepad/notepad \
21408 programs/regedit/regedit \
21409 programs/regsvr32/regsvr32 \
21410 programs/wineboot/wineboot \
21411 programs/winecfg/winecfg \
21412 programs/wineconsole/wineconsole \
21413 programs/winedbg/winedbg \
21414 programs/winefile/winefile \
21415 programs/winemine/winemine \
21416 programs/winepath/winepath \
21417 server/wineserver"
21419 case $host_os in
21420 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21421 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21422 esac
21425 $as_echo " done" >&6
21426 cat >confcache <<\_ACEOF
21427 # This file is a shell script that caches the results of configure
21428 # tests run on this system so they can be shared between configure
21429 # scripts and configure runs, see configure's option --config-cache.
21430 # It is not useful on other systems. If it contains results you don't
21431 # want to keep, you may remove or edit it.
21433 # config.status only pays attention to the cache file if you give it
21434 # the --recheck option to rerun configure.
21436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21438 # following values.
21440 _ACEOF
21442 # The following way of writing the cache mishandles newlines in values,
21443 # but we know of no workaround that is simple, portable, and efficient.
21444 # So, we kill variables containing newlines.
21445 # Ultrix sh set writes to stderr and can't be redirected directly,
21446 # and sets the high bit in the cache file unless we assign to the vars.
21448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21449 eval ac_val=\$$ac_var
21450 case $ac_val in #(
21451 *${as_nl}*)
21452 case $ac_var in #(
21453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21455 esac
21456 case $ac_var in #(
21457 _ | IFS | as_nl) ;; #(
21458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21459 *) { eval $ac_var=; unset $ac_var;} ;;
21460 esac ;;
21461 esac
21462 done
21464 (set) 2>&1 |
21465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21466 *${as_nl}ac_space=\ *)
21467 # `set' does not quote correctly, so add quotes: double-quote
21468 # substitution turns \\\\ into \\, and sed turns \\ into \.
21469 sed -n \
21470 "s/'/'\\\\''/g;
21471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21472 ;; #(
21474 # `set' quotes correctly as required by POSIX, so do not add quotes.
21475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21477 esac |
21478 sort
21480 sed '
21481 /^ac_cv_env_/b end
21482 t clear
21483 :clear
21484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21485 t end
21486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21487 :end' >>confcache
21488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21489 if test -w "$cache_file"; then
21490 if test "x$cache_file" != "x/dev/null"; then
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21492 $as_echo "$as_me: updating cache $cache_file" >&6;}
21493 if test ! -f "$cache_file" || test -h "$cache_file"; then
21494 cat confcache >"$cache_file"
21495 else
21496 case $cache_file in #(
21497 */* | ?:*)
21498 mv -f confcache "$cache_file"$$ &&
21499 mv -f "$cache_file"$$ "$cache_file" ;; #(
21501 mv -f confcache "$cache_file" ;;
21502 esac
21505 else
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21510 rm -f confcache
21512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21513 # Let make expand exec_prefix.
21514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21516 DEFS=-DHAVE_CONFIG_H
21518 ac_libobjs=
21519 ac_ltlibobjs=
21521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21522 # 1. Remove the extension, and $U if already installed.
21523 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21524 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21526 # will be set to the directory where LIBOBJS objects are built.
21527 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21528 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21529 done
21530 LIBOBJS=$ac_libobjs
21532 LTLIBOBJS=$ac_ltlibobjs
21536 : "${CONFIG_STATUS=./config.status}"
21537 ac_write_fail=0
21538 ac_clean_files_save=$ac_clean_files
21539 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21542 as_write_fail=0
21543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21544 #! $SHELL
21545 # Generated by $as_me.
21546 # Run this file to recreate the current configuration.
21547 # Compiler output produced by configure, useful for debugging
21548 # configure, is in config.log if it exists.
21550 debug=false
21551 ac_cs_recheck=false
21552 ac_cs_silent=false
21554 SHELL=\${CONFIG_SHELL-$SHELL}
21555 export SHELL
21556 _ASEOF
21557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21558 ## -------------------- ##
21559 ## M4sh Initialization. ##
21560 ## -------------------- ##
21562 # Be more Bourne compatible
21563 DUALCASE=1; export DUALCASE # for MKS sh
21564 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21565 emulate sh
21566 NULLCMD=:
21567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21568 # is contrary to our usage. Disable this feature.
21569 alias -g '${1+"$@"}'='"$@"'
21570 setopt NO_GLOB_SUBST
21571 else
21572 case `(set -o) 2>/dev/null` in #(
21573 *posix*) :
21574 set -o posix ;; #(
21575 *) :
21577 esac
21581 as_nl='
21583 export as_nl
21584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21585 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21588 # Prefer a ksh shell builtin over an external printf program on Solaris,
21589 # but without wasting forks for bash or zsh.
21590 if test -z "$BASH_VERSION$ZSH_VERSION" \
21591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21592 as_echo='print -r --'
21593 as_echo_n='print -rn --'
21594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21595 as_echo='printf %s\n'
21596 as_echo_n='printf %s'
21597 else
21598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21599 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21600 as_echo_n='/usr/ucb/echo -n'
21601 else
21602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21603 as_echo_n_body='eval
21604 arg=$1;
21605 case $arg in #(
21606 *"$as_nl"*)
21607 expr "X$arg" : "X\\(.*\\)$as_nl";
21608 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21609 esac;
21610 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21612 export as_echo_n_body
21613 as_echo_n='sh -c $as_echo_n_body as_echo'
21615 export as_echo_body
21616 as_echo='sh -c $as_echo_body as_echo'
21619 # The user is always right.
21620 if test "${PATH_SEPARATOR+set}" != set; then
21621 PATH_SEPARATOR=:
21622 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21623 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21624 PATH_SEPARATOR=';'
21629 # IFS
21630 # We need space, tab and new line, in precisely that order. Quoting is
21631 # there to prevent editors from complaining about space-tab.
21632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21633 # splitting by setting IFS to empty value.)
21634 IFS=" "" $as_nl"
21636 # Find who we are. Look in the path if we contain no directory separator.
21637 as_myself=
21638 case $0 in #((
21639 *[\\/]* ) as_myself=$0 ;;
21640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21641 for as_dir in $PATH
21643 IFS=$as_save_IFS
21644 test -z "$as_dir" && as_dir=.
21645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21646 done
21647 IFS=$as_save_IFS
21650 esac
21651 # We did not find ourselves, most probably we were run as `sh COMMAND'
21652 # in which case we are not to be found in the path.
21653 if test "x$as_myself" = x; then
21654 as_myself=$0
21656 if test ! -f "$as_myself"; then
21657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21658 exit 1
21661 # Unset variables that we do not need and which cause bugs (e.g. in
21662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21663 # suppresses any "Segmentation fault" message there. '((' could
21664 # trigger a bug in pdksh 5.2.14.
21665 for as_var in BASH_ENV ENV MAIL MAILPATH
21666 do eval test x\${$as_var+set} = xset \
21667 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21668 done
21669 PS1='$ '
21670 PS2='> '
21671 PS4='+ '
21673 # NLS nuisances.
21674 LC_ALL=C
21675 export LC_ALL
21676 LANGUAGE=C
21677 export LANGUAGE
21679 # CDPATH.
21680 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21684 # ----------------------------------------
21685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21687 # script with STATUS, using 1 if that was 0.
21688 as_fn_error ()
21690 as_status=$1; test $as_status -eq 0 && as_status=1
21691 if test "$4"; then
21692 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21695 $as_echo "$as_me: error: $2" >&2
21696 as_fn_exit $as_status
21697 } # as_fn_error
21700 # as_fn_set_status STATUS
21701 # -----------------------
21702 # Set $? to STATUS, without forking.
21703 as_fn_set_status ()
21705 return $1
21706 } # as_fn_set_status
21708 # as_fn_exit STATUS
21709 # -----------------
21710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21711 as_fn_exit ()
21713 set +e
21714 as_fn_set_status $1
21715 exit $1
21716 } # as_fn_exit
21718 # as_fn_unset VAR
21719 # ---------------
21720 # Portably unset VAR.
21721 as_fn_unset ()
21723 { eval $1=; unset $1;}
21725 as_unset=as_fn_unset
21726 # as_fn_append VAR VALUE
21727 # ----------------------
21728 # Append the text in VALUE to the end of the definition contained in VAR. Take
21729 # advantage of any shell optimizations that allow amortized linear growth over
21730 # repeated appends, instead of the typical quadratic growth present in naive
21731 # implementations.
21732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21733 eval 'as_fn_append ()
21735 eval $1+=\$2
21737 else
21738 as_fn_append ()
21740 eval $1=\$$1\$2
21742 fi # as_fn_append
21744 # as_fn_arith ARG...
21745 # ------------------
21746 # Perform arithmetic evaluation on the ARGs, and store the result in the
21747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21748 # must be portable across $(()) and expr.
21749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21750 eval 'as_fn_arith ()
21752 as_val=$(( $* ))
21754 else
21755 as_fn_arith ()
21757 as_val=`expr "$@" || test $? -eq 1`
21759 fi # as_fn_arith
21762 if expr a : '\(a\)' >/dev/null 2>&1 &&
21763 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21764 as_expr=expr
21765 else
21766 as_expr=false
21769 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21770 as_basename=basename
21771 else
21772 as_basename=false
21775 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21776 as_dirname=dirname
21777 else
21778 as_dirname=false
21781 as_me=`$as_basename -- "$0" ||
21782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21783 X"$0" : 'X\(//\)$' \| \
21784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21785 $as_echo X/"$0" |
21786 sed '/^.*\/\([^/][^/]*\)\/*$/{
21787 s//\1/
21790 /^X\/\(\/\/\)$/{
21791 s//\1/
21794 /^X\/\(\/\).*/{
21795 s//\1/
21798 s/.*/./; q'`
21800 # Avoid depending upon Character Ranges.
21801 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21802 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21803 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21804 as_cr_digits='0123456789'
21805 as_cr_alnum=$as_cr_Letters$as_cr_digits
21807 ECHO_C= ECHO_N= ECHO_T=
21808 case `echo -n x` in #(((((
21809 -n*)
21810 case `echo 'xy\c'` in
21811 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21812 xy) ECHO_C='\c';;
21813 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21814 ECHO_T=' ';;
21815 esac;;
21817 ECHO_N='-n';;
21818 esac
21820 rm -f conf$$ conf$$.exe conf$$.file
21821 if test -d conf$$.dir; then
21822 rm -f conf$$.dir/conf$$.file
21823 else
21824 rm -f conf$$.dir
21825 mkdir conf$$.dir 2>/dev/null
21827 if (echo >conf$$.file) 2>/dev/null; then
21828 if ln -s conf$$.file conf$$ 2>/dev/null; then
21829 as_ln_s='ln -s'
21830 # ... but there are two gotchas:
21831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21833 # In both cases, we have to default to `cp -pR'.
21834 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21835 as_ln_s='cp -pR'
21836 elif ln conf$$.file conf$$ 2>/dev/null; then
21837 as_ln_s=ln
21838 else
21839 as_ln_s='cp -pR'
21841 else
21842 as_ln_s='cp -pR'
21844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21845 rmdir conf$$.dir 2>/dev/null
21848 # as_fn_mkdir_p
21849 # -------------
21850 # Create "$as_dir" as a directory, including parents if necessary.
21851 as_fn_mkdir_p ()
21854 case $as_dir in #(
21855 -*) as_dir=./$as_dir;;
21856 esac
21857 test -d "$as_dir" || eval $as_mkdir_p || {
21858 as_dirs=
21859 while :; do
21860 case $as_dir in #(
21861 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21862 *) as_qdir=$as_dir;;
21863 esac
21864 as_dirs="'$as_qdir' $as_dirs"
21865 as_dir=`$as_dirname -- "$as_dir" ||
21866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21867 X"$as_dir" : 'X\(//\)[^/]' \| \
21868 X"$as_dir" : 'X\(//\)$' \| \
21869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21870 $as_echo X"$as_dir" |
21871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21872 s//\1/
21875 /^X\(\/\/\)[^/].*/{
21876 s//\1/
21879 /^X\(\/\/\)$/{
21880 s//\1/
21883 /^X\(\/\).*/{
21884 s//\1/
21887 s/.*/./; q'`
21888 test -d "$as_dir" && break
21889 done
21890 test -z "$as_dirs" || eval "mkdir $as_dirs"
21891 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21894 } # as_fn_mkdir_p
21895 if mkdir -p . 2>/dev/null; then
21896 as_mkdir_p='mkdir -p "$as_dir"'
21897 else
21898 test -d ./-p && rmdir ./-p
21899 as_mkdir_p=false
21903 # as_fn_executable_p FILE
21904 # -----------------------
21905 # Test if FILE is an executable regular file.
21906 as_fn_executable_p ()
21908 test -f "$1" && test -x "$1"
21909 } # as_fn_executable_p
21910 as_test_x='test -x'
21911 as_executable_p=as_fn_executable_p
21913 # Sed expression to map a string onto a valid CPP name.
21914 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21916 # Sed expression to map a string onto a valid variable name.
21917 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21920 exec 6>&1
21921 ## ----------------------------------- ##
21922 ## Main body of $CONFIG_STATUS script. ##
21923 ## ----------------------------------- ##
21924 _ASEOF
21925 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21928 # Save the log message, to keep $0 and so on meaningful, and to
21929 # report actual input values of CONFIG_FILES etc. instead of their
21930 # values after options handling.
21931 ac_log="
21932 This file was extended by Wine $as_me 6.11, which was
21933 generated by GNU Autoconf 2.69. Invocation command line was
21935 CONFIG_FILES = $CONFIG_FILES
21936 CONFIG_HEADERS = $CONFIG_HEADERS
21937 CONFIG_LINKS = $CONFIG_LINKS
21938 CONFIG_COMMANDS = $CONFIG_COMMANDS
21939 $ $0 $@
21941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21944 _ACEOF
21946 case $ac_config_files in *"
21947 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21948 esac
21950 case $ac_config_headers in *"
21951 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21952 esac
21955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21956 # Files that config.status was made for.
21957 config_files="$ac_config_files"
21958 config_headers="$ac_config_headers"
21959 config_links="$ac_config_links"
21960 config_commands="$ac_config_commands"
21962 _ACEOF
21964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21965 ac_cs_usage="\
21966 \`$as_me' instantiates files and other configuration actions
21967 from templates according to the current configuration. Unless the files
21968 and actions are specified as TAGs, all are instantiated by default.
21970 Usage: $0 [OPTION]... [TAG]...
21972 -h, --help print this help, then exit
21973 -V, --version print version number and configuration settings, then exit
21974 --config print configuration, then exit
21975 -q, --quiet, --silent
21976 do not print progress messages
21977 -d, --debug don't remove temporary files
21978 --recheck update $as_me by reconfiguring in the same conditions
21979 --file=FILE[:TEMPLATE]
21980 instantiate the configuration file FILE
21981 --header=FILE[:TEMPLATE]
21982 instantiate the configuration header FILE
21984 Configuration files:
21985 $config_files
21987 Configuration headers:
21988 $config_headers
21990 Configuration links:
21991 $config_links
21993 Configuration commands:
21994 $config_commands
21996 Report bugs to <wine-devel@winehq.org>.
21997 Wine home page: <https://www.winehq.org>."
21999 _ACEOF
22000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22002 ac_cs_version="\\
22003 Wine config.status 6.11
22004 configured by $0, generated by GNU Autoconf 2.69,
22005 with options \\"\$ac_cs_config\\"
22007 Copyright (C) 2012 Free Software Foundation, Inc.
22008 This config.status script is free software; the Free Software Foundation
22009 gives unlimited permission to copy, distribute and modify it."
22011 ac_pwd='$ac_pwd'
22012 srcdir='$srcdir'
22013 test -n "\$AWK" || AWK=awk
22014 _ACEOF
22016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22017 # The default lists apply if the user does not specify any file.
22018 ac_need_defaults=:
22019 while test $# != 0
22021 case $1 in
22022 --*=?*)
22023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22024 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22025 ac_shift=:
22027 --*=)
22028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22029 ac_optarg=
22030 ac_shift=:
22033 ac_option=$1
22034 ac_optarg=$2
22035 ac_shift=shift
22037 esac
22039 case $ac_option in
22040 # Handling of the options.
22041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22042 ac_cs_recheck=: ;;
22043 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22044 $as_echo "$ac_cs_version"; exit ;;
22045 --config | --confi | --conf | --con | --co | --c )
22046 $as_echo "$ac_cs_config"; exit ;;
22047 --debug | --debu | --deb | --de | --d | -d )
22048 debug=: ;;
22049 --file | --fil | --fi | --f )
22050 $ac_shift
22051 case $ac_optarg in
22052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22053 '') as_fn_error $? "missing file argument" ;;
22054 esac
22055 as_fn_append CONFIG_FILES " '$ac_optarg'"
22056 ac_need_defaults=false;;
22057 --header | --heade | --head | --hea )
22058 $ac_shift
22059 case $ac_optarg in
22060 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22061 esac
22062 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22063 ac_need_defaults=false;;
22064 --he | --h)
22065 # Conflict between --help and --header
22066 as_fn_error $? "ambiguous option: \`$1'
22067 Try \`$0 --help' for more information.";;
22068 --help | --hel | -h )
22069 $as_echo "$ac_cs_usage"; exit ;;
22070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22071 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22072 ac_cs_silent=: ;;
22074 # This is an error.
22075 -*) as_fn_error $? "unrecognized option: \`$1'
22076 Try \`$0 --help' for more information." ;;
22078 *) as_fn_append ac_config_targets " $1"
22079 ac_need_defaults=false ;;
22081 esac
22082 shift
22083 done
22085 ac_configure_extra_args=
22087 if $ac_cs_silent; then
22088 exec 6>/dev/null
22089 ac_configure_extra_args="$ac_configure_extra_args --silent"
22092 _ACEOF
22093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22094 if \$ac_cs_recheck; then
22095 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22096 shift
22097 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22098 CONFIG_SHELL='$SHELL'
22099 export CONFIG_SHELL
22100 exec "\$@"
22103 _ACEOF
22104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22105 exec 5>>config.log
22107 echo
22108 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22109 ## Running $as_me. ##
22110 _ASBOX
22111 $as_echo "$ac_log"
22112 } >&5
22114 _ACEOF
22115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22117 # INIT-COMMANDS
22119 wine_fn_output_makedep ()
22121 as_dir=tools; as_fn_mkdir_p
22122 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22124 wine_fn_output_makefile ()
22126 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22127 `cat $wine_rules_file`
22128 _WINE_EOF
22129 as_fn_error $? "could not create Makefile" "$LINENO" 5
22132 _ACEOF
22134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22136 # Handling of arguments.
22137 for ac_config_target in $ac_config_targets
22139 case $ac_config_target in
22140 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22141 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22142 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22143 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22144 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22145 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22146 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22148 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22149 esac
22150 done
22153 # If the user did not use the arguments to specify the items to instantiate,
22154 # then the envvar interface is used. Set only those that are not.
22155 # We use the long form for the default assignment because of an extremely
22156 # bizarre bug on SunOS 4.1.3.
22157 if $ac_need_defaults; then
22158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22160 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22164 # Have a temporary directory for convenience. Make it in the build tree
22165 # simply because there is no reason against having it here, and in addition,
22166 # creating and moving files from /tmp can sometimes cause problems.
22167 # Hook for its removal unless debugging.
22168 # Note that there is a small window in which the directory will not be cleaned:
22169 # after its creation but before its name has been assigned to `$tmp'.
22170 $debug ||
22172 tmp= ac_tmp=
22173 trap 'exit_status=$?
22174 : "${ac_tmp:=$tmp}"
22175 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22177 trap 'as_fn_exit 1' 1 2 13 15
22179 # Create a (secure) tmp directory for tmp files.
22182 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22183 test -d "$tmp"
22184 } ||
22186 tmp=./conf$$-$RANDOM
22187 (umask 077 && mkdir "$tmp")
22188 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22189 ac_tmp=$tmp
22191 # Set up the scripts for CONFIG_FILES section.
22192 # No need to generate them if there are no CONFIG_FILES.
22193 # This happens for instance with `./config.status config.h'.
22194 if test -n "$CONFIG_FILES"; then
22197 ac_cr=`echo X | tr X '\015'`
22198 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22199 # But we know of no other shell where ac_cr would be empty at this
22200 # point, so we can use a bashism as a fallback.
22201 if test "x$ac_cr" = x; then
22202 eval ac_cr=\$\'\\r\'
22204 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22205 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22206 ac_cs_awk_cr='\\r'
22207 else
22208 ac_cs_awk_cr=$ac_cr
22211 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22212 _ACEOF
22216 echo "cat >conf$$subs.awk <<_ACEOF" &&
22217 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22218 echo "_ACEOF"
22219 } >conf$$subs.sh ||
22220 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22221 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22222 ac_delim='%!_!# '
22223 for ac_last_try in false false false false false :; do
22224 . ./conf$$subs.sh ||
22225 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22227 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22228 if test $ac_delim_n = $ac_delim_num; then
22229 break
22230 elif $ac_last_try; then
22231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22232 else
22233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22235 done
22236 rm -f conf$$subs.sh
22238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22239 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22240 _ACEOF
22241 sed -n '
22243 s/^/S["/; s/!.*/"]=/
22246 s/^[^!]*!//
22247 :repl
22248 t repl
22249 s/'"$ac_delim"'$//
22250 t delim
22253 s/\(.\{148\}\)..*/\1/
22254 t more1
22255 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22258 b repl
22259 :more1
22260 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22263 s/.\{148\}//
22264 t nl
22265 :delim
22267 s/\(.\{148\}\)..*/\1/
22268 t more2
22269 s/["\\]/\\&/g; s/^/"/; s/$/"/
22272 :more2
22273 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22276 s/.\{148\}//
22277 t delim
22278 ' <conf$$subs.awk | sed '
22279 /^[^""]/{
22281 s/\n//
22283 ' >>$CONFIG_STATUS || ac_write_fail=1
22284 rm -f conf$$subs.awk
22285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22286 _ACAWK
22287 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22288 for (key in S) S_is_set[key] = 1
22289 FS = "\a"
22293 line = $ 0
22294 nfields = split(line, field, "@")
22295 substed = 0
22296 len = length(field[1])
22297 for (i = 2; i < nfields; i++) {
22298 key = field[i]
22299 keylen = length(key)
22300 if (S_is_set[key]) {
22301 value = S[key]
22302 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22303 len += length(value) + length(field[++i])
22304 substed = 1
22305 } else
22306 len += 1 + keylen
22309 print line
22312 _ACAWK
22313 _ACEOF
22314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22315 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22316 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22317 else
22319 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22320 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22321 _ACEOF
22323 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22324 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22325 # trailing colons and then remove the whole line if VPATH becomes empty
22326 # (actually we leave an empty line to preserve line numbers).
22327 if test "x$srcdir" = x.; then
22328 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22330 s///
22331 s/^/:/
22332 s/[ ]*$/:/
22333 s/:\$(srcdir):/:/g
22334 s/:\${srcdir}:/:/g
22335 s/:@srcdir@:/:/g
22336 s/^:*//
22337 s/:*$//
22339 s/\(=[ ]*\).*/\1/
22341 s/\n//
22342 s/^[^=]*=[ ]*$//
22346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22347 fi # test -n "$CONFIG_FILES"
22349 # Set up the scripts for CONFIG_HEADERS section.
22350 # No need to generate them if there are no CONFIG_HEADERS.
22351 # This happens for instance with `./config.status Makefile'.
22352 if test -n "$CONFIG_HEADERS"; then
22353 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22354 BEGIN {
22355 _ACEOF
22357 # Transform confdefs.h into an awk script `defines.awk', embedded as
22358 # here-document in config.status, that substitutes the proper values into
22359 # config.h.in to produce config.h.
22361 # Create a delimiter string that does not exist in confdefs.h, to ease
22362 # handling of long lines.
22363 ac_delim='%!_!# '
22364 for ac_last_try in false false :; do
22365 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22366 if test -z "$ac_tt"; then
22367 break
22368 elif $ac_last_try; then
22369 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22370 else
22371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22373 done
22375 # For the awk script, D is an array of macro values keyed by name,
22376 # likewise P contains macro parameters if any. Preserve backslash
22377 # newline sequences.
22379 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22380 sed -n '
22381 s/.\{148\}/&'"$ac_delim"'/g
22382 t rset
22383 :rset
22384 s/^[ ]*#[ ]*define[ ][ ]*/ /
22385 t def
22387 :def
22388 s/\\$//
22389 t bsnl
22390 s/["\\]/\\&/g
22391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22392 D["\1"]=" \3"/p
22393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22395 :bsnl
22396 s/["\\]/\\&/g
22397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22398 D["\1"]=" \3\\\\\\n"\\/p
22399 t cont
22400 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22401 t cont
22403 :cont
22405 s/.\{148\}/&'"$ac_delim"'/g
22406 t clear
22407 :clear
22408 s/\\$//
22409 t bsnlc
22410 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22412 :bsnlc
22413 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22414 b cont
22415 ' <confdefs.h | sed '
22416 s/'"$ac_delim"'/"\\\
22417 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22420 for (key in D) D_is_set[key] = 1
22421 FS = "\a"
22423 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22424 line = \$ 0
22425 split(line, arg, " ")
22426 if (arg[1] == "#") {
22427 defundef = arg[2]
22428 mac1 = arg[3]
22429 } else {
22430 defundef = substr(arg[1], 2)
22431 mac1 = arg[2]
22433 split(mac1, mac2, "(") #)
22434 macro = mac2[1]
22435 prefix = substr(line, 1, index(line, defundef) - 1)
22436 if (D_is_set[macro]) {
22437 # Preserve the white space surrounding the "#".
22438 print prefix "define", macro P[macro] D[macro]
22439 next
22440 } else {
22441 # Replace #undef with comments. This is necessary, for example,
22442 # in the case of _POSIX_SOURCE, which is predefined and required
22443 # on some systems where configure will not decide to define it.
22444 if (defundef == "undef") {
22445 print "/*", prefix defundef, macro, "*/"
22446 next
22450 { print }
22451 _ACAWK
22452 _ACEOF
22453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22454 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22455 fi # test -n "$CONFIG_HEADERS"
22458 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22459 shift
22460 for ac_tag
22462 case $ac_tag in
22463 :[FHLC]) ac_mode=$ac_tag; continue;;
22464 esac
22465 case $ac_mode$ac_tag in
22466 :[FHL]*:*);;
22467 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22468 :[FH]-) ac_tag=-:-;;
22469 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22470 esac
22471 ac_save_IFS=$IFS
22472 IFS=:
22473 set x $ac_tag
22474 IFS=$ac_save_IFS
22475 shift
22476 ac_file=$1
22477 shift
22479 case $ac_mode in
22480 :L) ac_source=$1;;
22481 :[FH])
22482 ac_file_inputs=
22483 for ac_f
22485 case $ac_f in
22486 -) ac_f="$ac_tmp/stdin";;
22487 *) # Look for the file first in the build tree, then in the source tree
22488 # (if the path is not absolute). The absolute path cannot be DOS-style,
22489 # because $ac_f cannot contain `:'.
22490 test -f "$ac_f" ||
22491 case $ac_f in
22492 [\\/$]*) false;;
22493 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22494 esac ||
22495 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22496 esac
22497 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22498 as_fn_append ac_file_inputs " '$ac_f'"
22499 done
22501 # Let's still pretend it is `configure' which instantiates (i.e., don't
22502 # use $as_me), people would be surprised to read:
22503 # /* config.h. Generated by config.status. */
22504 configure_input='Generated from '`
22505 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22506 `' by configure.'
22507 if test x"$ac_file" != x-; then
22508 configure_input="$ac_file. $configure_input"
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22510 $as_echo "$as_me: creating $ac_file" >&6;}
22512 # Neutralize special characters interpreted by sed in replacement strings.
22513 case $configure_input in #(
22514 *\&* | *\|* | *\\* )
22515 ac_sed_conf_input=`$as_echo "$configure_input" |
22516 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22517 *) ac_sed_conf_input=$configure_input;;
22518 esac
22520 case $ac_tag in
22521 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22522 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22523 esac
22525 esac
22527 ac_dir=`$as_dirname -- "$ac_file" ||
22528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22529 X"$ac_file" : 'X\(//\)[^/]' \| \
22530 X"$ac_file" : 'X\(//\)$' \| \
22531 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22532 $as_echo X"$ac_file" |
22533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22534 s//\1/
22537 /^X\(\/\/\)[^/].*/{
22538 s//\1/
22541 /^X\(\/\/\)$/{
22542 s//\1/
22545 /^X\(\/\).*/{
22546 s//\1/
22549 s/.*/./; q'`
22550 as_dir="$ac_dir"; as_fn_mkdir_p
22551 ac_builddir=.
22553 case "$ac_dir" in
22554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22556 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22557 # A ".." for each directory in $ac_dir_suffix.
22558 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22559 case $ac_top_builddir_sub in
22560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22562 esac ;;
22563 esac
22564 ac_abs_top_builddir=$ac_pwd
22565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22566 # for backward compatibility:
22567 ac_top_builddir=$ac_top_build_prefix
22569 case $srcdir in
22570 .) # We are building in place.
22571 ac_srcdir=.
22572 ac_top_srcdir=$ac_top_builddir_sub
22573 ac_abs_top_srcdir=$ac_pwd ;;
22574 [\\/]* | ?:[\\/]* ) # Absolute name.
22575 ac_srcdir=$srcdir$ac_dir_suffix;
22576 ac_top_srcdir=$srcdir
22577 ac_abs_top_srcdir=$srcdir ;;
22578 *) # Relative name.
22579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22580 ac_top_srcdir=$ac_top_build_prefix$srcdir
22581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22582 esac
22583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22586 case $ac_mode in
22589 # CONFIG_FILE
22592 _ACEOF
22594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22595 # If the template does not know about datarootdir, expand it.
22596 # FIXME: This hack should be removed a few years after 2.60.
22597 ac_datarootdir_hack=; ac_datarootdir_seen=
22598 ac_sed_dataroot='
22599 /datarootdir/ {
22603 /@datadir@/p
22604 /@docdir@/p
22605 /@infodir@/p
22606 /@localedir@/p
22607 /@mandir@/p'
22608 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22609 *datarootdir*) ac_datarootdir_seen=yes;;
22610 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22612 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22613 _ACEOF
22614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22615 ac_datarootdir_hack='
22616 s&@datadir@&$datadir&g
22617 s&@docdir@&$docdir&g
22618 s&@infodir@&$infodir&g
22619 s&@localedir@&$localedir&g
22620 s&@mandir@&$mandir&g
22621 s&\\\${datarootdir}&$datarootdir&g' ;;
22622 esac
22623 _ACEOF
22625 # Neutralize VPATH when `$srcdir' = `.'.
22626 # Shell code in configure.ac might set extrasub.
22627 # FIXME: do we really want to maintain this feature?
22628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22629 ac_sed_extra="$ac_vpsub
22630 $extrasub
22631 _ACEOF
22632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22634 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22635 s|@configure_input@|$ac_sed_conf_input|;t t
22636 s&@top_builddir@&$ac_top_builddir_sub&;t t
22637 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22638 s&@srcdir@&$ac_srcdir&;t t
22639 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22640 s&@top_srcdir@&$ac_top_srcdir&;t t
22641 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22642 s&@builddir@&$ac_builddir&;t t
22643 s&@abs_builddir@&$ac_abs_builddir&;t t
22644 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22645 $ac_datarootdir_hack
22647 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22648 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22650 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22651 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22652 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22653 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22655 which seems to be undefined. Please make sure it is defined" >&5
22656 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22657 which seems to be undefined. Please make sure it is defined" >&2;}
22659 rm -f "$ac_tmp/stdin"
22660 case $ac_file in
22661 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22662 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22663 esac \
22664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22668 # CONFIG_HEADER
22670 if test x"$ac_file" != x-; then
22672 $as_echo "/* $configure_input */" \
22673 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22674 } >"$ac_tmp/config.h" \
22675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22676 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22678 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22679 else
22680 rm -f "$ac_file"
22681 mv "$ac_tmp/config.h" "$ac_file" \
22682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22684 else
22685 $as_echo "/* $configure_input */" \
22686 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22687 || as_fn_error $? "could not create -" "$LINENO" 5
22692 # CONFIG_LINK
22695 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22697 else
22698 # Prefer the file from the source tree if names are identical.
22699 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22700 ac_source=$srcdir/$ac_source
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22704 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22706 if test ! -r "$ac_source"; then
22707 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22709 rm -f "$ac_file"
22711 # Try a relative symlink, then a hard link, then a copy.
22712 case $ac_source in
22713 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22714 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22715 esac
22716 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22717 ln "$ac_source" "$ac_file" 2>/dev/null ||
22718 cp -p "$ac_source" "$ac_file" ||
22719 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22722 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22723 $as_echo "$as_me: executing $ac_file commands" >&6;}
22725 esac
22728 case $ac_file$ac_mode in
22729 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22730 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22731 "Makefile":C) wine_fn_output_makefile Makefile ;;
22733 esac
22734 done # for ac_tag
22737 as_fn_exit 0
22738 _ACEOF
22739 ac_clean_files=$ac_clean_files_save
22741 test $ac_write_fail = 0 ||
22742 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22745 # configure is writing to config.log, and then calls config.status.
22746 # config.status does its own redirection, appending to config.log.
22747 # Unfortunately, on DOS this fails, as config.log is still kept open
22748 # by configure, so config.status won't be able to write to it; its
22749 # output is simply discarded. So we exec the FD to /dev/null,
22750 # effectively closing config.log, so it can be properly (re)opened and
22751 # appended to by config.status. When coming back to configure, we
22752 # need to make the FD available again.
22753 if test "$no_create" != yes; then
22754 ac_cs_success=:
22755 ac_config_status_args=
22756 test "$silent" = yes &&
22757 ac_config_status_args="$ac_config_status_args --quiet"
22758 exec 5>/dev/null
22759 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22760 exec 5>>config.log
22761 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22762 # would make configure fail if this is the last instruction.
22763 $ac_cs_success || as_fn_exit 1
22765 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22767 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22771 if test "$no_create" = "yes"
22772 then
22773 exit 0
22776 ac_save_IFS="$IFS"
22777 if test "x$wine_notices" != x; then
22778 echo >&6
22779 IFS="|"
22780 for msg in $wine_notices; do
22781 IFS="$ac_save_IFS"
22782 if ${msg:+false} :; then :
22784 else
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22786 $as_echo "$as_me: $msg" >&6;}
22788 done
22790 IFS="|"
22791 for msg in $wine_warnings; do
22792 IFS="$ac_save_IFS"
22793 if ${msg:+false} :; then :
22795 else
22796 echo >&2
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22798 $as_echo "$as_me: WARNING: $msg" >&2;}
22800 done
22801 IFS="$ac_save_IFS"
22803 $as_echo "
22804 $as_me: Finished. Do '${ac_make}' to compile Wine.
22805 " >&6