winebus.sys: Add missing keyboard free_device callback.
[wine.git] / configure
blob14c9dd2ff7d022bce319695f26a4fc1665f60fc4
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_nsi
1529 enable_nsiproxy_sys
1530 enable_ntdll
1531 enable_ntdsapi
1532 enable_ntoskrnl_exe
1533 enable_ntprint
1534 enable_objsel
1535 enable_odbc32
1536 enable_odbcbcp
1537 enable_odbccp32
1538 enable_odbccu32
1539 enable_ole32
1540 enable_oleacc
1541 enable_oleaut32
1542 enable_olecli32
1543 enable_oledb32
1544 enable_oledlg
1545 enable_olepro32
1546 enable_olesvr32
1547 enable_olethk32
1548 enable_opcservices
1549 enable_openal32
1550 enable_opencl
1551 enable_opengl32
1552 enable_packager
1553 enable_pdh
1554 enable_photometadatahandler
1555 enable_pidgen
1556 enable_powrprof
1557 enable_printui
1558 enable_prntvpt
1559 enable_propsys
1560 enable_psapi
1561 enable_pstorec
1562 enable_pwrshplugin
1563 enable_qasf
1564 enable_qcap
1565 enable_qdvd
1566 enable_qedit
1567 enable_qmgr
1568 enable_qmgrprxy
1569 enable_quartz
1570 enable_query
1571 enable_qwave
1572 enable_rasapi32
1573 enable_rasdlg
1574 enable_regapi
1575 enable_resutils
1576 enable_riched20
1577 enable_riched32
1578 enable_rpcrt4
1579 enable_rsabase
1580 enable_rsaenh
1581 enable_rstrtmgr
1582 enable_rtutils
1583 enable_rtworkq
1584 enable_samlib
1585 enable_sane_ds
1586 enable_sapi
1587 enable_sas
1588 enable_scarddlg
1589 enable_sccbase
1590 enable_schannel
1591 enable_schedsvc
1592 enable_scrobj
1593 enable_scrrun
1594 enable_scsiport_sys
1595 enable_sechost
1596 enable_secur32
1597 enable_security
1598 enable_sensapi
1599 enable_serialui
1600 enable_setupapi
1601 enable_sfc
1602 enable_sfc_os
1603 enable_shcore
1604 enable_shdoclc
1605 enable_shdocvw
1606 enable_shell32
1607 enable_shfolder
1608 enable_shlwapi
1609 enable_slbcsp
1610 enable_slc
1611 enable_snmpapi
1612 enable_softpub
1613 enable_spoolss
1614 enable_sppc
1615 enable_srclient
1616 enable_srvcli
1617 enable_sspicli
1618 enable_stdole2_tlb
1619 enable_stdole32_tlb
1620 enable_sti
1621 enable_strmbase
1622 enable_strmdll
1623 enable_strmiids
1624 enable_svrapi
1625 enable_sxs
1626 enable_t2embed
1627 enable_tapi32
1628 enable_taskschd
1629 enable_tdh
1630 enable_tdi_sys
1631 enable_traffic
1632 enable_twain_32
1633 enable_tzres
1634 enable_ucrtbase
1635 enable_uianimation
1636 enable_uiautomationcore
1637 enable_uiribbon
1638 enable_unicows
1639 enable_updspapi
1640 enable_url
1641 enable_urlmon
1642 enable_usbd_sys
1643 enable_user32
1644 enable_userenv
1645 enable_usp10
1646 enable_utildll
1647 enable_uuid
1648 enable_uxtheme
1649 enable_vbscript
1650 enable_vcomp
1651 enable_vcomp100
1652 enable_vcomp110
1653 enable_vcomp120
1654 enable_vcomp140
1655 enable_vcomp90
1656 enable_vcruntime140
1657 enable_vcruntime140_1
1658 enable_vdmdbg
1659 enable_version
1660 enable_vga
1661 enable_virtdisk
1662 enable_vssapi
1663 enable_vulkan_1
1664 enable_wbemdisp
1665 enable_wbemprox
1666 enable_wbemuuid
1667 enable_wdscore
1668 enable_webservices
1669 enable_websocket
1670 enable_wer
1671 enable_wevtapi
1672 enable_wevtsvc
1673 enable_wiaservc
1674 enable_wimgapi
1675 enable_win32u
1676 enable_windows_gaming_input
1677 enable_windows_globalization
1678 enable_windows_media_devices
1679 enable_windows_media_speech
1680 enable_windowscodecs
1681 enable_windowscodecsext
1682 enable_winealsa_drv
1683 enable_wineandroid_drv
1684 enable_winebus_sys
1685 enable_winecoreaudio_drv
1686 enable_winecrt0
1687 enable_wined3d
1688 enable_winegstreamer
1689 enable_winehid_sys
1690 enable_winejoystick_drv
1691 enable_winemac_drv
1692 enable_winemapi
1693 enable_wineoss_drv
1694 enable_wineps_drv
1695 enable_winepulse_drv
1696 enable_wineqtdecoder
1697 enable_wineusb_sys
1698 enable_winevulkan
1699 enable_winex11_drv
1700 enable_wing32
1701 enable_winhttp
1702 enable_wininet
1703 enable_winmm
1704 enable_winnls32
1705 enable_winscard
1706 enable_winspool_drv
1707 enable_winsta
1708 enable_wintab32
1709 enable_wintrust
1710 enable_winusb
1711 enable_wlanapi
1712 enable_wlanui
1713 enable_wldap32
1714 enable_wmasf
1715 enable_wmcodecdspuuid
1716 enable_wmi
1717 enable_wmiutils
1718 enable_wmp
1719 enable_wmphoto
1720 enable_wmvcore
1721 enable_wnaspi32
1722 enable_wow64cpu
1723 enable_wpc
1724 enable_wpcap
1725 enable_ws2_32
1726 enable_wsdapi
1727 enable_wshom_ocx
1728 enable_wsnmp32
1729 enable_wsock32
1730 enable_wtsapi32
1731 enable_wuapi
1732 enable_wuaueng
1733 enable_x3daudio1_0
1734 enable_x3daudio1_1
1735 enable_x3daudio1_2
1736 enable_x3daudio1_3
1737 enable_x3daudio1_4
1738 enable_x3daudio1_5
1739 enable_x3daudio1_6
1740 enable_x3daudio1_7
1741 enable_xactengine2_0
1742 enable_xactengine2_4
1743 enable_xactengine2_7
1744 enable_xactengine2_9
1745 enable_xactengine3_0
1746 enable_xactengine3_1
1747 enable_xactengine3_2
1748 enable_xactengine3_3
1749 enable_xactengine3_4
1750 enable_xactengine3_5
1751 enable_xactengine3_6
1752 enable_xactengine3_7
1753 enable_xapofx1_1
1754 enable_xapofx1_2
1755 enable_xapofx1_3
1756 enable_xapofx1_4
1757 enable_xapofx1_5
1758 enable_xaudio2_0
1759 enable_xaudio2_1
1760 enable_xaudio2_2
1761 enable_xaudio2_3
1762 enable_xaudio2_4
1763 enable_xaudio2_5
1764 enable_xaudio2_6
1765 enable_xaudio2_7
1766 enable_xaudio2_8
1767 enable_xaudio2_9
1768 enable_xinput1_1
1769 enable_xinput1_2
1770 enable_xinput1_3
1771 enable_xinput1_4
1772 enable_xinput9_1_0
1773 enable_xmllite
1774 enable_xolehlp
1775 enable_xpsprint
1776 enable_xpssvcs
1777 enable_fonts
1778 enable_include
1779 enable_port
1780 enable_wine
1781 enable_wpp
1782 enable_loader
1783 enable_nls
1784 enable_po
1785 enable_arp
1786 enable_aspnet_regiis
1787 enable_attrib
1788 enable_cabarc
1789 enable_cacls
1790 enable_chcp_com
1791 enable_clock
1792 enable_cmd
1793 enable_conhost
1794 enable_control
1795 enable_cscript
1796 enable_dism
1797 enable_dplaysvr
1798 enable_dpnsvr
1799 enable_dpvsetup
1800 enable_dxdiag
1801 enable_eject
1802 enable_expand
1803 enable_explorer
1804 enable_extrac32
1805 enable_fc
1806 enable_find
1807 enable_findstr
1808 enable_fsutil
1809 enable_hh
1810 enable_hostname
1811 enable_icacls
1812 enable_icinfo
1813 enable_iexplore
1814 enable_ipconfig
1815 enable_lodctr
1816 enable_mofcomp
1817 enable_mshta
1818 enable_msidb
1819 enable_msiexec
1820 enable_msinfo32
1821 enable_net
1822 enable_netsh
1823 enable_netstat
1824 enable_ngen
1825 enable_notepad
1826 enable_oleview
1827 enable_ping
1828 enable_plugplay
1829 enable_powershell
1830 enable_presentationfontcache
1831 enable_progman
1832 enable_reg
1833 enable_regasm
1834 enable_regedit
1835 enable_regini
1836 enable_regsvcs
1837 enable_regsvr32
1838 enable_rpcss
1839 enable_rundll32
1840 enable_sc
1841 enable_schtasks
1842 enable_sdbinst
1843 enable_secedit
1844 enable_servicemodelreg
1845 enable_services
1846 enable_shutdown
1847 enable_spoolsv
1848 enable_start
1849 enable_subst
1850 enable_svchost
1851 enable_systeminfo
1852 enable_taskkill
1853 enable_tasklist
1854 enable_taskmgr
1855 enable_termsv
1856 enable_uninstaller
1857 enable_unlodctr
1858 enable_view
1859 enable_wevtutil
1860 enable_where
1861 enable_whoami
1862 enable_wineboot
1863 enable_winebrowser
1864 enable_winecfg
1865 enable_wineconsole
1866 enable_winedbg
1867 enable_winedevice
1868 enable_winefile
1869 enable_winemenubuilder
1870 enable_winemine
1871 enable_winemsibuilder
1872 enable_winepath
1873 enable_winetest
1874 enable_winhlp32
1875 enable_winmgmt
1876 enable_winver
1877 enable_wmic
1878 enable_wmplayer
1879 enable_wordpad
1880 enable_write
1881 enable_wscript
1882 enable_wuauserv
1883 enable_wusa
1884 enable_xcopy
1885 enable_server
1886 enable_tools
1887 enable_sfnt2fon
1888 enable_widl
1889 enable_winebuild
1890 enable_winedump
1891 enable_winegcc
1892 enable_winemaker
1893 enable_wmc
1894 enable_wrc
1896 ac_precious_vars='build_alias
1897 host_alias
1898 target_alias
1900 CFLAGS
1901 LDFLAGS
1902 LIBS
1903 CPPFLAGS
1905 CXXFLAGS
1908 OBJC
1909 OBJCFLAGS
1910 OBJCPP
1911 XMKMF
1912 XML2_CFLAGS
1913 XML2_LIBS
1914 XSLT_CFLAGS
1915 XSLT_LIBS
1916 INOTIFY_CFLAGS
1917 INOTIFY_LIBS
1918 DBUS_CFLAGS
1919 DBUS_LIBS
1920 HAL_CFLAGS
1921 HAL_LIBS
1922 GNUTLS_CFLAGS
1923 GNUTLS_LIBS
1924 SANE_CFLAGS
1925 SANE_LIBS
1926 USB_CFLAGS
1927 USB_LIBS
1928 GPHOTO2_CFLAGS
1929 GPHOTO2_LIBS
1930 GPHOTO2_PORT_CFLAGS
1931 GPHOTO2_PORT_LIBS
1932 LCMS2_CFLAGS
1933 LCMS2_LIBS
1934 FREETYPE_CFLAGS
1935 FREETYPE_LIBS
1936 PULSE_CFLAGS
1937 PULSE_LIBS
1938 GSTREAMER_CFLAGS
1939 GSTREAMER_LIBS
1940 UDEV_CFLAGS
1941 UDEV_LIBS
1942 UNWIND_CFLAGS
1943 UNWIND_LIBS
1944 SDL2_CFLAGS
1945 SDL2_LIBS
1946 FAUDIO_CFLAGS
1947 FAUDIO_LIBS
1948 CAPI20_CFLAGS
1949 CAPI20_LIBS
1950 CUPS_CFLAGS
1951 CUPS_LIBS
1952 FONTCONFIG_CFLAGS
1953 FONTCONFIG_LIBS
1954 KRB5_CFLAGS
1955 KRB5_LIBS
1956 GSSAPI_CFLAGS
1957 GSSAPI_LIBS
1958 JPEG_CFLAGS
1959 JPEG_LIBS
1960 JXRLIB_CFLAGS
1961 JXRLIB_LIBS
1962 PNG_CFLAGS
1963 PNG_LIBS
1964 TIFF_CFLAGS
1965 TIFF_LIBS
1966 MPG123_CFLAGS
1967 MPG123_LIBS
1968 NETAPI_CFLAGS
1969 NETAPI_LIBS
1970 VKD3D_CFLAGS
1971 VKD3D_LIBS
1972 VKD3D_SHADER_CFLAGS
1973 VKD3D_SHADER_LIBS
1974 LDAP_CFLAGS
1975 LDAP_LIBS'
1978 # Initialize some variables set by options.
1979 ac_init_help=
1980 ac_init_version=false
1981 ac_unrecognized_opts=
1982 ac_unrecognized_sep=
1983 # The variables have the same names as the options, with
1984 # dashes changed to underlines.
1985 cache_file=/dev/null
1986 exec_prefix=NONE
1987 no_create=
1988 no_recursion=
1989 prefix=NONE
1990 program_prefix=NONE
1991 program_suffix=NONE
1992 program_transform_name=s,x,x,
1993 silent=
1994 site=
1995 srcdir=
1996 verbose=
1997 x_includes=NONE
1998 x_libraries=NONE
2000 # Installation directory options.
2001 # These are left unexpanded so users can "make install exec_prefix=/foo"
2002 # and all the variables that are supposed to be based on exec_prefix
2003 # by default will actually change.
2004 # Use braces instead of parens because sh, perl, etc. also accept them.
2005 # (The list follows the same order as the GNU Coding Standards.)
2006 bindir='${exec_prefix}/bin'
2007 sbindir='${exec_prefix}/sbin'
2008 libexecdir='${exec_prefix}/libexec'
2009 datarootdir='${prefix}/share'
2010 datadir='${datarootdir}'
2011 sysconfdir='${prefix}/etc'
2012 sharedstatedir='${prefix}/com'
2013 localstatedir='${prefix}/var'
2014 runstatedir='${localstatedir}/run'
2015 includedir='${prefix}/include'
2016 oldincludedir='/usr/include'
2017 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2018 infodir='${datarootdir}/info'
2019 htmldir='${docdir}'
2020 dvidir='${docdir}'
2021 pdfdir='${docdir}'
2022 psdir='${docdir}'
2023 libdir='${exec_prefix}/lib'
2024 localedir='${datarootdir}/locale'
2025 mandir='${datarootdir}/man'
2027 ac_prev=
2028 ac_dashdash=
2029 for ac_option
2031 # If the previous option needs an argument, assign it.
2032 if test -n "$ac_prev"; then
2033 eval $ac_prev=\$ac_option
2034 ac_prev=
2035 continue
2038 case $ac_option in
2039 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2040 *=) ac_optarg= ;;
2041 *) ac_optarg=yes ;;
2042 esac
2044 # Accept the important Cygnus configure options, so we can diagnose typos.
2046 case $ac_dashdash$ac_option in
2048 ac_dashdash=yes ;;
2050 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2051 ac_prev=bindir ;;
2052 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2053 bindir=$ac_optarg ;;
2055 -build | --build | --buil | --bui | --bu)
2056 ac_prev=build_alias ;;
2057 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2058 build_alias=$ac_optarg ;;
2060 -cache-file | --cache-file | --cache-fil | --cache-fi \
2061 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2062 ac_prev=cache_file ;;
2063 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2064 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2065 cache_file=$ac_optarg ;;
2067 --config-cache | -C)
2068 cache_file=config.cache ;;
2070 -datadir | --datadir | --datadi | --datad)
2071 ac_prev=datadir ;;
2072 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2073 datadir=$ac_optarg ;;
2075 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2076 | --dataroo | --dataro | --datar)
2077 ac_prev=datarootdir ;;
2078 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2079 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2080 datarootdir=$ac_optarg ;;
2082 -disable-* | --disable-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid feature name: $ac_useropt"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "enable_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval enable_$ac_useropt=no ;;
2098 -docdir | --docdir | --docdi | --doc | --do)
2099 ac_prev=docdir ;;
2100 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2101 docdir=$ac_optarg ;;
2103 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2104 ac_prev=dvidir ;;
2105 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2106 dvidir=$ac_optarg ;;
2108 -enable-* | --enable-*)
2109 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2110 # Reject names that are not valid shell variable names.
2111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2112 as_fn_error $? "invalid feature name: $ac_useropt"
2113 ac_useropt_orig=$ac_useropt
2114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2115 case $ac_user_opts in
2117 "enable_$ac_useropt"
2118 "*) ;;
2119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2120 ac_unrecognized_sep=', ';;
2121 esac
2122 eval enable_$ac_useropt=\$ac_optarg ;;
2124 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2125 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2126 | --exec | --exe | --ex)
2127 ac_prev=exec_prefix ;;
2128 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2129 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2130 | --exec=* | --exe=* | --ex=*)
2131 exec_prefix=$ac_optarg ;;
2133 -gas | --gas | --ga | --g)
2134 # Obsolete; use --with-gas.
2135 with_gas=yes ;;
2137 -help | --help | --hel | --he | -h)
2138 ac_init_help=long ;;
2139 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2140 ac_init_help=recursive ;;
2141 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2142 ac_init_help=short ;;
2144 -host | --host | --hos | --ho)
2145 ac_prev=host_alias ;;
2146 -host=* | --host=* | --hos=* | --ho=*)
2147 host_alias=$ac_optarg ;;
2149 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2150 ac_prev=htmldir ;;
2151 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2152 | --ht=*)
2153 htmldir=$ac_optarg ;;
2155 -includedir | --includedir | --includedi | --included | --include \
2156 | --includ | --inclu | --incl | --inc)
2157 ac_prev=includedir ;;
2158 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2159 | --includ=* | --inclu=* | --incl=* | --inc=*)
2160 includedir=$ac_optarg ;;
2162 -infodir | --infodir | --infodi | --infod | --info | --inf)
2163 ac_prev=infodir ;;
2164 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2165 infodir=$ac_optarg ;;
2167 -libdir | --libdir | --libdi | --libd)
2168 ac_prev=libdir ;;
2169 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2170 libdir=$ac_optarg ;;
2172 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2173 | --libexe | --libex | --libe)
2174 ac_prev=libexecdir ;;
2175 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2176 | --libexe=* | --libex=* | --libe=*)
2177 libexecdir=$ac_optarg ;;
2179 -localedir | --localedir | --localedi | --localed | --locale)
2180 ac_prev=localedir ;;
2181 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2182 localedir=$ac_optarg ;;
2184 -localstatedir | --localstatedir | --localstatedi | --localstated \
2185 | --localstate | --localstat | --localsta | --localst | --locals)
2186 ac_prev=localstatedir ;;
2187 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2188 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2189 localstatedir=$ac_optarg ;;
2191 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2192 ac_prev=mandir ;;
2193 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2194 mandir=$ac_optarg ;;
2196 -nfp | --nfp | --nf)
2197 # Obsolete; use --without-fp.
2198 with_fp=no ;;
2200 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2201 | --no-cr | --no-c | -n)
2202 no_create=yes ;;
2204 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2205 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2206 no_recursion=yes ;;
2208 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2209 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2210 | --oldin | --oldi | --old | --ol | --o)
2211 ac_prev=oldincludedir ;;
2212 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2213 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2214 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2215 oldincludedir=$ac_optarg ;;
2217 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2218 ac_prev=prefix ;;
2219 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2220 prefix=$ac_optarg ;;
2222 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2223 | --program-pre | --program-pr | --program-p)
2224 ac_prev=program_prefix ;;
2225 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2226 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2227 program_prefix=$ac_optarg ;;
2229 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2230 | --program-suf | --program-su | --program-s)
2231 ac_prev=program_suffix ;;
2232 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2233 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2234 program_suffix=$ac_optarg ;;
2236 -program-transform-name | --program-transform-name \
2237 | --program-transform-nam | --program-transform-na \
2238 | --program-transform-n | --program-transform- \
2239 | --program-transform | --program-transfor \
2240 | --program-transfo | --program-transf \
2241 | --program-trans | --program-tran \
2242 | --progr-tra | --program-tr | --program-t)
2243 ac_prev=program_transform_name ;;
2244 -program-transform-name=* | --program-transform-name=* \
2245 | --program-transform-nam=* | --program-transform-na=* \
2246 | --program-transform-n=* | --program-transform-=* \
2247 | --program-transform=* | --program-transfor=* \
2248 | --program-transfo=* | --program-transf=* \
2249 | --program-trans=* | --program-tran=* \
2250 | --progr-tra=* | --program-tr=* | --program-t=*)
2251 program_transform_name=$ac_optarg ;;
2253 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2254 ac_prev=pdfdir ;;
2255 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2256 pdfdir=$ac_optarg ;;
2258 -psdir | --psdir | --psdi | --psd | --ps)
2259 ac_prev=psdir ;;
2260 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2261 psdir=$ac_optarg ;;
2263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2264 | -silent | --silent | --silen | --sile | --sil)
2265 silent=yes ;;
2267 -runstatedir | --runstatedir | --runstatedi | --runstated \
2268 | --runstate | --runstat | --runsta | --runst | --runs \
2269 | --run | --ru | --r)
2270 ac_prev=runstatedir ;;
2271 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2272 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2273 | --run=* | --ru=* | --r=*)
2274 runstatedir=$ac_optarg ;;
2276 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2277 ac_prev=sbindir ;;
2278 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2279 | --sbi=* | --sb=*)
2280 sbindir=$ac_optarg ;;
2282 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2283 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2284 | --sharedst | --shareds | --shared | --share | --shar \
2285 | --sha | --sh)
2286 ac_prev=sharedstatedir ;;
2287 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2288 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2289 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2290 | --sha=* | --sh=*)
2291 sharedstatedir=$ac_optarg ;;
2293 -site | --site | --sit)
2294 ac_prev=site ;;
2295 -site=* | --site=* | --sit=*)
2296 site=$ac_optarg ;;
2298 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2299 ac_prev=srcdir ;;
2300 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2301 srcdir=$ac_optarg ;;
2303 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2304 | --syscon | --sysco | --sysc | --sys | --sy)
2305 ac_prev=sysconfdir ;;
2306 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2307 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2308 sysconfdir=$ac_optarg ;;
2310 -target | --target | --targe | --targ | --tar | --ta | --t)
2311 ac_prev=target_alias ;;
2312 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2313 target_alias=$ac_optarg ;;
2315 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2316 verbose=yes ;;
2318 -version | --version | --versio | --versi | --vers | -V)
2319 ac_init_version=: ;;
2321 -with-* | --with-*)
2322 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2323 # Reject names that are not valid shell variable names.
2324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2325 as_fn_error $? "invalid package name: $ac_useropt"
2326 ac_useropt_orig=$ac_useropt
2327 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2328 case $ac_user_opts in
2330 "with_$ac_useropt"
2331 "*) ;;
2332 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2333 ac_unrecognized_sep=', ';;
2334 esac
2335 eval with_$ac_useropt=\$ac_optarg ;;
2337 -without-* | --without-*)
2338 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2339 # Reject names that are not valid shell variable names.
2340 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2341 as_fn_error $? "invalid package name: $ac_useropt"
2342 ac_useropt_orig=$ac_useropt
2343 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2344 case $ac_user_opts in
2346 "with_$ac_useropt"
2347 "*) ;;
2348 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2349 ac_unrecognized_sep=', ';;
2350 esac
2351 eval with_$ac_useropt=no ;;
2353 --x)
2354 # Obsolete; use --with-x.
2355 with_x=yes ;;
2357 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2358 | --x-incl | --x-inc | --x-in | --x-i)
2359 ac_prev=x_includes ;;
2360 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2361 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2362 x_includes=$ac_optarg ;;
2364 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2365 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2366 ac_prev=x_libraries ;;
2367 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2368 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2369 x_libraries=$ac_optarg ;;
2371 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2372 Try \`$0 --help' for more information"
2375 *=*)
2376 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2377 # Reject names that are not valid shell variable names.
2378 case $ac_envvar in #(
2379 '' | [0-9]* | *[!_$as_cr_alnum]* )
2380 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2381 esac
2382 eval $ac_envvar=\$ac_optarg
2383 export $ac_envvar ;;
2386 # FIXME: should be removed in autoconf 3.0.
2387 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2388 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2389 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2390 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2393 esac
2394 done
2396 if test -n "$ac_prev"; then
2397 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2398 as_fn_error $? "missing argument to $ac_option"
2401 if test -n "$ac_unrecognized_opts"; then
2402 case $enable_option_checking in
2403 no) ;;
2404 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2405 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2406 esac
2409 # Check all directory arguments for consistency.
2410 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2411 datadir sysconfdir sharedstatedir localstatedir includedir \
2412 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2413 libdir localedir mandir runstatedir
2415 eval ac_val=\$$ac_var
2416 # Remove trailing slashes.
2417 case $ac_val in
2418 */ )
2419 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2420 eval $ac_var=\$ac_val;;
2421 esac
2422 # Be sure to have absolute directory names.
2423 case $ac_val in
2424 [\\/$]* | ?:[\\/]* ) continue;;
2425 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2426 esac
2427 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2428 done
2430 # There might be people who depend on the old broken behavior: `$host'
2431 # used to hold the argument of --host etc.
2432 # FIXME: To remove some day.
2433 build=$build_alias
2434 host=$host_alias
2435 target=$target_alias
2437 # FIXME: To remove some day.
2438 if test "x$host_alias" != x; then
2439 if test "x$build_alias" = x; then
2440 cross_compiling=maybe
2441 elif test "x$build_alias" != "x$host_alias"; then
2442 cross_compiling=yes
2446 ac_tool_prefix=
2447 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2449 test "$silent" = yes && exec 6>/dev/null
2452 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2453 ac_ls_di=`ls -di .` &&
2454 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2455 as_fn_error $? "working directory cannot be determined"
2456 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2457 as_fn_error $? "pwd does not report name of working directory"
2460 # Find the source files, if location was not specified.
2461 if test -z "$srcdir"; then
2462 ac_srcdir_defaulted=yes
2463 # Try the directory containing this script, then the parent directory.
2464 ac_confdir=`$as_dirname -- "$as_myself" ||
2465 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2466 X"$as_myself" : 'X\(//\)[^/]' \| \
2467 X"$as_myself" : 'X\(//\)$' \| \
2468 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2469 $as_echo X"$as_myself" |
2470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2471 s//\1/
2474 /^X\(\/\/\)[^/].*/{
2475 s//\1/
2478 /^X\(\/\/\)$/{
2479 s//\1/
2482 /^X\(\/\).*/{
2483 s//\1/
2486 s/.*/./; q'`
2487 srcdir=$ac_confdir
2488 if test ! -r "$srcdir/$ac_unique_file"; then
2489 srcdir=..
2491 else
2492 ac_srcdir_defaulted=no
2494 if test ! -r "$srcdir/$ac_unique_file"; then
2495 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2496 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2498 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2499 ac_abs_confdir=`(
2500 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2501 pwd)`
2502 # When building in place, set srcdir=.
2503 if test "$ac_abs_confdir" = "$ac_pwd"; then
2504 srcdir=.
2506 # Remove unnecessary trailing slashes from srcdir.
2507 # Double slashes in file names in object file debugging info
2508 # mess up M-x gdb in Emacs.
2509 case $srcdir in
2510 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2511 esac
2512 for ac_var in $ac_precious_vars; do
2513 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2514 eval ac_env_${ac_var}_value=\$${ac_var}
2515 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2516 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2517 done
2520 # Report the --help message.
2522 if test "$ac_init_help" = "long"; then
2523 # Omit some internal or obsolete options to make the list less imposing.
2524 # This message is too long to be a string in the A/UX 3.1 sh.
2525 cat <<_ACEOF
2526 \`configure' configures Wine 6.11 to adapt to many kinds of systems.
2528 Usage: $0 [OPTION]... [VAR=VALUE]...
2530 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2531 VAR=VALUE. See below for descriptions of some of the useful variables.
2533 Defaults for the options are specified in brackets.
2535 Configuration:
2536 -h, --help display this help and exit
2537 --help=short display options specific to this package
2538 --help=recursive display the short help of all the included packages
2539 -V, --version display version information and exit
2540 -q, --quiet, --silent do not print \`checking ...' messages
2541 --cache-file=FILE cache test results in FILE [disabled]
2542 -C, --config-cache alias for \`--cache-file=config.cache'
2543 -n, --no-create do not create output files
2544 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2546 Installation directories:
2547 --prefix=PREFIX install architecture-independent files in PREFIX
2548 [$ac_default_prefix]
2549 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2550 [PREFIX]
2552 By default, \`make install' will install all the files in
2553 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2554 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2555 for instance \`--prefix=\$HOME'.
2557 For better control, use the options below.
2559 Fine tuning of the installation directories:
2560 --bindir=DIR user executables [EPREFIX/bin]
2561 --sbindir=DIR system admin executables [EPREFIX/sbin]
2562 --libexecdir=DIR program executables [EPREFIX/libexec]
2563 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2564 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2565 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2566 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2567 --libdir=DIR object code libraries [EPREFIX/lib]
2568 --includedir=DIR C header files [PREFIX/include]
2569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2572 --infodir=DIR info documentation [DATAROOTDIR/info]
2573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2574 --mandir=DIR man documentation [DATAROOTDIR/man]
2575 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2576 --htmldir=DIR html documentation [DOCDIR]
2577 --dvidir=DIR dvi documentation [DOCDIR]
2578 --pdfdir=DIR pdf documentation [DOCDIR]
2579 --psdir=DIR ps documentation [DOCDIR]
2580 _ACEOF
2582 cat <<\_ACEOF
2584 X features:
2585 --x-includes=DIR X include files are in DIR
2586 --x-libraries=DIR X library files are in DIR
2588 System types:
2589 --build=BUILD configure for building on BUILD [guessed]
2590 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2591 _ACEOF
2594 if test -n "$ac_init_help"; then
2595 case $ac_init_help in
2596 short | recursive ) echo "Configuration of Wine 6.11:";;
2597 esac
2598 cat <<\_ACEOF
2600 Optional Features:
2601 --disable-option-checking ignore unrecognized --enable/--with options
2602 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2603 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2604 --disable-win16 do not include Win16 support
2605 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2606 binaries)
2607 --disable-tests do not build the regression tests
2608 --enable-build-id include .buildid section in output objects
2609 --enable-maintainer-mode
2610 enable maintainer-specific build rules
2611 --enable-silent-rules use silent build rules (override: "make V=1")
2612 --enable-werror treat compilation warnings as errors
2613 --disable-largefile omit support for large files
2615 Optional Packages:
2616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2617 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2618 --without-alsa do not use the Alsa sound support
2619 --without-capi do not use CAPI (ISDN support)
2620 --without-cms do not use CMS (color management support)
2621 --without-coreaudio do not use the CoreAudio sound support
2622 --without-cups do not use CUPS
2623 --without-dbus do not use DBus (dynamic device support)
2624 --without-faudio do not use FAudio (XAudio2 support)
2625 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2626 --without-fontconfig do not use fontconfig
2627 --without-freetype do not use the FreeType library
2628 --without-gettext do not use gettext
2629 --with-gettextpo use the GetTextPO library to rebuild po files
2630 --without-gphoto do not use gphoto (Digital Camera support)
2631 --without-gnutls do not use GnuTLS (schannel support)
2632 --without-gsm do not use libgsm (GSM 06.10 codec support)
2633 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2634 --without-gstreamer do not use GStreamer (codecs support)
2635 --without-hal do not use HAL (dynamic device support)
2636 --without-inotify do not use inotify (filesystem change notifications)
2637 --without-jpeg do not use JPEG
2638 --without-jxrlib do not use JPEG-XR
2639 --without-krb5 do not use krb5 (Kerberos)
2640 --without-ldap do not use LDAP
2641 --without-mingw do not use the MinGW cross-compiler
2642 --without-mpg123 do not use the mpg123 library
2643 --without-netapi do not use the Samba NetAPI library
2644 --without-openal do not use OpenAL
2645 --without-opencl do not use OpenCL
2646 --without-opengl do not use OpenGL
2647 --without-osmesa do not use the OSMesa library
2648 --without-oss do not use the OSS sound support
2649 --without-pcap do not use the Packet Capture library
2650 --without-png do not use PNG
2651 --without-pthread do not use the pthread library
2652 --without-pulse do not use PulseAudio sound support
2653 --without-quicktime do not use QuickTime support
2654 --without-sane do not use SANE (scanner support)
2655 --without-sdl do not use SDL
2656 --without-tiff do not use TIFF
2657 --without-udev do not use udev (plug and play support)
2658 --without-unwind do not use the libunwind library (exception
2659 handling)
2660 --without-usb do not use the libusb library
2661 --without-v4l2 do not use v4l2 (video capture)
2662 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2663 --without-vulkan do not use Vulkan
2664 --without-xcomposite do not use the Xcomposite extension
2665 --without-xcursor do not use the Xcursor extension
2666 --without-xfixes do not use Xfixes for clipboard change notifications
2667 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2668 --without-xinput do not use the Xinput extension
2669 --without-xinput2 do not use the Xinput 2 extension
2670 --without-xml do not use XML
2671 --without-xrandr do not use Xrandr (multi-monitor support)
2672 --without-xrender do not use the Xrender extension
2673 --without-xshape do not use the Xshape extension
2674 --without-xshm do not use XShm (shared memory extension)
2675 --without-xslt do not use XSLT
2676 --without-xxf86vm do not use XFree video mode extension
2677 --with-wine-tools=DIR use Wine tools from directory DIR
2678 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2679 --with-x use the X Window System
2681 Some influential environment variables:
2682 CC C compiler command
2683 CFLAGS C compiler flags
2684 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2685 nonstandard directory <lib dir>
2686 LIBS libraries to pass to the linker, e.g. -l<library>
2687 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2688 you have headers in a nonstandard directory <include dir>
2689 CXX C++ compiler command
2690 CXXFLAGS C++ compiler flags
2691 CPP C preprocessor
2692 OBJC Objective C compiler command
2693 OBJCFLAGS Objective C compiler flags
2694 OBJCPP Objective C preprocessor
2695 XMKMF Path to xmkmf, Makefile generator for X Window System
2696 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2697 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2698 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2699 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2700 INOTIFY_CFLAGS
2701 C compiler flags for libinotify, overriding pkg-config
2702 INOTIFY_LIBS
2703 Linker flags for libinotify, overriding pkg-config
2704 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2705 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2706 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2707 HAL_LIBS Linker flags for hal, overriding pkg-config
2708 GNUTLS_CFLAGS
2709 C compiler flags for gnutls, overriding pkg-config
2710 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2711 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2712 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2713 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2714 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2715 GPHOTO2_CFLAGS
2716 C compiler flags for libgphoto2, overriding pkg-config
2717 GPHOTO2_LIBS
2718 Linker flags for libgphoto2, overriding pkg-config
2719 GPHOTO2_PORT_CFLAGS
2720 C compiler flags for libgphoto2_port, overriding pkg-config
2721 GPHOTO2_PORT_LIBS
2722 Linker flags for libgphoto2_port, overriding pkg-config
2723 LCMS2_CFLAGS
2724 C compiler flags for lcms2, overriding pkg-config
2725 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2726 FREETYPE_CFLAGS
2727 C compiler flags for freetype2, overriding pkg-config
2728 FREETYPE_LIBS
2729 Linker flags for freetype2, overriding pkg-config
2730 PULSE_CFLAGS
2731 C compiler flags for libpulse, overriding pkg-config
2732 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2733 GSTREAMER_CFLAGS
2734 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2735 gstreamer-audio-1.0, overriding pkg-config
2736 GSTREAMER_LIBS
2737 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2738 gstreamer-audio-1.0, overriding pkg-config
2739 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2740 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2741 UNWIND_CFLAGS
2742 C compiler flags for libunwind, overriding pkg-config
2743 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2744 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2745 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2746 FAUDIO_CFLAGS
2747 C compiler flags for FAudio, overriding pkg-config
2748 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2749 CAPI20_CFLAGS
2750 C compiler flags for capi20, overriding pkg-config
2751 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2752 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2753 CUPS_LIBS Linker flags for cups, overriding pkg-config
2754 FONTCONFIG_CFLAGS
2755 C compiler flags for fontconfig, overriding pkg-config
2756 FONTCONFIG_LIBS
2757 Linker flags for fontconfig, overriding pkg-config
2758 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2759 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2760 GSSAPI_CFLAGS
2761 C compiler flags for krb5-gssapi, overriding pkg-config
2762 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2763 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2764 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2765 JXRLIB_CFLAGS
2766 C compiler flags for jxrlib, overriding pkg-config
2767 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2768 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2769 PNG_LIBS Linker flags for libpng, overriding pkg-config
2770 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2771 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2772 MPG123_CFLAGS
2773 C compiler flags for libmpg123, overriding pkg-config
2774 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2775 NETAPI_CFLAGS
2776 C compiler flags for netapi, overriding pkg-config
2777 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2778 VKD3D_CFLAGS
2779 C compiler flags for libvkd3d, overriding pkg-config
2780 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2781 VKD3D_SHADER_CFLAGS
2782 C compiler flags for libvkd3d-shader, overriding pkg-config
2783 VKD3D_SHADER_LIBS
2784 Linker flags for libvkd3d-shader, overriding pkg-config
2785 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2786 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2788 Use these variables to override the choices made by `configure' or to help
2789 it to find libraries and programs with nonstandard names/locations.
2791 Report bugs to <wine-devel@winehq.org>.
2792 Wine home page: <https://www.winehq.org>.
2793 _ACEOF
2794 ac_status=$?
2797 if test "$ac_init_help" = "recursive"; then
2798 # If there are subdirs, report their specific --help.
2799 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2800 test -d "$ac_dir" ||
2801 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2802 continue
2803 ac_builddir=.
2805 case "$ac_dir" in
2806 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2808 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2809 # A ".." for each directory in $ac_dir_suffix.
2810 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2811 case $ac_top_builddir_sub in
2812 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2813 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2814 esac ;;
2815 esac
2816 ac_abs_top_builddir=$ac_pwd
2817 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2818 # for backward compatibility:
2819 ac_top_builddir=$ac_top_build_prefix
2821 case $srcdir in
2822 .) # We are building in place.
2823 ac_srcdir=.
2824 ac_top_srcdir=$ac_top_builddir_sub
2825 ac_abs_top_srcdir=$ac_pwd ;;
2826 [\\/]* | ?:[\\/]* ) # Absolute name.
2827 ac_srcdir=$srcdir$ac_dir_suffix;
2828 ac_top_srcdir=$srcdir
2829 ac_abs_top_srcdir=$srcdir ;;
2830 *) # Relative name.
2831 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2832 ac_top_srcdir=$ac_top_build_prefix$srcdir
2833 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2834 esac
2835 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2837 cd "$ac_dir" || { ac_status=$?; continue; }
2838 # Check for guested configure.
2839 if test -f "$ac_srcdir/configure.gnu"; then
2840 echo &&
2841 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2842 elif test -f "$ac_srcdir/configure"; then
2843 echo &&
2844 $SHELL "$ac_srcdir/configure" --help=recursive
2845 else
2846 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2847 fi || ac_status=$?
2848 cd "$ac_pwd" || { ac_status=$?; break; }
2849 done
2852 test -n "$ac_init_help" && exit $ac_status
2853 if $ac_init_version; then
2854 cat <<\_ACEOF
2855 Wine configure 6.11
2856 generated by GNU Autoconf 2.69
2858 Copyright (C) 2012 Free Software Foundation, Inc.
2859 This configure script is free software; the Free Software Foundation
2860 gives unlimited permission to copy, distribute and modify it.
2861 _ACEOF
2862 exit
2865 ## ------------------------ ##
2866 ## Autoconf initialization. ##
2867 ## ------------------------ ##
2869 # ac_fn_c_try_compile LINENO
2870 # --------------------------
2871 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_c_try_compile ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 rm -f conftest.$ac_objext
2876 if { { ac_try="$ac_compile"
2877 case "(($ac_try" in
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2880 esac
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883 (eval "$ac_compile") 2>conftest.err
2884 ac_status=$?
2885 if test -s conftest.err; then
2886 grep -v '^ *+' conftest.err >conftest.er1
2887 cat conftest.er1 >&5
2888 mv -f conftest.er1 conftest.err
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; } && {
2892 test -z "$ac_c_werror_flag" ||
2893 test ! -s conftest.err
2894 } && test -s conftest.$ac_objext; then :
2895 ac_retval=0
2896 else
2897 $as_echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2900 ac_retval=1
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 as_fn_set_status $ac_retval
2905 } # ac_fn_c_try_compile
2907 # ac_fn_cxx_try_compile LINENO
2908 # ----------------------------
2909 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2910 ac_fn_cxx_try_compile ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 rm -f conftest.$ac_objext
2914 if { { ac_try="$ac_compile"
2915 case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2918 esac
2919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2920 $as_echo "$ac_try_echo"; } >&5
2921 (eval "$ac_compile") 2>conftest.err
2922 ac_status=$?
2923 if test -s conftest.err; then
2924 grep -v '^ *+' conftest.err >conftest.er1
2925 cat conftest.er1 >&5
2926 mv -f conftest.er1 conftest.err
2928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; } && {
2930 test -z "$ac_cxx_werror_flag" ||
2931 test ! -s conftest.err
2932 } && test -s conftest.$ac_objext; then :
2933 ac_retval=0
2934 else
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 ac_retval=1
2940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 as_fn_set_status $ac_retval
2943 } # ac_fn_cxx_try_compile
2945 # ac_fn_c_try_link LINENO
2946 # -----------------------
2947 # Try to link conftest.$ac_ext, and return whether this succeeded.
2948 ac_fn_c_try_link ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 rm -f conftest.$ac_objext conftest$ac_exeext
2952 if { { ac_try="$ac_link"
2953 case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_link") 2>conftest.err
2960 ac_status=$?
2961 if test -s conftest.err; then
2962 grep -v '^ *+' conftest.err >conftest.er1
2963 cat conftest.er1 >&5
2964 mv -f conftest.er1 conftest.err
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest$ac_exeext && {
2971 test "$cross_compiling" = yes ||
2972 test -x conftest$ac_exeext
2973 }; then :
2974 ac_retval=0
2975 else
2976 $as_echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2979 ac_retval=1
2981 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2982 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2983 # interfere with the next link command; also delete a directory that is
2984 # left behind by Apple's compiler. We do this before executing the actions.
2985 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 as_fn_set_status $ac_retval
2989 } # ac_fn_c_try_link
2991 # ac_fn_c_try_cpp LINENO
2992 # ----------------------
2993 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2994 ac_fn_c_try_cpp ()
2996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2997 if { { ac_try="$ac_cpp conftest.$ac_ext"
2998 case "(($ac_try" in
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3001 esac
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3005 ac_status=$?
3006 if test -s conftest.err; then
3007 grep -v '^ *+' conftest.err >conftest.er1
3008 cat conftest.er1 >&5
3009 mv -f conftest.er1 conftest.err
3011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3012 test $ac_status = 0; } > conftest.i && {
3013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3014 test ! -s conftest.err
3015 }; then :
3016 ac_retval=0
3017 else
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=1
3023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3024 as_fn_set_status $ac_retval
3026 } # ac_fn_c_try_cpp
3028 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3029 # -------------------------------------------------------
3030 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3031 # the include files in INCLUDES and setting the cache variable VAR
3032 # accordingly.
3033 ac_fn_c_check_header_mongrel ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 if eval \${$3+:} false; then :
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 $as_echo_n "checking for $2... " >&6; }
3039 if eval \${$3+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 eval ac_res=\$$3
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3044 $as_echo "$ac_res" >&6; }
3045 else
3046 # Is the header compilable?
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3048 $as_echo_n "checking $2 usability... " >&6; }
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3052 #include <$2>
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"; then :
3055 ac_header_compiler=yes
3056 else
3057 ac_header_compiler=no
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3061 $as_echo "$ac_header_compiler" >&6; }
3063 # Is the header present?
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3065 $as_echo_n "checking $2 presence... " >&6; }
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3068 #include <$2>
3069 _ACEOF
3070 if ac_fn_c_try_cpp "$LINENO"; then :
3071 ac_header_preproc=yes
3072 else
3073 ac_header_preproc=no
3075 rm -f conftest.err conftest.i conftest.$ac_ext
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3077 $as_echo "$ac_header_preproc" >&6; }
3079 # So? What about this header?
3080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3081 yes:no: )
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3083 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3085 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3087 no:yes:* )
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3089 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3091 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3093 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3095 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3097 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3098 ( $as_echo "## ------------------------------------ ##
3099 ## Report this to wine-devel@winehq.org ##
3100 ## ------------------------------------ ##"
3101 ) | sed "s/^/$as_me: WARNING: /" >&2
3103 esac
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3105 $as_echo_n "checking for $2... " >&6; }
3106 if eval \${$3+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108 else
3109 eval "$3=\$ac_header_compiler"
3111 eval ac_res=\$$3
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3113 $as_echo "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_header_mongrel
3119 # ac_fn_c_try_run LINENO
3120 # ----------------------
3121 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3122 # that executables *can* be run.
3123 ac_fn_c_try_run ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 if { { ac_try="$ac_link"
3127 case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3130 esac
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_link") 2>&5
3134 ac_status=$?
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3137 { { case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3140 esac
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_try") 2>&5
3144 ac_status=$?
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }; }; then :
3147 ac_retval=0
3148 else
3149 $as_echo "$as_me: program exited with status $ac_status" >&5
3150 $as_echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 ac_retval=$ac_status
3155 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3157 as_fn_set_status $ac_retval
3159 } # ac_fn_c_try_run
3161 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3162 # -------------------------------------------------------
3163 # Tests whether HEADER exists and can be compiled using the include files in
3164 # INCLUDES, setting the cache variable VAR accordingly.
3165 ac_fn_c_check_header_compile ()
3167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3169 $as_echo_n "checking for $2... " >&6; }
3170 if eval \${$3+:} false; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3176 #include <$2>
3177 _ACEOF
3178 if ac_fn_c_try_compile "$LINENO"; then :
3179 eval "$3=yes"
3180 else
3181 eval "$3=no"
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 eval ac_res=\$$3
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3187 $as_echo "$ac_res" >&6; }
3188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 } # ac_fn_c_check_header_compile
3192 # ac_fn_objc_try_compile LINENO
3193 # -----------------------------
3194 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3195 ac_fn_objc_try_compile ()
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 rm -f conftest.$ac_objext
3199 if { { ac_try="$ac_compile"
3200 case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3203 esac
3204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3205 $as_echo "$ac_try_echo"; } >&5
3206 (eval "$ac_compile") 2>conftest.err
3207 ac_status=$?
3208 if test -s conftest.err; then
3209 grep -v '^ *+' conftest.err >conftest.er1
3210 cat conftest.er1 >&5
3211 mv -f conftest.er1 conftest.err
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; } && {
3215 test -z "$ac_objc_werror_flag" ||
3216 test ! -s conftest.err
3217 } && test -s conftest.$ac_objext; then :
3218 ac_retval=0
3219 else
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3223 ac_retval=1
3225 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3226 as_fn_set_status $ac_retval
3228 } # ac_fn_objc_try_compile
3230 # ac_fn_objc_try_cpp LINENO
3231 # -------------------------
3232 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3233 ac_fn_objc_try_cpp ()
3235 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3236 if { { ac_try="$ac_cpp conftest.$ac_ext"
3237 case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3240 esac
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 $as_echo "$ac_try_echo"; } >&5
3243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3244 ac_status=$?
3245 if test -s conftest.err; then
3246 grep -v '^ *+' conftest.err >conftest.er1
3247 cat conftest.er1 >&5
3248 mv -f conftest.er1 conftest.err
3250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251 test $ac_status = 0; } > conftest.i && {
3252 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3253 test ! -s conftest.err
3254 }; then :
3255 ac_retval=0
3256 else
3257 $as_echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 ac_retval=1
3262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3263 as_fn_set_status $ac_retval
3265 } # ac_fn_objc_try_cpp
3267 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3268 # ----------------------------------------------------------
3269 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3270 # the include files in INCLUDES and setting the cache variable VAR
3271 # accordingly.
3272 ac_fn_objc_check_header_mongrel ()
3274 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3275 if eval \${$3+:} false; then :
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3277 $as_echo_n "checking for $2... " >&6; }
3278 if eval \${$3+:} false; then :
3279 $as_echo_n "(cached) " >&6
3281 eval ac_res=\$$3
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3283 $as_echo "$ac_res" >&6; }
3284 else
3285 # Is the header compilable?
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3287 $as_echo_n "checking $2 usability... " >&6; }
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3291 #include <$2>
3292 _ACEOF
3293 if ac_fn_objc_try_compile "$LINENO"; then :
3294 ac_header_compiler=yes
3295 else
3296 ac_header_compiler=no
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3300 $as_echo "$ac_header_compiler" >&6; }
3302 # Is the header present?
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3304 $as_echo_n "checking $2 presence... " >&6; }
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3307 #include <$2>
3308 _ACEOF
3309 if ac_fn_objc_try_cpp "$LINENO"; then :
3310 ac_header_preproc=yes
3311 else
3312 ac_header_preproc=no
3314 rm -f conftest.err conftest.i conftest.$ac_ext
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3316 $as_echo "$ac_header_preproc" >&6; }
3318 # So? What about this header?
3319 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3320 yes:no: )
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3322 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3324 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3326 no:yes:* )
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3328 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3330 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3332 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3334 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3336 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3337 ( $as_echo "## ------------------------------------ ##
3338 ## Report this to wine-devel@winehq.org ##
3339 ## ------------------------------------ ##"
3340 ) | sed "s/^/$as_me: WARNING: /" >&2
3342 esac
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3344 $as_echo_n "checking for $2... " >&6; }
3345 if eval \${$3+:} false; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 eval "$3=\$ac_header_compiler"
3350 eval ac_res=\$$3
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3352 $as_echo "$ac_res" >&6; }
3354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356 } # ac_fn_objc_check_header_mongrel
3358 # ac_fn_c_check_func LINENO FUNC VAR
3359 # ----------------------------------
3360 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3361 ac_fn_c_check_func ()
3363 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3365 $as_echo_n "checking for $2... " >&6; }
3366 if eval \${$3+:} false; then :
3367 $as_echo_n "(cached) " >&6
3368 else
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3371 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3373 #define $2 innocuous_$2
3375 /* System header to define __stub macros and hopefully few prototypes,
3376 which can conflict with char $2 (); below.
3377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3378 <limits.h> exists even on freestanding compilers. */
3380 #ifdef __STDC__
3381 # include <limits.h>
3382 #else
3383 # include <assert.h>
3384 #endif
3386 #undef $2
3388 /* Override any GCC internal prototype to avoid an error.
3389 Use char because int might match the return type of a GCC
3390 builtin and then its argument prototype would still apply. */
3391 #ifdef __cplusplus
3392 extern "C"
3393 #endif
3394 char $2 ();
3395 /* The GNU C library defines this for functions which it implements
3396 to always fail with ENOSYS. Some functions are actually named
3397 something starting with __ and the normal name is an alias. */
3398 #if defined __stub_$2 || defined __stub___$2
3399 choke me
3400 #endif
3403 main ()
3405 return $2 ();
3407 return 0;
3409 _ACEOF
3410 if ac_fn_c_try_link "$LINENO"; then :
3411 eval "$3=yes"
3412 else
3413 eval "$3=no"
3415 rm -f core conftest.err conftest.$ac_objext \
3416 conftest$ac_exeext conftest.$ac_ext
3418 eval ac_res=\$$3
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3420 $as_echo "$ac_res" >&6; }
3421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3423 } # ac_fn_c_check_func
3425 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3426 # ----------------------------------------------------
3427 # Tries to find if the field MEMBER exists in type AGGR, after including
3428 # INCLUDES, setting cache variable VAR accordingly.
3429 ac_fn_c_check_member ()
3431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3433 $as_echo_n "checking for $2.$3... " >&6; }
3434 if eval \${$4+:} false; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3441 main ()
3443 static $2 ac_aggr;
3444 if (ac_aggr.$3)
3445 return 0;
3447 return 0;
3449 _ACEOF
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451 eval "$4=yes"
3452 else
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3457 main ()
3459 static $2 ac_aggr;
3460 if (sizeof ac_aggr.$3)
3461 return 0;
3463 return 0;
3465 _ACEOF
3466 if ac_fn_c_try_compile "$LINENO"; then :
3467 eval "$4=yes"
3468 else
3469 eval "$4=no"
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475 eval ac_res=\$$4
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3477 $as_echo "$ac_res" >&6; }
3478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3480 } # ac_fn_c_check_member
3482 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3483 # -------------------------------------------
3484 # Tests whether TYPE exists after having included INCLUDES, setting cache
3485 # variable VAR accordingly.
3486 ac_fn_c_check_type ()
3488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3490 $as_echo_n "checking for $2... " >&6; }
3491 if eval \${$3+:} false; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 eval "$3=no"
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3499 main ()
3501 if (sizeof ($2))
3502 return 0;
3504 return 0;
3506 _ACEOF
3507 if ac_fn_c_try_compile "$LINENO"; then :
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3512 main ()
3514 if (sizeof (($2)))
3515 return 0;
3517 return 0;
3519 _ACEOF
3520 if ac_fn_c_try_compile "$LINENO"; then :
3522 else
3523 eval "$3=yes"
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 eval ac_res=\$$3
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3531 $as_echo "$ac_res" >&6; }
3532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3534 } # ac_fn_c_check_type
3535 cat >config.log <<_ACEOF
3536 This file contains any messages produced by compilers while
3537 running configure, to aid debugging if configure makes a mistake.
3539 It was created by Wine $as_me 6.11, which was
3540 generated by GNU Autoconf 2.69. Invocation command line was
3542 $ $0 $@
3544 _ACEOF
3545 exec 5>>config.log
3547 cat <<_ASUNAME
3548 ## --------- ##
3549 ## Platform. ##
3550 ## --------- ##
3552 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3553 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3554 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3555 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3556 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3558 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3559 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3561 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3562 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3563 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3564 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3565 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3566 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3567 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3569 _ASUNAME
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 $as_echo "PATH: $as_dir"
3577 done
3578 IFS=$as_save_IFS
3580 } >&5
3582 cat >&5 <<_ACEOF
3585 ## ----------- ##
3586 ## Core tests. ##
3587 ## ----------- ##
3589 _ACEOF
3592 # Keep a trace of the command line.
3593 # Strip out --no-create and --no-recursion so they do not pile up.
3594 # Strip out --silent because we don't want to record it for future runs.
3595 # Also quote any args containing shell meta-characters.
3596 # Make two passes to allow for proper duplicate-argument suppression.
3597 ac_configure_args=
3598 ac_configure_args0=
3599 ac_configure_args1=
3600 ac_must_keep_next=false
3601 for ac_pass in 1 2
3603 for ac_arg
3605 case $ac_arg in
3606 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3608 | -silent | --silent | --silen | --sile | --sil)
3609 continue ;;
3610 *\'*)
3611 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3612 esac
3613 case $ac_pass in
3614 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3616 as_fn_append ac_configure_args1 " '$ac_arg'"
3617 if test $ac_must_keep_next = true; then
3618 ac_must_keep_next=false # Got value, back to normal.
3619 else
3620 case $ac_arg in
3621 *=* | --config-cache | -C | -disable-* | --disable-* \
3622 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3623 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3624 | -with-* | --with-* | -without-* | --without-* | --x)
3625 case "$ac_configure_args0 " in
3626 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3627 esac
3629 -* ) ac_must_keep_next=true ;;
3630 esac
3632 as_fn_append ac_configure_args " '$ac_arg'"
3634 esac
3635 done
3636 done
3637 { ac_configure_args0=; unset ac_configure_args0;}
3638 { ac_configure_args1=; unset ac_configure_args1;}
3640 # When interrupted or exit'd, cleanup temporary files, and complete
3641 # config.log. We remove comments because anyway the quotes in there
3642 # would cause problems or look ugly.
3643 # WARNING: Use '\'' to represent an apostrophe within the trap.
3644 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3645 trap 'exit_status=$?
3646 # Save into config.log some information that might help in debugging.
3648 echo
3650 $as_echo "## ---------------- ##
3651 ## Cache variables. ##
3652 ## ---------------- ##"
3653 echo
3654 # The following way of writing the cache mishandles newlines in values,
3656 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3657 eval ac_val=\$$ac_var
3658 case $ac_val in #(
3659 *${as_nl}*)
3660 case $ac_var in #(
3661 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3662 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3663 esac
3664 case $ac_var in #(
3665 _ | IFS | as_nl) ;; #(
3666 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3667 *) { eval $ac_var=; unset $ac_var;} ;;
3668 esac ;;
3669 esac
3670 done
3671 (set) 2>&1 |
3672 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3673 *${as_nl}ac_space=\ *)
3674 sed -n \
3675 "s/'\''/'\''\\\\'\'''\''/g;
3676 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3677 ;; #(
3679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3681 esac |
3682 sort
3684 echo
3686 $as_echo "## ----------------- ##
3687 ## Output variables. ##
3688 ## ----------------- ##"
3689 echo
3690 for ac_var in $ac_subst_vars
3692 eval ac_val=\$$ac_var
3693 case $ac_val in
3694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3695 esac
3696 $as_echo "$ac_var='\''$ac_val'\''"
3697 done | sort
3698 echo
3700 if test -n "$ac_subst_files"; then
3701 $as_echo "## ------------------- ##
3702 ## File substitutions. ##
3703 ## ------------------- ##"
3704 echo
3705 for ac_var in $ac_subst_files
3707 eval ac_val=\$$ac_var
3708 case $ac_val in
3709 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3710 esac
3711 $as_echo "$ac_var='\''$ac_val'\''"
3712 done | sort
3713 echo
3716 if test -s confdefs.h; then
3717 $as_echo "## ----------- ##
3718 ## confdefs.h. ##
3719 ## ----------- ##"
3720 echo
3721 cat confdefs.h
3722 echo
3724 test "$ac_signal" != 0 &&
3725 $as_echo "$as_me: caught signal $ac_signal"
3726 $as_echo "$as_me: exit $exit_status"
3727 } >&5
3728 rm -f core *.core core.conftest.* &&
3729 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3730 exit $exit_status
3732 for ac_signal in 1 2 13 15; do
3733 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3734 done
3735 ac_signal=0
3737 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3738 rm -f -r conftest* confdefs.h
3740 $as_echo "/* confdefs.h */" > confdefs.h
3742 # Predefined preprocessor variables.
3744 cat >>confdefs.h <<_ACEOF
3745 #define PACKAGE_NAME "$PACKAGE_NAME"
3746 _ACEOF
3748 cat >>confdefs.h <<_ACEOF
3749 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3750 _ACEOF
3752 cat >>confdefs.h <<_ACEOF
3753 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3754 _ACEOF
3756 cat >>confdefs.h <<_ACEOF
3757 #define PACKAGE_STRING "$PACKAGE_STRING"
3758 _ACEOF
3760 cat >>confdefs.h <<_ACEOF
3761 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3762 _ACEOF
3764 cat >>confdefs.h <<_ACEOF
3765 #define PACKAGE_URL "$PACKAGE_URL"
3766 _ACEOF
3769 # Let the site file select an alternate cache file if it wants to.
3770 # Prefer an explicitly selected file to automatically selected ones.
3771 ac_site_file1=NONE
3772 ac_site_file2=NONE
3773 if test -n "$CONFIG_SITE"; then
3774 # We do not want a PATH search for config.site.
3775 case $CONFIG_SITE in #((
3776 -*) ac_site_file1=./$CONFIG_SITE;;
3777 */*) ac_site_file1=$CONFIG_SITE;;
3778 *) ac_site_file1=./$CONFIG_SITE;;
3779 esac
3780 elif test "x$prefix" != xNONE; then
3781 ac_site_file1=$prefix/share/config.site
3782 ac_site_file2=$prefix/etc/config.site
3783 else
3784 ac_site_file1=$ac_default_prefix/share/config.site
3785 ac_site_file2=$ac_default_prefix/etc/config.site
3787 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3789 test "x$ac_site_file" = xNONE && continue
3790 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3792 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3793 sed 's/^/| /' "$ac_site_file" >&5
3794 . "$ac_site_file" \
3795 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error $? "failed to load site script $ac_site_file
3798 See \`config.log' for more details" "$LINENO" 5; }
3800 done
3802 if test -r "$cache_file"; then
3803 # Some versions of bash will fail to source /dev/null (special files
3804 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3805 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3807 $as_echo "$as_me: loading cache $cache_file" >&6;}
3808 case $cache_file in
3809 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3810 *) . "./$cache_file";;
3811 esac
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3815 $as_echo "$as_me: creating cache $cache_file" >&6;}
3816 >$cache_file
3819 # Check that the precious variables saved in the cache have kept the same
3820 # value.
3821 ac_cache_corrupted=false
3822 for ac_var in $ac_precious_vars; do
3823 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3824 eval ac_new_set=\$ac_env_${ac_var}_set
3825 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3826 eval ac_new_val=\$ac_env_${ac_var}_value
3827 case $ac_old_set,$ac_new_set in
3828 set,)
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3830 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3831 ac_cache_corrupted=: ;;
3832 ,set)
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3834 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3835 ac_cache_corrupted=: ;;
3836 ,);;
3838 if test "x$ac_old_val" != "x$ac_new_val"; then
3839 # differences in whitespace do not lead to failure.
3840 ac_old_val_w=`echo x $ac_old_val`
3841 ac_new_val_w=`echo x $ac_new_val`
3842 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3844 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3845 ac_cache_corrupted=:
3846 else
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3848 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3849 eval $ac_var=\$ac_old_val
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3852 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3854 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3855 fi;;
3856 esac
3857 # Pass precious variables to config.status.
3858 if test "$ac_new_set" = set; then
3859 case $ac_new_val in
3860 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3861 *) ac_arg=$ac_var=$ac_new_val ;;
3862 esac
3863 case " $ac_configure_args " in
3864 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3865 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3866 esac
3868 done
3869 if $ac_cache_corrupted; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3873 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3874 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3876 ## -------------------- ##
3877 ## Main body of script. ##
3878 ## -------------------- ##
3880 ac_ext=c
3881 ac_cpp='$CPP $CPPFLAGS'
3882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 ac_config_headers="$ac_config_headers include/config.h"
3890 ac_aux_dir=
3891 for ac_dir in tools "$srcdir"/tools; do
3892 if test -f "$ac_dir/install-sh"; then
3893 ac_aux_dir=$ac_dir
3894 ac_install_sh="$ac_aux_dir/install-sh -c"
3895 break
3896 elif test -f "$ac_dir/install.sh"; then
3897 ac_aux_dir=$ac_dir
3898 ac_install_sh="$ac_aux_dir/install.sh -c"
3899 break
3900 elif test -f "$ac_dir/shtool"; then
3901 ac_aux_dir=$ac_dir
3902 ac_install_sh="$ac_aux_dir/shtool install -c"
3903 break
3905 done
3906 if test -z "$ac_aux_dir"; then
3907 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3910 # These three variables are undocumented and unsupported,
3911 # and are intended to be withdrawn in a future Autoconf release.
3912 # They can cause serious problems if a builder's source tree is in a directory
3913 # whose full name contains unusual characters.
3914 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3915 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3916 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3920 libwine_version="1.0"
3924 # Check whether --enable-win16 was given.
3925 if test "${enable_win16+set}" = set; then :
3926 enableval=$enable_win16;
3929 # Check whether --enable-win64 was given.
3930 if test "${enable_win64+set}" = set; then :
3931 enableval=$enable_win64;
3934 # Check whether --enable-tests was given.
3935 if test "${enable_tests+set}" = set; then :
3936 enableval=$enable_tests;
3939 # Check whether --enable-build-id was given.
3940 if test "${enable_build_id+set}" = set; then :
3941 enableval=$enable_build_id;
3944 # Check whether --enable-maintainer-mode was given.
3945 if test "${enable_maintainer_mode+set}" = set; then :
3946 enableval=$enable_maintainer_mode;
3949 # Check whether --enable-silent-rules was given.
3950 if test "${enable_silent_rules+set}" = set; then :
3951 enableval=$enable_silent_rules;
3954 # Check whether --enable-werror was given.
3955 if test "${enable_werror+set}" = set; then :
3956 enableval=$enable_werror;
3961 # Check whether --with-alsa was given.
3962 if test "${with_alsa+set}" = set; then :
3963 withval=$with_alsa;
3967 # Check whether --with-capi was given.
3968 if test "${with_capi+set}" = set; then :
3969 withval=$with_capi;
3973 # Check whether --with-cms was given.
3974 if test "${with_cms+set}" = set; then :
3975 withval=$with_cms;
3979 # Check whether --with-coreaudio was given.
3980 if test "${with_coreaudio+set}" = set; then :
3981 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3985 # Check whether --with-cups was given.
3986 if test "${with_cups+set}" = set; then :
3987 withval=$with_cups;
3991 # Check whether --with-dbus was given.
3992 if test "${with_dbus+set}" = set; then :
3993 withval=$with_dbus;
3997 # Check whether --with-faudio was given.
3998 if test "${with_faudio+set}" = set; then :
3999 withval=$with_faudio;
4003 # Check whether --with-float-abi was given.
4004 if test "${with_float_abi+set}" = set; then :
4005 withval=$with_float_abi;
4009 # Check whether --with-fontconfig was given.
4010 if test "${with_fontconfig+set}" = set; then :
4011 withval=$with_fontconfig;
4015 # Check whether --with-freetype was given.
4016 if test "${with_freetype+set}" = set; then :
4017 withval=$with_freetype;
4021 # Check whether --with-gettext was given.
4022 if test "${with_gettext+set}" = set; then :
4023 withval=$with_gettext;
4027 # Check whether --with-gettextpo was given.
4028 if test "${with_gettextpo+set}" = set; then :
4029 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4033 # Check whether --with-gphoto was given.
4034 if test "${with_gphoto+set}" = set; then :
4035 withval=$with_gphoto;
4039 # Check whether --with-gnutls was given.
4040 if test "${with_gnutls+set}" = set; then :
4041 withval=$with_gnutls;
4045 # Check whether --with-gsm was given.
4046 if test "${with_gsm+set}" = set; then :
4047 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4051 # Check whether --with-gssapi was given.
4052 if test "${with_gssapi+set}" = set; then :
4053 withval=$with_gssapi;
4057 # Check whether --with-gstreamer was given.
4058 if test "${with_gstreamer+set}" = set; then :
4059 withval=$with_gstreamer;
4063 # Check whether --with-hal was given.
4064 if test "${with_hal+set}" = set; then :
4065 withval=$with_hal;
4069 # Check whether --with-inotify was given.
4070 if test "${with_inotify+set}" = set; then :
4071 withval=$with_inotify;
4075 # Check whether --with-jpeg was given.
4076 if test "${with_jpeg+set}" = set; then :
4077 withval=$with_jpeg;
4081 # Check whether --with-jxrlib was given.
4082 if test "${with_jxrlib+set}" = set; then :
4083 withval=$with_jxrlib;
4087 # Check whether --with-krb5 was given.
4088 if test "${with_krb5+set}" = set; then :
4089 withval=$with_krb5;
4093 # Check whether --with-ldap was given.
4094 if test "${with_ldap+set}" = set; then :
4095 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4099 # Check whether --with-mingw was given.
4100 if test "${with_mingw+set}" = set; then :
4101 withval=$with_mingw;
4105 # Check whether --with-mpg123 was given.
4106 if test "${with_mpg123+set}" = set; then :
4107 withval=$with_mpg123;
4111 # Check whether --with-netapi was given.
4112 if test "${with_netapi+set}" = set; then :
4113 withval=$with_netapi;
4117 # Check whether --with-openal was given.
4118 if test "${with_openal+set}" = set; then :
4119 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4123 # Check whether --with-opencl was given.
4124 if test "${with_opencl+set}" = set; then :
4125 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4129 # Check whether --with-opengl was given.
4130 if test "${with_opengl+set}" = set; then :
4131 withval=$with_opengl;
4135 # Check whether --with-osmesa was given.
4136 if test "${with_osmesa+set}" = set; then :
4137 withval=$with_osmesa;
4141 # Check whether --with-oss was given.
4142 if test "${with_oss+set}" = set; then :
4143 withval=$with_oss;
4147 # Check whether --with-pcap was given.
4148 if test "${with_pcap+set}" = set; then :
4149 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4153 # Check whether --with-png was given.
4154 if test "${with_png+set}" = set; then :
4155 withval=$with_png;
4159 # Check whether --with-pthread was given.
4160 if test "${with_pthread+set}" = set; then :
4161 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4165 # Check whether --with-pulse was given.
4166 if test "${with_pulse+set}" = set; then :
4167 withval=$with_pulse;
4171 # Check whether --with-quicktime was given.
4172 if test "${with_quicktime+set}" = set; then :
4173 withval=$with_quicktime;
4177 # Check whether --with-sane was given.
4178 if test "${with_sane+set}" = set; then :
4179 withval=$with_sane;
4183 # Check whether --with-sdl was given.
4184 if test "${with_sdl+set}" = set; then :
4185 withval=$with_sdl;
4189 # Check whether --with-tiff was given.
4190 if test "${with_tiff+set}" = set; then :
4191 withval=$with_tiff;
4195 # Check whether --with-udev was given.
4196 if test "${with_udev+set}" = set; then :
4197 withval=$with_udev;
4201 # Check whether --with-unwind was given.
4202 if test "${with_unwind+set}" = set; then :
4203 withval=$with_unwind;
4207 # Check whether --with-usb was given.
4208 if test "${with_usb+set}" = set; then :
4209 withval=$with_usb;
4213 # Check whether --with-v4l2 was given.
4214 if test "${with_v4l2+set}" = set; then :
4215 withval=$with_v4l2;
4219 # Check whether --with-vkd3d was given.
4220 if test "${with_vkd3d+set}" = set; then :
4221 withval=$with_vkd3d;
4225 # Check whether --with-vulkan was given.
4226 if test "${with_vulkan+set}" = set; then :
4227 withval=$with_vulkan;
4231 # Check whether --with-xcomposite was given.
4232 if test "${with_xcomposite+set}" = set; then :
4233 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4237 # Check whether --with-xcursor was given.
4238 if test "${with_xcursor+set}" = set; then :
4239 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4243 # Check whether --with-xfixes was given.
4244 if test "${with_xfixes+set}" = set; then :
4245 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4249 # Check whether --with-xinerama was given.
4250 if test "${with_xinerama+set}" = set; then :
4251 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4255 # Check whether --with-xinput was given.
4256 if test "${with_xinput+set}" = set; then :
4257 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4261 # Check whether --with-xinput2 was given.
4262 if test "${with_xinput2+set}" = set; then :
4263 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4267 # Check whether --with-xml was given.
4268 if test "${with_xml+set}" = set; then :
4269 withval=$with_xml;
4273 # Check whether --with-xrandr was given.
4274 if test "${with_xrandr+set}" = set; then :
4275 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4279 # Check whether --with-xrender was given.
4280 if test "${with_xrender+set}" = set; then :
4281 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4285 # Check whether --with-xshape was given.
4286 if test "${with_xshape+set}" = set; then :
4287 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4291 # Check whether --with-xshm was given.
4292 if test "${with_xshm+set}" = set; then :
4293 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4297 # Check whether --with-xslt was given.
4298 if test "${with_xslt+set}" = set; then :
4299 withval=$with_xslt;
4303 # Check whether --with-xxf86vm was given.
4304 if test "${with_xxf86vm+set}" = set; then :
4305 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
4310 # Check whether --with-wine-tools was given.
4311 if test "${with_wine_tools+set}" = set; then :
4312 withval=$with_wine_tools;
4316 # Check whether --with-wine64 was given.
4317 if test "${with_wine64+set}" = set; then :
4318 withval=$with_wine64;
4322 # Make sure we can run config.sub.
4323 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4324 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4327 $as_echo_n "checking build system type... " >&6; }
4328 if ${ac_cv_build+:} false; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_build_alias=$build_alias
4332 test "x$ac_build_alias" = x &&
4333 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4334 test "x$ac_build_alias" = x &&
4335 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4336 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4337 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4341 $as_echo "$ac_cv_build" >&6; }
4342 case $ac_cv_build in
4343 *-*-*) ;;
4344 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4345 esac
4346 build=$ac_cv_build
4347 ac_save_IFS=$IFS; IFS='-'
4348 set x $ac_cv_build
4349 shift
4350 build_cpu=$1
4351 build_vendor=$2
4352 shift; shift
4353 # Remember, the first character of IFS is used to create $*,
4354 # except with old shells:
4355 build_os=$*
4356 IFS=$ac_save_IFS
4357 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4361 $as_echo_n "checking host system type... " >&6; }
4362 if ${ac_cv_host+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 if test "x$host_alias" = x; then
4366 ac_cv_host=$ac_cv_build
4367 else
4368 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4369 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4374 $as_echo "$ac_cv_host" >&6; }
4375 case $ac_cv_host in
4376 *-*-*) ;;
4377 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4378 esac
4379 host=$ac_cv_host
4380 ac_save_IFS=$IFS; IFS='-'
4381 set x $ac_cv_host
4382 shift
4383 host_cpu=$1
4384 host_vendor=$2
4385 shift; shift
4386 # Remember, the first character of IFS is used to create $*,
4387 # except with old shells:
4388 host_os=$*
4389 IFS=$ac_save_IFS
4390 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4396 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4397 set x ${MAKE-make}
4398 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4399 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 cat >conftest.make <<\_ACEOF
4403 SHELL = /bin/sh
4404 all:
4405 @echo '@@@%%%=$(MAKE)=@@@%%%'
4406 _ACEOF
4407 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4408 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4409 *@@@%%%=?*=@@@%%%*)
4410 eval ac_cv_prog_make_${ac_make}_set=yes;;
4412 eval ac_cv_prog_make_${ac_make}_set=no;;
4413 esac
4414 rm -f conftest.make
4416 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4418 $as_echo "yes" >&6; }
4419 SET_MAKE=
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4423 SET_MAKE="MAKE=${MAKE-make}"
4426 ac_ext=c
4427 ac_cpp='$CPP $CPPFLAGS'
4428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 if test -n "$ac_tool_prefix"; then
4432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4433 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_CC+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CC"; then
4440 ac_cv_prog_CC="$CC" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 CC=$ac_cv_prog_CC
4460 if test -n "$CC"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4462 $as_echo "$CC" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4470 if test -z "$ac_cv_prog_CC"; then
4471 ac_ct_CC=$CC
4472 # Extract the first word of "gcc", so it can be a program name with args.
4473 set dummy gcc; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 if test -n "$ac_ct_CC"; then
4480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4481 else
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 for as_dir in $PATH
4485 IFS=$as_save_IFS
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_ac_ct_CC="gcc"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4493 done
4494 done
4495 IFS=$as_save_IFS
4499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4500 if test -n "$ac_ct_CC"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4502 $as_echo "$ac_ct_CC" >&6; }
4503 else
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4508 if test "x$ac_ct_CC" = x; then
4509 CC=""
4510 else
4511 case $cross_compiling:$ac_tool_warned in
4512 yes:)
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4515 ac_tool_warned=yes ;;
4516 esac
4517 CC=$ac_ct_CC
4519 else
4520 CC="$ac_cv_prog_CC"
4523 if test -z "$CC"; then
4524 if test -n "$ac_tool_prefix"; then
4525 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4526 set dummy ${ac_tool_prefix}cc; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_CC+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 if test -n "$CC"; then
4533 ac_cv_prog_CC="$CC" # Let the user override the test.
4534 else
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 for as_dir in $PATH
4538 IFS=$as_save_IFS
4539 test -z "$as_dir" && as_dir=.
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_CC="${ac_tool_prefix}cc"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 break 2
4546 done
4547 done
4548 IFS=$as_save_IFS
4552 CC=$ac_cv_prog_CC
4553 if test -n "$CC"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4555 $as_echo "$CC" >&6; }
4556 else
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4564 if test -z "$CC"; then
4565 # Extract the first word of "cc", so it can be a program name with args.
4566 set dummy cc; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_CC+:} false; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 if test -n "$CC"; then
4573 ac_cv_prog_CC="$CC" # Let the user override the test.
4574 else
4575 ac_prog_rejected=no
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 for as_dir in $PATH
4579 IFS=$as_save_IFS
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4584 ac_prog_rejected=yes
4585 continue
4587 ac_cv_prog_CC="cc"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4595 if test $ac_prog_rejected = yes; then
4596 # We found a bogon in the path, so make sure we never use it.
4597 set dummy $ac_cv_prog_CC
4598 shift
4599 if test $# != 0; then
4600 # We chose a different compiler from the bogus one.
4601 # However, it has the same basename, so the bogon will be chosen
4602 # first if we set CC to just the basename; use the full file name.
4603 shift
4604 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4609 CC=$ac_cv_prog_CC
4610 if test -n "$CC"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4612 $as_echo "$CC" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4620 if test -z "$CC"; then
4621 if test -n "$ac_tool_prefix"; then
4622 for ac_prog in cl.exe
4624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if ${ac_cv_prog_CC+:} false; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 if test -n "$CC"; then
4632 ac_cv_prog_CC="$CC" # Let the user override the test.
4633 else
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH
4637 IFS=$as_save_IFS
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 break 2
4645 done
4646 done
4647 IFS=$as_save_IFS
4651 CC=$ac_cv_prog_CC
4652 if test -n "$CC"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4654 $as_echo "$CC" >&6; }
4655 else
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$CC" && break
4662 done
4664 if test -z "$CC"; then
4665 ac_ct_CC=$CC
4666 for ac_prog in cl.exe
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy $ac_prog; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 if test -n "$ac_ct_CC"; then
4676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4677 else
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4681 IFS=$as_save_IFS
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_CC="$ac_prog"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 break 2
4689 done
4690 done
4691 IFS=$as_save_IFS
4695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4696 if test -n "$ac_ct_CC"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4698 $as_echo "$ac_ct_CC" >&6; }
4699 else
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4705 test -n "$ac_ct_CC" && break
4706 done
4708 if test "x$ac_ct_CC" = x; then
4709 CC=""
4710 else
4711 case $cross_compiling:$ac_tool_warned in
4712 yes:)
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4716 esac
4717 CC=$ac_ct_CC
4724 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4726 as_fn_error $? "no acceptable C compiler found in \$PATH
4727 See \`config.log' for more details" "$LINENO" 5; }
4729 # Provide some information about the compiler.
4730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4731 set X $ac_compile
4732 ac_compiler=$2
4733 for ac_option in --version -v -V -qversion; do
4734 { { ac_try="$ac_compiler $ac_option >&5"
4735 case "(($ac_try" in
4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737 *) ac_try_echo=$ac_try;;
4738 esac
4739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4740 $as_echo "$ac_try_echo"; } >&5
4741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4742 ac_status=$?
4743 if test -s conftest.err; then
4744 sed '10a\
4745 ... rest of stderr output deleted ...
4746 10q' conftest.err >conftest.er1
4747 cat conftest.er1 >&5
4749 rm -f conftest.er1 conftest.err
4750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4751 test $ac_status = 0; }
4752 done
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4758 main ()
4762 return 0;
4764 _ACEOF
4765 ac_clean_files_save=$ac_clean_files
4766 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4767 # Try to create an executable without -o first, disregard a.out.
4768 # It will help us diagnose broken compilers, and finding out an intuition
4769 # of exeext.
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4771 $as_echo_n "checking whether the C compiler works... " >&6; }
4772 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4774 # The possible output files:
4775 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4777 ac_rmfiles=
4778 for ac_file in $ac_files
4780 case $ac_file in
4781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4782 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4783 esac
4784 done
4785 rm -f $ac_rmfiles
4787 if { { ac_try="$ac_link_default"
4788 case "(($ac_try" in
4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4791 esac
4792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4793 $as_echo "$ac_try_echo"; } >&5
4794 (eval "$ac_link_default") 2>&5
4795 ac_status=$?
4796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4797 test $ac_status = 0; }; then :
4798 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4799 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4800 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4801 # so that the user can short-circuit this test for compilers unknown to
4802 # Autoconf.
4803 for ac_file in $ac_files ''
4805 test -f "$ac_file" || continue
4806 case $ac_file in
4807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4809 [ab].out )
4810 # We found the default executable, but exeext='' is most
4811 # certainly right.
4812 break;;
4813 *.* )
4814 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4815 then :; else
4816 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4818 # We set ac_cv_exeext here because the later test for it is not
4819 # safe: cross compilers may not add the suffix if given an `-o'
4820 # argument, so we may need to know it at that point already.
4821 # Even if this section looks crufty: it has the advantage of
4822 # actually working.
4823 break;;
4825 break;;
4826 esac
4827 done
4828 test "$ac_cv_exeext" = no && ac_cv_exeext=
4830 else
4831 ac_file=''
4833 if test -z "$ac_file"; then :
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4836 $as_echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error 77 "C compiler cannot create executables
4842 See \`config.log' for more details" "$LINENO" 5; }
4843 else
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4845 $as_echo "yes" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4848 $as_echo_n "checking for C compiler default output file name... " >&6; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4850 $as_echo "$ac_file" >&6; }
4851 ac_exeext=$ac_cv_exeext
4853 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4854 ac_clean_files=$ac_clean_files_save
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4856 $as_echo_n "checking for suffix of executables... " >&6; }
4857 if { { ac_try="$ac_link"
4858 case "(($ac_try" in
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4861 esac
4862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4863 $as_echo "$ac_try_echo"; } >&5
4864 (eval "$ac_link") 2>&5
4865 ac_status=$?
4866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4867 test $ac_status = 0; }; then :
4868 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4869 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4870 # work properly (i.e., refer to `conftest.exe'), while it won't with
4871 # `rm'.
4872 for ac_file in conftest.exe conftest conftest.*; do
4873 test -f "$ac_file" || continue
4874 case $ac_file in
4875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4876 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4877 break;;
4878 * ) break;;
4879 esac
4880 done
4881 else
4882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4884 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4885 See \`config.log' for more details" "$LINENO" 5; }
4887 rm -f conftest conftest$ac_cv_exeext
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4889 $as_echo "$ac_cv_exeext" >&6; }
4891 rm -f conftest.$ac_ext
4892 EXEEXT=$ac_cv_exeext
4893 ac_exeext=$EXEEXT
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4896 #include <stdio.h>
4898 main ()
4900 FILE *f = fopen ("conftest.out", "w");
4901 return ferror (f) || fclose (f) != 0;
4904 return 0;
4906 _ACEOF
4907 ac_clean_files="$ac_clean_files conftest.out"
4908 # Check that the compiler produces executables we can run. If not, either
4909 # the compiler is broken, or we cross compile.
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4911 $as_echo_n "checking whether we are cross compiling... " >&6; }
4912 if test "$cross_compiling" != yes; then
4913 { { ac_try="$ac_link"
4914 case "(($ac_try" in
4915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916 *) ac_try_echo=$ac_try;;
4917 esac
4918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4919 $as_echo "$ac_try_echo"; } >&5
4920 (eval "$ac_link") 2>&5
4921 ac_status=$?
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 if { ac_try='./conftest$ac_cv_exeext'
4925 { { case "(($ac_try" in
4926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4928 esac
4929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4930 $as_echo "$ac_try_echo"; } >&5
4931 (eval "$ac_try") 2>&5
4932 ac_status=$?
4933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4934 test $ac_status = 0; }; }; then
4935 cross_compiling=no
4936 else
4937 if test "$cross_compiling" = maybe; then
4938 cross_compiling=yes
4939 else
4940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4942 as_fn_error $? "cannot run C compiled programs.
4943 If you meant to cross compile, use \`--host'.
4944 See \`config.log' for more details" "$LINENO" 5; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4949 $as_echo "$cross_compiling" >&6; }
4951 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4952 ac_clean_files=$ac_clean_files_save
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4954 $as_echo_n "checking for suffix of object files... " >&6; }
4955 if ${ac_cv_objext+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4962 main ()
4966 return 0;
4968 _ACEOF
4969 rm -f conftest.o conftest.obj
4970 if { { ac_try="$ac_compile"
4971 case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974 esac
4975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4976 $as_echo "$ac_try_echo"; } >&5
4977 (eval "$ac_compile") 2>&5
4978 ac_status=$?
4979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4980 test $ac_status = 0; }; then :
4981 for ac_file in conftest.o conftest.obj conftest.*; do
4982 test -f "$ac_file" || continue;
4983 case $ac_file in
4984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4986 break;;
4987 esac
4988 done
4989 else
4990 $as_echo "$as_me: failed program was:" >&5
4991 sed 's/^/| /' conftest.$ac_ext >&5
4993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4995 as_fn_error $? "cannot compute suffix of object files: cannot compile
4996 See \`config.log' for more details" "$LINENO" 5; }
4998 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5001 $as_echo "$ac_cv_objext" >&6; }
5002 OBJEXT=$ac_cv_objext
5003 ac_objext=$OBJEXT
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5005 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5006 if ${ac_cv_c_compiler_gnu+:} false; then :
5007 $as_echo_n "(cached) " >&6
5008 else
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5013 main ()
5015 #ifndef __GNUC__
5016 choke me
5017 #endif
5020 return 0;
5022 _ACEOF
5023 if ac_fn_c_try_compile "$LINENO"; then :
5024 ac_compiler_gnu=yes
5025 else
5026 ac_compiler_gnu=no
5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5029 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5033 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5034 if test $ac_compiler_gnu = yes; then
5035 GCC=yes
5036 else
5037 GCC=
5039 ac_test_CFLAGS=${CFLAGS+set}
5040 ac_save_CFLAGS=$CFLAGS
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5042 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5043 if ${ac_cv_prog_cc_g+:} false; then :
5044 $as_echo_n "(cached) " >&6
5045 else
5046 ac_save_c_werror_flag=$ac_c_werror_flag
5047 ac_c_werror_flag=yes
5048 ac_cv_prog_cc_g=no
5049 CFLAGS="-g"
5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5054 main ()
5058 return 0;
5060 _ACEOF
5061 if ac_fn_c_try_compile "$LINENO"; then :
5062 ac_cv_prog_cc_g=yes
5063 else
5064 CFLAGS=""
5065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5069 main ()
5073 return 0;
5075 _ACEOF
5076 if ac_fn_c_try_compile "$LINENO"; then :
5078 else
5079 ac_c_werror_flag=$ac_save_c_werror_flag
5080 CFLAGS="-g"
5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5085 main ()
5089 return 0;
5091 _ACEOF
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_prog_cc_g=yes
5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5100 ac_c_werror_flag=$ac_save_c_werror_flag
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5103 $as_echo "$ac_cv_prog_cc_g" >&6; }
5104 if test "$ac_test_CFLAGS" = set; then
5105 CFLAGS=$ac_save_CFLAGS
5106 elif test $ac_cv_prog_cc_g = yes; then
5107 if test "$GCC" = yes; then
5108 CFLAGS="-g -O2"
5109 else
5110 CFLAGS="-g"
5112 else
5113 if test "$GCC" = yes; then
5114 CFLAGS="-O2"
5115 else
5116 CFLAGS=
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5120 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5121 if ${ac_cv_prog_cc_c89+:} false; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 ac_cv_prog_cc_c89=no
5125 ac_save_CC=$CC
5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5128 #include <stdarg.h>
5129 #include <stdio.h>
5130 struct stat;
5131 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5132 struct buf { int x; };
5133 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5134 static char *e (p, i)
5135 char **p;
5136 int i;
5138 return p[i];
5140 static char *f (char * (*g) (char **, int), char **p, ...)
5142 char *s;
5143 va_list v;
5144 va_start (v,p);
5145 s = g (p, va_arg (v,int));
5146 va_end (v);
5147 return s;
5150 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5151 function prototypes and stuff, but not '\xHH' hex character constants.
5152 These don't provoke an error unfortunately, instead are silently treated
5153 as 'x'. The following induces an error, until -std is added to get
5154 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5155 array size at least. It's necessary to write '\x00'==0 to get something
5156 that's true only with -std. */
5157 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5159 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5160 inside strings and character constants. */
5161 #define FOO(x) 'x'
5162 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5164 int test (int i, double x);
5165 struct s1 {int (*f) (int a);};
5166 struct s2 {int (*f) (double a);};
5167 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5168 int argc;
5169 char **argv;
5171 main ()
5173 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5175 return 0;
5177 _ACEOF
5178 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5179 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5181 CC="$ac_save_CC $ac_arg"
5182 if ac_fn_c_try_compile "$LINENO"; then :
5183 ac_cv_prog_cc_c89=$ac_arg
5185 rm -f core conftest.err conftest.$ac_objext
5186 test "x$ac_cv_prog_cc_c89" != "xno" && break
5187 done
5188 rm -f conftest.$ac_ext
5189 CC=$ac_save_CC
5192 # AC_CACHE_VAL
5193 case "x$ac_cv_prog_cc_c89" in
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5196 $as_echo "none needed" >&6; } ;;
5197 xno)
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5199 $as_echo "unsupported" >&6; } ;;
5201 CC="$CC $ac_cv_prog_cc_c89"
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5203 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5204 esac
5205 if test "x$ac_cv_prog_cc_c89" != xno; then :
5209 ac_ext=c
5210 ac_cpp='$CPP $CPPFLAGS'
5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5215 ac_ext=cpp
5216 ac_cpp='$CXXCPP $CPPFLAGS'
5217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5220 if test -z "$CXX"; then
5221 if test -n "$CCC"; then
5222 CXX=$CCC
5223 else
5224 if test -n "$ac_tool_prefix"; then
5225 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_CXX+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$CXX"; then
5235 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 CXX=$ac_cv_prog_CXX
5255 if test -n "$CXX"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5257 $as_echo "$CXX" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$CXX" && break
5265 done
5267 if test -z "$CXX"; then
5268 ac_ct_CXX=$CXX
5269 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5271 # Extract the first word of "$ac_prog", so it can be a program name with args.
5272 set dummy $ac_prog; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5276 $as_echo_n "(cached) " >&6
5277 else
5278 if test -n "$ac_ct_CXX"; then
5279 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5280 else
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH
5284 IFS=$as_save_IFS
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5288 ac_cv_prog_ac_ct_CXX="$ac_prog"
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 break 2
5292 done
5293 done
5294 IFS=$as_save_IFS
5298 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5299 if test -n "$ac_ct_CXX"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5301 $as_echo "$ac_ct_CXX" >&6; }
5302 else
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5308 test -n "$ac_ct_CXX" && break
5309 done
5311 if test "x$ac_ct_CXX" = x; then
5312 CXX="g++"
5313 else
5314 case $cross_compiling:$ac_tool_warned in
5315 yes:)
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5318 ac_tool_warned=yes ;;
5319 esac
5320 CXX=$ac_ct_CXX
5326 # Provide some information about the compiler.
5327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5328 set X $ac_compile
5329 ac_compiler=$2
5330 for ac_option in --version -v -V -qversion; do
5331 { { ac_try="$ac_compiler $ac_option >&5"
5332 case "(($ac_try" in
5333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5335 esac
5336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5337 $as_echo "$ac_try_echo"; } >&5
5338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5339 ac_status=$?
5340 if test -s conftest.err; then
5341 sed '10a\
5342 ... rest of stderr output deleted ...
5343 10q' conftest.err >conftest.er1
5344 cat conftest.er1 >&5
5346 rm -f conftest.er1 conftest.err
5347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5348 test $ac_status = 0; }
5349 done
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5352 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5353 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5354 $as_echo_n "(cached) " >&6
5355 else
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5360 main ()
5362 #ifndef __GNUC__
5363 choke me
5364 #endif
5367 return 0;
5369 _ACEOF
5370 if ac_fn_cxx_try_compile "$LINENO"; then :
5371 ac_compiler_gnu=yes
5372 else
5373 ac_compiler_gnu=no
5375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5376 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5380 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5381 if test $ac_compiler_gnu = yes; then
5382 GXX=yes
5383 else
5384 GXX=
5386 ac_test_CXXFLAGS=${CXXFLAGS+set}
5387 ac_save_CXXFLAGS=$CXXFLAGS
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5389 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5390 if ${ac_cv_prog_cxx_g+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5394 ac_cxx_werror_flag=yes
5395 ac_cv_prog_cxx_g=no
5396 CXXFLAGS="-g"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main ()
5405 return 0;
5407 _ACEOF
5408 if ac_fn_cxx_try_compile "$LINENO"; then :
5409 ac_cv_prog_cxx_g=yes
5410 else
5411 CXXFLAGS=""
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5416 main ()
5420 return 0;
5422 _ACEOF
5423 if ac_fn_cxx_try_compile "$LINENO"; then :
5425 else
5426 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5427 CXXFLAGS="-g"
5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5432 main ()
5436 return 0;
5438 _ACEOF
5439 if ac_fn_cxx_try_compile "$LINENO"; then :
5440 ac_cv_prog_cxx_g=yes
5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5447 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5450 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5451 if test "$ac_test_CXXFLAGS" = set; then
5452 CXXFLAGS=$ac_save_CXXFLAGS
5453 elif test $ac_cv_prog_cxx_g = yes; then
5454 if test "$GXX" = yes; then
5455 CXXFLAGS="-g -O2"
5456 else
5457 CXXFLAGS="-g"
5459 else
5460 if test "$GXX" = yes; then
5461 CXXFLAGS="-O2"
5462 else
5463 CXXFLAGS=
5466 ac_ext=c
5467 ac_cpp='$CPP $CPPFLAGS'
5468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5472 if test -n "$ac_tool_prefix"; then
5473 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_CPPBIN+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$CPPBIN"; then
5481 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 CPPBIN=$ac_cv_prog_CPPBIN
5501 if test -n "$CPPBIN"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5503 $as_echo "$CPPBIN" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5511 if test -z "$ac_cv_prog_CPPBIN"; then
5512 ac_ct_CPPBIN=$CPPBIN
5513 # Extract the first word of "cpp", so it can be a program name with args.
5514 set dummy cpp; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if test -n "$ac_ct_CPPBIN"; then
5521 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526 IFS=$as_save_IFS
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_CPPBIN="cpp"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 break 2
5534 done
5535 done
5536 IFS=$as_save_IFS
5540 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5541 if test -n "$ac_ct_CPPBIN"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5543 $as_echo "$ac_ct_CPPBIN" >&6; }
5544 else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5549 if test "x$ac_ct_CPPBIN" = x; then
5550 CPPBIN="cpp"
5551 else
5552 case $cross_compiling:$ac_tool_warned in
5553 yes:)
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5557 esac
5558 CPPBIN=$ac_ct_CPPBIN
5560 else
5561 CPPBIN="$ac_cv_prog_CPPBIN"
5565 cat >>confdefs.h <<_ACEOF
5566 #define EXEEXT "$ac_exeext"
5567 _ACEOF
5569 if test -n "$ac_tool_prefix"; then
5570 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5571 set dummy ${ac_tool_prefix}ld; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_LD+:} false; then :
5575 $as_echo_n "(cached) " >&6
5576 else
5577 if test -n "$LD"; then
5578 ac_cv_prog_LD="$LD" # Let the user override the test.
5579 else
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH
5583 IFS=$as_save_IFS
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587 ac_cv_prog_LD="${ac_tool_prefix}ld"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 break 2
5591 done
5592 done
5593 IFS=$as_save_IFS
5597 LD=$ac_cv_prog_LD
5598 if test -n "$LD"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5600 $as_echo "$LD" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5608 if test -z "$ac_cv_prog_LD"; then
5609 ac_ct_LD=$LD
5610 # Extract the first word of "ld", so it can be a program name with args.
5611 set dummy ld; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$ac_ct_LD"; then
5618 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_ac_ct_LD="ld"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5638 if test -n "$ac_ct_LD"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5640 $as_echo "$ac_ct_LD" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5646 if test "x$ac_ct_LD" = x; then
5647 LD=""
5648 else
5649 case $cross_compiling:$ac_tool_warned in
5650 yes:)
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653 ac_tool_warned=yes ;;
5654 esac
5655 LD=$ac_ct_LD
5657 else
5658 LD="$ac_cv_prog_LD"
5662 case $host in
5663 *-darwin*)
5664 with_fontconfig=${with_fontconfig:-no}
5666 *-mingw32*|*-cygwin*)
5667 enable_win16=${enable_win16:-no}
5668 with_mingw=${with_mingw:-no}
5669 CFLAGS="$CFLAGS -D_WIN32"
5671 esac
5674 case $host in
5675 x86_64*|amd64*)
5676 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5677 then
5678 CC="$CC -m32"
5679 CXX="$CXX -m32"
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5682 $as_echo_n "checking whether $CC works... " >&6; }
5683 if ${wine_cv_cc_m32+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5690 main ()
5694 return 0;
5696 _ACEOF
5697 if ac_fn_c_try_link "$LINENO"; then :
5698 wine_cv_cc_m32=yes
5699 else
5700 wine_cv_cc_m32=no
5702 rm -f core conftest.err conftest.$ac_objext \
5703 conftest$ac_exeext conftest.$ac_ext
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5706 $as_echo "$wine_cv_cc_m32" >&6; }
5707 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
5708 host_cpu="i386"
5709 notice_platform="32-bit "
5710 TARGETFLAGS="$TARGETFLAGS -m32"
5711 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5712 export PKG_CONFIG_PATH
5713 enable_win16=${enable_win16:-yes}
5714 with_unwind=${with_unwind:-no}
5715 else
5716 if test "x${GCC}" = "xyes"
5717 then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5719 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5720 if ${wine_cv_builtin_ms_va_list+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5725 #include <stdarg.h>
5727 main ()
5729 void func(__builtin_ms_va_list *args);
5731 return 0;
5733 _ACEOF
5734 if ac_fn_c_try_compile "$LINENO"; then :
5735 wine_cv_builtin_ms_va_list=yes
5736 else
5737 wine_cv_builtin_ms_va_list=no
5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5742 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5743 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
5745 CC="$CC -m64"
5746 CXX="$CXX -m64"
5747 host_cpu="x86_64"
5748 notice_platform="64-bit "
5749 TARGETFLAGS="$TARGETFLAGS -m64"
5750 enable_wow64cpu=${enable_wow64cpu:-yes}
5753 arm*)
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5755 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5756 if ${wine_cv_thumb2+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5763 main ()
5765 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5767 return 0;
5769 _ACEOF
5770 if ac_fn_c_try_link "$LINENO"; then :
5771 wine_cv_thumb2=yes
5772 else
5773 wine_cv_thumb2=no
5775 rm -f core conftest.err conftest.$ac_objext \
5776 conftest$ac_exeext conftest.$ac_ext
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5779 $as_echo "$wine_cv_thumb2" >&6; }
5780 if test x"$wine_cv_thumb2" = xyes
5781 then
5782 CFLAGS="$CFLAGS -mthumb"
5783 TARGETFLAGS="$TARGETFLAGS -mthumb"
5784 else
5785 CFLAGS="$CFLAGS -marm"
5786 TARGETFLAGS="$TARGETFLAGS -marm"
5788 case $with_float_abi in
5789 soft|softfp|hard)
5790 float_abi=$with_float_abi ;;
5792 case $host_os in
5793 *eabihf)
5794 float_abi=hard ;;
5796 float_abi=softfp
5797 saved_CFLAGS=$CFLAGS
5798 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5800 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5801 if ${wine_cv_float_abi+:} false; then :
5802 $as_echo_n "(cached) " >&6
5803 else
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5808 main ()
5810 asm("vmrs r2,fpscr");
5812 return 0;
5814 _ACEOF
5815 if ac_fn_c_try_link "$LINENO"; then :
5816 wine_cv_float_abi=yes
5817 else
5818 wine_cv_float_abi=no
5820 rm -f core conftest.err conftest.$ac_objext \
5821 conftest$ac_exeext conftest.$ac_ext
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5824 $as_echo "$wine_cv_float_abi" >&6; }
5825 if test $wine_cv_float_abi = no
5826 then
5827 float_abi=soft
5828 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5830 CFLAGS=$saved_CFLAGS
5831 esac
5833 esac
5834 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5835 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5837 aarch64*)
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5839 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5840 if ${wine_cv_builtin_ms_va_list+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5845 #include <stdarg.h>
5847 main ()
5849 void func(__builtin_ms_va_list *args);
5851 return 0;
5853 _ACEOF
5854 if ac_fn_c_try_compile "$LINENO"; then :
5855 wine_cv_builtin_ms_va_list=yes
5856 else
5857 wine_cv_builtin_ms_va_list=no
5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5862 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5863 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5865 i[3456789]86*)
5866 enable_win16=${enable_win16:-yes}
5867 with_unwind=${with_unwind:-no}
5869 esac
5871 enable_win16=${enable_win16:-no}
5872 enable_win64=${enable_win64:-no}
5873 enable_wow64cpu=${enable_wow64cpu:-no}
5875 enable_winetest=${enable_winetest:-$enable_tests}
5877 if test "x$enable_win64" = "xyes"
5878 then
5879 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5880 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5883 case $host_cpu in
5884 *i[3456789]86*) ARCH="i386"
5886 *x86_64*) ARCH="x86_64"
5888 *aarch64*) ARCH="aarch64"
5890 *arm*) ARCH="arm"
5892 *) ARCH=""
5894 esac
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5897 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5898 if ${wine_cv_toolsdir+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 wine_cv_toolsdir="$with_wine_tools"
5902 if test -z "$with_wine_tools"; then
5903 if test "$cross_compiling" = "yes"; then
5904 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5905 elif test -n "$with_wine64"; then
5906 wine_cv_toolsdir="$with_wine64"
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5911 $as_echo "$wine_cv_toolsdir" >&6; }
5912 if test -z "$wine_cv_toolsdir"; then
5913 wine_makedep=tools/makedep
5914 TOOLSDIR="."
5916 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5917 wine_makedep=$wine_cv_toolsdir/tools/makedep
5918 TOOLSDIR=$wine_cv_toolsdir
5920 enable_tools=${enable_tools:-no}
5921 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5922 else
5923 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5925 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5926 then
5927 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5930 for ac_prog in flex
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy $ac_prog; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_FLEX+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 if test -n "$FLEX"; then
5940 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_FLEX="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5955 IFS=$as_save_IFS
5959 FLEX=$ac_cv_prog_FLEX
5960 if test -n "$FLEX"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5962 $as_echo "$FLEX" >&6; }
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$FLEX" && break
5970 done
5971 test -n "$FLEX" || FLEX="none"
5973 if test "$FLEX" = "none"
5974 then
5975 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5978 $as_echo_n "checking whether flex is recent enough... " >&6; }
5979 if ${wine_cv_recent_flex+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 cat >conftest.l <<EOF
5983 %top{
5984 #include "prediluvian.h"
5988 if $FLEX -t conftest.l >/dev/null 2>&5
5989 then
5990 wine_cv_recent_flex=yes
5991 else
5992 wine_cv_recent_flex=no
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5996 $as_echo "$wine_cv_recent_flex" >&6; }
5997 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
5999 for ac_prog in bison
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy $ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_BISON+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$BISON"; then
6009 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_BISON="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 BISON=$ac_cv_prog_BISON
6029 if test -n "$BISON"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6031 $as_echo "$BISON" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$BISON" && break
6039 done
6040 test -n "$BISON" || BISON="none"
6042 if test "$BISON" = "none"
6043 then
6044 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6047 $as_echo_n "checking whether bison is recent enough... " >&6; }
6048 if ${wine_cv_recent_bison+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 cat >conftest.y <<EOF
6052 %define parse.error verbose
6054 empty: ;
6056 if $BISON conftest.y >/dev/null 2>&5
6057 then
6058 wine_cv_recent_bison=yes
6059 else
6060 wine_cv_recent_bison=no
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6064 $as_echo "$wine_cv_recent_bison" >&6; }
6065 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
6067 if test -n "$ac_tool_prefix"; then
6068 for ac_prog in ar gar
6070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_AR+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$AR"; then
6078 ac_cv_prog_AR="$AR" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 AR=$ac_cv_prog_AR
6098 if test -n "$AR"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6100 $as_echo "$AR" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6107 test -n "$AR" && break
6108 done
6110 if test -z "$AR"; then
6111 ac_ct_AR=$AR
6112 for ac_prog in ar gar
6114 # Extract the first word of "$ac_prog", so it can be a program name with args.
6115 set dummy $ac_prog; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -n "$ac_ct_AR"; then
6122 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_AR="$ac_prog"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6142 if test -n "$ac_ct_AR"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6144 $as_echo "$ac_ct_AR" >&6; }
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6151 test -n "$ac_ct_AR" && break
6152 done
6154 if test "x$ac_ct_AR" = x; then
6155 AR="ar"
6156 else
6157 case $cross_compiling:$ac_tool_warned in
6158 yes:)
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6161 ac_tool_warned=yes ;;
6162 esac
6163 AR=$ac_ct_AR
6167 if test -n "$ac_tool_prefix"; then
6168 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6169 set dummy ${ac_tool_prefix}strip; ac_word=$2
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if ${ac_cv_prog_STRIP+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
6175 if test -n "$STRIP"; then
6176 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6177 else
6178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 for as_dir in $PATH
6181 IFS=$as_save_IFS
6182 test -z "$as_dir" && as_dir=.
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6185 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187 break 2
6189 done
6190 done
6191 IFS=$as_save_IFS
6195 STRIP=$ac_cv_prog_STRIP
6196 if test -n "$STRIP"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6198 $as_echo "$STRIP" >&6; }
6199 else
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6206 if test -z "$ac_cv_prog_STRIP"; then
6207 ac_ct_STRIP=$STRIP
6208 # Extract the first word of "strip", so it can be a program name with args.
6209 set dummy strip; ac_word=$2
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6211 $as_echo_n "checking for $ac_word... " >&6; }
6212 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if test -n "$ac_ct_STRIP"; then
6216 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6225 ac_cv_prog_ac_ct_STRIP="strip"
6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 break 2
6229 done
6230 done
6231 IFS=$as_save_IFS
6235 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6236 if test -n "$ac_ct_STRIP"; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6238 $as_echo "$ac_ct_STRIP" >&6; }
6239 else
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6241 $as_echo "no" >&6; }
6244 if test "x$ac_ct_STRIP" = x; then
6245 STRIP="strip"
6246 else
6247 case $cross_compiling:$ac_tool_warned in
6248 yes:)
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6251 ac_tool_warned=yes ;;
6252 esac
6253 STRIP=$ac_ct_STRIP
6255 else
6256 STRIP="$ac_cv_prog_STRIP"
6259 if test -n "$ac_tool_prefix"; then
6260 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6261 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if ${ac_cv_prog_RANLIB+:} false; then :
6265 $as_echo_n "(cached) " >&6
6266 else
6267 if test -n "$RANLIB"; then
6268 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6269 else
6270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 for as_dir in $PATH
6273 IFS=$as_save_IFS
6274 test -z "$as_dir" && as_dir=.
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6277 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 break 2
6281 done
6282 done
6283 IFS=$as_save_IFS
6287 RANLIB=$ac_cv_prog_RANLIB
6288 if test -n "$RANLIB"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6290 $as_echo "$RANLIB" >&6; }
6291 else
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6298 if test -z "$ac_cv_prog_RANLIB"; then
6299 ac_ct_RANLIB=$RANLIB
6300 # Extract the first word of "ranlib", so it can be a program name with args.
6301 set dummy ranlib; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 if test -n "$ac_ct_RANLIB"; then
6308 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_ac_ct_RANLIB="ranlib"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 break 2
6321 done
6322 done
6323 IFS=$as_save_IFS
6327 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6328 if test -n "$ac_ct_RANLIB"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6330 $as_echo "$ac_ct_RANLIB" >&6; }
6331 else
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6336 if test "x$ac_ct_RANLIB" = x; then
6337 RANLIB=":"
6338 else
6339 case $cross_compiling:$ac_tool_warned in
6340 yes:)
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6343 ac_tool_warned=yes ;;
6344 esac
6345 RANLIB=$ac_ct_RANLIB
6347 else
6348 RANLIB="$ac_cv_prog_RANLIB"
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6352 $as_echo_n "checking whether ln -s works... " >&6; }
6353 LN_S=$as_ln_s
6354 if test "$LN_S" = "ln -s"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6356 $as_echo "yes" >&6; }
6357 else
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6359 $as_echo "no, using $LN_S" >&6; }
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6363 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6364 if ${ac_cv_path_GREP+:} false; then :
6365 $as_echo_n "(cached) " >&6
6366 else
6367 if test -z "$GREP"; then
6368 ac_path_GREP_found=false
6369 # Loop through the user's path and test for each of PROGNAME-LIST
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6373 IFS=$as_save_IFS
6374 test -z "$as_dir" && as_dir=.
6375 for ac_prog in grep ggrep; do
6376 for ac_exec_ext in '' $ac_executable_extensions; do
6377 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6378 as_fn_executable_p "$ac_path_GREP" || continue
6379 # Check for GNU ac_path_GREP and select it if it is found.
6380 # Check for GNU $ac_path_GREP
6381 case `"$ac_path_GREP" --version 2>&1` in
6382 *GNU*)
6383 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6385 ac_count=0
6386 $as_echo_n 0123456789 >"conftest.in"
6387 while :
6389 cat "conftest.in" "conftest.in" >"conftest.tmp"
6390 mv "conftest.tmp" "conftest.in"
6391 cp "conftest.in" "conftest.nl"
6392 $as_echo 'GREP' >> "conftest.nl"
6393 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6395 as_fn_arith $ac_count + 1 && ac_count=$as_val
6396 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6397 # Best one so far, save it but keep looking for a better one
6398 ac_cv_path_GREP="$ac_path_GREP"
6399 ac_path_GREP_max=$ac_count
6401 # 10*(2^10) chars as input seems more than enough
6402 test $ac_count -gt 10 && break
6403 done
6404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6405 esac
6407 $ac_path_GREP_found && break 3
6408 done
6409 done
6410 done
6411 IFS=$as_save_IFS
6412 if test -z "$ac_cv_path_GREP"; then
6413 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6415 else
6416 ac_cv_path_GREP=$GREP
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6421 $as_echo "$ac_cv_path_GREP" >&6; }
6422 GREP="$ac_cv_path_GREP"
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6426 $as_echo_n "checking for egrep... " >&6; }
6427 if ${ac_cv_path_EGREP+:} false; then :
6428 $as_echo_n "(cached) " >&6
6429 else
6430 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6431 then ac_cv_path_EGREP="$GREP -E"
6432 else
6433 if test -z "$EGREP"; then
6434 ac_path_EGREP_found=false
6435 # Loop through the user's path and test for each of PROGNAME-LIST
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_prog in egrep; do
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6444 as_fn_executable_p "$ac_path_EGREP" || continue
6445 # Check for GNU ac_path_EGREP and select it if it is found.
6446 # Check for GNU $ac_path_EGREP
6447 case `"$ac_path_EGREP" --version 2>&1` in
6448 *GNU*)
6449 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6451 ac_count=0
6452 $as_echo_n 0123456789 >"conftest.in"
6453 while :
6455 cat "conftest.in" "conftest.in" >"conftest.tmp"
6456 mv "conftest.tmp" "conftest.in"
6457 cp "conftest.in" "conftest.nl"
6458 $as_echo 'EGREP' >> "conftest.nl"
6459 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6460 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6461 as_fn_arith $ac_count + 1 && ac_count=$as_val
6462 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6463 # Best one so far, save it but keep looking for a better one
6464 ac_cv_path_EGREP="$ac_path_EGREP"
6465 ac_path_EGREP_max=$ac_count
6467 # 10*(2^10) chars as input seems more than enough
6468 test $ac_count -gt 10 && break
6469 done
6470 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6471 esac
6473 $ac_path_EGREP_found && break 3
6474 done
6475 done
6476 done
6477 IFS=$as_save_IFS
6478 if test -z "$ac_cv_path_EGREP"; then
6479 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6481 else
6482 ac_cv_path_EGREP=$EGREP
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6488 $as_echo "$ac_cv_path_EGREP" >&6; }
6489 EGREP="$ac_cv_path_EGREP"
6492 # Extract the first word of "ldconfig", so it can be a program name with args.
6493 set dummy ldconfig; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if ${ac_cv_path_LDCONFIG+:} false; then :
6497 $as_echo_n "(cached) " >&6
6498 else
6499 case $LDCONFIG in
6500 [\\/]* | ?:[\\/]*)
6501 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 for as_dir in /sbin /usr/sbin $PATH
6507 IFS=$as_save_IFS
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 break 2
6515 done
6516 done
6517 IFS=$as_save_IFS
6519 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6521 esac
6523 LDCONFIG=$ac_cv_path_LDCONFIG
6524 if test -n "$LDCONFIG"; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6526 $as_echo "$LDCONFIG" >&6; }
6527 else
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
6533 for ac_prog in msgfmt
6535 # Extract the first word of "$ac_prog", so it can be a program name with args.
6536 set dummy $ac_prog; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_MSGFMT+:} false; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 if test -n "$MSGFMT"; then
6543 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6544 else
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH
6548 IFS=$as_save_IFS
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_MSGFMT="$ac_prog"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 break 2
6556 done
6557 done
6558 IFS=$as_save_IFS
6562 MSGFMT=$ac_cv_prog_MSGFMT
6563 if test -n "$MSGFMT"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6565 $as_echo "$MSGFMT" >&6; }
6566 else
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6572 test -n "$MSGFMT" && break
6573 done
6574 test -n "$MSGFMT" || MSGFMT="false"
6576 if ${ac_tool_prefix+:} false; then :
6577 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6578 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$PKG_CONFIG"; then
6585 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6605 if test -n "$PKG_CONFIG"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6607 $as_echo "$PKG_CONFIG" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6615 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6616 if test "x$cross_compiling" = xyes; then :
6618 else
6619 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6620 # Extract the first word of "pkg-config", so it can be a program name with args.
6621 set dummy pkg-config; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6625 $as_echo_n "(cached) " >&6
6626 else
6627 if test -n "$PKG_CONFIG"; then
6628 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6629 else
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $PATH
6633 IFS=$as_save_IFS
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_prog_PKG_CONFIG="pkg-config"
6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 break 2
6641 done
6642 done
6643 IFS=$as_save_IFS
6647 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6648 if test -n "$PKG_CONFIG"; then
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6650 $as_echo "$PKG_CONFIG" >&6; }
6651 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
6658 else
6659 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6662 if test "x$enable_maintainer_mode" != "xyes"
6663 then
6664 FONTFORGE=""
6665 RSVG=""
6666 CONVERT=""
6667 ICOTOOL=""
6668 else
6669 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6670 for ac_prog in fontforge
6672 # Extract the first word of "$ac_prog", so it can be a program name with args.
6673 set dummy $ac_prog; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_FONTFORGE+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 if test -n "$FONTFORGE"; then
6680 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6681 else
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 for as_dir in $PATH
6685 IFS=$as_save_IFS
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6689 ac_cv_prog_FONTFORGE="$ac_prog"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 break 2
6693 done
6694 done
6695 IFS=$as_save_IFS
6699 FONTFORGE=$ac_cv_prog_FONTFORGE
6700 if test -n "$FONTFORGE"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6702 $as_echo "$FONTFORGE" >&6; }
6703 else
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6709 test -n "$FONTFORGE" && break
6710 done
6711 test -n "$FONTFORGE" || FONTFORGE="false"
6713 for ac_prog in rsvg-convert rsvg
6715 # Extract the first word of "$ac_prog", so it can be a program name with args.
6716 set dummy $ac_prog; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_RSVG+:} false; then :
6720 $as_echo_n "(cached) " >&6
6721 else
6722 if test -n "$RSVG"; then
6723 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6728 IFS=$as_save_IFS
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_RSVG="$ac_prog"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 break 2
6736 done
6737 done
6738 IFS=$as_save_IFS
6742 RSVG=$ac_cv_prog_RSVG
6743 if test -n "$RSVG"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6745 $as_echo "$RSVG" >&6; }
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6752 test -n "$RSVG" && break
6753 done
6754 test -n "$RSVG" || RSVG="false"
6756 for ac_prog in convert
6758 # Extract the first word of "$ac_prog", so it can be a program name with args.
6759 set dummy $ac_prog; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if ${ac_cv_prog_CONVERT+:} false; then :
6763 $as_echo_n "(cached) " >&6
6764 else
6765 if test -n "$CONVERT"; then
6766 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6771 IFS=$as_save_IFS
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_CONVERT="$ac_prog"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 break 2
6779 done
6780 done
6781 IFS=$as_save_IFS
6785 CONVERT=$ac_cv_prog_CONVERT
6786 if test -n "$CONVERT"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6788 $as_echo "$CONVERT" >&6; }
6789 else
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6795 test -n "$CONVERT" && break
6796 done
6797 test -n "$CONVERT" || CONVERT="false"
6799 for ac_prog in icotool
6801 # Extract the first word of "$ac_prog", so it can be a program name with args.
6802 set dummy $ac_prog; ac_word=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6804 $as_echo_n "checking for $ac_word... " >&6; }
6805 if ${ac_cv_prog_ICOTOOL+:} false; then :
6806 $as_echo_n "(cached) " >&6
6807 else
6808 if test -n "$ICOTOOL"; then
6809 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6810 else
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 for as_dir in $PATH
6814 IFS=$as_save_IFS
6815 test -z "$as_dir" && as_dir=.
6816 for ac_exec_ext in '' $ac_executable_extensions; do
6817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6818 ac_cv_prog_ICOTOOL="$ac_prog"
6819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 break 2
6822 done
6823 done
6824 IFS=$as_save_IFS
6828 ICOTOOL=$ac_cv_prog_ICOTOOL
6829 if test -n "$ICOTOOL"; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6831 $as_echo "$ICOTOOL" >&6; }
6832 else
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834 $as_echo "no" >&6; }
6838 test -n "$ICOTOOL" && break
6839 done
6840 test -n "$ICOTOOL" || ICOTOOL="false"
6842 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6843 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6845 if test "$CONVERT" = false
6846 then
6847 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6848 else
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6850 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6851 convert_version=`convert --version | head -n1`
6852 if test "x$convert_version" != "x"
6853 then
6854 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6855 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6856 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6857 then
6858 CONVERT=false
6861 if test "$CONVERT" = false
6862 then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6864 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6865 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6866 else
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6868 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6872 if test "$ICOTOOL" = false
6873 then
6874 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6875 else
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6877 $as_echo_n "checking for recent enough icotool... " >&6; }
6878 icotool_version=`icotool --version | head -n1`
6879 if test "x$icotool_version" != "x"
6880 then
6881 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6882 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6883 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6884 then
6885 ICOTOOL=false
6886 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6889 if test "$ICOTOOL" = false
6890 then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6892 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6893 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6894 else
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6896 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6900 with_gettext=yes
6901 with_gettextpo=yes
6903 enable_werror=yes
6906 test "x$with_gettext" != xno || MSGFMT=false
6907 if test "$MSGFMT" != "false"
6908 then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6910 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6911 if ${wine_cv_msgfmt_contexts+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 cat >conftest.po <<EOF
6915 # comment
6916 msgctxt "ctxt"
6917 msgid "id"
6918 msgstr "str"
6920 if $MSGFMT -o /dev/null conftest.po 2>&5
6921 then
6922 wine_cv_msgfmt_contexts=yes
6923 else
6924 wine_cv_msgfmt_contexts=no
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6928 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6929 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6931 if test "$MSGFMT" = false; then :
6932 case "x$with_gettext" in
6933 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6934 xno) ;;
6935 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6936 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6937 esac
6938 enable_po=${enable_po:-no}
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6943 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6944 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 ac_check_lib_save_LIBS=$LIBS
6948 LIBS="-li386 $LIBS"
6949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h. */
6952 /* Override any GCC internal prototype to avoid an error.
6953 Use char because int might match the return type of a GCC
6954 builtin and then its argument prototype would still apply. */
6955 #ifdef __cplusplus
6956 extern "C"
6957 #endif
6958 char i386_set_ldt ();
6960 main ()
6962 return i386_set_ldt ();
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_link "$LINENO"; then :
6968 ac_cv_lib_i386_i386_set_ldt=yes
6969 else
6970 ac_cv_lib_i386_i386_set_ldt=no
6972 rm -f core conftest.err conftest.$ac_objext \
6973 conftest$ac_exeext conftest.$ac_ext
6974 LIBS=$ac_check_lib_save_LIBS
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6977 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6978 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6979 I386_LIBS="-li386"
6984 OPENGL_LIBS=""
6988 # Check whether --enable-largefile was given.
6989 if test "${enable_largefile+set}" = set; then :
6990 enableval=$enable_largefile;
6993 if test "$enable_largefile" != no; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6996 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6997 if ${ac_cv_sys_largefile_CC+:} false; then :
6998 $as_echo_n "(cached) " >&6
6999 else
7000 ac_cv_sys_largefile_CC=no
7001 if test "$GCC" != yes; then
7002 ac_save_CC=$CC
7003 while :; do
7004 # IRIX 6.2 and later do not support large files by default,
7005 # so use the C compiler's -n32 option if that helps.
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #include <sys/types.h>
7009 /* Check that off_t can represent 2**63 - 1 correctly.
7010 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7011 since some C++ compilers masquerading as C compilers
7012 incorrectly reject 9223372036854775807. */
7013 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7015 && LARGE_OFF_T % 2147483647 == 1)
7016 ? 1 : -1];
7018 main ()
7022 return 0;
7024 _ACEOF
7025 if ac_fn_c_try_compile "$LINENO"; then :
7026 break
7028 rm -f core conftest.err conftest.$ac_objext
7029 CC="$CC -n32"
7030 if ac_fn_c_try_compile "$LINENO"; then :
7031 ac_cv_sys_largefile_CC=' -n32'; break
7033 rm -f core conftest.err conftest.$ac_objext
7034 break
7035 done
7036 CC=$ac_save_CC
7037 rm -f conftest.$ac_ext
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7041 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7042 if test "$ac_cv_sys_largefile_CC" != no; then
7043 CC=$CC$ac_cv_sys_largefile_CC
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7047 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7048 if ${ac_cv_sys_file_offset_bits+:} false; then :
7049 $as_echo_n "(cached) " >&6
7050 else
7051 while :; do
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #include <sys/types.h>
7055 /* Check that off_t can represent 2**63 - 1 correctly.
7056 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7057 since some C++ compilers masquerading as C compilers
7058 incorrectly reject 9223372036854775807. */
7059 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7060 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7061 && LARGE_OFF_T % 2147483647 == 1)
7062 ? 1 : -1];
7064 main ()
7068 return 0;
7070 _ACEOF
7071 if ac_fn_c_try_compile "$LINENO"; then :
7072 ac_cv_sys_file_offset_bits=no; break
7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h. */
7077 #define _FILE_OFFSET_BITS 64
7078 #include <sys/types.h>
7079 /* Check that off_t can represent 2**63 - 1 correctly.
7080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7081 since some C++ compilers masquerading as C compilers
7082 incorrectly reject 9223372036854775807. */
7083 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7085 && LARGE_OFF_T % 2147483647 == 1)
7086 ? 1 : -1];
7088 main ()
7092 return 0;
7094 _ACEOF
7095 if ac_fn_c_try_compile "$LINENO"; then :
7096 ac_cv_sys_file_offset_bits=64; break
7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7099 ac_cv_sys_file_offset_bits=unknown
7100 break
7101 done
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7104 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7105 case $ac_cv_sys_file_offset_bits in #(
7106 no | unknown) ;;
7108 cat >>confdefs.h <<_ACEOF
7109 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7110 _ACEOF
7112 esac
7113 rm -rf conftest*
7114 if test $ac_cv_sys_file_offset_bits = unknown; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7116 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7117 if ${ac_cv_sys_large_files+:} false; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 while :; do
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <sys/types.h>
7124 /* Check that off_t can represent 2**63 - 1 correctly.
7125 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7126 since some C++ compilers masquerading as C compilers
7127 incorrectly reject 9223372036854775807. */
7128 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7130 && LARGE_OFF_T % 2147483647 == 1)
7131 ? 1 : -1];
7133 main ()
7137 return 0;
7139 _ACEOF
7140 if ac_fn_c_try_compile "$LINENO"; then :
7141 ac_cv_sys_large_files=no; break
7143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #define _LARGE_FILES 1
7147 #include <sys/types.h>
7148 /* Check that off_t can represent 2**63 - 1 correctly.
7149 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7150 since some C++ compilers masquerading as C compilers
7151 incorrectly reject 9223372036854775807. */
7152 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7153 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7154 && LARGE_OFF_T % 2147483647 == 1)
7155 ? 1 : -1];
7157 main ()
7161 return 0;
7163 _ACEOF
7164 if ac_fn_c_try_compile "$LINENO"; then :
7165 ac_cv_sys_large_files=1; break
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7168 ac_cv_sys_large_files=unknown
7169 break
7170 done
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7173 $as_echo "$ac_cv_sys_large_files" >&6; }
7174 case $ac_cv_sys_large_files in #(
7175 no | unknown) ;;
7177 cat >>confdefs.h <<_ACEOF
7178 #define _LARGE_FILES $ac_cv_sys_large_files
7179 _ACEOF
7181 esac
7182 rm -rf conftest*
7189 ac_ext=c
7190 ac_cpp='$CPP $CPPFLAGS'
7191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7195 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7196 # On Suns, sometimes $CPP names a directory.
7197 if test -n "$CPP" && test -d "$CPP"; then
7198 CPP=
7200 if test -z "$CPP"; then
7201 if ${ac_cv_prog_CPP+:} false; then :
7202 $as_echo_n "(cached) " >&6
7203 else
7204 # Double quotes because CPP needs to be expanded
7205 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7207 ac_preproc_ok=false
7208 for ac_c_preproc_warn_flag in '' yes
7210 # Use a header file that comes with gcc, so configuring glibc
7211 # with a fresh cross-compiler works.
7212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7213 # <limits.h> exists even on freestanding compilers.
7214 # On the NeXT, cc -E runs the code through the compiler's parser,
7215 # not just through cpp. "Syntax error" is here to catch this case.
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218 #ifdef __STDC__
7219 # include <limits.h>
7220 #else
7221 # include <assert.h>
7222 #endif
7223 Syntax error
7224 _ACEOF
7225 if ac_fn_c_try_cpp "$LINENO"; then :
7227 else
7228 # Broken: fails on valid input.
7229 continue
7231 rm -f conftest.err conftest.i conftest.$ac_ext
7233 # OK, works on sane cases. Now check whether nonexistent headers
7234 # can be detected and how.
7235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7237 #include <ac_nonexistent.h>
7238 _ACEOF
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7240 # Broken: success on invalid input.
7241 continue
7242 else
7243 # Passes both tests.
7244 ac_preproc_ok=:
7245 break
7247 rm -f conftest.err conftest.i conftest.$ac_ext
7249 done
7250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7251 rm -f conftest.i conftest.err conftest.$ac_ext
7252 if $ac_preproc_ok; then :
7253 break
7256 done
7257 ac_cv_prog_CPP=$CPP
7260 CPP=$ac_cv_prog_CPP
7261 else
7262 ac_cv_prog_CPP=$CPP
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7265 $as_echo "$CPP" >&6; }
7266 ac_preproc_ok=false
7267 for ac_c_preproc_warn_flag in '' yes
7269 # Use a header file that comes with gcc, so configuring glibc
7270 # with a fresh cross-compiler works.
7271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7272 # <limits.h> exists even on freestanding compilers.
7273 # On the NeXT, cc -E runs the code through the compiler's parser,
7274 # not just through cpp. "Syntax error" is here to catch this case.
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #ifdef __STDC__
7278 # include <limits.h>
7279 #else
7280 # include <assert.h>
7281 #endif
7282 Syntax error
7283 _ACEOF
7284 if ac_fn_c_try_cpp "$LINENO"; then :
7286 else
7287 # Broken: fails on valid input.
7288 continue
7290 rm -f conftest.err conftest.i conftest.$ac_ext
7292 # OK, works on sane cases. Now check whether nonexistent headers
7293 # can be detected and how.
7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h. */
7296 #include <ac_nonexistent.h>
7297 _ACEOF
7298 if ac_fn_c_try_cpp "$LINENO"; then :
7299 # Broken: success on invalid input.
7300 continue
7301 else
7302 # Passes both tests.
7303 ac_preproc_ok=:
7304 break
7306 rm -f conftest.err conftest.i conftest.$ac_ext
7308 done
7309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7310 rm -f conftest.i conftest.err conftest.$ac_ext
7311 if $ac_preproc_ok; then :
7313 else
7314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7316 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7317 See \`config.log' for more details" "$LINENO" 5; }
7320 ac_ext=c
7321 ac_cpp='$CPP $CPPFLAGS'
7322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7328 $as_echo_n "checking for ANSI C header files... " >&6; }
7329 if ${ac_cv_header_stdc+:} false; then :
7330 $as_echo_n "(cached) " >&6
7331 else
7332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7333 /* end confdefs.h. */
7334 #include <stdlib.h>
7335 #include <stdarg.h>
7336 #include <string.h>
7337 #include <float.h>
7340 main ()
7344 return 0;
7346 _ACEOF
7347 if ac_fn_c_try_compile "$LINENO"; then :
7348 ac_cv_header_stdc=yes
7349 else
7350 ac_cv_header_stdc=no
7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7354 if test $ac_cv_header_stdc = yes; then
7355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357 /* end confdefs.h. */
7358 #include <string.h>
7360 _ACEOF
7361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7362 $EGREP "memchr" >/dev/null 2>&1; then :
7364 else
7365 ac_cv_header_stdc=no
7367 rm -f conftest*
7371 if test $ac_cv_header_stdc = yes; then
7372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374 /* end confdefs.h. */
7375 #include <stdlib.h>
7377 _ACEOF
7378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7379 $EGREP "free" >/dev/null 2>&1; then :
7381 else
7382 ac_cv_header_stdc=no
7384 rm -f conftest*
7388 if test $ac_cv_header_stdc = yes; then
7389 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7390 if test "$cross_compiling" = yes; then :
7392 else
7393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7394 /* end confdefs.h. */
7395 #include <ctype.h>
7396 #include <stdlib.h>
7397 #if ((' ' & 0x0FF) == 0x020)
7398 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7399 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7400 #else
7401 # define ISLOWER(c) \
7402 (('a' <= (c) && (c) <= 'i') \
7403 || ('j' <= (c) && (c) <= 'r') \
7404 || ('s' <= (c) && (c) <= 'z'))
7405 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7406 #endif
7408 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7410 main ()
7412 int i;
7413 for (i = 0; i < 256; i++)
7414 if (XOR (islower (i), ISLOWER (i))
7415 || toupper (i) != TOUPPER (i))
7416 return 2;
7417 return 0;
7419 _ACEOF
7420 if ac_fn_c_try_run "$LINENO"; then :
7422 else
7423 ac_cv_header_stdc=no
7425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7426 conftest.$ac_objext conftest.beam conftest.$ac_ext
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7432 $as_echo "$ac_cv_header_stdc" >&6; }
7433 if test $ac_cv_header_stdc = yes; then
7435 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7439 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7440 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7441 inttypes.h stdint.h unistd.h
7442 do :
7443 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7444 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7446 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7447 cat >>confdefs.h <<_ACEOF
7448 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7449 _ACEOF
7453 done
7456 for ac_header in \
7457 AL/al.h \
7458 ApplicationServices/ApplicationServices.h \
7459 CL/cl.h \
7460 Carbon/Carbon.h \
7461 CommonCrypto/CommonCryptor.h \
7462 CoreAudio/CoreAudio.h \
7463 DiskArbitration/DiskArbitration.h \
7464 EGL/egl.h \
7465 IOKit/IOKitLib.h \
7466 IOKit/hid/IOHIDLib.h \
7467 OpenAL/al.h \
7468 OpenCL/opencl.h \
7469 QuickTime/ImageCompression.h \
7470 Security/Security.h \
7471 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7472 SystemConfiguration/SCNetworkConfiguration.h \
7473 alias.h \
7474 arpa/inet.h \
7475 arpa/nameser.h \
7476 asm/types.h \
7477 asm/user.h \
7478 dirent.h \
7479 dlfcn.h \
7480 elf.h \
7481 float.h \
7482 fnmatch.h \
7483 getopt.h \
7484 gettext-po.h \
7485 grp.h \
7486 gsm.h \
7487 gsm/gsm.h \
7488 ieeefp.h \
7489 inet/mib2.h \
7490 kstat.h \
7491 libproc.h \
7492 link.h \
7493 linux/cdrom.h \
7494 linux/filter.h \
7495 linux/hdreg.h \
7496 linux/hidraw.h \
7497 linux/input.h \
7498 linux/ioctl.h \
7499 linux/joystick.h \
7500 linux/major.h \
7501 linux/param.h \
7502 linux/serial.h \
7503 linux/types.h \
7504 linux/ucdrom.h \
7505 lwp.h \
7506 mach-o/loader.h \
7507 mach/mach.h \
7508 machine/cpu.h \
7509 machine/sysarch.h \
7510 mntent.h \
7511 netdb.h \
7512 netinet/in.h \
7513 netinet/in_systm.h \
7514 netinet/tcp.h \
7515 netinet/tcp_fsm.h \
7516 pcap/pcap.h \
7517 poll.h \
7518 port.h \
7519 pthread.h \
7520 pwd.h \
7521 sasl/sasl.h \
7522 sched.h \
7523 scsi/scsi.h \
7524 scsi/scsi_ioctl.h \
7525 scsi/sg.h \
7526 stdint.h \
7527 stropts.h \
7528 sys/attr.h \
7529 sys/auxv.h \
7530 sys/cdio.h \
7531 sys/epoll.h \
7532 sys/event.h \
7533 sys/filio.h \
7534 sys/ioctl.h \
7535 sys/ipc.h \
7536 sys/link.h \
7537 sys/mman.h \
7538 sys/modem.h \
7539 sys/msg.h \
7540 sys/mtio.h \
7541 sys/param.h \
7542 sys/poll.h \
7543 sys/prctl.h \
7544 sys/protosw.h \
7545 sys/ptrace.h \
7546 sys/queue.h \
7547 sys/random.h \
7548 sys/resource.h \
7549 sys/scsiio.h \
7550 sys/shm.h \
7551 sys/signal.h \
7552 sys/socket.h \
7553 sys/socketvar.h \
7554 sys/sockio.h \
7555 sys/statvfs.h \
7556 sys/strtio.h \
7557 sys/syscall.h \
7558 sys/sysinfo.h \
7559 sys/tihdr.h \
7560 sys/time.h \
7561 sys/timeout.h \
7562 sys/times.h \
7563 sys/uio.h \
7564 sys/user.h \
7565 sys/utsname.h \
7566 sys/vnode.h \
7567 sys/wait.h \
7568 syscall.h \
7569 termios.h \
7570 unistd.h \
7571 utime.h \
7572 valgrind/memcheck.h \
7573 valgrind/valgrind.h
7575 do :
7576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7577 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7578 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7579 cat >>confdefs.h <<_ACEOF
7580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7581 _ACEOF
7585 done
7587 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7588 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7590 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7595 if test $ac_cv_header_sys_mkdev_h = no; then
7596 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7597 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7599 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7606 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7607 if ${ac_cv_header_stat_broken+:} false; then :
7608 $as_echo_n "(cached) " >&6
7609 else
7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7612 #include <sys/types.h>
7613 #include <sys/stat.h>
7615 #if defined S_ISBLK && defined S_IFDIR
7616 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7617 #endif
7619 #if defined S_ISBLK && defined S_IFCHR
7620 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7621 #endif
7623 #if defined S_ISLNK && defined S_IFREG
7624 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7625 #endif
7627 #if defined S_ISSOCK && defined S_IFREG
7628 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7629 #endif
7631 _ACEOF
7632 if ac_fn_c_try_compile "$LINENO"; then :
7633 ac_cv_header_stat_broken=no
7634 else
7635 ac_cv_header_stat_broken=yes
7637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7640 $as_echo "$ac_cv_header_stat_broken" >&6; }
7641 if test $ac_cv_header_stat_broken = yes; then
7643 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7649 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7650 do :
7651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7653 #ifdef HAVE_SYS_PARAM_H
7654 # include <sys/param.h>
7655 #endif
7657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7660 _ACEOF
7664 done
7667 saved_sysctl_h_CFLAGS=$CFLAGS
7668 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7669 for ac_header in sys/sysctl.h
7670 do :
7671 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7672 #ifdef HAVE_SYS_PARAM_H
7673 # include <sys/param.h>
7674 #endif
7676 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7677 cat >>confdefs.h <<_ACEOF
7678 #define HAVE_SYS_SYSCTL_H 1
7679 _ACEOF
7683 done
7685 CFLAGS=$saved_sysctl_h_CFLAGS
7687 for ac_header in \
7688 netinet/ip.h \
7689 net/if.h \
7690 net/if_arp.h \
7691 net/if_dl.h \
7692 net/if_types.h \
7693 net/route.h \
7694 netinet/if_ether.h \
7695 netinet/if_inarp.h \
7696 netinet/in_pcb.h \
7697 netinet/ip_icmp.h \
7698 netinet/ip_var.h \
7699 netinet/udp.h \
7700 netipx/ipx.h \
7701 sys/un.h \
7703 do :
7704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7706 #ifdef HAVE_SYS_SOCKET_H
7707 # include <sys/socket.h>
7708 #endif
7709 #ifdef HAVE_SYS_SOCKETVAR_H
7710 # include <sys/socketvar.h>
7711 #endif
7712 #ifdef HAVE_NET_ROUTE_H
7713 # include <net/route.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IN_SYSTM_H
7719 # include <netinet/in_systm.h>
7720 #endif
7721 #ifdef HAVE_NET_IF_H
7722 # include <net/if.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IP_H
7725 # include <netinet/ip.h>
7726 #endif
7728 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7729 cat >>confdefs.h <<_ACEOF
7730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7731 _ACEOF
7735 done
7738 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7739 do :
7740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7741 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7742 #ifdef HAVE_ALIAS_H
7743 # include <alias.h>
7744 #endif
7745 #ifdef HAVE_SYS_SOCKET_H
7746 # include <sys/socket.h>
7747 #endif
7748 #ifdef HAVE_SYS_SOCKETVAR_H
7749 # include <sys/socketvar.h>
7750 #endif
7751 #ifdef HAVE_SYS_TIMEOUT_H
7752 # include <sys/timeout.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IN_H
7755 # include <netinet/in.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IN_SYSTM_H
7758 # include <netinet/in_systm.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IP_H
7761 # include <netinet/ip.h>
7762 #endif
7763 #ifdef HAVE_NETINET_IP_VAR_H
7764 # include <netinet/ip_var.h>
7765 #endif
7766 #ifdef HAVE_NETINET_IP_ICMP_H
7767 # include <netinet/ip_icmp.h>
7768 #endif
7769 #ifdef HAVE_NETINET_UDP_H
7770 # include <netinet/udp.h>
7771 #endif
7772 #ifdef HAVE_NETINET_TCP_H
7773 # include <netinet/tcp.h>
7774 #endif
7775 #ifdef HAVE_NETINET_TCP_TIMER_H
7776 #include <netinet/tcp_timer.h>
7777 #endif
7779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7782 _ACEOF
7786 done
7789 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7790 do :
7791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7792 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7793 #ifdef HAVE_ASM_TYPES_H
7794 # include <asm/types.h>
7795 #endif
7796 #ifdef HAVE_SYS_SOCKET_H
7797 # include <sys/socket.h>
7798 #endif
7799 #ifdef HAVE_LINUX_TYPES_H
7800 # include <linux/types.h>
7801 #endif
7803 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7804 cat >>confdefs.h <<_ACEOF
7805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7806 _ACEOF
7810 done
7813 for ac_header in resolv.h
7814 do :
7815 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7816 #ifdef HAVE_SYS_SOCKET_H
7817 # include <sys/socket.h>
7818 #endif
7819 #ifdef HAVE_NETINET_IN_H
7820 # include <netinet/in.h>
7821 #endif
7822 #ifdef HAVE_ARPA_NAMESER_H
7823 # include <arpa/nameser.h>
7824 #endif
7826 if test "x$ac_cv_header_resolv_h" = xyes; then :
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_RESOLV_H 1
7829 _ACEOF
7833 done
7836 for ac_header in ifaddrs.h
7837 do :
7838 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7840 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_IFADDRS_H 1
7843 _ACEOF
7847 done
7850 for ac_header in sys/ucontext.h
7851 do :
7852 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7854 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_SYS_UCONTEXT_H 1
7857 _ACEOF
7861 done
7864 for ac_header in sys/thr.h
7865 do :
7866 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7867 #ifdef HAVE_SYS_UCONTEXT_H
7868 #include <sys/ucontext.h>
7869 #endif
7871 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7872 cat >>confdefs.h <<_ACEOF
7873 #define HAVE_SYS_THR_H 1
7874 _ACEOF
7878 done
7881 for ac_header in pthread_np.h
7882 do :
7883 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7884 #include <pthread.h>
7885 #endif
7887 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_PTHREAD_NP_H 1
7890 _ACEOF
7894 done
7897 for ac_header in linux/videodev2.h
7898 do :
7899 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7900 #include <sys/time.h>
7901 #endif
7902 #include <sys/types.h>
7903 #ifdef HAVE_ASM_TYPES_H
7904 #include <asm/types.h>
7905 #endif
7907 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7908 cat >>confdefs.h <<_ACEOF
7909 #define HAVE_LINUX_VIDEODEV2_H 1
7910 _ACEOF
7914 done
7917 for ac_header in libprocstat.h
7918 do :
7919 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7920 #include <sys/param.h>
7921 #endif
7922 #ifdef HAVE_SYS_QUEUE_H
7923 #include <sys/queue.h>
7924 #endif
7925 #ifdef HAVE_SYS_SOCKET_H
7926 #include <sys/socket.h>
7927 #endif
7929 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7930 cat >>confdefs.h <<_ACEOF
7931 #define HAVE_LIBPROCSTAT_H 1
7932 _ACEOF
7936 done
7940 DLLFLAGS="-D_REENTRANT"
7942 LDDLLFLAGS=""
7944 LDEXECFLAGS=""
7946 TOP_INSTALL_LIB=""
7948 TOP_INSTALL_DEV=""
7950 WINELOADER_LDFLAGS=""
7952 WINEPRELOADER_LDFLAGS=""
7954 LIBEXT="so"
7955 DLLEXT=".so"
7956 # Extract the first word of "ldd", so it can be a program name with args.
7957 set dummy ldd; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_path_LDD+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 case $LDD in
7964 [\\/]* | ?:[\\/]*)
7965 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 as_dummy="/sbin:/usr/sbin:$PATH"
7970 for as_dir in $as_dummy
7972 IFS=$as_save_IFS
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 break 2
7980 done
7981 done
7982 IFS=$as_save_IFS
7984 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7986 esac
7988 LDD=$ac_cv_path_LDD
7989 if test -n "$LDD"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7991 $as_echo "$LDD" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7998 if test -n "$ac_tool_prefix"; then
7999 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8000 set dummy ${ac_tool_prefix}otool; ac_word=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if ${ac_cv_prog_OTOOL+:} false; then :
8004 $as_echo_n "(cached) " >&6
8005 else
8006 if test -n "$OTOOL"; then
8007 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8008 else
8009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8010 for as_dir in $PATH
8012 IFS=$as_save_IFS
8013 test -z "$as_dir" && as_dir=.
8014 for ac_exec_ext in '' $ac_executable_extensions; do
8015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 break 2
8020 done
8021 done
8022 IFS=$as_save_IFS
8026 OTOOL=$ac_cv_prog_OTOOL
8027 if test -n "$OTOOL"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8029 $as_echo "$OTOOL" >&6; }
8030 else
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8037 if test -z "$ac_cv_prog_OTOOL"; then
8038 ac_ct_OTOOL=$OTOOL
8039 # Extract the first word of "otool", so it can be a program name with args.
8040 set dummy otool; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 if test -n "$ac_ct_OTOOL"; then
8047 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8048 else
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 for as_dir in $PATH
8052 IFS=$as_save_IFS
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_ac_ct_OTOOL="otool"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 break 2
8060 done
8061 done
8062 IFS=$as_save_IFS
8066 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8067 if test -n "$ac_ct_OTOOL"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8069 $as_echo "$ac_ct_OTOOL" >&6; }
8070 else
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 $as_echo "no" >&6; }
8075 if test "x$ac_ct_OTOOL" = x; then
8076 OTOOL="otool"
8077 else
8078 case $cross_compiling:$ac_tool_warned in
8079 yes:)
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8082 ac_tool_warned=yes ;;
8083 esac
8084 OTOOL=$ac_ct_OTOOL
8086 else
8087 OTOOL="$ac_cv_prog_OTOOL"
8090 if test -n "$ac_tool_prefix"; then
8091 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8092 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8094 $as_echo_n "checking for $ac_word... " >&6; }
8095 if ${ac_cv_prog_READELF+:} false; then :
8096 $as_echo_n "(cached) " >&6
8097 else
8098 if test -n "$READELF"; then
8099 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8100 else
8101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102 for as_dir in $PATH
8104 IFS=$as_save_IFS
8105 test -z "$as_dir" && as_dir=.
8106 for ac_exec_ext in '' $ac_executable_extensions; do
8107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8108 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8110 break 2
8112 done
8113 done
8114 IFS=$as_save_IFS
8118 READELF=$ac_cv_prog_READELF
8119 if test -n "$READELF"; then
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8121 $as_echo "$READELF" >&6; }
8122 else
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8124 $as_echo "no" >&6; }
8129 if test -z "$ac_cv_prog_READELF"; then
8130 ac_ct_READELF=$READELF
8131 # Extract the first word of "readelf", so it can be a program name with args.
8132 set dummy readelf; ac_word=$2
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8134 $as_echo_n "checking for $ac_word... " >&6; }
8135 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 if test -n "$ac_ct_READELF"; then
8139 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8140 else
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8142 for as_dir in $PATH
8144 IFS=$as_save_IFS
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8148 ac_cv_prog_ac_ct_READELF="readelf"
8149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 break 2
8152 done
8153 done
8154 IFS=$as_save_IFS
8158 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8159 if test -n "$ac_ct_READELF"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8161 $as_echo "$ac_ct_READELF" >&6; }
8162 else
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8167 if test "x$ac_ct_READELF" = x; then
8168 READELF="true"
8169 else
8170 case $cross_compiling:$ac_tool_warned in
8171 yes:)
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8174 ac_tool_warned=yes ;;
8175 esac
8176 READELF=$ac_ct_READELF
8178 else
8179 READELF="$ac_cv_prog_READELF"
8182 wine_rules_file=conf$$rules.make
8183 rm -f $wine_rules_file
8184 SUBDIRS=""
8186 DISABLED_SUBDIRS=""
8188 CONFIGURE_TARGETS=""
8191 wine_fn_append_file ()
8193 as_fn_append $1 " \\$as_nl $2"
8196 wine_fn_append_rule ()
8198 $as_echo "$1" >>$wine_rules_file
8201 wine_fn_config_makefile ()
8203 wine_fn_append_file SUBDIRS $1
8204 if eval test \"x\$"$2"\" = x"no"; then :
8205 wine_fn_append_file DISABLED_SUBDIRS $1
8209 wine_fn_config_symlink ()
8211 ac_links=$@
8212 wine_fn_append_rule \
8213 "$ac_links:
8214 @./config.status \$@"
8215 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8218 wine_binary="wine"
8219 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8220 WINELOADER_PROGRAMS="$wine_binary"
8222 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8224 case $host_os in
8225 cygwin*|mingw32*)
8226 if test -n "$ac_tool_prefix"; then
8227 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8228 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230 $as_echo_n "checking for $ac_word... " >&6; }
8231 if ${ac_cv_prog_DLLTOOL+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 if test -n "$DLLTOOL"; then
8235 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8236 else
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 for as_dir in $PATH
8240 IFS=$as_save_IFS
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8244 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 break 2
8248 done
8249 done
8250 IFS=$as_save_IFS
8254 DLLTOOL=$ac_cv_prog_DLLTOOL
8255 if test -n "$DLLTOOL"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8257 $as_echo "$DLLTOOL" >&6; }
8258 else
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8265 if test -z "$ac_cv_prog_DLLTOOL"; then
8266 ac_ct_DLLTOOL=$DLLTOOL
8267 # Extract the first word of "dlltool", so it can be a program name with args.
8268 set dummy dlltool; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270 $as_echo_n "checking for $ac_word... " >&6; }
8271 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 if test -n "$ac_ct_DLLTOOL"; then
8275 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8276 else
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 for as_dir in $PATH
8280 IFS=$as_save_IFS
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 break 2
8288 done
8289 done
8290 IFS=$as_save_IFS
8294 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8295 if test -n "$ac_ct_DLLTOOL"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8297 $as_echo "$ac_ct_DLLTOOL" >&6; }
8298 else
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300 $as_echo "no" >&6; }
8303 if test "x$ac_ct_DLLTOOL" = x; then
8304 DLLTOOL="false"
8305 else
8306 case $cross_compiling:$ac_tool_warned in
8307 yes:)
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8310 ac_tool_warned=yes ;;
8311 esac
8312 DLLTOOL=$ac_ct_DLLTOOL
8314 else
8315 DLLTOOL="$ac_cv_prog_DLLTOOL"
8318 LIBEXT="dll"
8319 DLLEXT=""
8320 case $host_cpu in
8321 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8322 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8323 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_wine_try_cflags_saved=$CFLAGS
8327 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8330 int main(int argc, char **argv) { return 0; }
8331 _ACEOF
8332 if ac_fn_c_try_link "$LINENO"; then :
8333 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8334 else
8335 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8337 rm -f core conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 CFLAGS=$ac_wine_try_cflags_saved
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8342 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8343 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8344 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8345 fi ;;
8346 esac
8347 enable_iphlpapi=${enable_iphlpapi:-no}
8348 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8349 enable_ws2_32=${enable_ws2_32:-no}
8350 enable_loader=${enable_loader:-no}
8351 enable_server=${enable_server:-no}
8352 with_x=${with_x:-no}
8353 with_pthread=${with_pthread:-no}
8356 darwin*|macosx*)
8357 ac_ext=m
8358 ac_cpp='$OBJCPP $CPPFLAGS'
8359 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8360 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8361 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8363 ac_ext=m
8364 ac_cpp='$OBJCPP $CPPFLAGS'
8365 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8366 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8367 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8368 if test -n "$ac_tool_prefix"; then
8369 for ac_prog in gcc objcc objc cc CC
8371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if ${ac_cv_prog_OBJC+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 if test -n "$OBJC"; then
8379 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8380 else
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 for as_dir in $PATH
8384 IFS=$as_save_IFS
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 break 2
8392 done
8393 done
8394 IFS=$as_save_IFS
8398 OBJC=$ac_cv_prog_OBJC
8399 if test -n "$OBJC"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8401 $as_echo "$OBJC" >&6; }
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8408 test -n "$OBJC" && break
8409 done
8411 if test -z "$OBJC"; then
8412 ac_ct_OBJC=$OBJC
8413 for ac_prog in gcc objcc objc cc CC
8415 # Extract the first word of "$ac_prog", so it can be a program name with args.
8416 set dummy $ac_prog; ac_word=$2
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8418 $as_echo_n "checking for $ac_word... " >&6; }
8419 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 if test -n "$ac_ct_OBJC"; then
8423 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8424 else
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 for as_dir in $PATH
8428 IFS=$as_save_IFS
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8432 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 break 2
8436 done
8437 done
8438 IFS=$as_save_IFS
8442 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8443 if test -n "$ac_ct_OBJC"; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8445 $as_echo "$ac_ct_OBJC" >&6; }
8446 else
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448 $as_echo "no" >&6; }
8452 test -n "$ac_ct_OBJC" && break
8453 done
8455 if test "x$ac_ct_OBJC" = x; then
8456 OBJC="gcc"
8457 else
8458 case $cross_compiling:$ac_tool_warned in
8459 yes:)
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8462 ac_tool_warned=yes ;;
8463 esac
8464 OBJC=$ac_ct_OBJC
8468 # Provide some information about the compiler.
8469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8470 set X $ac_compile
8471 ac_compiler=$2
8472 for ac_option in --version -v -V -qversion; do
8473 { { ac_try="$ac_compiler $ac_option >&5"
8474 case "(($ac_try" in
8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8476 *) ac_try_echo=$ac_try;;
8477 esac
8478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8479 $as_echo "$ac_try_echo"; } >&5
8480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8481 ac_status=$?
8482 if test -s conftest.err; then
8483 sed '10a\
8484 ... rest of stderr output deleted ...
8485 10q' conftest.err >conftest.er1
8486 cat conftest.er1 >&5
8488 rm -f conftest.er1 conftest.err
8489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8490 test $ac_status = 0; }
8491 done
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8494 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8495 if ${ac_cv_objc_compiler_gnu+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8502 main ()
8504 #ifndef __GNUC__
8505 choke me
8506 #endif
8509 return 0;
8511 _ACEOF
8512 if ac_fn_objc_try_compile "$LINENO"; then :
8513 ac_compiler_gnu=yes
8514 else
8515 ac_compiler_gnu=no
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8522 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8523 if test $ac_compiler_gnu = yes; then
8524 GOBJC=yes
8525 else
8526 GOBJC=
8528 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8529 ac_save_OBJCFLAGS=$OBJCFLAGS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8531 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8532 if ${ac_cv_prog_objc_g+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 ac_save_objc_werror_flag=$ac_objc_werror_flag
8536 ac_objc_werror_flag=yes
8537 ac_cv_prog_objc_g=no
8538 OBJCFLAGS="-g"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_objc_try_compile "$LINENO"; then :
8551 ac_cv_prog_objc_g=yes
8552 else
8553 OBJCFLAGS=""
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8558 main ()
8562 return 0;
8564 _ACEOF
8565 if ac_fn_objc_try_compile "$LINENO"; then :
8567 else
8568 ac_objc_werror_flag=$ac_save_objc_werror_flag
8569 OBJCFLAGS="-g"
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8574 main ()
8578 return 0;
8580 _ACEOF
8581 if ac_fn_objc_try_compile "$LINENO"; then :
8582 ac_cv_prog_objc_g=yes
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589 ac_objc_werror_flag=$ac_save_objc_werror_flag
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8592 $as_echo "$ac_cv_prog_objc_g" >&6; }
8593 if test "$ac_test_OBJCFLAGS" = set; then
8594 OBJCFLAGS=$ac_save_OBJCFLAGS
8595 elif test $ac_cv_prog_objc_g = yes; then
8596 if test "$GOBJC" = yes; then
8597 OBJCFLAGS="-g -O2"
8598 else
8599 OBJCFLAGS="-g"
8601 else
8602 if test "$GOBJC" = yes; then
8603 OBJCFLAGS="-O2"
8604 else
8605 OBJCFLAGS=
8608 ac_ext=m
8609 ac_cpp='$OBJCPP $CPPFLAGS'
8610 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8615 ac_ext=m
8616 ac_cpp='$OBJCPP $CPPFLAGS'
8617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8621 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8622 if test -z "$OBJCPP"; then
8623 if ${ac_cv_prog_OBJCPP+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 # Double quotes because OBJCPP needs to be expanded
8627 for OBJCPP in "$OBJC -E" "/lib/cpp"
8629 ac_preproc_ok=false
8630 for ac_objc_preproc_warn_flag in '' yes
8632 # Use a header file that comes with gcc, so configuring glibc
8633 # with a fresh cross-compiler works.
8634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8635 # <limits.h> exists even on freestanding compilers.
8636 # On the NeXT, cc -E runs the code through the compiler's parser,
8637 # not just through cpp. "Syntax error" is here to catch this case.
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 #ifdef __STDC__
8641 # include <limits.h>
8642 #else
8643 # include <assert.h>
8644 #endif
8645 Syntax error
8646 _ACEOF
8647 if ac_fn_objc_try_cpp "$LINENO"; then :
8649 else
8650 # Broken: fails on valid input.
8651 continue
8653 rm -f conftest.err conftest.i conftest.$ac_ext
8655 # OK, works on sane cases. Now check whether nonexistent headers
8656 # can be detected and how.
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 #include <ac_nonexistent.h>
8660 _ACEOF
8661 if ac_fn_objc_try_cpp "$LINENO"; then :
8662 # Broken: success on invalid input.
8663 continue
8664 else
8665 # Passes both tests.
8666 ac_preproc_ok=:
8667 break
8669 rm -f conftest.err conftest.i conftest.$ac_ext
8671 done
8672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8673 rm -f conftest.i conftest.err conftest.$ac_ext
8674 if $ac_preproc_ok; then :
8675 break
8678 done
8679 ac_cv_prog_OBJCPP=$OBJCPP
8682 OBJCPP=$ac_cv_prog_OBJCPP
8683 else
8684 ac_cv_prog_OBJCPP=$OBJCPP
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8687 $as_echo "$OBJCPP" >&6; }
8688 ac_preproc_ok=false
8689 for ac_objc_preproc_warn_flag in '' yes
8691 # Use a header file that comes with gcc, so configuring glibc
8692 # with a fresh cross-compiler works.
8693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8694 # <limits.h> exists even on freestanding compilers.
8695 # On the NeXT, cc -E runs the code through the compiler's parser,
8696 # not just through cpp. "Syntax error" is here to catch this case.
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 #ifdef __STDC__
8700 # include <limits.h>
8701 #else
8702 # include <assert.h>
8703 #endif
8704 Syntax error
8705 _ACEOF
8706 if ac_fn_objc_try_cpp "$LINENO"; then :
8708 else
8709 # Broken: fails on valid input.
8710 continue
8712 rm -f conftest.err conftest.i conftest.$ac_ext
8714 # OK, works on sane cases. Now check whether nonexistent headers
8715 # can be detected and how.
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 #include <ac_nonexistent.h>
8719 _ACEOF
8720 if ac_fn_objc_try_cpp "$LINENO"; then :
8721 # Broken: success on invalid input.
8722 continue
8723 else
8724 # Passes both tests.
8725 ac_preproc_ok=:
8726 break
8728 rm -f conftest.err conftest.i conftest.$ac_ext
8730 done
8731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8732 rm -f conftest.i conftest.err conftest.$ac_ext
8733 if $ac_preproc_ok; then :
8735 else
8736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8738 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8739 See \`config.log' for more details" "$LINENO" 5; }
8742 ac_ext=m
8743 ac_cpp='$OBJCPP $CPPFLAGS'
8744 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8745 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8746 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8749 for ac_header in Metal/Metal.h
8750 do :
8751 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8752 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8753 cat >>confdefs.h <<_ACEOF
8754 #define HAVE_METAL_METAL_H 1
8755 _ACEOF
8759 done
8761 ac_ext=c
8762 ac_cpp='$CPP $CPPFLAGS'
8763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8767 LIBEXT="dylib"
8768 DLLFLAGS="$DLLFLAGS -fPIC"
8769 LDDLLFLAGS="-fPIC"
8770 COREFOUNDATION_LIBS="-framework CoreFoundation"
8772 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8774 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8776 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8778 CORESERVICES_LIBS="-framework CoreServices"
8780 APPKIT_LIBS="-framework AppKit"
8782 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8785 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8787 wine_can_build_preloader=yes
8788 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"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8790 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8791 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__Wl__no_new_main__e__main=yes
8802 else
8803 ac_cv_cflags__Wl__no_new_main__e__main=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8810 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8811 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8812 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8814 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8815 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 int main(int argc, char **argv) { return 0; }
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8826 else
8827 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8834 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8835 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8836 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8837 else
8838 { $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
8839 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8840 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8851 else
8852 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { $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
8859 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8860 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8861 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8862 else
8863 wine_can_build_preloader=no
8866 else
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8868 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8869 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8876 int main(int argc, char **argv) { return 0; }
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8879 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8880 else
8881 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8883 rm -f core conftest.err conftest.$ac_objext \
8884 conftest$ac_exeext conftest.$ac_ext
8885 CFLAGS=$ac_wine_try_cflags_saved
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8888 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8889 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8890 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8893 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8894 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8901 int main(int argc, char **argv) { return 0; }
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8905 else
8906 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8913 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8914 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8915 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8916 else
8917 wine_can_build_preloader=no
8921 if test "$wine_can_build_preloader" = "yes"
8922 then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8924 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8925 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8926 $as_echo_n "(cached) " >&6
8927 else
8928 ac_wine_try_cflags_saved=$CFLAGS
8929 CFLAGS="$CFLAGS -Wl,-no_pie"
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8932 int main(int argc, char **argv) { return 0; }
8933 _ACEOF
8934 if ac_fn_c_try_link "$LINENO"; then :
8935 ac_cv_cflags__Wl__no_pie=yes
8936 else
8937 ac_cv_cflags__Wl__no_pie=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 CFLAGS=$ac_wine_try_cflags_saved
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8944 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8945 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8946 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8948 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8949 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8950 else
8951 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8954 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8955 then
8956 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8959 if test "$ac_cv_header_Security_Security_h" = "yes"
8960 then
8961 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8963 ac_save_LIBS="$LIBS"
8964 LIBS="$LIBS $SECURITY_LIBS"
8965 for ac_func in SSLCopyPeerCertificates
8966 do :
8967 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8968 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8969 cat >>confdefs.h <<_ACEOF
8970 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8971 _ACEOF
8974 done
8976 LIBS="$ac_save_LIBS"
8978 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8979 then
8980 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8982 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8984 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8985 then
8986 OPENAL_LIBS="-framework OpenAL"
8989 cat >>confdefs.h <<_ACEOF
8990 #define HAVE_OPENAL 1
8991 _ACEOF
8993 ac_cv_lib_openal=yes
8995 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8996 then
8997 OPENCL_LIBS="-framework OpenCL"
8999 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9001 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9002 then
9003 ac_save_LIBS="$LIBS"
9004 LIBS="$LIBS $IOKIT_LIBS"
9005 for ac_func in IOHIDManagerCreate
9006 do :
9007 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9008 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9009 cat >>confdefs.h <<_ACEOF
9010 #define HAVE_IOHIDMANAGERCREATE 1
9011 _ACEOF
9014 done
9016 LIBS="$ac_save_LIBS"
9019 if test "x$with_quicktime" != "xno"
9020 then
9021 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9022 then
9023 ac_save_LIBS="$LIBS"
9024 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9026 $as_echo_n "checking for the QuickTime framework... " >&6; }
9027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9029 #include <QuickTime/ImageCompression.h>
9031 main ()
9033 CodecManagerVersion(NULL);
9035 return 0;
9037 _ACEOF
9038 if ac_fn_c_try_link "$LINENO"; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9040 $as_echo "yes" >&6; }
9041 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9043 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9044 else
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9046 $as_echo "no" >&6; }
9047 ac_cv_header_QuickTime_ImageCompression_h=no
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS="$ac_save_LIBS"
9054 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9055 case "x$with_quicktime" in
9056 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9057 xno) ;;
9058 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9059 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9060 esac
9064 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9065 then
9066 CARBON_LIBS="-framework Carbon"
9069 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9070 then
9071 METAL_LIBS="-framework Metal -framework QuartzCore"
9075 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9076 then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9078 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9079 ac_ext=m
9080 ac_cpp='$OBJCPP $CPPFLAGS'
9081 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9082 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9083 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 #include <Metal/Metal.h>
9089 main ()
9091 id<MTLDevice> device; device.registryID;
9093 return 0;
9095 _ACEOF
9096 if ac_fn_objc_try_compile "$LINENO"; then :
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9098 $as_echo "yes" >&6; }
9100 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9102 else
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9107 ac_ext=c
9108 ac_cpp='$CPP $CPPFLAGS'
9109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9115 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9116 then
9117 ac_save_LIBS="$LIBS"
9118 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9119 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9120 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9121 enable_winemac_drv=${enable_winemac_drv:-yes}
9124 LIBS="$ac_save_LIBS"
9127 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9129 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9131 WINELOADER_DEPENDS="wine_info.plist"
9133 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9136 linux-android*)
9137 DLLFLAGS="$DLLFLAGS -fPIC"
9138 LDDLLFLAGS="-fPIC"
9139 LDEXECFLAGS="-Wl,-pie"
9140 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9142 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9143 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_wine_try_cflags_saved=$CFLAGS
9147 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9150 int main(int argc, char **argv) { return 0; }
9151 _ACEOF
9152 if ac_fn_c_try_link "$LINENO"; then :
9153 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9154 else
9155 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9157 rm -f core conftest.err conftest.$ac_objext \
9158 conftest$ac_exeext conftest.$ac_ext
9159 CFLAGS=$ac_wine_try_cflags_saved
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9162 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9163 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9164 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9166 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9169 $as_echo_n "checking for -lEGL... " >&6; }
9170 if ${ac_cv_lib_soname_EGL+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_check_soname_save_LIBS=$LIBS
9174 LIBS="-lEGL $LIBS"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char eglGetProcAddress ();
9186 main ()
9188 return eglGetProcAddress ();
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 case "$LIBEXT" in
9195 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9196 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'` ;;
9197 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9198 if ${ac_cv_lib_soname_EGL:+false} :; then :
9199 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9200 fi ;;
9201 esac
9202 else
9203 ac_cv_lib_soname_EGL=
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_soname_save_LIBS
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9211 $as_echo "not found" >&6; }
9213 else
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9215 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9217 cat >>confdefs.h <<_ACEOF
9218 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9219 _ACEOF
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9224 $as_echo_n "checking for -lGLESv2... " >&6; }
9225 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_check_soname_save_LIBS=$LIBS
9229 LIBS="-lGLESv2 $LIBS"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9236 #ifdef __cplusplus
9237 extern "C"
9238 #endif
9239 char glFlush ();
9241 main ()
9243 return glFlush ();
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 case "$LIBEXT" in
9250 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9251 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'` ;;
9252 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9253 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9254 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9255 fi ;;
9256 esac
9257 else
9258 ac_cv_lib_soname_GLESv2=
9260 rm -f core conftest.err conftest.$ac_objext \
9261 conftest$ac_exeext conftest.$ac_ext
9262 LIBS=$ac_check_soname_save_LIBS
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9266 $as_echo "not found" >&6; }
9268 else
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9270 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9272 cat >>confdefs.h <<_ACEOF
9273 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9274 _ACEOF
9279 if test "x$exec_prefix" = xNONE
9280 then
9281 case $host_cpu in
9282 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9283 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9284 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9285 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9286 esac
9291 case $host_cpu in
9292 *i[3456789]86*)
9293 DLLFLAGS="$DLLFLAGS -fno-PIC"
9294 LDDLLFLAGS="-fno-PIC"
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9296 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9297 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_wine_try_cflags_saved=$CFLAGS
9301 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9304 int main(int argc, char **argv) { return 0; }
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9308 else
9309 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 CFLAGS=$ac_wine_try_cflags_saved
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9316 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9317 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9318 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9322 DLLFLAGS="$DLLFLAGS -fPIC"
9323 LDDLLFLAGS="-fPIC" ;;
9324 esac
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9326 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9327 if ${ac_cv_c_dll_gnuelf+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_wine_try_cflags_saved=$CFLAGS
9331 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9334 void myfunc() {}
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9338 else
9339 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 CFLAGS=$ac_wine_try_cflags_saved
9344 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9345 ac_cv_c_dll_gnuelf="yes"
9346 else
9347 ac_cv_c_dll_gnuelf="no"
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9351 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9352 if test "$ac_cv_c_dll_gnuelf" = "yes"
9353 then
9354 LIBWINE_LDFLAGS="-shared"
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9356 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9357 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_wine_try_cflags_saved=$CFLAGS
9361 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9364 int main(int argc, char **argv) { return 0; }
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9368 else
9369 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 CFLAGS=$ac_wine_try_cflags_saved
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9376 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9377 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9378 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9379 else
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9381 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9382 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_wine_try_cflags_saved=$CFLAGS
9386 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int main(int argc, char **argv) { return 0; }
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9393 else
9394 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 CFLAGS=$ac_wine_try_cflags_saved
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9401 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9402 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9403 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9407 echo '{ global: *; };' >conftest.map
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9409 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9410 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9421 else
9422 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 CFLAGS=$ac_wine_try_cflags_saved
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9429 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9430 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9431 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9433 rm -f conftest.map
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9436 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9437 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 ac_cv_cflags__Wl___export_dynamic=yes
9448 else
9449 ac_cv_cflags__Wl___export_dynamic=no
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9456 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9457 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9458 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9460 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9462 case $host_cpu in
9463 *i[3456789]86* | x86_64 | *aarch64*)
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9465 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9466 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_wine_try_cflags_saved=$CFLAGS
9470 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9473 int main(int argc, char **argv) { return 0; }
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9477 else
9478 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 CFLAGS=$ac_wine_try_cflags_saved
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9485 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9486 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9487 case $host_os in
9488 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9489 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9490 esac
9491 else
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9493 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9494 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_wine_try_cflags_saved=$CFLAGS
9498 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9501 int main(int argc, char **argv) { return 0; }
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9505 else
9506 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 CFLAGS=$ac_wine_try_cflags_saved
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9513 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9514 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9515 case $host_os in
9516 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9517 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9518 esac
9520 # Extract the first word of "prelink", so it can be a program name with args.
9521 set dummy prelink; ac_word=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9523 $as_echo_n "checking for $ac_word... " >&6; }
9524 if ${ac_cv_path_PRELINK+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 case $PRELINK in
9528 [\\/]* | ?:[\\/]*)
9529 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 for as_dir in /sbin /usr/sbin $PATH
9535 IFS=$as_save_IFS
9536 test -z "$as_dir" && as_dir=.
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9539 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9541 break 2
9543 done
9544 done
9545 IFS=$as_save_IFS
9547 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9549 esac
9551 PRELINK=$ac_cv_path_PRELINK
9552 if test -n "$PRELINK"; then
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9554 $as_echo "$PRELINK" >&6; }
9555 else
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9557 $as_echo "no" >&6; }
9561 if test "x$PRELINK" = xfalse
9562 then
9563 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9567 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9568 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_wine_try_cflags_saved=$CFLAGS
9572 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9575 int main(int argc, char **argv) { return 0; }
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9579 else
9580 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 CFLAGS=$ac_wine_try_cflags_saved
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9587 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9588 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9589 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9592 esac
9594 else
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9596 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9597 if ${ac_cv_c_dll_unixware+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_wine_try_cflags_saved=$CFLAGS
9601 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9604 void myfunc() {}
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9608 else
9609 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 CFLAGS=$ac_wine_try_cflags_saved
9614 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9615 ac_cv_c_dll_unixware="yes"
9616 else
9617 ac_cv_c_dll_unixware="no"
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9621 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9622 if test "$ac_cv_c_dll_unixware" = "yes"
9623 then
9624 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9627 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9629 LIBWINE_DEPENDS="wine.map"
9631 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9633 esac
9635 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9636 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9637 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9638 enable_winemac_drv=${enable_winemac_drv:-no}
9639 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9642 if test "x$with_mingw" != xno
9643 then
9644 case "x$with_mingw" in
9645 x|xyes) case "$host_cpu" in
9646 aarch64*)
9647 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9648 arm*)
9649 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9650 i[3456789]86*)
9651 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
9652 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9653 mingw32-gcc clang" ;;
9654 x86_64)
9655 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
9656 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9658 ac_prefix_list="" ;;
9659 esac
9660 for ac_prog in $ac_prefix_list
9662 # Extract the first word of "$ac_prog", so it can be a program name with args.
9663 set dummy $ac_prog; ac_word=$2
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9665 $as_echo_n "checking for $ac_word... " >&6; }
9666 if ${ac_cv_prog_CROSSCC+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 if test -n "$CROSSCC"; then
9670 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9671 else
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9673 for as_dir in $PATH
9675 IFS=$as_save_IFS
9676 test -z "$as_dir" && as_dir=.
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_CROSSCC="$ac_prog"
9680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9681 break 2
9683 done
9684 done
9685 IFS=$as_save_IFS
9689 CROSSCC=$ac_cv_prog_CROSSCC
9690 if test -n "$CROSSCC"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9692 $as_echo "$CROSSCC" >&6; }
9693 else
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 $as_echo "no" >&6; }
9699 test -n "$CROSSCC" && break
9700 done
9701 test -n "$CROSSCC" || CROSSCC="false"
9703 *) CROSSCC=$with_mingw ;;
9704 esac
9705 if test "$CROSSCC" != "false"
9706 then
9707 ac_save_CC="$CC"
9708 saved_CFLAGS=$CFLAGS
9709 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9711 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9715 CC="$CROSSCC"
9716 CFLAGS=$CROSSCFLAGS
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9718 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9719 if ${wine_cv_crosscc+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9726 main ()
9730 return 0;
9732 _ACEOF
9733 if ac_fn_c_try_compile "$LINENO"; then :
9734 wine_cv_crosscc=yes
9735 else
9736 wine_cv_crosscc=no
9738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9741 $as_echo "$wine_cv_crosscc" >&6; }
9742 if test $wine_cv_crosscc = yes
9743 then
9744 set x $CROSSCC
9745 shift
9746 while test $# -ge 1
9748 case "$1" in
9749 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9750 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9751 esac
9752 shift
9753 done
9755 llvm_target=$CROSSTARGET
9756 llvm_cflags="-fuse-ld=lld"
9757 if test -z "$llvm_target"
9758 then
9759 case $host_cpu in
9760 *i[3456789]86*) llvm_target=i686-windows ;;
9761 *) llvm_target=$host_cpu-windows ;;
9762 esac
9764 case $llvm_target in
9765 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9766 esac
9767 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9769 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9770 if eval \${$as_ac_var+:} false; then :
9771 $as_echo_n "(cached) " >&6
9772 else
9773 ac_wine_try_cflags_saved=$CFLAGS
9774 ac_wine_try_cflags_saved_cc=$CC
9775 ac_wine_try_cflags_saved_exeext=$ac_exeext
9776 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9777 CC="$CROSSCC"
9778 ac_exeext=".exe"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9781 int __cdecl mainCRTStartup(void) { return 0; }
9782 _ACEOF
9783 if ac_fn_c_try_link "$LINENO"; then :
9784 eval "$as_ac_var=yes"
9785 else
9786 eval "$as_ac_var=no"
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 CFLAGS=$ac_wine_try_cflags_saved
9791 CC=$ac_wine_try_cflags_saved_cc
9792 ac_exeext=$ac_wine_try_cflags_saved_exeext
9794 eval ac_res=\$$as_ac_var
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9796 $as_echo "$ac_res" >&6; }
9797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9798 CROSSTARGET=$llvm_target
9799 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9800 DELAYLOADFLAG="-Wl,-delayload,"
9802 CFLAGS="$CFLAGS $llvm_cflags"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9806 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9807 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_wine_try_cflags_saved=$CFLAGS
9811 ac_wine_try_cflags_saved_cc=$CC
9812 ac_wine_try_cflags_saved_exeext=$ac_exeext
9813 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9814 CC="$CROSSCC"
9815 ac_exeext=".exe"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9818 int __cdecl mainCRTStartup(void) { return 0; }
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"; then :
9821 ac_cv_crosscflags__fno_strict_aliasing=yes
9822 else
9823 ac_cv_crosscflags__fno_strict_aliasing=no
9825 rm -f core conftest.err conftest.$ac_objext \
9826 conftest$ac_exeext conftest.$ac_ext
9827 CFLAGS=$ac_wine_try_cflags_saved
9828 CC=$ac_wine_try_cflags_saved_cc
9829 ac_exeext=$ac_wine_try_cflags_saved_exeext
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9832 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9833 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9834 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9837 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9838 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_wine_try_cflags_saved=$CFLAGS
9842 ac_wine_try_cflags_saved_cc=$CC
9843 ac_wine_try_cflags_saved_exeext=$ac_exeext
9844 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9845 CC="$CROSSCC"
9846 ac_exeext=".exe"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9849 int __cdecl mainCRTStartup(void) { return 0; }
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"; then :
9852 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9853 else
9854 ac_cv_crosscflags__Werror_unknown_warning_option=no
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 CFLAGS=$ac_wine_try_cflags_saved
9859 CC=$ac_wine_try_cflags_saved_cc
9860 ac_exeext=$ac_wine_try_cflags_saved_exeext
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9863 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9864 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9865 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9868 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9869 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_wine_try_cflags_saved=$CFLAGS
9873 ac_wine_try_cflags_saved_cc=$CC
9874 ac_wine_try_cflags_saved_exeext=$ac_exeext
9875 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9876 CC="$CROSSCC"
9877 ac_exeext=".exe"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int __cdecl mainCRTStartup(void) { return 0; }
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9884 else
9885 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 CFLAGS=$ac_wine_try_cflags_saved
9890 CC=$ac_wine_try_cflags_saved_cc
9891 ac_exeext=$ac_wine_try_cflags_saved_exeext
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9894 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9895 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9896 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9899 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9900 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 ac_wine_try_cflags_saved=$CFLAGS
9904 ac_wine_try_cflags_saved_cc=$CC
9905 ac_wine_try_cflags_saved_exeext=$ac_exeext
9906 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9907 CC="$CROSSCC"
9908 ac_exeext=".exe"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 int __cdecl mainCRTStartup(void) { return 0; }
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9915 else
9916 ac_cv_crosscflags__Wdeclaration_after_statement=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 CFLAGS=$ac_wine_try_cflags_saved
9921 CC=$ac_wine_try_cflags_saved_cc
9922 ac_exeext=$ac_wine_try_cflags_saved_exeext
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9925 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9926 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9927 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9930 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9931 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_wine_try_cflags_saved=$CFLAGS
9935 ac_wine_try_cflags_saved_cc=$CC
9936 ac_wine_try_cflags_saved_exeext=$ac_exeext
9937 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9938 CC="$CROSSCC"
9939 ac_exeext=".exe"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 int __cdecl mainCRTStartup(void) { return 0; }
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 ac_cv_crosscflags__Wempty_body=yes
9946 else
9947 ac_cv_crosscflags__Wempty_body=no
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 CFLAGS=$ac_wine_try_cflags_saved
9952 CC=$ac_wine_try_cflags_saved_cc
9953 ac_exeext=$ac_wine_try_cflags_saved_exeext
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9956 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9957 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9958 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9961 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9962 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9963 $as_echo_n "(cached) " >&6
9964 else
9965 ac_wine_try_cflags_saved=$CFLAGS
9966 ac_wine_try_cflags_saved_cc=$CC
9967 ac_wine_try_cflags_saved_exeext=$ac_exeext
9968 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9969 CC="$CROSSCC"
9970 ac_exeext=".exe"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int __cdecl mainCRTStartup(void) { return 0; }
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 ac_cv_crosscflags__Wignored_qualifiers=yes
9977 else
9978 ac_cv_crosscflags__Wignored_qualifiers=no
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9983 CC=$ac_wine_try_cflags_saved_cc
9984 ac_exeext=$ac_wine_try_cflags_saved_exeext
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9987 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9988 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9989 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9992 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9993 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9994 $as_echo_n "(cached) " >&6
9995 else
9996 ac_wine_try_cflags_saved=$CFLAGS
9997 ac_wine_try_cflags_saved_cc=$CC
9998 ac_wine_try_cflags_saved_exeext=$ac_exeext
9999 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10000 CC="$CROSSCC"
10001 ac_exeext=".exe"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10004 int __cdecl mainCRTStartup(void) { return 0; }
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 ac_cv_crosscflags__Winit_self=yes
10008 else
10009 ac_cv_crosscflags__Winit_self=no
10011 rm -f core conftest.err conftest.$ac_objext \
10012 conftest$ac_exeext conftest.$ac_ext
10013 CFLAGS=$ac_wine_try_cflags_saved
10014 CC=$ac_wine_try_cflags_saved_cc
10015 ac_exeext=$ac_wine_try_cflags_saved_exeext
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10018 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10019 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10020 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10023 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10024 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_wine_try_cflags_saved=$CFLAGS
10028 ac_wine_try_cflags_saved_cc=$CC
10029 ac_wine_try_cflags_saved_exeext=$ac_exeext
10030 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10031 CC="$CROSSCC"
10032 ac_exeext=".exe"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10035 int __cdecl mainCRTStartup(void) { return 0; }
10036 _ACEOF
10037 if ac_fn_c_try_link "$LINENO"; then :
10038 ac_cv_crosscflags__Wpacked_not_aligned=yes
10039 else
10040 ac_cv_crosscflags__Wpacked_not_aligned=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 CFLAGS=$ac_wine_try_cflags_saved
10045 CC=$ac_wine_try_cflags_saved_cc
10046 ac_exeext=$ac_wine_try_cflags_saved_exeext
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10049 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10050 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10051 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10054 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10055 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_wine_try_cflags_saved=$CFLAGS
10059 ac_wine_try_cflags_saved_cc=$CC
10060 ac_wine_try_cflags_saved_exeext=$ac_exeext
10061 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10062 CC="$CROSSCC"
10063 ac_exeext=".exe"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 int __cdecl mainCRTStartup(void) { return 0; }
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069 ac_cv_crosscflags__Wpragma_pack=yes
10070 else
10071 ac_cv_crosscflags__Wpragma_pack=no
10073 rm -f core conftest.err conftest.$ac_objext \
10074 conftest$ac_exeext conftest.$ac_ext
10075 CFLAGS=$ac_wine_try_cflags_saved
10076 CC=$ac_wine_try_cflags_saved_cc
10077 ac_exeext=$ac_wine_try_cflags_saved_exeext
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10080 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10081 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10082 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10085 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10086 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_wine_try_cflags_saved=$CFLAGS
10090 ac_wine_try_cflags_saved_cc=$CC
10091 ac_wine_try_cflags_saved_exeext=$ac_exeext
10092 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10093 CC="$CROSSCC"
10094 ac_exeext=".exe"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10097 int __cdecl mainCRTStartup(void) { return 0; }
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 ac_cv_crosscflags__Wshift_overflow_2=yes
10101 else
10102 ac_cv_crosscflags__Wshift_overflow_2=no
10104 rm -f core conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 CFLAGS=$ac_wine_try_cflags_saved
10107 CC=$ac_wine_try_cflags_saved_cc
10108 ac_exeext=$ac_wine_try_cflags_saved_exeext
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10111 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10112 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10113 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10116 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10117 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10118 $as_echo_n "(cached) " >&6
10119 else
10120 ac_wine_try_cflags_saved=$CFLAGS
10121 ac_wine_try_cflags_saved_cc=$CC
10122 ac_wine_try_cflags_saved_exeext=$ac_exeext
10123 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10124 CC="$CROSSCC"
10125 ac_exeext=".exe"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 int __cdecl mainCRTStartup(void) { return 0; }
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 ac_cv_crosscflags__Wstrict_prototypes=yes
10132 else
10133 ac_cv_crosscflags__Wstrict_prototypes=no
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 CFLAGS=$ac_wine_try_cflags_saved
10138 CC=$ac_wine_try_cflags_saved_cc
10139 ac_exeext=$ac_wine_try_cflags_saved_exeext
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10142 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10143 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10144 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10147 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10148 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_wine_try_cflags_saved=$CFLAGS
10152 ac_wine_try_cflags_saved_cc=$CC
10153 ac_wine_try_cflags_saved_exeext=$ac_exeext
10154 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10155 CC="$CROSSCC"
10156 ac_exeext=".exe"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 int __cdecl mainCRTStartup(void) { return 0; }
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 ac_cv_crosscflags__Wtype_limits=yes
10163 else
10164 ac_cv_crosscflags__Wtype_limits=no
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 CFLAGS=$ac_wine_try_cflags_saved
10169 CC=$ac_wine_try_cflags_saved_cc
10170 ac_exeext=$ac_wine_try_cflags_saved_exeext
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10173 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10174 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10175 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10178 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10179 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10180 $as_echo_n "(cached) " >&6
10181 else
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 ac_wine_try_cflags_saved_cc=$CC
10184 ac_wine_try_cflags_saved_exeext=$ac_exeext
10185 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10186 CC="$CROSSCC"
10187 ac_exeext=".exe"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 int __cdecl mainCRTStartup(void) { return 0; }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10194 else
10195 ac_cv_crosscflags__Wunused_but_set_parameter=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 CFLAGS=$ac_wine_try_cflags_saved
10200 CC=$ac_wine_try_cflags_saved_cc
10201 ac_exeext=$ac_wine_try_cflags_saved_exeext
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10204 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10205 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10206 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10209 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10210 if ${ac_cv_crosscflags__Wvla+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 ac_wine_try_cflags_saved_cc=$CC
10215 ac_wine_try_cflags_saved_exeext=$ac_exeext
10216 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10217 CC="$CROSSCC"
10218 ac_exeext=".exe"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 int __cdecl mainCRTStartup(void) { return 0; }
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 ac_cv_crosscflags__Wvla=yes
10225 else
10226 ac_cv_crosscflags__Wvla=no
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 CFLAGS=$ac_wine_try_cflags_saved
10231 CC=$ac_wine_try_cflags_saved_cc
10232 ac_exeext=$ac_wine_try_cflags_saved_exeext
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10235 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10236 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10237 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10240 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10241 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 ac_wine_try_cflags_saved_cc=$CC
10246 ac_wine_try_cflags_saved_exeext=$ac_exeext
10247 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10248 CC="$CROSSCC"
10249 ac_exeext=".exe"
10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10252 int __cdecl mainCRTStartup(void) { return 0; }
10253 _ACEOF
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 ac_cv_crosscflags__Wwrite_strings=yes
10256 else
10257 ac_cv_crosscflags__Wwrite_strings=no
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 CFLAGS=$ac_wine_try_cflags_saved
10262 CC=$ac_wine_try_cflags_saved_cc
10263 ac_exeext=$ac_wine_try_cflags_saved_exeext
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10266 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10267 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10268 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10271 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10272 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_wine_try_cflags_saved=$CFLAGS
10276 ac_wine_try_cflags_saved_cc=$CC
10277 ac_wine_try_cflags_saved_exeext=$ac_exeext
10278 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10279 CC="$CROSSCC"
10280 ac_exeext=".exe"
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10283 int __cdecl mainCRTStartup(void) { return 0; }
10284 _ACEOF
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 ac_cv_crosscflags__Wpointer_arith=yes
10287 else
10288 ac_cv_crosscflags__Wpointer_arith=no
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 CFLAGS=$ac_wine_try_cflags_saved
10293 CC=$ac_wine_try_cflags_saved_cc
10294 ac_exeext=$ac_wine_try_cflags_saved_exeext
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10297 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10298 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10299 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10302 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10303 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_wine_try_cflags_saved=$CFLAGS
10307 ac_wine_try_cflags_saved_cc=$CC
10308 ac_wine_try_cflags_saved_exeext=$ac_exeext
10309 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10310 CC="$CROSSCC"
10311 ac_exeext=".exe"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10314 int __cdecl mainCRTStartup(void) { return 0; }
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_crosscflags__Wlogical_op=yes
10318 else
10319 ac_cv_crosscflags__Wlogical_op=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 CFLAGS=$ac_wine_try_cflags_saved
10324 CC=$ac_wine_try_cflags_saved_cc
10325 ac_exeext=$ac_wine_try_cflags_saved_exeext
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10328 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10329 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10330 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10333 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10334 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_wine_try_cflags_saved=$CFLAGS
10338 ac_wine_try_cflags_saved_cc=$CC
10339 ac_wine_try_cflags_saved_exeext=$ac_exeext
10340 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10341 CC="$CROSSCC"
10342 ac_exeext=".exe"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10345 int __cdecl mainCRTStartup(void) { return 0; }
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_crosscflags__Wabsolute_value=yes
10349 else
10350 ac_cv_crosscflags__Wabsolute_value=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 CFLAGS=$ac_wine_try_cflags_saved
10355 CC=$ac_wine_try_cflags_saved_cc
10356 ac_exeext=$ac_wine_try_cflags_saved_exeext
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10359 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10360 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10361 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10364 case $host_cpu in
10365 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10367 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int __cdecl mainCRTStartup(void) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10382 else
10383 ac_cv_crosscflags__fno_omit_frame_pointer=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10392 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10393 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10395 fi ;;
10396 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10397 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10398 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_wine_try_cflags_saved=$CFLAGS
10402 ac_wine_try_cflags_saved_cc=$CC
10403 ac_wine_try_cflags_saved_exeext=$ac_exeext
10404 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10405 CC="$CROSSCC"
10406 ac_exeext=".exe"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 int __cdecl mainCRTStartup(void) { return 0; }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 ac_cv_crosscflags__Wno_format=yes
10413 else
10414 ac_cv_crosscflags__Wno_format=no
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 CFLAGS=$ac_wine_try_cflags_saved
10419 CC=$ac_wine_try_cflags_saved_cc
10420 ac_exeext=$ac_wine_try_cflags_saved_exeext
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10423 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10424 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10428 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10429 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_wine_try_cflags_saved=$CFLAGS
10433 ac_wine_try_cflags_saved_cc=$CC
10434 ac_wine_try_cflags_saved_exeext=$ac_exeext
10435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10436 CC="$CROSSCC"
10437 ac_exeext=".exe"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 int __cdecl mainCRTStartup(void) { return 0; }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 ac_cv_crosscflags__Wformat_overflow=yes
10444 else
10445 ac_cv_crosscflags__Wformat_overflow=no
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 CFLAGS=$ac_wine_try_cflags_saved
10450 CC=$ac_wine_try_cflags_saved_cc
10451 ac_exeext=$ac_wine_try_cflags_saved_exeext
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10454 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10455 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10456 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10459 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10460 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_wine_try_cflags_saved=$CFLAGS
10464 ac_wine_try_cflags_saved_cc=$CC
10465 ac_wine_try_cflags_saved_exeext=$ac_exeext
10466 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10467 CC="$CROSSCC"
10468 ac_exeext=".exe"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10471 int __cdecl mainCRTStartup(void) { return 0; }
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_crosscflags__Wnonnull=yes
10475 else
10476 ac_cv_crosscflags__Wnonnull=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 CFLAGS=$ac_wine_try_cflags_saved
10481 CC=$ac_wine_try_cflags_saved_cc
10482 ac_exeext=$ac_wine_try_cflags_saved_exeext
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10485 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10486 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10490 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10491 if ${ac_cv_crosscflags__mcx16+:} false; then :
10492 $as_echo_n "(cached) " >&6
10493 else
10494 ac_wine_try_cflags_saved=$CFLAGS
10495 ac_wine_try_cflags_saved_cc=$CC
10496 ac_wine_try_cflags_saved_exeext=$ac_exeext
10497 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10498 CC="$CROSSCC"
10499 ac_exeext=".exe"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int __cdecl mainCRTStartup(void) { return 0; }
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 ac_cv_crosscflags__mcx16=yes
10506 else
10507 ac_cv_crosscflags__mcx16=no
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 CFLAGS=$ac_wine_try_cflags_saved
10512 CC=$ac_wine_try_cflags_saved_cc
10513 ac_exeext=$ac_wine_try_cflags_saved_exeext
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10516 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10517 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10518 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10519 fi ;;
10520 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10521 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10522 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10523 $as_echo_n "(cached) " >&6
10524 else
10525 ac_wine_try_cflags_saved=$CFLAGS
10526 ac_wine_try_cflags_saved_cc=$CC
10527 ac_wine_try_cflags_saved_exeext=$ac_exeext
10528 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10529 CC="$CROSSCC"
10530 ac_exeext=".exe"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10533 int __cdecl mainCRTStartup(void) { return 0; }
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_crosscflags__Wno_format=yes
10537 else
10538 ac_cv_crosscflags__Wno_format=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 CFLAGS=$ac_wine_try_cflags_saved
10543 CC=$ac_wine_try_cflags_saved_cc
10544 ac_exeext=$ac_wine_try_cflags_saved_exeext
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10547 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10548 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10549 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10550 fi ;;
10551 esac
10554 if test -z "$CROSSDEBUG"
10555 then
10556 for ac_flag in $CROSSCFLAGS; do
10557 case $ac_flag in
10558 -gdwarf*) CROSSDEBUG=dwarf ;;
10559 -gcodeview) CROSSDEBUG=pdb ;;
10560 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10561 esac
10562 done
10564 case $CROSSDEBUG in
10565 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10566 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10567 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_wine_try_cflags_saved=$CFLAGS
10571 ac_wine_try_cflags_saved_cc=$CC
10572 ac_wine_try_cflags_saved_exeext=$ac_exeext
10573 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10574 CC="$CROSSCC"
10575 ac_exeext=".exe"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10578 int __cdecl mainCRTStartup(void) { return 0; }
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 ac_cv_crosscflags__gdwarf_2=yes
10582 else
10583 ac_cv_crosscflags__gdwarf_2=no
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 CFLAGS=$ac_wine_try_cflags_saved
10588 CC=$ac_wine_try_cflags_saved_cc
10589 ac_exeext=$ac_wine_try_cflags_saved_exeext
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10592 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10593 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10594 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10597 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10598 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 ac_wine_try_cflags_saved_cc=$CC
10603 ac_wine_try_cflags_saved_exeext=$ac_exeext
10604 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10605 CC="$CROSSCC"
10606 ac_exeext=".exe"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10609 int __cdecl mainCRTStartup(void) { return 0; }
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_crosscflags__gstrict_dwarf=yes
10613 else
10614 ac_cv_crosscflags__gstrict_dwarf=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 CFLAGS=$ac_wine_try_cflags_saved
10619 CC=$ac_wine_try_cflags_saved_cc
10620 ac_exeext=$ac_wine_try_cflags_saved_exeext
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10623 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10624 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10625 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10626 fi ;;
10627 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10628 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10629 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_wine_try_cflags_saved=$CFLAGS
10633 ac_wine_try_cflags_saved_cc=$CC
10634 ac_wine_try_cflags_saved_exeext=$ac_exeext
10635 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10636 CC="$CROSSCC"
10637 ac_exeext=".exe"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 int __cdecl mainCRTStartup(void) { return 0; }
10641 _ACEOF
10642 if ac_fn_c_try_link "$LINENO"; then :
10643 ac_cv_crosscflags__gcodeview=yes
10644 else
10645 ac_cv_crosscflags__gcodeview=no
10647 rm -f core conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 CFLAGS=$ac_wine_try_cflags_saved
10650 CC=$ac_wine_try_cflags_saved_cc
10651 ac_exeext=$ac_wine_try_cflags_saved_exeext
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10654 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10655 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10656 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10657 fi ;;
10658 esac
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10661 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10662 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_wine_try_cflags_saved=$CFLAGS
10666 ac_wine_try_cflags_saved_cc=$CC
10667 ac_wine_try_cflags_saved_exeext=$ac_exeext
10668 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10669 CC="$CROSSCC"
10670 ac_exeext=".exe"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 int __cdecl mainCRTStartup(void) { return 0; }
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 ac_cv_crosscflags__fexcess_precision_standard=yes
10677 else
10678 ac_cv_crosscflags__fexcess_precision_standard=no
10680 rm -f core conftest.err conftest.$ac_objext \
10681 conftest$ac_exeext conftest.$ac_ext
10682 CFLAGS=$ac_wine_try_cflags_saved
10683 CC=$ac_wine_try_cflags_saved_cc
10684 ac_exeext=$ac_wine_try_cflags_saved_exeext
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10687 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10688 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10689 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10693 if test "x$enable_werror" = "xyes"
10694 then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10696 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10697 if ${ac_cv_crosscflags__Werror+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_wine_try_cflags_saved=$CFLAGS
10701 ac_wine_try_cflags_saved_cc=$CC
10702 ac_wine_try_cflags_saved_exeext=$ac_exeext
10703 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10704 CC="$CROSSCC"
10705 ac_exeext=".exe"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 int __cdecl mainCRTStartup(void) { return 0; }
10709 _ACEOF
10710 if ac_fn_c_try_link "$LINENO"; then :
10711 ac_cv_crosscflags__Werror=yes
10712 else
10713 ac_cv_crosscflags__Werror=no
10715 rm -f core conftest.err conftest.$ac_objext \
10716 conftest$ac_exeext conftest.$ac_ext
10717 CFLAGS=$ac_wine_try_cflags_saved
10718 CC=$ac_wine_try_cflags_saved_cc
10719 ac_exeext=$ac_wine_try_cflags_saved_exeext
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10722 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10723 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10724 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10727 if test "x$enable_build_id" = "xyes"
10728 then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10730 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10731 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_wine_try_cflags_saved=$CFLAGS
10735 ac_wine_try_cflags_saved_cc=$CC
10736 ac_wine_try_cflags_saved_exeext=$ac_exeext
10737 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10738 CC="$CROSSCC"
10739 ac_exeext=".exe"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10742 int __cdecl mainCRTStartup(void) { return 0; }
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 ac_cv_crosscflags__Wl___build_id=yes
10746 else
10747 ac_cv_crosscflags__Wl___build_id=no
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 CFLAGS=$ac_wine_try_cflags_saved
10752 CC=$ac_wine_try_cflags_saved_cc
10753 ac_exeext=$ac_wine_try_cflags_saved_exeext
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10756 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10757 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10758 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10759 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10763 CFLAGS=$saved_CFLAGS
10764 CC="$ac_save_CC"
10767 if test "x$CROSSTARGET" = "x"; then :
10768 case "x$with_mingw" in
10769 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10770 xno) ;;
10771 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10772 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10773 esac
10778 if test "$ac_cv_header_pthread_h" = "yes"
10779 then
10780 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10781 if test "x$ac_cv_func_pthread_create" = xyes; then :
10783 else
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10785 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10786 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10787 $as_echo_n "(cached) " >&6
10788 else
10789 ac_check_lib_save_LIBS=$LIBS
10790 LIBS="-lpthread $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char pthread_create ();
10802 main ()
10804 return pthread_create ();
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 ac_cv_lib_pthread_pthread_create=yes
10811 else
10812 ac_cv_lib_pthread_pthread_create=no
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10819 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10820 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10821 PTHREAD_LIBS="-lpthread"
10828 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10829 case "x$with_pthread" in
10830 xno) ;;
10831 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10832 Wine cannot support threads without libpthread.
10833 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10834 esac
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10840 $as_echo_n "checking for X... " >&6; }
10843 # Check whether --with-x was given.
10844 if test "${with_x+set}" = set; then :
10845 withval=$with_x;
10848 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10849 if test "x$with_x" = xno; then
10850 # The user explicitly disabled X.
10851 have_x=disabled
10852 else
10853 case $x_includes,$x_libraries in #(
10854 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10855 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 # One or both of the vars are not set, and there is no cached value.
10859 ac_x_includes=no ac_x_libraries=no
10860 rm -f -r conftest.dir
10861 if mkdir conftest.dir; then
10862 cd conftest.dir
10863 cat >Imakefile <<'_ACEOF'
10864 incroot:
10865 @echo incroot='${INCROOT}'
10866 usrlibdir:
10867 @echo usrlibdir='${USRLIBDIR}'
10868 libdir:
10869 @echo libdir='${LIBDIR}'
10870 _ACEOF
10871 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10872 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10873 for ac_var in incroot usrlibdir libdir; do
10874 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10875 done
10876 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10877 for ac_extension in a so sl dylib la dll; do
10878 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10879 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10880 ac_im_usrlibdir=$ac_im_libdir; break
10882 done
10883 # Screen out bogus values from the imake configuration. They are
10884 # bogus both because they are the default anyway, and because
10885 # using them would break gcc on systems where it needs fixed includes.
10886 case $ac_im_incroot in
10887 /usr/include) ac_x_includes= ;;
10888 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10889 esac
10890 case $ac_im_usrlibdir in
10891 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10892 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10893 esac
10895 cd ..
10896 rm -f -r conftest.dir
10899 # Standard set of common directories for X headers.
10900 # Check X11 before X11Rn because it is often a symlink to the current release.
10901 ac_x_header_dirs='
10902 /usr/X11/include
10903 /usr/X11R7/include
10904 /usr/X11R6/include
10905 /usr/X11R5/include
10906 /usr/X11R4/include
10908 /usr/include/X11
10909 /usr/include/X11R7
10910 /usr/include/X11R6
10911 /usr/include/X11R5
10912 /usr/include/X11R4
10914 /usr/local/X11/include
10915 /usr/local/X11R7/include
10916 /usr/local/X11R6/include
10917 /usr/local/X11R5/include
10918 /usr/local/X11R4/include
10920 /usr/local/include/X11
10921 /usr/local/include/X11R7
10922 /usr/local/include/X11R6
10923 /usr/local/include/X11R5
10924 /usr/local/include/X11R4
10926 /usr/X386/include
10927 /usr/x386/include
10928 /usr/XFree86/include/X11
10930 /usr/include
10931 /usr/local/include
10932 /usr/unsupported/include
10933 /usr/athena/include
10934 /usr/local/x11r5/include
10935 /usr/lpp/Xamples/include
10937 /usr/openwin/include
10938 /usr/openwin/share/include'
10940 if test "$ac_x_includes" = no; then
10941 # Guess where to find include files, by looking for Xlib.h.
10942 # First, try using that file with no special directory specified.
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10945 #include <X11/Xlib.h>
10946 _ACEOF
10947 if ac_fn_c_try_cpp "$LINENO"; then :
10948 # We can compile using X headers with no special include directory.
10949 ac_x_includes=
10950 else
10951 for ac_dir in $ac_x_header_dirs; do
10952 if test -r "$ac_dir/X11/Xlib.h"; then
10953 ac_x_includes=$ac_dir
10954 break
10956 done
10958 rm -f conftest.err conftest.i conftest.$ac_ext
10959 fi # $ac_x_includes = no
10961 if test "$ac_x_libraries" = no; then
10962 # Check for the libraries.
10963 # See if we find them without any special options.
10964 # Don't add to $LIBS permanently.
10965 ac_save_LIBS=$LIBS
10966 LIBS="-lX11 $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 #include <X11/Xlib.h>
10971 main ()
10973 XrmInitialize ()
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 LIBS=$ac_save_LIBS
10980 # We can link X programs with no special library path.
10981 ac_x_libraries=
10982 else
10983 LIBS=$ac_save_LIBS
10984 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10986 # Don't even attempt the hair of trying to link an X program!
10987 for ac_extension in a so sl dylib la dll; do
10988 if test -r "$ac_dir/libX11.$ac_extension"; then
10989 ac_x_libraries=$ac_dir
10990 break 2
10992 done
10993 done
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 fi # $ac_x_libraries = no
10999 case $ac_x_includes,$ac_x_libraries in #(
11000 no,* | *,no | *\'*)
11001 # Didn't find X, or a directory has "'" in its name.
11002 ac_cv_have_x="have_x=no";; #(
11004 # Record where we found X for the cache.
11005 ac_cv_have_x="have_x=yes\
11006 ac_x_includes='$ac_x_includes'\
11007 ac_x_libraries='$ac_x_libraries'"
11008 esac
11010 ;; #(
11011 *) have_x=yes;;
11012 esac
11013 eval "$ac_cv_have_x"
11014 fi # $with_x != no
11016 if test "$have_x" != yes; then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11018 $as_echo "$have_x" >&6; }
11019 no_x=yes
11020 else
11021 # If each of the values was on the command line, it overrides each guess.
11022 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11023 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11024 # Update the cache value to reflect the command line values.
11025 ac_cv_have_x="have_x=yes\
11026 ac_x_includes='$x_includes'\
11027 ac_x_libraries='$x_libraries'"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11029 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11032 if test "$no_x" = yes; then
11033 # Not all programs may use this symbol, but it does not hurt to define it.
11035 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11037 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11038 else
11039 if test -n "$x_includes"; then
11040 X_CFLAGS="$X_CFLAGS -I$x_includes"
11043 # It would also be nice to do this for all -L options, not just this one.
11044 if test -n "$x_libraries"; then
11045 X_LIBS="$X_LIBS -L$x_libraries"
11046 # For Solaris; some versions of Sun CC require a space after -R and
11047 # others require no space. Words are not sufficient . . . .
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11049 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11050 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11051 ac_xsave_c_werror_flag=$ac_c_werror_flag
11052 ac_c_werror_flag=yes
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11057 main ()
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"; then :
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11066 $as_echo "no" >&6; }
11067 X_LIBS="$X_LIBS -R$x_libraries"
11068 else
11069 LIBS="$ac_xsave_LIBS -R $x_libraries"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11074 main ()
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11083 $as_echo "yes" >&6; }
11084 X_LIBS="$X_LIBS -R $x_libraries"
11085 else
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11087 $as_echo "neither works" >&6; }
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 ac_c_werror_flag=$ac_xsave_c_werror_flag
11095 LIBS=$ac_xsave_LIBS
11098 # Check for system-dependent libraries X programs must link with.
11099 # Do this before checking for the system-independent R6 libraries
11100 # (-lICE), since we may need -lsocket or whatever for X linking.
11102 if test "$ISC" = yes; then
11103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11104 else
11105 # Martyn Johnson says this is needed for Ultrix, if the X
11106 # libraries were built with DECnet support. And Karl Berry says
11107 # the Alpha needs dnet_stub (dnet does not exist).
11108 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char XOpenDisplay ();
11120 main ()
11122 return XOpenDisplay ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11129 else
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11131 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11132 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11133 $as_echo_n "(cached) " >&6
11134 else
11135 ac_check_lib_save_LIBS=$LIBS
11136 LIBS="-ldnet $LIBS"
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11140 /* Override any GCC internal prototype to avoid an error.
11141 Use char because int might match the return type of a GCC
11142 builtin and then its argument prototype would still apply. */
11143 #ifdef __cplusplus
11144 extern "C"
11145 #endif
11146 char dnet_ntoa ();
11148 main ()
11150 return dnet_ntoa ();
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_link "$LINENO"; then :
11156 ac_cv_lib_dnet_dnet_ntoa=yes
11157 else
11158 ac_cv_lib_dnet_dnet_ntoa=no
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_lib_save_LIBS
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11165 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11166 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11170 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11172 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11173 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-ldnet_stub $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char dnet_ntoa ();
11189 main ()
11191 return dnet_ntoa ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11198 else
11199 ac_cv_lib_dnet_stub_dnet_ntoa=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11206 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11207 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11208 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11213 rm -f core conftest.err conftest.$ac_objext \
11214 conftest$ac_exeext conftest.$ac_ext
11215 LIBS="$ac_xsave_LIBS"
11217 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11218 # to get the SysV transport functions.
11219 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11220 # needs -lnsl.
11221 # The nsl library prevents programs from opening the X display
11222 # on Irix 5.2, according to T.E. Dickey.
11223 # The functions gethostbyname, getservbyname, and inet_addr are
11224 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11225 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11226 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11230 if test $ac_cv_func_gethostbyname = no; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11232 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11233 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lnsl $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char gethostbyname ();
11249 main ()
11251 return gethostbyname ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_nsl_gethostbyname=yes
11258 else
11259 ac_cv_lib_nsl_gethostbyname=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11266 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11267 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11271 if test $ac_cv_lib_nsl_gethostbyname = no; then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11273 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11274 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-lbsd $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char gethostbyname ();
11290 main ()
11292 return gethostbyname ();
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_bsd_gethostbyname=yes
11299 else
11300 ac_cv_lib_bsd_gethostbyname=no
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11307 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11308 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11315 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11316 # socket/setsockopt and other routines are undefined under SCO ODT
11317 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11318 # on later versions), says Simon Leinen: it contains gethostby*
11319 # variants that don't use the name server (or something). -lsocket
11320 # must be given before -lnsl if both are needed. We assume that
11321 # if connect needs -lnsl, so does gethostbyname.
11322 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11323 if test "x$ac_cv_func_connect" = xyes; then :
11327 if test $ac_cv_func_connect = no; then
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11329 $as_echo_n "checking for connect in -lsocket... " >&6; }
11330 if ${ac_cv_lib_socket_connect+:} false; then :
11331 $as_echo_n "(cached) " >&6
11332 else
11333 ac_check_lib_save_LIBS=$LIBS
11334 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char connect ();
11346 main ()
11348 return connect ();
11350 return 0;
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 ac_cv_lib_socket_connect=yes
11355 else
11356 ac_cv_lib_socket_connect=no
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11363 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11364 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11365 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11370 # Guillermo Gomez says -lposix is necessary on A/UX.
11371 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11372 if test "x$ac_cv_func_remove" = xyes; then :
11376 if test $ac_cv_func_remove = no; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11378 $as_echo_n "checking for remove in -lposix... " >&6; }
11379 if ${ac_cv_lib_posix_remove+:} false; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_lib_save_LIBS=$LIBS
11383 LIBS="-lposix $LIBS"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char remove ();
11395 main ()
11397 return remove ();
11399 return 0;
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 ac_cv_lib_posix_remove=yes
11404 else
11405 ac_cv_lib_posix_remove=no
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11412 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11413 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11414 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11419 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11420 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11421 if test "x$ac_cv_func_shmat" = xyes; then :
11425 if test $ac_cv_func_shmat = no; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11427 $as_echo_n "checking for shmat in -lipc... " >&6; }
11428 if ${ac_cv_lib_ipc_shmat+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-lipc $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char shmat ();
11444 main ()
11446 return shmat ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 ac_cv_lib_ipc_shmat=yes
11453 else
11454 ac_cv_lib_ipc_shmat=no
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11461 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11462 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11469 # Check for libraries that X11R6 Xt/Xaw programs need.
11470 ac_save_LDFLAGS=$LDFLAGS
11471 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11472 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11473 # check for ICE first), but we must link in the order -lSM -lICE or
11474 # we get undefined symbols. So assume we have SM if we have ICE.
11475 # These have to be linked with before -lX11, unlike the other
11476 # libraries we check for below, so use a different variable.
11477 # John Interrante, Karl Berry
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11479 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11480 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char IceConnectionNumber ();
11496 main ()
11498 return IceConnectionNumber ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_ICE_IceConnectionNumber=yes
11505 else
11506 ac_cv_lib_ICE_IceConnectionNumber=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11513 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11514 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11515 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11518 LDFLAGS=$ac_save_LDFLAGS
11523 if test "$have_x" = "yes"
11524 then
11525 ac_save_CPPFLAGS="$CPPFLAGS"
11526 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11529 $as_echo_n "checking for -lX11... " >&6; }
11530 if ${ac_cv_lib_soname_X11+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_soname_save_LIBS=$LIBS
11534 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char XCreateWindow ();
11546 main ()
11548 return XCreateWindow ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 case "$LIBEXT" in
11555 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11556 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'` ;;
11557 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11558 if ${ac_cv_lib_soname_X11:+false} :; then :
11559 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11560 fi ;;
11561 esac
11562 else
11563 ac_cv_lib_soname_X11=
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_soname_save_LIBS
11569 if ${ac_cv_lib_soname_X11:+false} :; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11571 $as_echo "not found" >&6; }
11573 else
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11575 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11577 cat >>confdefs.h <<_ACEOF
11578 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11579 _ACEOF
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11584 $as_echo_n "checking for -lXext... " >&6; }
11585 if ${ac_cv_lib_soname_Xext+:} false; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 ac_check_soname_save_LIBS=$LIBS
11589 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11596 #ifdef __cplusplus
11597 extern "C"
11598 #endif
11599 char XextCreateExtension ();
11601 main ()
11603 return XextCreateExtension ();
11605 return 0;
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"; then :
11609 case "$LIBEXT" in
11610 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11611 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'` ;;
11612 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11613 if ${ac_cv_lib_soname_Xext:+false} :; then :
11614 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11615 fi ;;
11616 esac
11617 else
11618 ac_cv_lib_soname_Xext=
11620 rm -f core conftest.err conftest.$ac_objext \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_soname_save_LIBS
11624 if ${ac_cv_lib_soname_Xext:+false} :; then :
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11626 $as_echo "not found" >&6; }
11628 else
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11630 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11632 cat >>confdefs.h <<_ACEOF
11633 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11634 _ACEOF
11636 X_LIBS="$X_LIBS -lXext"
11638 X_LIBS="$X_LIBS -lX11"
11640 for ac_header in X11/Xlib.h \
11641 X11/XKBlib.h \
11642 X11/Xutil.h \
11643 X11/Xcursor/Xcursor.h \
11644 X11/extensions/shape.h \
11645 X11/extensions/XInput.h \
11646 X11/extensions/XInput2.h \
11647 X11/extensions/XShm.h \
11648 X11/extensions/Xcomposite.h \
11649 X11/extensions/Xfixes.h \
11650 X11/extensions/Xinerama.h \
11651 X11/extensions/Xrandr.h \
11652 X11/extensions/Xrender.h \
11653 X11/extensions/xf86vmode.h \
11654 X11/extensions/xf86vmproto.h
11655 do :
11656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11657 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11658 # include <X11/Xlib.h>
11659 #endif
11660 #ifdef HAVE_X11_XUTIL_H
11661 # include <X11/Xutil.h>
11662 #endif
11664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11665 cat >>confdefs.h <<_ACEOF
11666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11667 _ACEOF
11671 done
11674 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11677 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11678 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_lib_save_LIBS=$LIBS
11682 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char XkbQueryExtension ();
11694 main ()
11696 return XkbQueryExtension ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 ac_cv_lib_X11_XkbQueryExtension=yes
11703 else
11704 ac_cv_lib_X11_XkbQueryExtension=no
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 LIBS=$ac_check_lib_save_LIBS
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11711 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11712 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11714 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11720 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11721 then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11723 $as_echo_n "checking for -lXcursor... " >&6; }
11724 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11725 $as_echo_n "(cached) " >&6
11726 else
11727 ac_check_soname_save_LIBS=$LIBS
11728 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char XcursorImageLoadCursor ();
11740 main ()
11742 return XcursorImageLoadCursor ();
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 case "$LIBEXT" in
11749 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11750 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'` ;;
11751 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11752 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11753 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11754 fi ;;
11755 esac
11756 else
11757 ac_cv_lib_soname_Xcursor=
11759 rm -f core conftest.err conftest.$ac_objext \
11760 conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_soname_save_LIBS
11763 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11765 $as_echo "not found" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11769 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11771 cat >>confdefs.h <<_ACEOF
11772 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11773 _ACEOF
11778 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11779 case "x$with_xcursor" in
11780 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11781 xno) ;;
11782 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11783 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11784 esac
11788 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11789 then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11791 $as_echo_n "checking for -lXi... " >&6; }
11792 if ${ac_cv_lib_soname_Xi+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_check_soname_save_LIBS=$LIBS
11796 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char XOpenDevice ();
11808 main ()
11810 return XOpenDevice ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 case "$LIBEXT" in
11817 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11818 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'` ;;
11819 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11820 if ${ac_cv_lib_soname_Xi:+false} :; then :
11821 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11822 fi ;;
11823 esac
11824 else
11825 ac_cv_lib_soname_Xi=
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_Xi:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11837 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11841 _ACEOF
11846 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11847 case "x$with_xinput" in
11848 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11849 xno) ;;
11850 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11851 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11852 esac
11856 if test "x$ac_cv_lib_soname_Xi" != x
11857 then
11858 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11859 case "x$with_xinput2" in
11860 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11861 xno) ;;
11862 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11863 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11864 esac
11869 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11870 then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11872 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11873 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_lib_save_LIBS=$LIBS
11877 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char XShmQueryExtension ();
11889 main ()
11891 return XShmQueryExtension ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 ac_cv_lib_Xext_XShmQueryExtension=yes
11898 else
11899 ac_cv_lib_Xext_XShmQueryExtension=no
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11906 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11907 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11909 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11914 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11915 case "x$with_xshm" in
11916 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11917 xno) ;;
11918 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11919 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11920 esac
11924 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11925 then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11927 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11928 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11929 $as_echo_n "(cached) " >&6
11930 else
11931 ac_check_lib_save_LIBS=$LIBS
11932 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11936 /* Override any GCC internal prototype to avoid an error.
11937 Use char because int might match the return type of a GCC
11938 builtin and then its argument prototype would still apply. */
11939 #ifdef __cplusplus
11940 extern "C"
11941 #endif
11942 char XShapeQueryExtension ();
11944 main ()
11946 return XShapeQueryExtension ();
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_link "$LINENO"; then :
11952 ac_cv_lib_Xext_XShapeQueryExtension=yes
11953 else
11954 ac_cv_lib_Xext_XShapeQueryExtension=no
11956 rm -f core conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 LIBS=$ac_check_lib_save_LIBS
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11961 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11962 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11964 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11969 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11970 case "x$with_xshape" in
11971 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11972 xno) ;;
11973 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11974 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11975 esac
11979 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11980 then
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11982 $as_echo_n "checking for -lXxf86vm... " >&6; }
11983 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11984 $as_echo_n "(cached) " >&6
11985 else
11986 ac_check_soname_save_LIBS=$LIBS
11987 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11994 #ifdef __cplusplus
11995 extern "C"
11996 #endif
11997 char XF86VidModeQueryExtension ();
11999 main ()
12001 return XF86VidModeQueryExtension ();
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"; then :
12007 case "$LIBEXT" in
12008 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12009 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'` ;;
12010 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12011 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12012 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12013 fi ;;
12014 esac
12015 else
12016 ac_cv_lib_soname_Xxf86vm=
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_soname_save_LIBS
12022 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12024 $as_echo "not found" >&6; }
12026 else
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12028 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12030 cat >>confdefs.h <<_ACEOF
12031 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12032 _ACEOF
12037 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12038 case "x$with_xxf86vm" in
12039 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12040 xno) ;;
12041 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12042 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12043 esac
12047 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12048 then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12050 $as_echo_n "checking for -lXrender... " >&6; }
12051 if ${ac_cv_lib_soname_Xrender+:} false; then :
12052 $as_echo_n "(cached) " >&6
12053 else
12054 ac_check_soname_save_LIBS=$LIBS
12055 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 char XRenderQueryExtension ();
12067 main ()
12069 return XRenderQueryExtension ();
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 case "$LIBEXT" in
12076 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12077 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'` ;;
12078 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12079 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12080 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12081 fi ;;
12082 esac
12083 else
12084 ac_cv_lib_soname_Xrender=
12086 rm -f core conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_soname_save_LIBS
12090 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12092 $as_echo "not found" >&6; }
12094 else
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12096 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12098 cat >>confdefs.h <<_ACEOF
12099 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12100 _ACEOF
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12103 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12104 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_check_lib_save_LIBS=$LIBS
12108 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 #ifdef __cplusplus
12116 extern "C"
12117 #endif
12118 char XRenderSetPictureTransform ();
12120 main ()
12122 return XRenderSetPictureTransform ();
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12129 else
12130 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_lib_save_LIBS
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12137 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12138 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12140 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12145 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12146 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_check_lib_save_LIBS=$LIBS
12150 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char XRenderCreateLinearGradient ();
12162 main ()
12164 return XRenderCreateLinearGradient ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12171 else
12172 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12174 rm -f core conftest.err conftest.$ac_objext \
12175 conftest$ac_exeext conftest.$ac_ext
12176 LIBS=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12179 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12180 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12182 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12189 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12190 case "x$with_xrender" in
12191 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12192 xno) ;;
12193 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12194 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12195 esac
12199 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12200 then
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12203 #include <X11/Xlib.h>
12204 #include <X11/extensions/Xrandr.h>
12206 main ()
12208 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12210 return 0;
12212 _ACEOF
12213 if ac_fn_c_try_compile "$LINENO"; then :
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12215 $as_echo_n "checking for -lXrandr... " >&6; }
12216 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12217 $as_echo_n "(cached) " >&6
12218 else
12219 ac_check_soname_save_LIBS=$LIBS
12220 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12227 #ifdef __cplusplus
12228 extern "C"
12229 #endif
12230 char XRRQueryExtension ();
12232 main ()
12234 return XRRQueryExtension ();
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_link "$LINENO"; then :
12240 case "$LIBEXT" in
12241 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12242 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'` ;;
12243 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12244 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12245 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12246 fi ;;
12247 esac
12248 else
12249 ac_cv_lib_soname_Xrandr=
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_soname_save_LIBS
12255 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12257 $as_echo "not found" >&6; }
12259 else
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12261 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12263 cat >>confdefs.h <<_ACEOF
12264 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12265 _ACEOF
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 #include <X11/Xlib.h>
12270 #include <X11/extensions/Xrandr.h>
12272 main ()
12274 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_compile "$LINENO"; then :
12281 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12283 else
12284 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12291 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12292 case "x$with_xrandr" in
12293 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12294 xno) ;;
12295 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12296 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12297 esac
12301 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12302 then
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12305 #include <X11/Xlib.h>
12306 #include <X11/extensions/Xfixes.h>
12308 main ()
12310 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_compile "$LINENO"; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12317 $as_echo_n "checking for -lXfixes... " >&6; }
12318 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char XFixesQueryVersion ();
12334 main ()
12336 return XFixesQueryVersion ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 case "$LIBEXT" in
12343 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12346 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12347 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12348 fi ;;
12349 esac
12350 else
12351 ac_cv_lib_soname_Xfixes=
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_soname_save_LIBS
12357 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12359 $as_echo "not found" >&6; }
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12363 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12365 cat >>confdefs.h <<_ACEOF
12366 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12367 _ACEOF
12372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12375 case "x$with_xfixes" in
12376 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12377 xno) ;;
12378 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12379 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12380 esac
12384 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12385 then
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12388 #include <X11/Xlib.h>
12389 #include <X11/extensions/Xinerama.h>
12391 main ()
12393 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_compile "$LINENO"; then :
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12400 $as_echo_n "checking for -lXinerama... " >&6; }
12401 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 ac_check_soname_save_LIBS=$LIBS
12405 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 #ifdef __cplusplus
12413 extern "C"
12414 #endif
12415 char XineramaQueryScreens ();
12417 main ()
12419 return XineramaQueryScreens ();
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 case "$LIBEXT" in
12426 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12427 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'` ;;
12428 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12429 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12430 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12431 fi ;;
12432 esac
12433 else
12434 ac_cv_lib_soname_Xinerama=
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_soname_save_LIBS
12440 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12442 $as_echo "not found" >&6; }
12444 else
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12446 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12448 cat >>confdefs.h <<_ACEOF
12449 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12450 _ACEOF
12455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12457 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12458 case "x$with_xinerama" in
12459 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12460 xno) ;;
12461 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12462 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12463 esac
12467 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12468 then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12470 $as_echo_n "checking for -lXcomposite... " >&6; }
12471 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 ac_check_soname_save_LIBS=$LIBS
12475 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12482 #ifdef __cplusplus
12483 extern "C"
12484 #endif
12485 char XCompositeRedirectWindow ();
12487 main ()
12489 return XCompositeRedirectWindow ();
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 case "$LIBEXT" in
12496 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12497 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'` ;;
12498 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12499 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12500 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12501 fi ;;
12502 esac
12503 else
12504 ac_cv_lib_soname_Xcomposite=
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_soname_save_LIBS
12510 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12512 $as_echo "not found" >&6; }
12514 else
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12516 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12518 cat >>confdefs.h <<_ACEOF
12519 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12520 _ACEOF
12525 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12526 case "x$with_xcomposite" in
12527 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12528 xno) ;;
12529 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12530 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12531 esac
12535 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12536 #include <X11/Xlib.h>
12537 #endif
12539 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12541 cat >>confdefs.h <<_ACEOF
12542 #define HAVE_XICCALLBACK_CALLBACK 1
12543 _ACEOF
12547 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12548 #include <X11/Xlib.h>
12549 #endif
12551 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12553 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_XEVENT_XCOOKIE 1
12555 _ACEOF
12562 opengl_msg=""
12563 if test "x$with_opengl" != "xno"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12566 $as_echo_n "checking for -lGL... " >&6; }
12567 if ${ac_cv_lib_soname_GL+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_soname_save_LIBS=$LIBS
12571 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char glXCreateContext ();
12583 main ()
12585 return glXCreateContext ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 case "$LIBEXT" in
12592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12593 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'` ;;
12594 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12595 if ${ac_cv_lib_soname_GL:+false} :; then :
12596 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12597 fi ;;
12598 esac
12599 else
12600 ac_cv_lib_soname_GL=
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_soname_save_LIBS
12606 if ${ac_cv_lib_soname_GL:+false} :; then :
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12608 $as_echo "not found" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12610 $as_echo_n "checking for -lGL... " >&6; }
12611 if ${ac_cv_lib_soname_GL+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_soname_save_LIBS=$LIBS
12615 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"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char glXCreateContext ();
12627 main ()
12629 return glXCreateContext ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 case "$LIBEXT" in
12636 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if ${ac_cv_lib_soname_GL:+false} :; then :
12640 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12641 fi ;;
12642 esac
12643 else
12644 ac_cv_lib_soname_GL=
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_soname_save_LIBS
12650 if ${ac_cv_lib_soname_GL:+false} :; then :
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12652 $as_echo "not found" >&6; }
12653 if test -f /usr/X11R6/lib/libGL.a
12654 then
12655 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12656 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12657 else
12658 opengl_msg="No OpenGL library found on this system."
12660 else
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12662 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12664 cat >>confdefs.h <<_ACEOF
12665 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12666 _ACEOF
12668 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"
12670 else
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12672 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12674 cat >>confdefs.h <<_ACEOF
12675 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12676 _ACEOF
12678 OPENGL_LIBS="-lGL"
12680 if test "x$with_osmesa" != "xno"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12683 $as_echo_n "checking for -lOSMesa... " >&6; }
12684 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_soname_save_LIBS=$LIBS
12688 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char OSMesaGetProcAddress ();
12700 main ()
12702 return OSMesaGetProcAddress ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 case "$LIBEXT" in
12709 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12710 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'` ;;
12711 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12712 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12713 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12714 fi ;;
12715 esac
12716 else
12717 ac_cv_lib_soname_OSMesa=
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_soname_save_LIBS
12723 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12725 $as_echo "not found" >&6; }
12727 else
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12729 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12731 cat >>confdefs.h <<_ACEOF
12732 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12733 _ACEOF
12737 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12738 case "x$with_osmesa" in
12739 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12740 xno) ;;
12741 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12742 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12743 esac
12748 if test -n "$opengl_msg"; then :
12749 case "x$with_opengl" in
12750 x) as_fn_append wine_warnings "|$opengl_msg
12751 OpenGL and Direct3D won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "$opengl_msg
12754 OpenGL and Direct3D won't be supported.
12755 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12756 esac
12760 CPPFLAGS="$ac_save_CPPFLAGS"
12761 else
12762 X_CFLAGS=""
12763 X_LIBS=""
12766 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12767 then
12768 if test "x$X_LIBS" = "x"; then :
12769 case "x$with_x" in
12770 xno) ;;
12771 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12772 without X support, which probably isn't what you want. You will need
12773 to install ${notice_platform}development packages of Xlib at the very least.
12774 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12775 esac
12776 enable_winex11_drv=${enable_winex11_drv:-no}
12778 else
12779 if test "x$X_LIBS" = "x"; then :
12780 case "x$with_x" in
12781 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12782 xno) ;;
12783 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12784 This is an error since --with-x was requested." "$LINENO" 5 ;;
12785 esac
12786 enable_winex11_drv=${enable_winex11_drv:-no}
12790 if test "$ac_cv_header_CL_cl_h" = "yes"
12791 then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12793 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12794 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 ac_check_lib_save_LIBS=$LIBS
12798 LIBS="-lOpenCL $LIBS"
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12805 #ifdef __cplusplus
12806 extern "C"
12807 #endif
12808 char clGetPlatformInfo ();
12810 main ()
12812 return clGetPlatformInfo ();
12814 return 0;
12816 _ACEOF
12817 if ac_fn_c_try_link "$LINENO"; then :
12818 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12819 else
12820 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12827 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12829 OPENCL_LIBS="-lOpenCL"
12834 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12835 case "x$with_opencl" in
12836 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12837 xno) ;;
12838 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12839 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12840 esac
12841 enable_opencl=${enable_opencl:-no}
12844 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12845 then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12847 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12848 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12849 $as_echo_n "(cached) " >&6
12850 else
12851 ac_check_lib_save_LIBS=$LIBS
12852 LIBS="-lpcap $LIBS"
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12859 #ifdef __cplusplus
12860 extern "C"
12861 #endif
12862 char pcap_create ();
12864 main ()
12866 return pcap_create ();
12868 return 0;
12870 _ACEOF
12871 if ac_fn_c_try_link "$LINENO"; then :
12872 ac_cv_lib_pcap_pcap_create=yes
12873 else
12874 ac_cv_lib_pcap_pcap_create=no
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_lib_save_LIBS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12881 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12882 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12883 PCAP_LIBS="-lpcap"
12888 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12889 case "x$with_pcap" in
12890 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12891 xno) ;;
12892 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12893 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12894 esac
12895 enable_wpcap=${enable_wpcap:-no}
12899 if test "x$with_xml" != "xno"
12900 then
12901 if ${XML2_CFLAGS:+false} :; then :
12902 if ${PKG_CONFIG+:} false; then :
12903 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12906 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12907 if ${XML2_LIBS:+false} :; then :
12908 if ${PKG_CONFIG+:} false; then :
12909 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12912 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12913 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12914 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12916 ac_save_CPPFLAGS=$CPPFLAGS
12917 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12918 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12919 do :
12920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12921 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12922 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12923 cat >>confdefs.h <<_ACEOF
12924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12925 _ACEOF
12929 done
12931 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"
12932 then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12934 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12935 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_check_lib_save_LIBS=$LIBS
12939 LIBS="-lxml2 $XML2_LIBS $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 #ifdef __cplusplus
12947 extern "C"
12948 #endif
12949 char xmlParseMemory ();
12951 main ()
12953 return xmlParseMemory ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 ac_cv_lib_xml2_xmlParseMemory=yes
12960 else
12961 ac_cv_lib_xml2_xmlParseMemory=no
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12965 LIBS=$ac_check_lib_save_LIBS
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12968 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12969 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12971 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12973 else
12974 XML2_LIBS=""
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12978 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12979 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_lib_save_LIBS=$LIBS
12983 LIBS="-lxml2 $XML2_LIBS $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char xmlReadMemory ();
12995 main ()
12997 return xmlReadMemory ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 ac_cv_lib_xml2_xmlReadMemory=yes
13004 else
13005 ac_cv_lib_xml2_xmlReadMemory=no
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13012 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13013 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13015 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13020 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13021 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 ac_check_lib_save_LIBS=$LIBS
13025 LIBS="-lxml2 $XML2_LIBS $LIBS"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 /* Override any GCC internal prototype to avoid an error.
13030 Use char because int might match the return type of a GCC
13031 builtin and then its argument prototype would still apply. */
13032 #ifdef __cplusplus
13033 extern "C"
13034 #endif
13035 char xmlNewDocPI ();
13037 main ()
13039 return xmlNewDocPI ();
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"; then :
13045 ac_cv_lib_xml2_xmlNewDocPI=yes
13046 else
13047 ac_cv_lib_xml2_xmlNewDocPI=no
13049 rm -f core conftest.err conftest.$ac_objext \
13050 conftest$ac_exeext conftest.$ac_ext
13051 LIBS=$ac_check_lib_save_LIBS
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13054 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13055 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13057 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13062 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13063 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 ac_check_lib_save_LIBS=$LIBS
13067 LIBS="-lxml2 $XML2_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 char xmlSchemaSetParserStructuredErrors ();
13079 main ()
13081 return xmlSchemaSetParserStructuredErrors ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13088 else
13089 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13096 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13097 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13099 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13104 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13105 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13106 $as_echo_n "(cached) " >&6
13107 else
13108 ac_check_lib_save_LIBS=$LIBS
13109 LIBS="-lxml2 $XML2_LIBS $LIBS"
13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13116 #ifdef __cplusplus
13117 extern "C"
13118 #endif
13119 char xmlSchemaSetValidStructuredErrors ();
13121 main ()
13123 return xmlSchemaSetValidStructuredErrors ();
13125 return 0;
13127 _ACEOF
13128 if ac_fn_c_try_link "$LINENO"; then :
13129 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13130 else
13131 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_lib_save_LIBS
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13138 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13139 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13141 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13146 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13147 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_lib_save_LIBS=$LIBS
13151 LIBS="-lxml2 $XML2_LIBS $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char xmlFirstElementChild ();
13163 main ()
13165 return xmlFirstElementChild ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 ac_cv_lib_xml2_xmlFirstElementChild=yes
13172 else
13173 ac_cv_lib_xml2_xmlFirstElementChild=no
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_lib_save_LIBS
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13180 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13181 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13183 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13187 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13189 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13191 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13195 else
13196 XML2_CFLAGS=""
13197 XML2_LIBS=""
13199 CPPFLAGS=$ac_save_CPPFLAGS
13202 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13203 case "x$with_xml" in
13204 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13207 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13208 esac
13212 if test "x$with_xslt" != "xno"
13213 then
13214 if ${XSLT_CFLAGS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13219 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13220 if ${XSLT_LIBS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13225 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13226 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13229 ac_save_CPPFLAGS=$CPPFLAGS
13230 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13231 for ac_header in libxslt/pattern.h libxslt/transform.h
13232 do :
13233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13235 # include <libxslt/pattern.h>
13236 #endif
13238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13239 cat >>confdefs.h <<_ACEOF
13240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13241 _ACEOF
13245 done
13247 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13248 then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13250 $as_echo_n "checking for -lxslt... " >&6; }
13251 if ${ac_cv_lib_soname_xslt+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-lxslt $XSLT_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char xsltCompilePattern ();
13267 main ()
13269 return xsltCompilePattern ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_xslt:+false} :; then :
13280 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13283 else
13284 ac_cv_lib_soname_xslt=
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_soname_save_LIBS
13290 if ${ac_cv_lib_soname_xslt:+false} :; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13294 else
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13296 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13298 cat >>confdefs.h <<_ACEOF
13299 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13300 _ACEOF
13304 else
13305 XSLT_CFLAGS=""
13307 CPPFLAGS=$ac_save_CPPFLAGS
13310 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13311 case "x$with_xslt" in
13312 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13313 xno) ;;
13314 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13315 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13316 esac
13320 if test "x$with_inotify" != "xno"
13321 then
13322 if ${INOTIFY_CFLAGS:+false} :; then :
13323 if ${PKG_CONFIG+:} false; then :
13324 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13328 if ${INOTIFY_LIBS:+false} :; then :
13329 if ${PKG_CONFIG+:} false; then :
13330 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13335 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13336 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13337 ac_save_CPPFLAGS=$CPPFLAGS
13338 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13339 for ac_header in sys/inotify.h
13340 do :
13341 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13342 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13343 cat >>confdefs.h <<_ACEOF
13344 #define HAVE_SYS_INOTIFY_H 1
13345 _ACEOF
13349 done
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13352 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13353 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_lib_save_LIBS=$LIBS
13357 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char inotify_add_watch ();
13369 main ()
13371 return inotify_add_watch ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 ac_cv_lib_inotify_inotify_add_watch=yes
13378 else
13379 ac_cv_lib_inotify_inotify_add_watch=no
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_lib_save_LIBS
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13386 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13387 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13389 else
13390 INOTIFY_LIBS=""
13393 CPPFLAGS=$ac_save_CPPFLAGS
13396 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13397 case "x$with_inotify" in
13398 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13401 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13402 esac
13406 if test "x$with_dbus" != "xno"
13407 then
13408 if ${DBUS_CFLAGS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13414 if ${DBUS_LIBS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13421 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13423 ac_save_CPPFLAGS=$CPPFLAGS
13424 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13425 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13426 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13428 $as_echo_n "checking for -ldbus-1... " >&6; }
13429 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char dbus_connection_close ();
13445 main ()
13447 return dbus_connection_close ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) 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'`
13457 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13458 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13461 else
13462 ac_cv_lib_soname_dbus_1=
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13471 DBUS_CFLAGS=""
13472 else
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13474 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13478 _ACEOF
13482 else
13483 DBUS_CFLAGS=""
13487 CPPFLAGS=$ac_save_CPPFLAGS
13490 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13491 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13492 case "x$with_dbus" in
13493 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13494 xno) ;;
13495 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13496 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13497 esac
13501 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13502 then
13503 if ${HAL_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13509 if ${HAL_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13515 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13516 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13518 ac_save_CPPFLAGS=$CPPFLAGS
13519 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13520 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13521 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13523 $as_echo_n "checking for -lhal... " >&6; }
13524 if ${ac_cv_lib_soname_hal+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_check_soname_save_LIBS=$LIBS
13528 LIBS="-lhal $HAL_LIBS $LIBS"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13535 #ifdef __cplusplus
13536 extern "C"
13537 #endif
13538 char libhal_ctx_new ();
13540 main ()
13542 return libhal_ctx_new ();
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"; then :
13548 case "$LIBEXT" in
13549 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13550 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'` ;;
13551 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13552 if ${ac_cv_lib_soname_hal:+false} :; then :
13553 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13554 fi ;;
13555 esac
13556 else
13557 ac_cv_lib_soname_hal=
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS=$ac_check_soname_save_LIBS
13563 if ${ac_cv_lib_soname_hal:+false} :; then :
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13565 $as_echo "not found" >&6; }
13566 HAL_CFLAGS=""
13567 else
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13569 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13571 cat >>confdefs.h <<_ACEOF
13572 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13573 _ACEOF
13577 else
13578 HAL_CFLAGS=""
13582 CPPFLAGS=$ac_save_CPPFLAGS
13584 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13585 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13586 case "x$with_hal" in
13587 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13588 xno) ;;
13589 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13590 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13591 esac
13596 if test "x$with_gnutls" != "xno"
13597 then
13598 if ${GNUTLS_CFLAGS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13604 if ${GNUTLS_LIBS:+false} :; then :
13605 if ${PKG_CONFIG+:} false; then :
13606 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13610 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13612 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13613 ac_save_CPPFLAGS=$CPPFLAGS
13614 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13615 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13616 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <gnutls/gnutls.h>
13620 #include <gnutls/crypto.h>
13622 main ()
13624 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13626 return 0;
13628 _ACEOF
13629 if ac_fn_c_try_compile "$LINENO"; then :
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13631 $as_echo_n "checking for -lgnutls... " >&6; }
13632 if ${ac_cv_lib_soname_gnutls+:} false; then :
13633 $as_echo_n "(cached) " >&6
13634 else
13635 ac_check_soname_save_LIBS=$LIBS
13636 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13640 /* Override any GCC internal prototype to avoid an error.
13641 Use char because int might match the return type of a GCC
13642 builtin and then its argument prototype would still apply. */
13643 #ifdef __cplusplus
13644 extern "C"
13645 #endif
13646 char gnutls_global_init ();
13648 main ()
13650 return gnutls_global_init ();
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_link "$LINENO"; then :
13656 case "$LIBEXT" in
13657 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13658 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'` ;;
13659 *) 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'`
13660 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13661 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'`
13662 fi ;;
13663 esac
13664 else
13665 ac_cv_lib_soname_gnutls=
13667 rm -f core conftest.err conftest.$ac_objext \
13668 conftest$ac_exeext conftest.$ac_ext
13669 LIBS=$ac_check_soname_save_LIBS
13671 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13673 $as_echo "not found" >&6; }
13674 GNUTLS_CFLAGS=""
13675 else
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13677 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13679 cat >>confdefs.h <<_ACEOF
13680 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13681 _ACEOF
13685 ac_wine_check_funcs_save_LIBS="$LIBS"
13686 LIBS="$LIBS $GNUTLS_LIBS"
13687 for ac_func in gnutls_cipher_init
13688 do :
13689 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13690 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13691 cat >>confdefs.h <<_ACEOF
13692 #define HAVE_GNUTLS_CIPHER_INIT 1
13693 _ACEOF
13695 else
13696 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13698 done
13700 LIBS="$ac_wine_check_funcs_save_LIBS"
13702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13703 else
13704 GNUTLS_CFLAGS=""
13708 CPPFLAGS=$ac_save_CPPFLAGS
13711 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13712 case "x$with_gnutls" in
13713 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13714 xno) ;;
13715 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13716 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13717 esac
13721 if test "x$with_sane" != "xno"
13722 then
13723 if ${SANE_CFLAGS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13728 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13729 if ${SANE_LIBS:+false} :; then :
13730 if ${PKG_CONFIG+:} false; then :
13731 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13734 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13736 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13738 ac_save_CPPFLAGS=$CPPFLAGS
13739 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13740 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13741 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13743 $as_echo_n "checking for -lsane... " >&6; }
13744 if ${ac_cv_lib_soname_sane+:} false; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 ac_check_soname_save_LIBS=$LIBS
13748 LIBS="-lsane $SANE_LIBS $LIBS"
13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13752 /* Override any GCC internal prototype to avoid an error.
13753 Use char because int might match the return type of a GCC
13754 builtin and then its argument prototype would still apply. */
13755 #ifdef __cplusplus
13756 extern "C"
13757 #endif
13758 char sane_init ();
13760 main ()
13762 return sane_init ();
13764 return 0;
13766 _ACEOF
13767 if ac_fn_c_try_link "$LINENO"; then :
13768 case "$LIBEXT" in
13769 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13770 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'` ;;
13771 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13772 if ${ac_cv_lib_soname_sane:+false} :; then :
13773 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13774 fi ;;
13775 esac
13776 else
13777 ac_cv_lib_soname_sane=
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS=$ac_check_soname_save_LIBS
13783 if ${ac_cv_lib_soname_sane:+false} :; then :
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13785 $as_echo "not found" >&6; }
13786 SANE_CFLAGS=""
13787 else
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13789 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13791 cat >>confdefs.h <<_ACEOF
13792 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13793 _ACEOF
13797 else
13798 SANE_CFLAGS=""
13802 CPPFLAGS=$ac_save_CPPFLAGS
13805 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13806 case "x$with_sane" in
13807 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13808 xno) ;;
13809 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13810 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13811 esac
13815 if test "x$with_usb" != "xno"
13816 then
13817 if ${USB_CFLAGS:+false} :; then :
13818 if ${PKG_CONFIG+:} false; then :
13819 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13823 if ${USB_LIBS:+false} :; then :
13824 if ${PKG_CONFIG+:} false; then :
13825 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13829 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13830 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13832 ac_save_CPPFLAGS=$CPPFLAGS
13833 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13834 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13835 if test "x$ac_cv_header_libusb_h" = xyes; then :
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13837 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13838 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_check_lib_save_LIBS=$LIBS
13842 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char libusb_interrupt_event_handler ();
13854 main ()
13856 return libusb_interrupt_event_handler ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13863 else
13864 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13866 rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868 LIBS=$ac_check_lib_save_LIBS
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13871 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13872 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13874 else
13875 USB_LIBS=""
13878 else
13879 USB_LIBS=""
13883 CPPFLAGS=$ac_save_CPPFLAGS
13886 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13887 case "x$with_usb" in
13888 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13889 xno) ;;
13890 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13891 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13892 esac
13893 enable_wineusb_sys=${enable_wineusb_sys:-no}
13896 if test "x$with_v4l2" != "xno"
13897 then
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13899 $as_echo_n "checking for -lv4l2... " >&6; }
13900 if ${ac_cv_lib_soname_v4l2+:} false; then :
13901 $as_echo_n "(cached) " >&6
13902 else
13903 ac_check_soname_save_LIBS=$LIBS
13904 LIBS="-lv4l2 $LIBS"
13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13908 /* Override any GCC internal prototype to avoid an error.
13909 Use char because int might match the return type of a GCC
13910 builtin and then its argument prototype would still apply. */
13911 #ifdef __cplusplus
13912 extern "C"
13913 #endif
13914 char v4l2_open ();
13916 main ()
13918 return v4l2_open ();
13920 return 0;
13922 _ACEOF
13923 if ac_fn_c_try_link "$LINENO"; then :
13924 case "$LIBEXT" in
13925 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13926 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'` ;;
13927 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13928 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13929 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13930 fi ;;
13931 esac
13932 else
13933 ac_cv_lib_soname_v4l2=
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_soname_save_LIBS
13939 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13941 $as_echo "not found" >&6; }
13943 else
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13945 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13949 _ACEOF
13954 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13955 case "x$with_v4l2" in
13956 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13957 xno) ;;
13958 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13959 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13960 esac
13964 if test "x$with_gphoto" != "xno"
13965 then
13966 if ${GPHOTO2_CFLAGS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13971 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13972 if ${GPHOTO2_LIBS:+false} :; then :
13973 if ${PKG_CONFIG+:} false; then :
13974 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13977 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13978 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13979 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13981 ac_save_CPPFLAGS=$CPPFLAGS
13982 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13983 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13984 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13986 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13987 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 ac_check_lib_save_LIBS=$LIBS
13991 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
13998 #ifdef __cplusplus
13999 extern "C"
14000 #endif
14001 char gp_camera_new ();
14003 main ()
14005 return gp_camera_new ();
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_lib_gphoto2_gp_camera_new=yes
14012 else
14013 ac_cv_lib_gphoto2_gp_camera_new=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_lib_save_LIBS
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14020 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14021 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14023 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14025 else
14026 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14029 else
14030 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14034 CPPFLAGS=$ac_save_CPPFLAGS
14036 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14037 if ${PKG_CONFIG+:} false; then :
14038 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14041 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14042 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14043 if ${PKG_CONFIG+:} false; then :
14044 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14047 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14048 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14051 ac_save_CPPFLAGS=$CPPFLAGS
14052 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14053 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14054 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14056 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14057 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14058 $as_echo_n "(cached) " >&6
14059 else
14060 ac_check_lib_save_LIBS=$LIBS
14061 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14065 /* Override any GCC internal prototype to avoid an error.
14066 Use char because int might match the return type of a GCC
14067 builtin and then its argument prototype would still apply. */
14068 #ifdef __cplusplus
14069 extern "C"
14070 #endif
14071 char gp_port_info_list_new ();
14073 main ()
14075 return gp_port_info_list_new ();
14077 return 0;
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"; then :
14081 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14082 else
14083 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14085 rm -f core conftest.err conftest.$ac_objext \
14086 conftest$ac_exeext conftest.$ac_ext
14087 LIBS=$ac_check_lib_save_LIBS
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14090 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14091 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14093 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14095 else
14096 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14099 else
14100 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14104 CPPFLAGS=$ac_save_CPPFLAGS
14107 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14108 case "x$with_gphoto" in
14109 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14110 xno) ;;
14111 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14112 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14113 esac
14116 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14117 case "x$with_gphoto" in
14118 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14119 xno) ;;
14120 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14121 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14122 esac
14127 if test "$ac_cv_header_resolv_h" = "yes"
14128 then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14130 $as_echo_n "checking for resolver library... " >&6; }
14131 if ${ac_cv_have_resolv+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_save_LIBS="$LIBS"
14135 for lib in '' -lresolv
14137 LIBS="$lib $ac_save_LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 #ifdef HAVE_NETINET_IN_H
14141 #include <netinet/in.h>
14142 #endif
14143 #include <resolv.h>
14145 main ()
14147 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14149 return 0;
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_have_resolv=${lib:-"none required"}
14154 else
14155 ac_cv_have_resolv="not found"
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14159 test "x$ac_cv_have_resolv" = "xnot found" || break
14160 done
14161 LIBS="$ac_save_LIBS"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14164 $as_echo "$ac_cv_have_resolv" >&6; }
14166 case "$ac_cv_have_resolv" in
14167 "not found") ;;
14168 "none required")
14170 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14173 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14175 RESOLV_LIBS=$ac_cv_have_resolv
14177 esac
14179 if test "x$ac_cv_have_resolv" != "xnot found"
14180 then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14182 $as_echo_n "checking for res_getservers... " >&6; }
14183 if ${ac_cv_have_res_getservers+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_save_LIBS="$LIBS"
14187 LIBS="$RESOLV_LIBS $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 #include <resolv.h>
14192 main ()
14194 res_getservers(NULL, NULL, 0);
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 ac_cv_have_res_getservers=yes
14201 else
14202 ac_cv_have_res_getservers=no
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS="$ac_save_LIBS"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14209 $as_echo "$ac_cv_have_res_getservers" >&6; }
14210 if test "$ac_cv_have_res_getservers" = "yes"
14211 then
14213 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14219 if test "x$with_cms" != "xno"
14220 then
14221 if ${LCMS2_CFLAGS:+false} :; then :
14222 if ${PKG_CONFIG+:} false; then :
14223 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14227 if ${LCMS2_LIBS:+false} :; then :
14228 if ${PKG_CONFIG+:} false; then :
14229 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14233 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14234 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14235 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14236 ac_save_CPPFLAGS=$CPPFLAGS
14237 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14238 for ac_header in lcms2.h
14239 do :
14240 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14241 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14242 cat >>confdefs.h <<_ACEOF
14243 #define HAVE_LCMS2_H 1
14244 _ACEOF
14248 done
14250 if test "$ac_cv_header_lcms2_h" = "yes"
14251 then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14253 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14254 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 #ifdef __cplusplus
14266 extern "C"
14267 #endif
14268 char cmsOpenProfileFromFile ();
14270 main ()
14272 return cmsOpenProfileFromFile ();
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14279 else
14280 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LIBS=$ac_check_lib_save_LIBS
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14287 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14288 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14290 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14292 else
14293 LCMS2_LIBS=""
14296 else
14297 LCMS2_CFLAGS=""
14298 LCMS2_LIBS=""
14300 CPPFLAGS=$ac_save_CPPFLAGS
14303 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14304 case "x$with_cms" in
14305 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14306 xno) ;;
14307 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14308 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14309 esac
14313 if test "x$with_freetype" != "xno"
14314 then
14315 if ${FREETYPE_CFLAGS:+false} :; then :
14316 if ${PKG_CONFIG+:} false; then :
14317 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14320 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14321 if ${FREETYPE_LIBS:+false} :; then :
14322 if ${PKG_CONFIG+:} false; then :
14323 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14326 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14327 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14328 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14329 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14330 ac_save_CPPFLAGS=$CPPFLAGS
14331 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14332 for ac_header in ft2build.h
14333 do :
14334 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14335 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14336 cat >>confdefs.h <<_ACEOF
14337 #define HAVE_FT2BUILD_H 1
14338 _ACEOF
14342 done
14344 if test "$ac_cv_header_ft2build_h" = "yes"
14345 then
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14347 $as_echo_n "checking for -lfreetype... " >&6; }
14348 if ${ac_cv_lib_soname_freetype+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_check_soname_save_LIBS=$LIBS
14352 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14359 #ifdef __cplusplus
14360 extern "C"
14361 #endif
14362 char FT_Init_FreeType ();
14364 main ()
14366 return FT_Init_FreeType ();
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 case "$LIBEXT" in
14373 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14374 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'` ;;
14375 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14376 if ${ac_cv_lib_soname_freetype:+false} :; then :
14377 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14378 fi ;;
14379 esac
14380 else
14381 ac_cv_lib_soname_freetype=
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 LIBS=$ac_check_soname_save_LIBS
14387 if ${ac_cv_lib_soname_freetype:+false} :; then :
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14389 $as_echo "not found" >&6; }
14390 FREETYPE_LIBS=""
14391 else
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14393 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14395 cat >>confdefs.h <<_ACEOF
14396 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14397 _ACEOF
14400 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14402 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14403 #include FT_MODULE_H
14405 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14407 cat >>confdefs.h <<_ACEOF
14408 #define HAVE_FT_TRUETYPEENGINETYPE 1
14409 _ACEOF
14415 else
14416 FREETYPE_CFLAGS=""
14417 FREETYPE_LIBS=""
14419 CPPFLAGS=$ac_save_CPPFLAGS
14422 if test "x$ac_cv_lib_soname_freetype" = x; then :
14423 case "x$with_freetype" in
14424 xno) ;;
14425 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14426 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14427 esac
14428 enable_fonts=${enable_fonts:-no}
14431 ac_wine_check_funcs_save_LIBS="$LIBS"
14432 LIBS="$LIBS $PTHREAD_LIBS"
14433 for ac_func in \
14434 pthread_getthreadid_np
14435 do :
14436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14439 cat >>confdefs.h <<_ACEOF
14440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14441 _ACEOF
14444 done
14446 LIBS="$ac_wine_check_funcs_save_LIBS"
14448 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14449 then
14450 if test "$ac_cv_header_gettext_po_h" = "yes"
14451 then
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14453 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14454 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14455 $as_echo_n "(cached) " >&6
14456 else
14457 ac_check_lib_save_LIBS=$LIBS
14458 LIBS="-lgettextpo $LIBS"
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14462 /* Override any GCC internal prototype to avoid an error.
14463 Use char because int might match the return type of a GCC
14464 builtin and then its argument prototype would still apply. */
14465 #ifdef __cplusplus
14466 extern "C"
14467 #endif
14468 char po_message_msgctxt ();
14470 main ()
14472 return po_message_msgctxt ();
14474 return 0;
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14479 else
14480 ac_cv_lib_gettextpo_po_message_msgctxt=no
14482 rm -f core conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 LIBS=$ac_check_lib_save_LIBS
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14487 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14488 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14490 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14492 GETTEXTPO_LIBS="-lgettextpo"
14497 if test "x$GETTEXTPO_LIBS" = "x"; then :
14498 case "x$with_gettextpo" in
14499 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14500 xno) ;;
14501 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14502 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14503 esac
14506 if test "$srcdir" != .; then :
14507 case "x$with_gettextpo" in
14508 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14509 xno) ;;
14510 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14511 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14512 esac
14517 if test "x$with_pulse" != "xno";
14518 then
14519 if ${PULSE_CFLAGS:+false} :; then :
14520 if ${PKG_CONFIG+:} false; then :
14521 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14525 if ${PULSE_LIBS:+false} :; then :
14526 if ${PKG_CONFIG+:} false; then :
14527 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14532 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14533 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14534 ac_save_CPPFLAGS=$CPPFLAGS
14535 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14536 for ac_header in pulse/pulseaudio.h
14537 do :
14538 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14539 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14540 cat >>confdefs.h <<_ACEOF
14541 #define HAVE_PULSE_PULSEAUDIO_H 1
14542 _ACEOF
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14544 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14545 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 ac_check_lib_save_LIBS=$LIBS
14549 LIBS="-lpulse $PULSE_LIBS $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 #ifdef __cplusplus
14557 extern "C"
14558 #endif
14559 char pa_stream_is_corked ();
14561 main ()
14563 return pa_stream_is_corked ();
14565 return 0;
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_lib_pulse_pa_stream_is_corked=yes
14570 else
14571 ac_cv_lib_pulse_pa_stream_is_corked=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 LIBS=$ac_check_lib_save_LIBS
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14578 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14579 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14581 else
14582 PULSE_LIBS=""
14585 else
14586 PULSE_LIBS=""
14589 done
14591 CPPFLAGS=$ac_save_CPPFLAGS
14594 if test -z "$PULSE_LIBS"; then :
14595 case "x$with_pulse" in
14596 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14597 xno) ;;
14598 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14599 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14600 esac
14601 enable_winepulse_drv=${enable_winepulse_drv:-no}
14604 if test "x$with_gstreamer" != "xno"
14605 then
14606 if ${GSTREAMER_CFLAGS:+false} :; then :
14607 if ${PKG_CONFIG+:} false; then :
14608 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14612 if ${GSTREAMER_LIBS:+false} :; then :
14613 if ${PKG_CONFIG+:} false; then :
14614 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14620 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14621 ac_save_CPPFLAGS=$CPPFLAGS
14622 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14623 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14624 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14626 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 #include <gst/gst.h>
14631 main ()
14633 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_compile "$LINENO"; then :
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14640 $as_echo "yes" >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14642 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14643 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 #ifdef __cplusplus
14655 extern "C"
14656 #endif
14657 char gst_pad_new ();
14659 main ()
14661 return gst_pad_new ();
14663 return 0;
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14668 else
14669 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS=$ac_check_lib_save_LIBS
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14676 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14677 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14681 else
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14683 $as_echo "no" >&6; }
14684 ac_glib2_broken=yes
14685 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14691 CPPFLAGS=$ac_save_CPPFLAGS
14694 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14695 then
14696 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14697 case "x$with_gstreamer" in
14698 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14699 xno) ;;
14700 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14701 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14702 esac
14706 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14708 ALSA_LIBS=""
14710 if test "x$with_alsa" != "xno"
14711 then
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14713 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14714 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 ac_check_lib_save_LIBS=$LIBS
14718 LIBS="-lasound $LIBS"
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14722 /* Override any GCC internal prototype to avoid an error.
14723 Use char because int might match the return type of a GCC
14724 builtin and then its argument prototype would still apply. */
14725 #ifdef __cplusplus
14726 extern "C"
14727 #endif
14728 char snd_pcm_hw_params_get_access_mask ();
14730 main ()
14732 return snd_pcm_hw_params_get_access_mask ();
14734 return 0;
14736 _ACEOF
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14739 else
14740 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_lib_save_LIBS
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14747 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14748 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 #include <alsa/asoundlib.h>
14753 main ()
14755 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14757 return 0;
14759 _ACEOF
14760 if ac_fn_c_try_compile "$LINENO"; then :
14761 ALSA_LIBS="-lasound"
14763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14767 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14769 if test "x$with_oss" != xno
14770 then
14771 ac_save_CPPFLAGS="$CPPFLAGS"
14772 if test -f /etc/oss.conf
14773 then
14774 . /etc/oss.conf
14776 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14777 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14778 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14779 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14780 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14782 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14784 cat >>confdefs.h <<_ACEOF
14785 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14786 _ACEOF
14788 OSS4_CFLAGS="$ac_oss_incl"
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14791 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14792 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_check_lib_save_LIBS=$LIBS
14796 LIBS="-lossaudio $LIBS"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char _oss_ioctl ();
14808 main ()
14810 return _oss_ioctl ();
14812 return 0;
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_lib_ossaudio__oss_ioctl=yes
14817 else
14818 ac_cv_lib_ossaudio__oss_ioctl=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_lib_save_LIBS
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14825 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14826 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14827 OSS4_LIBS="-lossaudio"
14836 CPPFLAGS="$ac_save_CPPFLAGS"
14838 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14839 case "x$with_oss" in
14840 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14841 xno) ;;
14842 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14843 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14844 esac
14845 enable_wineoss_drv=${enable_wineoss_drv:-no}
14848 if test "x$with_udev" != "xno"
14849 then
14850 if ${UDEV_CFLAGS:+false} :; then :
14851 if ${PKG_CONFIG+:} false; then :
14852 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14856 if ${UDEV_LIBS:+false} :; then :
14857 if ${PKG_CONFIG+:} false; then :
14858 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14862 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14863 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14864 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14865 ac_save_CPPFLAGS=$CPPFLAGS
14866 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14867 for ac_header in libudev.h
14868 do :
14869 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14870 if test "x$ac_cv_header_libudev_h" = xyes; then :
14871 cat >>confdefs.h <<_ACEOF
14872 #define HAVE_LIBUDEV_H 1
14873 _ACEOF
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14875 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14876 if ${ac_cv_lib_udev_udev_new+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 ac_check_lib_save_LIBS=$LIBS
14880 LIBS="-ludev $UDEV_LIBS $LIBS"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14884 /* Override any GCC internal prototype to avoid an error.
14885 Use char because int might match the return type of a GCC
14886 builtin and then its argument prototype would still apply. */
14887 #ifdef __cplusplus
14888 extern "C"
14889 #endif
14890 char udev_new ();
14892 main ()
14894 return udev_new ();
14896 return 0;
14898 _ACEOF
14899 if ac_fn_c_try_link "$LINENO"; then :
14900 ac_cv_lib_udev_udev_new=yes
14901 else
14902 ac_cv_lib_udev_udev_new=no
14904 rm -f core conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_check_lib_save_LIBS
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14909 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14910 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14912 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14914 else
14915 UDEV_LIBS=""
14918 else
14919 UDEV_LIBS=""
14922 done
14924 CPPFLAGS=$ac_save_CPPFLAGS
14927 if test "x$UDEV_LIBS" = "x"; then :
14928 case "x$with_udev" in
14929 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14930 xno) ;;
14931 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14932 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14933 esac
14937 if test "x$with_unwind" != xno
14938 then
14939 if ${UNWIND_CFLAGS:+false} :; then :
14940 if ${PKG_CONFIG+:} false; then :
14941 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14945 if ${UNWIND_LIBS:+false} :; then :
14946 if ${PKG_CONFIG+:} false; then :
14947 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14951 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14952 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14953 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14954 ac_save_CPPFLAGS=$CPPFLAGS
14955 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14957 $as_echo_n "checking for unw_step... " >&6; }
14958 if ${wine_cv_have_unw_step+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 #define UNW_LOCAL_ONLY
14964 #include <libunwind.h>
14966 main ()
14968 unw_cursor_t cursor; unw_step( &cursor );
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 wine_cv_have_unw_step="yes"
14975 else
14976 wine_cv_have_unw_step="no"
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14982 $as_echo "$wine_cv_have_unw_step" >&6; }
14983 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14984 then
14985 save_libs=$LIBS
14986 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14987 LIBS="$UNWIND_LIBS $LIBS"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14989 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14990 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14995 #define UNW_LOCAL_ONLY
14996 #include <libunwind.h>
14998 main ()
15000 unw_cursor_t cursor; unw_step( &cursor );
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 wine_cv_have_libunwind_unw_step="yes"
15007 else
15008 wine_cv_have_libunwind_unw_step="no"
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15014 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15015 LIBS=$save_libs
15017 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15018 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15019 then
15021 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15024 CPPFLAGS=$ac_save_CPPFLAGS
15027 case $host in
15028 aarch64*|*-darwin*)
15029 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15030 case "x$with_unwind" in
15031 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15032 xno) ;;
15033 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15034 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15035 esac
15037 fi ;;
15038 esac
15040 if test "x$with_sdl" != "xno"
15041 then
15042 if ${SDL2_CFLAGS:+false} :; then :
15043 if ${PKG_CONFIG+:} false; then :
15044 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15048 if ${SDL2_LIBS:+false} :; then :
15049 if ${PKG_CONFIG+:} false; then :
15050 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15054 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15055 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15056 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15057 ac_save_CPPFLAGS=$CPPFLAGS
15058 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15059 for ac_header in SDL.h
15060 do :
15061 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15062 if test "x$ac_cv_header_SDL_h" = xyes; then :
15063 cat >>confdefs.h <<_ACEOF
15064 #define HAVE_SDL_H 1
15065 _ACEOF
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15067 $as_echo_n "checking for -lSDL2... " >&6; }
15068 if ${ac_cv_lib_soname_SDL2+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 ac_check_soname_save_LIBS=$LIBS
15072 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 #ifdef __cplusplus
15080 extern "C"
15081 #endif
15082 char SDL_Init ();
15084 main ()
15086 return SDL_Init ();
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 case "$LIBEXT" in
15093 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15094 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'` ;;
15095 *) 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'`
15096 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15097 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15098 fi ;;
15099 esac
15100 else
15101 ac_cv_lib_soname_SDL2=
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_soname_save_LIBS
15107 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15109 $as_echo "not found" >&6; }
15111 else
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15113 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15115 cat >>confdefs.h <<_ACEOF
15116 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15117 _ACEOF
15123 done
15125 CPPFLAGS=$ac_save_CPPFLAGS
15128 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15129 case "x$with_sdl" in
15130 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15131 xno) ;;
15132 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15133 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15134 esac
15138 if test "x$with_faudio" != "xno"
15139 then
15140 if ${FAUDIO_CFLAGS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15146 if ${FAUDIO_LIBS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15152 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15153 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15154 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15155 ac_save_CPPFLAGS=$CPPFLAGS
15156 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15157 for ac_header in FAudio.h
15158 do :
15159 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15160 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_FAUDIO_H 1
15163 _ACEOF
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15165 $as_echo_n "checking for -lFAudio... " >&6; }
15166 if ${ac_cv_lib_soname_FAudio+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 ac_check_soname_save_LIBS=$LIBS
15170 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char FAudioCreate ();
15182 main ()
15184 return FAudioCreate ();
15186 return 0;
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 case "$LIBEXT" in
15191 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15192 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'` ;;
15193 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15194 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15195 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15196 fi ;;
15197 esac
15198 else
15199 ac_cv_lib_soname_FAudio=
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_soname_save_LIBS
15205 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15207 $as_echo "not found" >&6; }
15209 else
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15211 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15213 cat >>confdefs.h <<_ACEOF
15214 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15215 _ACEOF
15221 done
15223 ac_wine_check_funcs_save_LIBS="$LIBS"
15224 LIBS="$LIBS $FAUDIO_LIBS"
15225 for ac_func in FAudio_CommitOperationSet \
15226 F3DAudioInitialize8 \
15227 FAudioLinkedVersion \
15228 FAudioCreateReverb9WithCustomAllocatorEXT
15229 do :
15230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15235 _ACEOF
15238 done
15240 LIBS="$ac_wine_check_funcs_save_LIBS"
15242 CPPFLAGS=$ac_save_CPPFLAGS
15245 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15246 case "x$with_faudio" in
15247 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15248 xno) ;;
15249 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15250 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15251 esac
15255 if test "x$with_capi" != "xno"
15256 then
15257 if ${CAPI20_CFLAGS:+false} :; then :
15258 if ${PKG_CONFIG+:} false; then :
15259 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15263 if ${CAPI20_LIBS:+false} :; then :
15264 if ${PKG_CONFIG+:} false; then :
15265 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15270 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15271 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15272 ac_save_CPPFLAGS=$CPPFLAGS
15273 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15274 for ac_header in capi20.h linux/capi.h
15275 do :
15276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15277 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15282 _ACEOF
15286 done
15288 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15289 then
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15291 $as_echo_n "checking for -lcapi20... " >&6; }
15292 if ${ac_cv_lib_soname_capi20+:} false; then :
15293 $as_echo_n "(cached) " >&6
15294 else
15295 ac_check_soname_save_LIBS=$LIBS
15296 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15300 /* Override any GCC internal prototype to avoid an error.
15301 Use char because int might match the return type of a GCC
15302 builtin and then its argument prototype would still apply. */
15303 #ifdef __cplusplus
15304 extern "C"
15305 #endif
15306 char capi20_register ();
15308 main ()
15310 return capi20_register ();
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 case "$LIBEXT" in
15317 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15318 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'` ;;
15319 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15320 if ${ac_cv_lib_soname_capi20:+false} :; then :
15321 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15322 fi ;;
15323 esac
15324 else
15325 ac_cv_lib_soname_capi20=
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_soname_save_LIBS
15331 if ${ac_cv_lib_soname_capi20:+false} :; then :
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15333 $as_echo "not found" >&6; }
15335 else
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15337 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15339 cat >>confdefs.h <<_ACEOF
15340 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15341 _ACEOF
15346 CPPFLAGS=$ac_save_CPPFLAGS
15349 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15350 case "x$with_capi" in
15351 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15352 xno) ;;
15353 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15354 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15355 esac
15359 if test "x$with_cups" != "xno"
15360 then
15361 if ${CUPS_CFLAGS:+false} :; then :
15362 if ${PKG_CONFIG+:} false; then :
15363 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15366 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15367 if ${CUPS_LIBS:+false} :; then :
15368 if ${PKG_CONFIG+:} false; then :
15369 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15372 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15373 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15374 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15375 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15376 ac_save_CPPFLAGS=$CPPFLAGS
15377 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15378 for ac_header in cups/cups.h cups/ppd.h
15379 do :
15380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15383 cat >>confdefs.h <<_ACEOF
15384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15385 _ACEOF
15389 done
15391 if test "$ac_cv_header_cups_cups_h" = "yes"
15392 then
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15394 $as_echo_n "checking for -lcups... " >&6; }
15395 if ${ac_cv_lib_soname_cups+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-lcups $CUPS_LIBS $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 #ifdef __cplusplus
15407 extern "C"
15408 #endif
15409 char cupsGetDefault ();
15411 main ()
15413 return cupsGetDefault ();
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 case "$LIBEXT" in
15420 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_cups:+false} :; then :
15424 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 fi ;;
15426 esac
15427 else
15428 ac_cv_lib_soname_cups=
15430 rm -f core conftest.err conftest.$ac_objext \
15431 conftest$ac_exeext conftest.$ac_ext
15432 LIBS=$ac_check_soname_save_LIBS
15434 if ${ac_cv_lib_soname_cups:+false} :; then :
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 $as_echo "not found" >&6; }
15437 CUPS_LIBS=""
15438 else
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15440 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15442 cat >>confdefs.h <<_ACEOF
15443 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15444 _ACEOF
15448 else
15449 CUPS_CFLAGS=""
15450 CUPS_LIBS=""
15452 CPPFLAGS=$ac_save_CPPFLAGS
15455 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15456 case "x$with_cups" in
15457 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15458 xno) ;;
15459 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15460 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15461 esac
15465 if test "x$with_fontconfig" != "xno"
15466 then
15467 if ${FONTCONFIG_CFLAGS:+false} :; then :
15468 if ${PKG_CONFIG+:} false; then :
15469 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15472 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15473 if ${FONTCONFIG_LIBS:+false} :; then :
15474 if ${PKG_CONFIG+:} false; then :
15475 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15478 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15480 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15481 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15482 ac_save_CPPFLAGS=$CPPFLAGS
15483 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15484 for ac_header in fontconfig/fontconfig.h
15485 do :
15486 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15487 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15490 _ACEOF
15494 done
15496 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15497 then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15499 $as_echo_n "checking for -lfontconfig... " >&6; }
15500 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15501 $as_echo_n "(cached) " >&6
15502 else
15503 ac_check_soname_save_LIBS=$LIBS
15504 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15506 /* end confdefs.h. */
15508 /* Override any GCC internal prototype to avoid an error.
15509 Use char because int might match the return type of a GCC
15510 builtin and then its argument prototype would still apply. */
15511 #ifdef __cplusplus
15512 extern "C"
15513 #endif
15514 char FcInit ();
15516 main ()
15518 return FcInit ();
15520 return 0;
15522 _ACEOF
15523 if ac_fn_c_try_link "$LINENO"; then :
15524 case "$LIBEXT" in
15525 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15526 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'` ;;
15527 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15528 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15529 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15530 fi ;;
15531 esac
15532 else
15533 ac_cv_lib_soname_fontconfig=
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15537 LIBS=$ac_check_soname_save_LIBS
15539 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15541 $as_echo "not found" >&6; }
15542 FONTCONFIG_CFLAGS=""
15543 else
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15545 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15547 cat >>confdefs.h <<_ACEOF
15548 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15549 _ACEOF
15553 else
15554 FONTCONFIG_CFLAGS=""
15556 CPPFLAGS=$ac_save_CPPFLAGS
15559 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15560 case "x$with_fontconfig" in
15561 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15562 xno) ;;
15563 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15564 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15570 then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15572 $as_echo_n "checking for -lgsm... " >&6; }
15573 if ${ac_cv_lib_soname_gsm+:} false; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 ac_check_soname_save_LIBS=$LIBS
15577 LIBS="-lgsm $LIBS"
15578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15581 /* Override any GCC internal prototype to avoid an error.
15582 Use char because int might match the return type of a GCC
15583 builtin and then its argument prototype would still apply. */
15584 #ifdef __cplusplus
15585 extern "C"
15586 #endif
15587 char gsm_create ();
15589 main ()
15591 return gsm_create ();
15593 return 0;
15595 _ACEOF
15596 if ac_fn_c_try_link "$LINENO"; then :
15597 case "$LIBEXT" in
15598 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15599 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'` ;;
15600 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15601 if ${ac_cv_lib_soname_gsm:+false} :; then :
15602 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15603 fi ;;
15604 esac
15605 else
15606 ac_cv_lib_soname_gsm=
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LIBS=$ac_check_soname_save_LIBS
15612 if ${ac_cv_lib_soname_gsm:+false} :; then :
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15614 $as_echo "not found" >&6; }
15616 else
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15618 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15620 cat >>confdefs.h <<_ACEOF
15621 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15622 _ACEOF
15627 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15628 case "x$with_gsm" in
15629 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15630 xno) ;;
15631 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15632 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15633 esac
15637 if test "x$with_krb5" != "xno"
15638 then
15639 if ${KRB5_CFLAGS:+false} :; then :
15640 if ${PKG_CONFIG+:} false; then :
15641 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15644 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15645 if ${KRB5_LIBS:+false} :; then :
15646 if ${PKG_CONFIG+:} false; then :
15647 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15650 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15652 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15653 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15654 ac_save_CPPFLAGS=$CPPFLAGS
15655 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15656 for ac_header in krb5/krb5.h
15657 do :
15658 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15659 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_KRB5_KRB5_H 1
15662 _ACEOF
15666 done
15668 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15669 then
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15671 $as_echo_n "checking for -lkrb5... " >&6; }
15672 if ${ac_cv_lib_soname_krb5+:} false; then :
15673 $as_echo_n "(cached) " >&6
15674 else
15675 ac_check_soname_save_LIBS=$LIBS
15676 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 /* Override any GCC internal prototype to avoid an error.
15681 Use char because int might match the return type of a GCC
15682 builtin and then its argument prototype would still apply. */
15683 #ifdef __cplusplus
15684 extern "C"
15685 #endif
15686 char krb5_is_config_principal ();
15688 main ()
15690 return krb5_is_config_principal ();
15692 return 0;
15694 _ACEOF
15695 if ac_fn_c_try_link "$LINENO"; then :
15696 case "$LIBEXT" in
15697 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15698 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'` ;;
15699 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15700 if ${ac_cv_lib_soname_krb5:+false} :; then :
15701 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15702 fi ;;
15703 esac
15704 else
15705 ac_cv_lib_soname_krb5=
15707 rm -f core conftest.err conftest.$ac_objext \
15708 conftest$ac_exeext conftest.$ac_ext
15709 LIBS=$ac_check_soname_save_LIBS
15711 if ${ac_cv_lib_soname_krb5:+false} :; then :
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15713 $as_echo "not found" >&6; }
15714 KRB5_CFLAGS=""
15715 else
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15717 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15719 cat >>confdefs.h <<_ACEOF
15720 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15721 _ACEOF
15725 else
15726 KRB5_CFLAGS=""
15728 CPPFLAGS=$ac_save_CPPFLAGS
15731 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15732 case "x$with_krb5" in
15733 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15734 xno) ;;
15735 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15736 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15737 esac
15740 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15742 if test "x$with_gssapi" != "xno"
15743 then
15744 if ${GSSAPI_CFLAGS:+false} :; then :
15745 if ${PKG_CONFIG+:} false; then :
15746 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15749 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15750 if ${GSSAPI_LIBS:+false} :; then :
15751 if ${PKG_CONFIG+:} false; then :
15752 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15755 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15757 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15758 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15759 ac_save_CPPFLAGS=$CPPFLAGS
15760 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15761 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15762 do :
15763 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15764 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15768 _ACEOF
15772 done
15774 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15775 then
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15777 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15778 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 ac_check_soname_save_LIBS=$LIBS
15782 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784 /* end confdefs.h. */
15786 /* Override any GCC internal prototype to avoid an error.
15787 Use char because int might match the return type of a GCC
15788 builtin and then its argument prototype would still apply. */
15789 #ifdef __cplusplus
15790 extern "C"
15791 #endif
15792 char gss_init_sec_context ();
15794 main ()
15796 return gss_init_sec_context ();
15798 return 0;
15800 _ACEOF
15801 if ac_fn_c_try_link "$LINENO"; then :
15802 case "$LIBEXT" in
15803 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15804 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'` ;;
15805 *) 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'`
15806 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15807 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15808 fi ;;
15809 esac
15810 else
15811 ac_cv_lib_soname_gssapi_krb5=
15813 rm -f core conftest.err conftest.$ac_objext \
15814 conftest$ac_exeext conftest.$ac_ext
15815 LIBS=$ac_check_soname_save_LIBS
15817 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15819 $as_echo "not found" >&6; }
15820 GSSAPI_CFLAGS=""
15821 else
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15823 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15825 cat >>confdefs.h <<_ACEOF
15826 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15827 _ACEOF
15831 else
15832 GSSAPI_CFLAGS=""
15834 CPPFLAGS=$ac_save_CPPFLAGS
15837 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15838 case "x$with_gssapi" in
15839 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15840 xno) ;;
15841 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15842 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15843 esac
15847 if test "x$with_jpeg" != "xno"
15848 then
15849 if ${JPEG_CFLAGS:+false} :; then :
15850 if ${PKG_CONFIG+:} false; then :
15851 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15855 if ${JPEG_LIBS:+false} :; then :
15856 if ${PKG_CONFIG+:} false; then :
15857 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15862 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15864 ac_save_CPPFLAGS=$CPPFLAGS
15865 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15866 for ac_header in jpeglib.h
15867 do :
15868 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15869 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_JPEGLIB_H 1
15872 _ACEOF
15876 done
15878 if test "$ac_cv_header_jpeglib_h" = "yes"
15879 then
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15881 $as_echo_n "checking for -ljpeg... " >&6; }
15882 if ${ac_cv_lib_soname_jpeg+:} false; then :
15883 $as_echo_n "(cached) " >&6
15884 else
15885 ac_check_soname_save_LIBS=$LIBS
15886 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15893 #ifdef __cplusplus
15894 extern "C"
15895 #endif
15896 char jpeg_start_decompress ();
15898 main ()
15900 return jpeg_start_decompress ();
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_link "$LINENO"; then :
15906 case "$LIBEXT" in
15907 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15908 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'` ;;
15909 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15911 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15912 fi ;;
15913 esac
15914 else
15915 ac_cv_lib_soname_jpeg=
15917 rm -f core conftest.err conftest.$ac_objext \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_soname_save_LIBS
15921 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15923 $as_echo "not found" >&6; }
15924 JPEG_CFLAGS=""
15925 else
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15927 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15929 cat >>confdefs.h <<_ACEOF
15930 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15931 _ACEOF
15935 else
15936 JPEG_CFLAGS=""
15938 CPPFLAGS=$ac_save_CPPFLAGS
15941 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15942 case "x$with_jpeg" in
15943 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15944 xno) ;;
15945 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15946 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15947 esac
15951 if test "x$with_jxrlib" != "xno"
15952 then
15953 if ${JXRLIB_CFLAGS:+false} :; then :
15954 if ${PKG_CONFIG+:} false; then :
15955 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15958 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15959 if ${JXRLIB_LIBS:+false} :; then :
15960 if ${PKG_CONFIG+:} false; then :
15961 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15966 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15967 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15968 ac_save_CPPFLAGS=$CPPFLAGS
15969 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15970 for ac_header in JXRGlue.h
15971 do :
15972 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15974 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_JXRGLUE_H 1
15977 _ACEOF
15981 done
15983 if test "$ac_cv_header_JXRGlue_h" = "yes"
15984 then
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15986 $as_echo_n "checking for -ljxrglue... " >&6; }
15987 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_check_soname_save_LIBS=$LIBS
15991 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char PKImageDecode_Create_WMP ();
16003 main ()
16005 return PKImageDecode_Create_WMP ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 case "$LIBEXT" in
16012 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16013 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'` ;;
16014 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16015 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16016 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16017 fi ;;
16018 esac
16019 else
16020 ac_cv_lib_soname_jxrglue=
16022 rm -f core conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_soname_save_LIBS
16026 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16028 $as_echo "not found" >&6; }
16029 JXRLIB_CFLAGS=""
16030 else
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16032 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16034 cat >>confdefs.h <<_ACEOF
16035 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16036 _ACEOF
16040 else
16041 JXRLIB_CFLAGS=""
16043 CPPFLAGS=$ac_save_CPPFLAGS
16046 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16047 case "x$with_jxrlib" in
16048 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16049 xno) ;;
16050 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16051 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16052 esac
16056 if test "x$with_png" != "xno"
16057 then
16058 if ${PNG_CFLAGS:+false} :; then :
16059 if ${PKG_CONFIG+:} false; then :
16060 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16063 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16064 if ${PNG_LIBS:+false} :; then :
16065 if ${PKG_CONFIG+:} false; then :
16066 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16069 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16071 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16072 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16073 ac_save_CPPFLAGS=$CPPFLAGS
16074 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16075 for ac_header in png.h
16076 do :
16077 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16078 if test "x$ac_cv_header_png_h" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_PNG_H 1
16081 _ACEOF
16085 done
16087 if test "$ac_cv_header_png_h" = "yes"
16088 then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16090 $as_echo_n "checking for -lpng... " >&6; }
16091 if ${ac_cv_lib_soname_png+:} false; then :
16092 $as_echo_n "(cached) " >&6
16093 else
16094 ac_check_soname_save_LIBS=$LIBS
16095 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16099 /* Override any GCC internal prototype to avoid an error.
16100 Use char because int might match the return type of a GCC
16101 builtin and then its argument prototype would still apply. */
16102 #ifdef __cplusplus
16103 extern "C"
16104 #endif
16105 char png_create_read_struct ();
16107 main ()
16109 return png_create_read_struct ();
16111 return 0;
16113 _ACEOF
16114 if ac_fn_c_try_link "$LINENO"; then :
16115 case "$LIBEXT" in
16116 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 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'` ;;
16118 *) 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'`
16119 if ${ac_cv_lib_soname_png:+false} :; then :
16120 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16121 fi ;;
16122 esac
16123 else
16124 ac_cv_lib_soname_png=
16126 rm -f core conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16128 LIBS=$ac_check_soname_save_LIBS
16130 if ${ac_cv_lib_soname_png:+false} :; then :
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16132 $as_echo "not found" >&6; }
16133 PNG_CFLAGS=""
16134 else
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16136 $as_echo "$ac_cv_lib_soname_png" >&6; }
16138 cat >>confdefs.h <<_ACEOF
16139 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16140 _ACEOF
16144 else
16145 PNG_CFLAGS=""
16147 CPPFLAGS=$ac_save_CPPFLAGS
16150 if test "x$ac_cv_lib_soname_png" = "x"; then :
16151 case "x$with_png" in
16152 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16153 xno) ;;
16154 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16155 This is an error since --with-png was requested." "$LINENO" 5 ;;
16156 esac
16160 if test "x$with_tiff" != "xno"
16161 then
16162 if ${TIFF_CFLAGS:+false} :; then :
16163 if ${PKG_CONFIG+:} false; then :
16164 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16168 if ${TIFF_LIBS:+false} :; then :
16169 if ${PKG_CONFIG+:} false; then :
16170 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16175 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16176 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16177 ac_save_CPPFLAGS=$CPPFLAGS
16178 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16179 for ac_header in tiffio.h
16180 do :
16181 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16182 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_TIFFIO_H 1
16185 _ACEOF
16189 done
16191 if test "$ac_cv_header_tiffio_h" = "yes"
16192 then
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16194 $as_echo_n "checking for -ltiff... " >&6; }
16195 if ${ac_cv_lib_soname_tiff+:} false; then :
16196 $as_echo_n "(cached) " >&6
16197 else
16198 ac_check_soname_save_LIBS=$LIBS
16199 LIBS="-ltiff $TIFF_LIBS $LIBS"
16200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16203 /* Override any GCC internal prototype to avoid an error.
16204 Use char because int might match the return type of a GCC
16205 builtin and then its argument prototype would still apply. */
16206 #ifdef __cplusplus
16207 extern "C"
16208 #endif
16209 char TIFFClientOpen ();
16211 main ()
16213 return TIFFClientOpen ();
16215 return 0;
16217 _ACEOF
16218 if ac_fn_c_try_link "$LINENO"; then :
16219 case "$LIBEXT" in
16220 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16221 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'` ;;
16222 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16223 if ${ac_cv_lib_soname_tiff:+false} :; then :
16224 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16225 fi ;;
16226 esac
16227 else
16228 ac_cv_lib_soname_tiff=
16230 rm -f core conftest.err conftest.$ac_objext \
16231 conftest$ac_exeext conftest.$ac_ext
16232 LIBS=$ac_check_soname_save_LIBS
16234 if ${ac_cv_lib_soname_tiff:+false} :; then :
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16236 $as_echo "not found" >&6; }
16238 else
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16240 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16242 cat >>confdefs.h <<_ACEOF
16243 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16244 _ACEOF
16249 CPPFLAGS=$ac_save_CPPFLAGS
16252 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16253 case "x$with_tiff" in
16254 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16255 xno) ;;
16256 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16257 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16258 esac
16262 if test "x$with_mpg123" != "xno"
16263 then
16264 if ${MPG123_CFLAGS:+false} :; then :
16265 if ${PKG_CONFIG+:} false; then :
16266 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16270 if ${MPG123_LIBS:+false} :; then :
16271 if ${PKG_CONFIG+:} false; then :
16272 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16276 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16277 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16278 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16279 ac_save_CPPFLAGS=$CPPFLAGS
16280 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16281 for ac_header in mpg123.h
16282 do :
16283 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16284 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_MPG123_H 1
16287 _ACEOF
16291 done
16293 if test "$ac_cv_header_mpg123_h" = "yes"
16294 then
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16296 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16297 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 ac_check_lib_save_LIBS=$LIBS
16301 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16308 #ifdef __cplusplus
16309 extern "C"
16310 #endif
16311 char mpg123_feed ();
16313 main ()
16315 return mpg123_feed ();
16317 return 0;
16319 _ACEOF
16320 if ac_fn_c_try_link "$LINENO"; then :
16321 ac_cv_lib_mpg123_mpg123_feed=yes
16322 else
16323 ac_cv_lib_mpg123_mpg123_feed=no
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16327 LIBS=$ac_check_lib_save_LIBS
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16330 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16331 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16333 else
16334 MPG123_LIBS=""
16337 else
16338 MPG123_CFLAGS=""
16339 MPG123_LIBS=""
16341 CPPFLAGS=$ac_save_CPPFLAGS
16344 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16345 case "x$with_mpg123" in
16346 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16347 xno) ;;
16348 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16349 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16350 esac
16351 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16353 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16355 if test "$ac_cv_header_AL_al_h" = "yes"
16356 then
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16358 $as_echo_n "checking for -lopenal... " >&6; }
16359 if ${ac_cv_lib_soname_openal+:} false; then :
16360 $as_echo_n "(cached) " >&6
16361 else
16362 ac_check_soname_save_LIBS=$LIBS
16363 LIBS="-lopenal $LIBS"
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16370 #ifdef __cplusplus
16371 extern "C"
16372 #endif
16373 char alGetSource3i ();
16375 main ()
16377 return alGetSource3i ();
16379 return 0;
16381 _ACEOF
16382 if ac_fn_c_try_link "$LINENO"; then :
16383 case "$LIBEXT" in
16384 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16385 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'` ;;
16386 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16387 if ${ac_cv_lib_soname_openal:+false} :; then :
16388 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16389 fi ;;
16390 esac
16391 else
16392 ac_cv_lib_soname_openal=
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_soname_save_LIBS
16398 if ${ac_cv_lib_soname_openal:+false} :; then :
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16400 $as_echo "not found" >&6; }
16402 else
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16404 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16406 cat >>confdefs.h <<_ACEOF
16407 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16408 _ACEOF
16410 OPENAL_LIBS="-lopenal"
16412 ac_cv_lib_openal=yes
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_OPENAL 1
16416 _ACEOF
16420 if test "x$ac_cv_lib_openal" != xyes; then :
16421 case "x$with_openal" in
16422 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16423 xno) ;;
16424 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16425 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16426 esac
16427 enable_openal32=${enable_openal32:-no}
16430 if test "x$ac_cv_lib_soname_FAudio" = "x"
16431 then
16432 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16433 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16434 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16435 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16436 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16437 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16438 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16439 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16440 enable_xactengine2_0=${enable_xactengine2_0:-no}
16441 enable_xactengine2_4=${enable_xactengine2_4:-no}
16442 enable_xactengine2_7=${enable_xactengine2_7:-no}
16443 enable_xactengine2_9=${enable_xactengine2_9:-no}
16444 enable_xactengine3_0=${enable_xactengine3_0:-no}
16445 enable_xactengine3_1=${enable_xactengine3_1:-no}
16446 enable_xactengine3_2=${enable_xactengine3_2:-no}
16447 enable_xactengine3_3=${enable_xactengine3_3:-no}
16448 enable_xactengine3_4=${enable_xactengine3_4:-no}
16449 enable_xactengine3_5=${enable_xactengine3_5:-no}
16450 enable_xactengine3_6=${enable_xactengine3_6:-no}
16451 enable_xactengine3_7=${enable_xactengine3_7:-no}
16452 enable_xapofx1_1=${enable_xapofx1_1:-no}
16453 enable_xapofx1_2=${enable_xapofx1_2:-no}
16454 enable_xapofx1_3=${enable_xapofx1_3:-no}
16455 enable_xapofx1_4=${enable_xapofx1_4:-no}
16456 enable_xapofx1_5=${enable_xapofx1_5:-no}
16457 enable_xaudio2_0=${enable_xaudio2_0:-no}
16458 enable_xaudio2_1=${enable_xaudio2_1:-no}
16459 enable_xaudio2_2=${enable_xaudio2_2:-no}
16460 enable_xaudio2_3=${enable_xaudio2_3:-no}
16461 enable_xaudio2_4=${enable_xaudio2_4:-no}
16462 enable_xaudio2_5=${enable_xaudio2_5:-no}
16463 enable_xaudio2_6=${enable_xaudio2_6:-no}
16464 enable_xaudio2_7=${enable_xaudio2_7:-no}
16465 enable_xaudio2_8=${enable_xaudio2_8:-no}
16466 enable_xaudio2_9=${enable_xaudio2_9:-no}
16469 if test "$ac_cv_header_kstat_h" = "yes"
16470 then
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16472 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16473 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 ac_check_lib_save_LIBS=$LIBS
16477 LIBS="-lkstat $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 #ifdef __cplusplus
16485 extern "C"
16486 #endif
16487 char kstat_open ();
16489 main ()
16491 return kstat_open ();
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"; then :
16497 ac_cv_lib_kstat_kstat_open=yes
16498 else
16499 ac_cv_lib_kstat_kstat_open=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16503 LIBS=$ac_check_lib_save_LIBS
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16506 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16507 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16509 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16511 KSTAT_LIBS="-lkstat"
16517 if test "$ac_cv_header_libprocstat_h" = "yes"
16518 then
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16520 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16521 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 ac_check_lib_save_LIBS=$LIBS
16525 LIBS="-lprocstat $LIBS"
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16529 /* Override any GCC internal prototype to avoid an error.
16530 Use char because int might match the return type of a GCC
16531 builtin and then its argument prototype would still apply. */
16532 #ifdef __cplusplus
16533 extern "C"
16534 #endif
16535 char procstat_open_sysctl ();
16537 main ()
16539 return procstat_open_sysctl ();
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_link "$LINENO"; then :
16545 ac_cv_lib_procstat_procstat_open_sysctl=yes
16546 else
16547 ac_cv_lib_procstat_procstat_open_sysctl=no
16549 rm -f core conftest.err conftest.$ac_objext \
16550 conftest$ac_exeext conftest.$ac_ext
16551 LIBS=$ac_check_lib_save_LIBS
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16554 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16555 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16557 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16559 PROCSTAT_LIBS="-lprocstat"
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16566 $as_echo_n "checking for -lodbc... " >&6; }
16567 if ${ac_cv_lib_soname_odbc+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 ac_check_soname_save_LIBS=$LIBS
16571 LIBS="-lodbc $LIBS"
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16575 /* Override any GCC internal prototype to avoid an error.
16576 Use char because int might match the return type of a GCC
16577 builtin and then its argument prototype would still apply. */
16578 #ifdef __cplusplus
16579 extern "C"
16580 #endif
16581 char SQLConnect ();
16583 main ()
16585 return SQLConnect ();
16587 return 0;
16589 _ACEOF
16590 if ac_fn_c_try_link "$LINENO"; then :
16591 case "$LIBEXT" in
16592 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16593 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'` ;;
16594 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16595 if ${ac_cv_lib_soname_odbc:+false} :; then :
16596 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16597 fi ;;
16598 esac
16599 else
16600 ac_cv_lib_soname_odbc=
16602 rm -f core conftest.err conftest.$ac_objext \
16603 conftest$ac_exeext conftest.$ac_ext
16604 LIBS=$ac_check_soname_save_LIBS
16606 if ${ac_cv_lib_soname_odbc:+false} :; then :
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16608 $as_echo "not found" >&6; }
16609 cat >>confdefs.h <<_ACEOF
16610 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16611 _ACEOF
16613 else
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16615 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16617 cat >>confdefs.h <<_ACEOF
16618 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16619 _ACEOF
16624 if test "x$with_netapi" != "xno"
16625 then
16626 if ${NETAPI_CFLAGS:+false} :; then :
16627 if ${PKG_CONFIG+:} false; then :
16628 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16632 if ${NETAPI_LIBS:+false} :; then :
16633 if ${PKG_CONFIG+:} false; then :
16634 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16639 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16640 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16641 ac_save_CPPFLAGS=$CPPFLAGS
16642 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16644 $as_echo_n "checking for -lnetapi... " >&6; }
16645 if ${ac_cv_lib_soname_netapi+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 ac_check_soname_save_LIBS=$LIBS
16649 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16653 /* Override any GCC internal prototype to avoid an error.
16654 Use char because int might match the return type of a GCC
16655 builtin and then its argument prototype would still apply. */
16656 #ifdef __cplusplus
16657 extern "C"
16658 #endif
16659 char libnetapi_init ();
16661 main ()
16663 return libnetapi_init ();
16665 return 0;
16667 _ACEOF
16668 if ac_fn_c_try_link "$LINENO"; then :
16669 case "$LIBEXT" in
16670 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16671 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'` ;;
16672 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16673 if ${ac_cv_lib_soname_netapi:+false} :; then :
16674 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16675 fi ;;
16676 esac
16677 else
16678 ac_cv_lib_soname_netapi=
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16682 LIBS=$ac_check_soname_save_LIBS
16684 if ${ac_cv_lib_soname_netapi:+false} :; then :
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16686 $as_echo "not found" >&6; }
16687 cat >>confdefs.h <<_ACEOF
16688 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16689 _ACEOF
16691 else
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16693 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16695 cat >>confdefs.h <<_ACEOF
16696 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16697 _ACEOF
16701 CPPFLAGS=$ac_save_CPPFLAGS
16705 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16706 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16707 then
16708 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16711 if test "x$with_vulkan" != "xno"
16712 then
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16714 $as_echo_n "checking for -lvulkan... " >&6; }
16715 if ${ac_cv_lib_soname_vulkan+:} false; then :
16716 $as_echo_n "(cached) " >&6
16717 else
16718 ac_check_soname_save_LIBS=$LIBS
16719 LIBS="-lvulkan $LIBS"
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16726 #ifdef __cplusplus
16727 extern "C"
16728 #endif
16729 char vkGetInstanceProcAddr ();
16731 main ()
16733 return vkGetInstanceProcAddr ();
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 case "$LIBEXT" in
16740 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16741 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'` ;;
16742 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16743 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16744 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16745 fi ;;
16746 esac
16747 else
16748 ac_cv_lib_soname_vulkan=
16750 rm -f core conftest.err conftest.$ac_objext \
16751 conftest$ac_exeext conftest.$ac_ext
16752 LIBS=$ac_check_soname_save_LIBS
16754 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16756 $as_echo "not found" >&6; }
16758 else
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16760 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16762 cat >>confdefs.h <<_ACEOF
16763 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16764 _ACEOF
16768 if test "x$ac_cv_lib_soname_vulkan" = "x"
16769 then
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16771 $as_echo_n "checking for -lMoltenVK... " >&6; }
16772 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 ac_check_soname_save_LIBS=$LIBS
16776 LIBS="-lMoltenVK $LIBS"
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16780 /* Override any GCC internal prototype to avoid an error.
16781 Use char because int might match the return type of a GCC
16782 builtin and then its argument prototype would still apply. */
16783 #ifdef __cplusplus
16784 extern "C"
16785 #endif
16786 char vkGetInstanceProcAddr ();
16788 main ()
16790 return vkGetInstanceProcAddr ();
16792 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_link "$LINENO"; then :
16796 case "$LIBEXT" in
16797 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16798 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'` ;;
16799 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16800 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16801 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16802 fi ;;
16803 esac
16804 else
16805 ac_cv_lib_soname_MoltenVK=
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 LIBS=$ac_check_soname_save_LIBS
16811 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16813 $as_echo "not found" >&6; }
16815 else
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16817 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16819 cat >>confdefs.h <<_ACEOF
16820 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16821 _ACEOF
16827 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16828 case "x$with_vulkan" in
16829 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16830 xno) ;;
16831 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16832 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16833 esac
16837 if test "x$with_vkd3d" != "xno"
16838 then
16839 if ${VKD3D_CFLAGS:+false} :; then :
16840 if ${PKG_CONFIG+:} false; then :
16841 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16845 if ${VKD3D_LIBS:+false} :; then :
16846 if ${PKG_CONFIG+:} false; then :
16847 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16852 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16853 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16854 ac_save_CPPFLAGS=$CPPFLAGS
16855 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16857 $as_echo_n "checking for -lvkd3d... " >&6; }
16858 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 ac_check_soname_save_LIBS=$LIBS
16862 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16866 /* Override any GCC internal prototype to avoid an error.
16867 Use char because int might match the return type of a GCC
16868 builtin and then its argument prototype would still apply. */
16869 #ifdef __cplusplus
16870 extern "C"
16871 #endif
16872 char vkd3d_serialize_versioned_root_signature ();
16874 main ()
16876 return vkd3d_serialize_versioned_root_signature ();
16878 return 0;
16880 _ACEOF
16881 if ac_fn_c_try_link "$LINENO"; then :
16882 case "$LIBEXT" in
16883 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16884 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'` ;;
16885 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16886 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16887 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16888 fi ;;
16889 esac
16890 else
16891 ac_cv_lib_soname_vkd3d=
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16895 LIBS=$ac_check_soname_save_LIBS
16897 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16899 $as_echo "not found" >&6; }
16901 else
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16903 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16905 cat >>confdefs.h <<_ACEOF
16906 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16907 _ACEOF
16911 CPPFLAGS=$ac_save_CPPFLAGS
16913 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16914 if ${PKG_CONFIG+:} false; then :
16915 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16919 if ${VKD3D_SHADER_LIBS:+false} :; then :
16920 if ${PKG_CONFIG+:} false; then :
16921 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16926 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16927 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16928 ac_save_CPPFLAGS=$CPPFLAGS
16929 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16931 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16932 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_check_soname_save_LIBS=$LIBS
16936 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16940 /* Override any GCC internal prototype to avoid an error.
16941 Use char because int might match the return type of a GCC
16942 builtin and then its argument prototype would still apply. */
16943 #ifdef __cplusplus
16944 extern "C"
16945 #endif
16946 char vkd3d_shader_compile ();
16948 main ()
16950 return vkd3d_shader_compile ();
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 case "$LIBEXT" in
16957 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16958 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'` ;;
16959 *) 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'`
16960 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16961 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16962 fi ;;
16963 esac
16964 else
16965 ac_cv_lib_soname_vkd3d_shader=
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16969 LIBS=$ac_check_soname_save_LIBS
16971 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16973 $as_echo "not found" >&6; }
16975 else
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16977 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16979 cat >>confdefs.h <<_ACEOF
16980 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16981 _ACEOF
16985 CPPFLAGS=$ac_save_CPPFLAGS
16988 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16989 case "x$with_vkd3d" in
16990 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16991 xno) ;;
16992 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16993 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16994 esac
16997 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17000 EXTRACFLAGS=""
17002 if test "x${GCC}" = "xyes"
17003 then
17004 EXTRACFLAGS="-Wall -pipe"
17006 saved_CFLAGS=$CFLAGS
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17008 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17009 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_wine_try_cflags_saved=$CFLAGS
17013 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 int main(int argc, char **argv) { return 0; }
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_cflags__Werror_unknown_warning_option=yes
17020 else
17021 ac_cv_cflags__Werror_unknown_warning_option=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 CFLAGS=$ac_wine_try_cflags_saved
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17028 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17029 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17030 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17033 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17034 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 int main(int argc, char **argv) { return 0; }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_cflags__Werror_unused_command_line_argument=yes
17045 else
17046 ac_cv_cflags__Werror_unused_command_line_argument=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 CFLAGS=$ac_wine_try_cflags_saved
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17053 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17054 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17055 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17058 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17059 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 int main(int argc, char **argv) { return 0; }
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17070 else
17071 ac_cv_cflags__Werror_ignored_optimization_argument=no
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17078 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17079 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17080 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17083 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17084 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -fcf-protection=none"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 int main(int argc, char **argv) { return 0; }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_cflags__fcf_protection_none=yes
17095 else
17096 ac_cv_cflags__fcf_protection_none=no
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 CFLAGS=$ac_wine_try_cflags_saved
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17103 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17104 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17108 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17109 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_wine_try_cflags_saved=$CFLAGS
17113 CFLAGS="$CFLAGS -fno-stack-protector"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 int main(int argc, char **argv) { return 0; }
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_cflags__fno_stack_protector=yes
17120 else
17121 ac_cv_cflags__fno_stack_protector=no
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17125 CFLAGS=$ac_wine_try_cflags_saved
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17128 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17129 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17130 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17133 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17134 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 ac_wine_try_cflags_saved=$CFLAGS
17138 CFLAGS="$CFLAGS -fno-strict-aliasing"
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 int main(int argc, char **argv) { return 0; }
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_cflags__fno_strict_aliasing=yes
17145 else
17146 ac_cv_cflags__fno_strict_aliasing=no
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17150 CFLAGS=$ac_wine_try_cflags_saved
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17153 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17154 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17155 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17158 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17159 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_wine_try_cflags_saved=$CFLAGS
17163 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 int main(int argc, char **argv) { return 0; }
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_cflags__Wdeclaration_after_statement=yes
17170 else
17171 ac_cv_cflags__Wdeclaration_after_statement=no
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17175 CFLAGS=$ac_wine_try_cflags_saved
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17178 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17179 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17180 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17183 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17184 if ${ac_cv_cflags__Wempty_body+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 ac_wine_try_cflags_saved=$CFLAGS
17188 CFLAGS="$CFLAGS -Wempty-body"
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17191 int main(int argc, char **argv) { return 0; }
17192 _ACEOF
17193 if ac_fn_c_try_link "$LINENO"; then :
17194 ac_cv_cflags__Wempty_body=yes
17195 else
17196 ac_cv_cflags__Wempty_body=no
17198 rm -f core conftest.err conftest.$ac_objext \
17199 conftest$ac_exeext conftest.$ac_ext
17200 CFLAGS=$ac_wine_try_cflags_saved
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17203 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17204 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17205 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17208 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17209 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 ac_wine_try_cflags_saved=$CFLAGS
17213 CFLAGS="$CFLAGS -Wignored-qualifiers"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 int main(int argc, char **argv) { return 0; }
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_cflags__Wignored_qualifiers=yes
17220 else
17221 ac_cv_cflags__Wignored_qualifiers=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17225 CFLAGS=$ac_wine_try_cflags_saved
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17228 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17229 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17230 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17233 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17234 if ${ac_cv_cflags__Winit_self+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_wine_try_cflags_saved=$CFLAGS
17238 CFLAGS="$CFLAGS -Winit-self"
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 int main(int argc, char **argv) { return 0; }
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_cflags__Winit_self=yes
17245 else
17246 ac_cv_cflags__Winit_self=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 CFLAGS=$ac_wine_try_cflags_saved
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17253 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17254 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17255 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17258 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17259 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 ac_wine_try_cflags_saved=$CFLAGS
17263 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 int main(int argc, char **argv) { return 0; }
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_cflags__Wpacked_not_aligned=yes
17270 else
17271 ac_cv_cflags__Wpacked_not_aligned=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 CFLAGS=$ac_wine_try_cflags_saved
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17278 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17279 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17280 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17283 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17284 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17285 $as_echo_n "(cached) " >&6
17286 else
17287 ac_wine_try_cflags_saved=$CFLAGS
17288 CFLAGS="$CFLAGS -Wpragma-pack"
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 int main(int argc, char **argv) { return 0; }
17292 _ACEOF
17293 if ac_fn_c_try_link "$LINENO"; then :
17294 ac_cv_cflags__Wpragma_pack=yes
17295 else
17296 ac_cv_cflags__Wpragma_pack=no
17298 rm -f core conftest.err conftest.$ac_objext \
17299 conftest$ac_exeext conftest.$ac_ext
17300 CFLAGS=$ac_wine_try_cflags_saved
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17303 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17304 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17305 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17308 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17309 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17312 ac_wine_try_cflags_saved=$CFLAGS
17313 CFLAGS="$CFLAGS -Wshift-overflow=2"
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 int main(int argc, char **argv) { return 0; }
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"; then :
17319 ac_cv_cflags__Wshift_overflow_2=yes
17320 else
17321 ac_cv_cflags__Wshift_overflow_2=no
17323 rm -f core conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 CFLAGS=$ac_wine_try_cflags_saved
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17328 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17329 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17330 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17333 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17334 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_wine_try_cflags_saved=$CFLAGS
17338 CFLAGS="$CFLAGS -Wstrict-prototypes"
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 int main(int argc, char **argv) { return 0; }
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_cflags__Wstrict_prototypes=yes
17345 else
17346 ac_cv_cflags__Wstrict_prototypes=no
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17350 CFLAGS=$ac_wine_try_cflags_saved
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17353 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17354 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17355 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17358 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17359 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 ac_wine_try_cflags_saved=$CFLAGS
17363 CFLAGS="$CFLAGS -Wtype-limits"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 int main(int argc, char **argv) { return 0; }
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_cflags__Wtype_limits=yes
17370 else
17371 ac_cv_cflags__Wtype_limits=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 CFLAGS=$ac_wine_try_cflags_saved
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17378 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17379 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17380 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17383 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17384 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_wine_try_cflags_saved=$CFLAGS
17388 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 int main(int argc, char **argv) { return 0; }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394 ac_cv_cflags__Wunused_but_set_parameter=yes
17395 else
17396 ac_cv_cflags__Wunused_but_set_parameter=no
17398 rm -f core conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400 CFLAGS=$ac_wine_try_cflags_saved
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17403 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17404 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17405 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17408 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17409 if ${ac_cv_cflags__Wvla+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 ac_wine_try_cflags_saved=$CFLAGS
17413 CFLAGS="$CFLAGS -Wvla"
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 int main(int argc, char **argv) { return 0; }
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"; then :
17419 ac_cv_cflags__Wvla=yes
17420 else
17421 ac_cv_cflags__Wvla=no
17423 rm -f core conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17425 CFLAGS=$ac_wine_try_cflags_saved
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17428 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17429 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17430 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17433 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17434 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17437 ac_wine_try_cflags_saved=$CFLAGS
17438 CFLAGS="$CFLAGS -Wwrite-strings"
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 int main(int argc, char **argv) { return 0; }
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 ac_cv_cflags__Wwrite_strings=yes
17445 else
17446 ac_cv_cflags__Wwrite_strings=no
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17450 CFLAGS=$ac_wine_try_cflags_saved
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17453 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17454 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17455 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17458 if test -z "$CROSSTARGET"
17459 then
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17461 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17462 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17463 $as_echo_n "(cached) " >&6
17464 else
17465 ac_wine_try_cflags_saved=$CFLAGS
17466 CFLAGS="$CFLAGS -fexcess-precision=standard"
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469 int main(int argc, char **argv) { return 0; }
17470 _ACEOF
17471 if ac_fn_c_try_link "$LINENO"; then :
17472 ac_cv_cflags__fexcess_precision_standard=yes
17473 else
17474 ac_cv_cflags__fexcess_precision_standard=no
17476 rm -f core conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17478 CFLAGS=$ac_wine_try_cflags_saved
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17481 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17482 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17483 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17489 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17490 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17493 ac_wine_try_cflags_saved=$CFLAGS
17494 CFLAGS="$CFLAGS -Wpointer-arith"
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17497 int main(int argc, char **argv) { return 0; }
17498 _ACEOF
17499 if ac_fn_c_try_link "$LINENO"; then :
17500 ac_cv_cflags__Wpointer_arith=yes
17501 else
17502 ac_cv_cflags__Wpointer_arith=no
17504 rm -f core conftest.err conftest.$ac_objext \
17505 conftest$ac_exeext conftest.$ac_ext
17506 CFLAGS=$ac_wine_try_cflags_saved
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17509 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17510 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17511 saved_string_h_CFLAGS=$CFLAGS
17512 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17514 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17515 if ${ac_cv_c_string_h_warnings+:} false; then :
17516 $as_echo_n "(cached) " >&6
17517 else
17518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17520 #include <string.h>
17522 main ()
17526 return 0;
17528 _ACEOF
17529 if ac_fn_c_try_compile "$LINENO"; then :
17530 ac_cv_c_string_h_warnings=no
17531 else
17532 ac_cv_c_string_h_warnings=yes
17534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17537 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17538 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17539 CFLAGS=$saved_string_h_CFLAGS
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17543 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17544 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17547 ac_wine_try_cflags_saved=$CFLAGS
17548 CFLAGS="$CFLAGS -Wlogical-op"
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17551 int main(int argc, char **argv) { return 0; }
17552 _ACEOF
17553 if ac_fn_c_try_link "$LINENO"; then :
17554 ac_cv_cflags__Wlogical_op=yes
17555 else
17556 ac_cv_cflags__Wlogical_op=no
17558 rm -f core conftest.err conftest.$ac_objext \
17559 conftest$ac_exeext conftest.$ac_ext
17560 CFLAGS=$ac_wine_try_cflags_saved
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17563 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17564 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17565 saved_string_h_CFLAGS=$CFLAGS
17566 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17568 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17569 if ${ac_cv_c_logicalop_noisy+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 #include <string.h>
17575 char*f(const char *h,char n) {return strchr(h,n);}
17577 main ()
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 ac_cv_c_logicalop_noisy=no
17586 else
17587 ac_cv_c_logicalop_noisy=yes
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17592 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17593 CFLAGS=$saved_string_h_CFLAGS
17594 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17598 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17599 if ${wine_cv_64bit_compare_swap+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17605 #error no
17606 #endif
17608 main ()
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 wine_cv_64bit_compare_swap="none needed"
17617 else
17618 case $host_cpu in
17619 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17620 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17621 *) wine_cv_64bit_compare_swap="unknown" ;;
17622 esac
17623 if test "x$wine_cv_64bit_compare_swap" != xunknown
17624 then
17625 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17629 #error no
17630 #endif
17632 main ()
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17641 else
17642 wine_cv_64bit_compare_swap="unknown"
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 CFLAGS=$saved_CFLAGS
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17651 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17652 case "$wine_cv_64bit_compare_swap" in
17653 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17654 "none needed") ;;
17655 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17656 esac
17658 for ac_flag in $CFLAGS; do
17659 case $ac_flag in
17660 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17661 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17662 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17663 $as_echo_n "(cached) " >&6
17664 else
17665 ac_wine_try_cflags_saved=$CFLAGS
17666 CFLAGS="$CFLAGS -gdwarf-2"
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 int main(int argc, char **argv) { return 0; }
17670 _ACEOF
17671 if ac_fn_c_try_link "$LINENO"; then :
17672 ac_cv_cflags__gdwarf_2=yes
17673 else
17674 ac_cv_cflags__gdwarf_2=no
17676 rm -f core conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17678 CFLAGS=$ac_wine_try_cflags_saved
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17681 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17682 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17683 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17686 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17687 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17688 $as_echo_n "(cached) " >&6
17689 else
17690 ac_wine_try_cflags_saved=$CFLAGS
17691 CFLAGS="$CFLAGS -gstrict-dwarf"
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 int main(int argc, char **argv) { return 0; }
17695 _ACEOF
17696 if ac_fn_c_try_link "$LINENO"; then :
17697 ac_cv_cflags__gstrict_dwarf=yes
17698 else
17699 ac_cv_cflags__gstrict_dwarf=no
17701 rm -f core conftest.err conftest.$ac_objext \
17702 conftest$ac_exeext conftest.$ac_ext
17703 CFLAGS=$ac_wine_try_cflags_saved
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17706 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17707 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17708 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17709 fi ;;
17710 esac
17711 done
17713 MSVCRTFLAGS=""
17715 case $host_os in
17716 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17717 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17718 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 ac_wine_try_cflags_saved=$CFLAGS
17722 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 int main(int argc, char **argv) { return 0; }
17726 _ACEOF
17727 if ac_fn_c_try_link "$LINENO"; then :
17728 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17729 else
17730 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 CFLAGS=$ac_wine_try_cflags_saved
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17737 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17738 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17739 DELAYLOADFLAG="-Wl,-delayload,"
17741 fi ;;
17742 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17743 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17744 if ${ac_cv_cflags__fno_builtin+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 ac_wine_try_cflags_saved=$CFLAGS
17748 CFLAGS="$CFLAGS -fno-builtin"
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 int main(int argc, char **argv) { return 0; }
17752 _ACEOF
17753 if ac_fn_c_try_link "$LINENO"; then :
17754 ac_cv_cflags__fno_builtin=yes
17755 else
17756 ac_cv_cflags__fno_builtin=no
17758 rm -f core conftest.err conftest.$ac_objext \
17759 conftest$ac_exeext conftest.$ac_ext
17760 CFLAGS=$ac_wine_try_cflags_saved
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17763 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17764 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17765 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17768 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17769 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17772 ac_wine_try_cflags_saved=$CFLAGS
17773 CFLAGS="$CFLAGS -fshort-wchar"
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17776 int main(int argc, char **argv) { return 0; }
17777 _ACEOF
17778 if ac_fn_c_try_link "$LINENO"; then :
17779 ac_cv_cflags__fshort_wchar=yes
17780 else
17781 ac_cv_cflags__fshort_wchar=no
17783 rm -f core conftest.err conftest.$ac_objext \
17784 conftest$ac_exeext conftest.$ac_ext
17785 CFLAGS=$ac_wine_try_cflags_saved
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17788 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17789 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17790 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17791 fi ;;
17792 esac
17794 case $host_cpu in
17795 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17796 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17797 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 ac_wine_try_cflags_saved=$CFLAGS
17801 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 int main(int argc, char **argv) { return 0; }
17805 _ACEOF
17806 if ac_fn_c_try_link "$LINENO"; then :
17807 ac_cv_cflags__fno_omit_frame_pointer=yes
17808 else
17809 ac_cv_cflags__fno_omit_frame_pointer=no
17811 rm -f core conftest.err conftest.$ac_objext \
17812 conftest$ac_exeext conftest.$ac_ext
17813 CFLAGS=$ac_wine_try_cflags_saved
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17816 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17817 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17818 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17819 fi ;;
17820 *x86_64*)
17821 case $host_os in
17822 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17823 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17824 if ${ac_cv_cflags__Wno_format+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827 ac_wine_try_cflags_saved=$CFLAGS
17828 CFLAGS="$CFLAGS -Wno-format"
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 int main(int argc, char **argv) { return 0; }
17832 _ACEOF
17833 if ac_fn_c_try_link "$LINENO"; then :
17834 ac_cv_cflags__Wno_format=yes
17835 else
17836 ac_cv_cflags__Wno_format=no
17838 rm -f core conftest.err conftest.$ac_objext \
17839 conftest$ac_exeext conftest.$ac_ext
17840 CFLAGS=$ac_wine_try_cflags_saved
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17843 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17844 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17845 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17846 fi ;;
17847 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17848 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17849 if ${ac_cv_cflags__mabi_ms+:} false; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852 ac_wine_try_cflags_saved=$CFLAGS
17853 CFLAGS="$CFLAGS -mabi=ms"
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 int main(int argc, char **argv) { return 0; }
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"; then :
17859 ac_cv_cflags__mabi_ms=yes
17860 else
17861 ac_cv_cflags__mabi_ms=no
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext conftest.$ac_ext
17865 CFLAGS=$ac_wine_try_cflags_saved
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17868 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17869 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17870 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17871 fi ;;
17872 esac ;;
17873 esac
17875 CFLAGS=$saved_CFLAGS
17877 if test "x$enable_werror" = "xyes"
17878 then
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17880 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17881 if ${ac_cv_cflags__Werror+:} false; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17884 ac_wine_try_cflags_saved=$CFLAGS
17885 CFLAGS="$CFLAGS -Werror"
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 int main(int argc, char **argv) { return 0; }
17889 _ACEOF
17890 if ac_fn_c_try_link "$LINENO"; then :
17891 ac_cv_cflags__Werror=yes
17892 else
17893 ac_cv_cflags__Werror=no
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext conftest.$ac_ext
17897 CFLAGS=$ac_wine_try_cflags_saved
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17900 $as_echo "$ac_cv_cflags__Werror" >&6; }
17901 if test "x$ac_cv_cflags__Werror" = xyes; then :
17902 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17905 if test "x$enable_build_id" = "xyes"
17906 then
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17908 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17909 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17912 ac_wine_try_cflags_saved=$CFLAGS
17913 CFLAGS="$CFLAGS -Wl,--build-id"
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 int main(int argc, char **argv) { return 0; }
17917 _ACEOF
17918 if ac_fn_c_try_link "$LINENO"; then :
17919 ac_cv_cflags__Wl___build_id=yes
17920 else
17921 ac_cv_cflags__Wl___build_id=no
17923 rm -f core conftest.err conftest.$ac_objext \
17924 conftest$ac_exeext conftest.$ac_ext
17925 CFLAGS=$ac_wine_try_cflags_saved
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17928 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17929 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17930 CFLAGS="$CFLAGS -Wl,--build-id"
17931 LDFLAGS="$LDFLAGS -Wl,--build-id"
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17938 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17939 if ${ac_cv_c_fortify_enabled+:} false; then :
17940 $as_echo_n "(cached) " >&6
17941 else
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17944 #include <string.h>
17946 main ()
17948 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17949 #error Fortify enabled
17950 #endif
17952 return 0;
17954 _ACEOF
17955 if ac_fn_c_try_compile "$LINENO"; then :
17956 ac_cv_c_fortify_enabled=no
17957 else
17958 ac_cv_c_fortify_enabled=yes
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17963 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17964 if test "$ac_cv_c_fortify_enabled" = yes
17965 then
17966 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17971 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17972 if ${ac_cv_c_cfi_support+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17979 main ()
17983 return 0;
17985 _ACEOF
17986 if ac_fn_c_try_compile "$LINENO"; then :
17987 ac_cv_c_cfi_support="yes"
17988 else
17989 ac_cv_c_cfi_support="no"
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17994 $as_echo "$ac_cv_c_cfi_support" >&6; }
17995 if test "$ac_cv_c_cfi_support" = "yes"
17996 then
17997 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17998 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17999 else
18000 if test "x$enable_win64" = "xyes"
18001 then
18002 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18007 case $build_os in
18008 cygwin*|mingw32*) TOOLSEXT=".exe"
18010 esac
18012 case $host_os in
18013 linux*)
18014 case $host_cpu in
18015 *i[3456789]86*|x86_64*|*aarch64*)
18016 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18017 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18019 esac
18021 esac
18024 ac_save_CFLAGS="$CFLAGS"
18025 CFLAGS="$CFLAGS $BUILTINFLAG"
18026 for ac_func in \
18027 __res_get_state \
18028 __res_getservers \
18029 _spawnvp \
18030 epoll_create \
18031 fnmatch \
18032 fork \
18033 fstatfs \
18034 futimens \
18035 futimes \
18036 futimesat \
18037 getattrlist \
18038 getauxval \
18039 getifaddrs \
18040 getopt_long_only \
18041 getrandom \
18042 kqueue \
18043 lstat \
18044 mach_continuous_time \
18045 pipe2 \
18046 poll \
18047 port_create \
18048 prctl \
18049 pread \
18050 proc_pidinfo \
18051 pwrite \
18052 readlink \
18053 sched_yield \
18054 setproctitle \
18055 setprogname \
18056 sigprocmask \
18057 symlink \
18058 tcdrain \
18059 thr_kill2
18061 do :
18062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18067 _ACEOF
18070 done
18072 CFLAGS="$ac_save_CFLAGS"
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18075 $as_echo_n "checking for library containing dlopen... " >&6; }
18076 if ${ac_cv_search_dlopen+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18079 ac_func_search_save_LIBS=$LIBS
18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18083 /* Override any GCC internal prototype to avoid an error.
18084 Use char because int might match the return type of a GCC
18085 builtin and then its argument prototype would still apply. */
18086 #ifdef __cplusplus
18087 extern "C"
18088 #endif
18089 char dlopen ();
18091 main ()
18093 return dlopen ();
18095 return 0;
18097 _ACEOF
18098 for ac_lib in '' dl; do
18099 if test -z "$ac_lib"; then
18100 ac_res="none required"
18101 else
18102 ac_res=-l$ac_lib
18103 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18105 if ac_fn_c_try_link "$LINENO"; then :
18106 ac_cv_search_dlopen=$ac_res
18108 rm -f core conftest.err conftest.$ac_objext \
18109 conftest$ac_exeext
18110 if ${ac_cv_search_dlopen+:} false; then :
18111 break
18113 done
18114 if ${ac_cv_search_dlopen+:} false; then :
18116 else
18117 ac_cv_search_dlopen=no
18119 rm conftest.$ac_ext
18120 LIBS=$ac_func_search_save_LIBS
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18123 $as_echo "$ac_cv_search_dlopen" >&6; }
18124 ac_res=$ac_cv_search_dlopen
18125 if test "$ac_res" != no; then :
18126 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18130 ac_wine_check_funcs_save_LIBS="$LIBS"
18131 LIBS="$LIBS $DL_LIBS"
18132 for ac_func in dladdr dlinfo
18133 do :
18134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18136 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18137 cat >>confdefs.h <<_ACEOF
18138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18139 _ACEOF
18142 done
18144 LIBS="$ac_wine_check_funcs_save_LIBS"
18146 if test "$ac_cv_func_poll" = no
18147 then
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18149 $as_echo_n "checking for poll in -lpoll... " >&6; }
18150 if ${ac_cv_lib_poll_poll+:} false; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153 ac_check_lib_save_LIBS=$LIBS
18154 LIBS="-lpoll $LIBS"
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 #ifdef __cplusplus
18162 extern "C"
18163 #endif
18164 char poll ();
18166 main ()
18168 return poll ();
18170 return 0;
18172 _ACEOF
18173 if ac_fn_c_try_link "$LINENO"; then :
18174 ac_cv_lib_poll_poll=yes
18175 else
18176 ac_cv_lib_poll_poll=no
18178 rm -f core conftest.err conftest.$ac_objext \
18179 conftest$ac_exeext conftest.$ac_ext
18180 LIBS=$ac_check_lib_save_LIBS
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18183 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18184 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18185 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18186 POLL_LIBS="-lpoll"
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18193 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18194 if ${ac_cv_search_gethostbyname+:} false; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18197 ac_func_search_save_LIBS=$LIBS
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18201 /* Override any GCC internal prototype to avoid an error.
18202 Use char because int might match the return type of a GCC
18203 builtin and then its argument prototype would still apply. */
18204 #ifdef __cplusplus
18205 extern "C"
18206 #endif
18207 char gethostbyname ();
18209 main ()
18211 return gethostbyname ();
18213 return 0;
18215 _ACEOF
18216 for ac_lib in '' nsl; do
18217 if test -z "$ac_lib"; then
18218 ac_res="none required"
18219 else
18220 ac_res=-l$ac_lib
18221 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18223 if ac_fn_c_try_link "$LINENO"; then :
18224 ac_cv_search_gethostbyname=$ac_res
18226 rm -f core conftest.err conftest.$ac_objext \
18227 conftest$ac_exeext
18228 if ${ac_cv_search_gethostbyname+:} false; then :
18229 break
18231 done
18232 if ${ac_cv_search_gethostbyname+:} false; then :
18234 else
18235 ac_cv_search_gethostbyname=no
18237 rm conftest.$ac_ext
18238 LIBS=$ac_func_search_save_LIBS
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18241 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18242 ac_res=$ac_cv_search_gethostbyname
18243 if test "$ac_res" != no; then :
18244 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18250 $as_echo_n "checking for library containing connect... " >&6; }
18251 if ${ac_cv_search_connect+:} false; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18254 ac_func_search_save_LIBS=$LIBS
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 /* Override any GCC internal prototype to avoid an error.
18259 Use char because int might match the return type of a GCC
18260 builtin and then its argument prototype would still apply. */
18261 #ifdef __cplusplus
18262 extern "C"
18263 #endif
18264 char connect ();
18266 main ()
18268 return connect ();
18270 return 0;
18272 _ACEOF
18273 for ac_lib in '' socket; do
18274 if test -z "$ac_lib"; then
18275 ac_res="none required"
18276 else
18277 ac_res=-l$ac_lib
18278 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18280 if ac_fn_c_try_link "$LINENO"; then :
18281 ac_cv_search_connect=$ac_res
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext
18285 if ${ac_cv_search_connect+:} false; then :
18286 break
18288 done
18289 if ${ac_cv_search_connect+:} false; then :
18291 else
18292 ac_cv_search_connect=no
18294 rm conftest.$ac_ext
18295 LIBS=$ac_func_search_save_LIBS
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18298 $as_echo "$ac_cv_search_connect" >&6; }
18299 ac_res=$ac_cv_search_connect
18300 if test "$ac_res" != no; then :
18301 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18307 $as_echo_n "checking for library containing inet_aton... " >&6; }
18308 if ${ac_cv_search_inet_aton+:} false; then :
18309 $as_echo_n "(cached) " >&6
18310 else
18311 ac_func_search_save_LIBS=$LIBS
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18315 /* Override any GCC internal prototype to avoid an error.
18316 Use char because int might match the return type of a GCC
18317 builtin and then its argument prototype would still apply. */
18318 #ifdef __cplusplus
18319 extern "C"
18320 #endif
18321 char inet_aton ();
18323 main ()
18325 return inet_aton ();
18327 return 0;
18329 _ACEOF
18330 for ac_lib in '' resolv; do
18331 if test -z "$ac_lib"; then
18332 ac_res="none required"
18333 else
18334 ac_res=-l$ac_lib
18335 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18337 if ac_fn_c_try_link "$LINENO"; then :
18338 ac_cv_search_inet_aton=$ac_res
18340 rm -f core conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext
18342 if ${ac_cv_search_inet_aton+:} false; then :
18343 break
18345 done
18346 if ${ac_cv_search_inet_aton+:} false; then :
18348 else
18349 ac_cv_search_inet_aton=no
18351 rm conftest.$ac_ext
18352 LIBS=$ac_func_search_save_LIBS
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18355 $as_echo "$ac_cv_search_inet_aton" >&6; }
18356 ac_res=$ac_cv_search_inet_aton
18357 if test "$ac_res" != no; then :
18358 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18363 for ac_func in \
18364 getaddrinfo \
18365 getnameinfo \
18366 getservbyport \
18368 do :
18369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18371 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18372 cat >>confdefs.h <<_ACEOF
18373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18374 _ACEOF
18377 done
18380 case $host_os in
18381 darwin*|macosx*) ;;
18382 *) ac_save_LIBS=$LIBS
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18384 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18385 if ${ac_cv_search_clock_gettime+:} false; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 ac_func_search_save_LIBS=$LIBS
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18392 /* Override any GCC internal prototype to avoid an error.
18393 Use char because int might match the return type of a GCC
18394 builtin and then its argument prototype would still apply. */
18395 #ifdef __cplusplus
18396 extern "C"
18397 #endif
18398 char clock_gettime ();
18400 main ()
18402 return clock_gettime ();
18404 return 0;
18406 _ACEOF
18407 for ac_lib in '' rt; do
18408 if test -z "$ac_lib"; then
18409 ac_res="none required"
18410 else
18411 ac_res=-l$ac_lib
18412 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18414 if ac_fn_c_try_link "$LINENO"; then :
18415 ac_cv_search_clock_gettime=$ac_res
18417 rm -f core conftest.err conftest.$ac_objext \
18418 conftest$ac_exeext
18419 if ${ac_cv_search_clock_gettime+:} false; then :
18420 break
18422 done
18423 if ${ac_cv_search_clock_gettime+:} false; then :
18425 else
18426 ac_cv_search_clock_gettime=no
18428 rm conftest.$ac_ext
18429 LIBS=$ac_func_search_save_LIBS
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18432 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18433 ac_res=$ac_cv_search_clock_gettime
18434 if test "$ac_res" != no; then :
18435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18437 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18439 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18443 LIBS=$ac_save_LIBS
18445 esac
18447 if test "x$with_ldap" != "xno"
18448 then
18449 if ${LDAP_CFLAGS:+false} :; then :
18450 if ${PKG_CONFIG+:} false; then :
18451 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18455 if ${LDAP_LIBS:+false} :; then :
18456 if ${PKG_CONFIG+:} false; then :
18457 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18461 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18462 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18463 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18464 ac_save_CPPFLAGS=$CPPFLAGS
18465 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18466 for ac_header in ldap.h lber.h
18467 do :
18468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18469 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18471 cat >>confdefs.h <<_ACEOF
18472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18473 _ACEOF
18477 done
18479 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18480 then
18481 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18483 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18485 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18486 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18489 ac_check_lib_save_LIBS=$LIBS
18490 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18494 /* Override any GCC internal prototype to avoid an error.
18495 Use char because int might match the return type of a GCC
18496 builtin and then its argument prototype would still apply. */
18497 #ifdef __cplusplus
18498 extern "C"
18499 #endif
18500 char ldap_initialize ();
18502 main ()
18504 return ldap_initialize ();
18506 return 0;
18508 _ACEOF
18509 if ac_fn_c_try_link "$LINENO"; then :
18510 ac_cv_lib_ldap_r_ldap_initialize=yes
18511 else
18512 ac_cv_lib_ldap_r_ldap_initialize=no
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18516 LIBS=$ac_check_lib_save_LIBS
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18519 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18520 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18522 $as_echo_n "checking for ber_init in -llber... " >&6; }
18523 if ${ac_cv_lib_lber_ber_init+:} false; then :
18524 $as_echo_n "(cached) " >&6
18525 else
18526 ac_check_lib_save_LIBS=$LIBS
18527 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18531 /* Override any GCC internal prototype to avoid an error.
18532 Use char because int might match the return type of a GCC
18533 builtin and then its argument prototype would still apply. */
18534 #ifdef __cplusplus
18535 extern "C"
18536 #endif
18537 char ber_init ();
18539 main ()
18541 return ber_init ();
18543 return 0;
18545 _ACEOF
18546 if ac_fn_c_try_link "$LINENO"; then :
18547 ac_cv_lib_lber_ber_init=yes
18548 else
18549 ac_cv_lib_lber_ber_init=no
18551 rm -f core conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18553 LIBS=$ac_check_lib_save_LIBS
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18556 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18557 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18559 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18561 else
18562 LDAP_LIBS=""
18565 else
18566 LDAP_LIBS=""
18569 else
18570 LDAP_LIBS=""
18573 ac_wine_check_funcs_save_LIBS="$LIBS"
18574 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18575 for ac_func in \
18576 ldap_count_references \
18577 ldap_first_reference \
18578 ldap_next_reference \
18579 ldap_parse_reference \
18580 ldap_parse_sort_control \
18581 ldap_parse_sortresponse_control \
18582 ldap_parse_vlv_control \
18583 ldap_parse_vlvresponse_control
18584 do :
18585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18588 cat >>confdefs.h <<_ACEOF
18589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18590 _ACEOF
18593 done
18595 LIBS="$ac_wine_check_funcs_save_LIBS"
18596 else
18597 LDAP_LIBS=""
18599 CPPFLAGS=$ac_save_CPPFLAGS
18602 if test "x$LDAP_LIBS" = "x"; then :
18603 case "x$with_ldap" in
18604 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18605 xno) ;;
18606 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18607 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18608 esac
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18613 $as_echo_n "checking for sched_setaffinity... " >&6; }
18614 if ${wine_cv_have_sched_setaffinity+:} false; then :
18615 $as_echo_n "(cached) " >&6
18616 else
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 #define _GNU_SOURCE
18620 #include <sched.h>
18622 main ()
18624 sched_setaffinity(0, 0, 0);
18626 return 0;
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"; then :
18630 wine_cv_have_sched_setaffinity=yes
18631 else
18632 wine_cv_have_sched_setaffinity=no
18634 rm -f core conftest.err conftest.$ac_objext \
18635 conftest$ac_exeext conftest.$ac_ext
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18638 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18639 if test "$wine_cv_have_sched_setaffinity" = "yes"
18640 then
18642 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18647 $as_echo_n "checking for fallocate... " >&6; }
18648 if ${wine_cv_have_fallocate+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 #define _GNU_SOURCE
18654 #include <fcntl.h>
18656 main ()
18658 fallocate(-1, 0, 0, 0);
18660 return 0;
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"; then :
18664 wine_cv_have_fallocate=yes
18665 else
18666 wine_cv_have_fallocate=no
18668 rm -f core conftest.err conftest.$ac_objext \
18669 conftest$ac_exeext conftest.$ac_ext
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18672 $as_echo "$wine_cv_have_fallocate" >&6; }
18673 if test "$wine_cv_have_fallocate" = "yes"
18674 then
18676 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18682 $as_echo_n "checking for inline... " >&6; }
18683 if ${ac_cv_c_inline+:} false; then :
18684 $as_echo_n "(cached) " >&6
18685 else
18686 ac_cv_c_inline=no
18687 for ac_kw in inline __inline__ __inline; do
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 #ifndef __cplusplus
18691 typedef int foo_t;
18692 static $ac_kw foo_t static_foo () {return 0; }
18693 $ac_kw foo_t foo () {return 0; }
18694 #endif
18696 _ACEOF
18697 if ac_fn_c_try_compile "$LINENO"; then :
18698 ac_cv_c_inline=$ac_kw
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 test "$ac_cv_c_inline" != no && break
18702 done
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18706 $as_echo "$ac_cv_c_inline" >&6; }
18708 case $ac_cv_c_inline in
18709 inline | yes) ;;
18711 case $ac_cv_c_inline in
18712 no) ac_val=;;
18713 *) ac_val=$ac_cv_c_inline;;
18714 esac
18715 cat >>confdefs.h <<_ACEOF
18716 #ifndef __cplusplus
18717 #define inline $ac_val
18718 #endif
18719 _ACEOF
18721 esac
18723 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18724 #include <signal.h>
18726 if test "x$ac_cv_type_sigset_t" = xyes; then :
18728 cat >>confdefs.h <<_ACEOF
18729 #define HAVE_SIGSET_T 1
18730 _ACEOF
18735 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18737 if test "x$ac_cv_type_request_sense" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_REQUEST_SENSE 1
18741 _ACEOF
18747 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18748 #ifdef HAVE_SYS_SOCKET_H
18749 #include <sys/socket.h>
18750 #endif
18751 #ifdef HAVE_SYS_SOCKETVAR_H
18752 #include <sys/socketvar.h>
18753 #endif
18754 #ifdef HAVE_NET_ROUTE_H
18755 #include <net/route.h>
18756 #endif
18757 #ifdef HAVE_NETINET_IN_H
18758 #include <netinet/in.h>
18759 #endif
18760 #ifdef HAVE_NETINET_IN_SYSTM_H
18761 #include <netinet/in_systm.h>
18762 #endif
18763 #ifdef HAVE_NETINET_IP_H
18764 #include <netinet/ip.h>
18765 #endif
18766 #ifdef HAVE_NETINET_IN_PCB_H
18767 #include <netinet/in_pcb.h>
18768 #endif
18770 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_XINPGEN 1
18774 _ACEOF
18780 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18781 #include <linux/input.h>
18782 #endif
18784 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18788 _ACEOF
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18795 $as_echo_n "checking for if_nameindex... " >&6; }
18796 if ${wine_cv_have_if_nameindex+:} false; then :
18797 $as_echo_n "(cached) " >&6
18798 else
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #ifdef HAVE_SYS_TYPES_H
18802 #include <sys/types.h>
18803 #endif
18804 #ifdef HAVE_SYS_SOCKET_H
18805 #include <sys/socket.h>
18806 #endif
18807 #ifdef HAVE_NET_IF_H
18808 # include <net/if.h>
18809 #endif
18811 main ()
18813 struct if_nameindex *p = if_nameindex(); return p->if_index;
18815 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"; then :
18819 wine_cv_have_if_nameindex=yes
18820 else
18821 wine_cv_have_if_nameindex=no
18823 rm -f core conftest.err conftest.$ac_objext \
18824 conftest$ac_exeext conftest.$ac_ext
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18827 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18828 if test "$wine_cv_have_if_nameindex" = "yes"
18829 then
18831 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18836 $as_echo_n "checking for sigaddset... " >&6; }
18837 if ${wine_cv_have_sigaddset+:} false; then :
18838 $as_echo_n "(cached) " >&6
18839 else
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <signal.h>
18844 main ()
18846 sigset_t set; sigaddset(&set,SIGTERM);
18848 return 0;
18850 _ACEOF
18851 if ac_fn_c_try_link "$LINENO"; then :
18852 wine_cv_have_sigaddset=yes
18853 else
18854 wine_cv_have_sigaddset=no
18856 rm -f core conftest.err conftest.$ac_objext \
18857 conftest$ac_exeext conftest.$ac_ext
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18860 $as_echo "$wine_cv_have_sigaddset" >&6; }
18861 if test "$wine_cv_have_sigaddset" = "yes"
18862 then
18864 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18870 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18871 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18872 $as_echo_n "(cached) " >&6
18873 else
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #include <netdb.h>
18878 main ()
18881 char *name=0;
18882 struct hostent he;
18883 struct hostent *result;
18884 char *buf=0;
18885 int bufsize=0;
18886 int errnr;
18887 char *addr=0;
18888 int addrlen=0;
18889 int addrtype=0;
18890 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18891 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18894 return 0;
18896 _ACEOF
18897 if ac_fn_c_try_link "$LINENO"; then :
18898 wine_cv_linux_gethostbyname_r_6=yes
18899 else
18900 wine_cv_linux_gethostbyname_r_6=no
18903 rm -f core conftest.err conftest.$ac_objext \
18904 conftest$ac_exeext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18908 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18909 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18910 then
18912 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18916 if test "$ac_cv_header_linux_joystick_h" = "yes"
18917 then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18919 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18920 if ${wine_cv_linux_joystick_22_api+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18926 #include <sys/ioctl.h>
18927 #include <sys/types.h>
18928 #include <linux/joystick.h>
18930 struct js_event blub;
18931 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18932 #error "no 2.2 header"
18933 #endif
18936 main ()
18938 /*empty*/
18940 return 0;
18942 _ACEOF
18943 if ac_fn_c_try_compile "$LINENO"; then :
18944 wine_cv_linux_joystick_22_api=yes
18945 else
18946 wine_cv_linux_joystick_22_api=no
18948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18952 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18953 if test "$wine_cv_linux_joystick_22_api" = "yes"
18954 then
18956 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18961 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18962 #ifdef HAVE_SYS_SOCKET_H
18963 # include <sys/socket.h>
18964 #endif
18965 #ifdef HAVE_SYS_UN_H
18966 # include <sys/un.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18973 _ACEOF
18977 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18978 #ifdef HAVE_SYS_SOCKET_H
18979 # include <sys/socket.h>
18980 #endif
18981 #ifdef HAVE_SYS_UN_H
18982 # include <sys/un.h>
18983 #endif
18985 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18989 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18994 #ifdef HAVE_SYS_SOCKET_H
18995 # include <sys/socket.h>
18996 #endif
18997 #ifdef HAVE_SYS_UN_H
18998 # include <sys/un.h>
18999 #endif
19001 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19003 cat >>confdefs.h <<_ACEOF
19004 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19005 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19012 #ifdef HAVE_SCSI_SG_H
19013 #include <scsi/sg.h>
19014 #endif
19016 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_SCSIREQ_T_CMD 1
19020 _ACEOF
19024 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>
19025 #ifdef HAVE_SCSI_SG_H
19026 #include <scsi/sg.h>
19027 #endif
19029 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19033 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19041 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_SIGINFO_T_SI_FD 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19052 #ifdef HAVE_SYS_MTIO_H
19053 #include <sys/mtio.h>
19054 #endif
19056 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19060 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19065 #ifdef HAVE_SYS_MTIO_H
19066 #include <sys/mtio.h>
19067 #endif
19069 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19078 #ifdef HAVE_SYS_MTIO_H
19079 #include <sys/mtio.h>
19080 #endif
19082 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19086 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19093 #include <getopt.h>
19094 #endif
19096 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_OPTION_NAME 1
19100 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19107 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_MTIM 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_CTIM 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_ATIM 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19174 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19179 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19183 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19188 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19197 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19201 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19206 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19210 _ACEOF
19216 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
19217 #include <sys/types.h>
19218 #endif
19219 #ifdef HAVE_NETINET_IN_H
19220 #include <netinet/in.h>
19221 #endif
19223 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19227 _ACEOF
19233 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19234 #include <sys/types.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IN_H
19237 #include <netinet/in.h>
19238 #endif
19239 #ifdef HAVE_RESOLV_H
19240 #include <resolv.h>
19241 #endif
19243 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT___RES_STATE 1
19247 _ACEOF
19253 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
19254 #include <resolv.h>
19255 #endif
19257 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19261 _ACEOF
19267 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19268 #include <sys/types.h>
19269 #endif
19270 #ifdef HAVE_NETINET_IN_H
19271 # include <netinet/in.h>
19272 #endif
19273 #ifdef HAVE_ARPA_NAMESER_H
19274 # include <arpa/nameser.h>
19275 #endif
19277 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_NS_MSG__MSG_PTR 1
19281 _ACEOF
19287 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19288 #include <sys/types.h>
19289 #endif
19290 #ifdef HAVE_NETINET_IN_H
19291 #include <netinet/in.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IP_H
19294 #include <netinet/ip.h>
19295 #endif
19296 #ifdef HAVE_NETINET_IP_ICMP_H
19297 #include <netinet/ip_icmp.h>
19298 #endif
19299 #ifdef HAVE_NETINET_ICMP_VAR_H
19300 #include <netinet/icmp_var.h>
19301 #endif
19303 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19307 _ACEOF
19313 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19314 #include <sys/types.h>
19315 #endif
19316 #ifdef HAVE_ALIAS_H
19317 #include <alias.h>
19318 #endif
19319 #ifdef HAVE_SYS_SOCKET_H
19320 #include <sys/socket.h>
19321 #endif
19322 #ifdef HAVE_SYS_SOCKETVAR_H
19323 #include <sys/socketvar.h>
19324 #endif
19325 #ifdef HAVE_SYS_TIMEOUT_H
19326 #include <sys/timeout.h>
19327 #endif
19328 #ifdef HAVE_NETINET_IN_H
19329 #include <netinet/in.h>
19330 #endif
19331 #ifdef HAVE_NETINET_IN_SYSTM_H
19332 #include <netinet/in_systm.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IP_H
19335 #include <netinet/ip.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IP_VAR_H
19338 #include <netinet/ip_var.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IP_ICMP_H
19341 #include <netinet/ip_icmp.h>
19342 #endif
19343 #ifdef HAVE_NETINET_ICMP_VAR_H
19344 #include <netinet/icmp_var.h>
19345 #endif
19347 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19351 _ACEOF
19357 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19358 #include <sys/types.h>
19359 #endif
19360 #ifdef HAVE_SYS_SOCKETVAR_H
19361 #include <sys/socketvar.h>
19362 #endif
19363 #ifdef HAVE_NETINET_IN_H
19364 #include <netinet/in.h>
19365 #endif
19366 #ifdef HAVE_NETINET_IP_VAR_H
19367 #include <netinet/ip_var.h>
19368 #endif
19370 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19374 _ACEOF
19380 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
19381 #include <netinet/ip_var.h>
19382 #endif
19384 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19386 cat >>confdefs.h <<_ACEOF
19387 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19388 _ACEOF
19394 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19395 #include <sys/types.h>
19396 #endif
19397 #ifdef HAVE_SYS_SOCKETVAR_H
19398 #include <sys/socketvar.h>
19399 #endif
19400 #ifdef HAVE_NETINET_IN_H
19401 #include <netinet/in.h>
19402 #endif
19403 #ifdef HAVE_NETINET_TCP_H
19404 #include <netinet/tcp.h>
19405 #endif
19406 #ifdef HAVE_NETINET_TCP_VAR_H
19407 #include <netinet/tcp_var.h>
19408 #endif
19410 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19412 cat >>confdefs.h <<_ACEOF
19413 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19414 _ACEOF
19420 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
19421 #include <netinet/tcp_var.h>
19422 #endif
19424 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19426 cat >>confdefs.h <<_ACEOF
19427 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19428 _ACEOF
19434 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19435 #include <sys/types.h>
19436 #endif
19437 #ifdef HAVE_NETINET_IN_H
19438 #include <netinet/in.h>
19439 #endif
19440 #ifdef HAVE_NETINET_IP_VAR_H
19441 #include <netinet/ip_var.h>
19442 #endif
19443 #ifdef HAVE_NETINET_UDP_H
19444 #include <netinet/udp.h>
19445 #endif
19446 #ifdef HAVE_NETINET_UDP_VAR_H
19447 #include <netinet/udp_var.h>
19448 #endif
19450 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19452 cat >>confdefs.h <<_ACEOF
19453 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19454 _ACEOF
19460 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19461 #include <sys/types.h>
19462 #endif
19463 #ifdef HAVE_NET_IF_H
19464 # include <net/if.h>
19465 #endif
19467 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19469 cat >>confdefs.h <<_ACEOF
19470 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19471 _ACEOF
19477 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19478 # include <sys/sysinfo.h>
19479 #endif
19481 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19483 cat >>confdefs.h <<_ACEOF
19484 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19485 _ACEOF
19489 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19490 # include <sys/sysinfo.h>
19491 #endif
19493 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19497 _ACEOF
19503 ac_save_LIBS="$LIBS"
19504 LIBS="$LIBS -lm"
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19506 $as_echo_n "checking for isfinite... " >&6; }
19507 if ${ac_cv_have_isfinite+:} false; then :
19508 $as_echo_n "(cached) " >&6
19509 else
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 #define _GNU_SOURCE
19513 #include <math.h>
19515 main ()
19517 float f = 0.0; return isfinite(f)
19519 return 0;
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"; then :
19523 ac_cv_have_isfinite="yes"
19524 else
19525 ac_cv_have_isfinite="no"
19527 rm -f core conftest.err conftest.$ac_objext \
19528 conftest$ac_exeext conftest.$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19531 $as_echo "$ac_cv_have_isfinite" >&6; }
19532 if test "$ac_cv_have_isfinite" = "yes"
19533 then
19535 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19540 $as_echo_n "checking for isinf... " >&6; }
19541 if ${ac_cv_have_isinf+:} false; then :
19542 $as_echo_n "(cached) " >&6
19543 else
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <math.h>
19548 main ()
19550 float f = 0.0; return isinf(f)
19552 return 0;
19554 _ACEOF
19555 if ac_fn_c_try_link "$LINENO"; then :
19556 ac_cv_have_isinf="yes"
19557 else
19558 ac_cv_have_isinf="no"
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19564 $as_echo "$ac_cv_have_isinf" >&6; }
19565 if test "$ac_cv_have_isinf" = "yes"
19566 then
19568 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19573 $as_echo_n "checking for isnan... " >&6; }
19574 if ${ac_cv_have_isnan+:} false; then :
19575 $as_echo_n "(cached) " >&6
19576 else
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 #include <math.h>
19581 main ()
19583 float f = 0.0; return isnan(f)
19585 return 0;
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"; then :
19589 ac_cv_have_isnan="yes"
19590 else
19591 ac_cv_have_isnan="no"
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19597 $as_echo "$ac_cv_have_isnan" >&6; }
19598 if test "$ac_cv_have_isnan" = "yes"
19599 then
19601 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19605 LIBS="$ac_save_LIBS"
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19608 $as_echo_n "checking for __builtin_popcount... " >&6; }
19609 if ${ac_cv_have___builtin_popcount+:} false; then :
19610 $as_echo_n "(cached) " >&6
19611 else
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19616 main ()
19618 return __builtin_popcount(1)
19620 return 0;
19622 _ACEOF
19623 if ac_fn_c_try_link "$LINENO"; then :
19624 ac_cv_have___builtin_popcount="yes"
19625 else
19626 ac_cv_have___builtin_popcount="no"
19628 rm -f core conftest.err conftest.$ac_objext \
19629 conftest$ac_exeext conftest.$ac_ext
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19632 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19633 if test "$ac_cv_have___builtin_popcount" = "yes"
19634 then
19636 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19641 $as_echo_n "checking for __clear_cache... " >&6; }
19642 if ${ac_cv_have___clear_cache+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19649 main ()
19651 __clear_cache((void*)0, (void*)0); return 0;
19653 return 0;
19655 _ACEOF
19656 if ac_fn_c_try_link "$LINENO"; then :
19657 ac_cv_have___clear_cache="yes"
19658 else
19659 ac_cv_have___clear_cache="no"
19661 rm -f core conftest.err conftest.$ac_objext \
19662 conftest$ac_exeext conftest.$ac_ext
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19665 $as_echo "$ac_cv_have___clear_cache" >&6; }
19666 if test "$ac_cv_have___clear_cache" = "yes"
19667 then
19669 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19674 case $host_cpu in
19675 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19676 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19677 if ${ac_cv_cpp_def___i386__+:} false; then :
19678 $as_echo_n "(cached) " >&6
19679 else
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19682 #ifndef __i386__
19684 #endif
19685 _ACEOF
19686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19687 $EGREP "yes" >/dev/null 2>&1; then :
19688 ac_cv_cpp_def___i386__=yes
19689 else
19690 ac_cv_cpp_def___i386__=no
19692 rm -f conftest*
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19696 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19697 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19698 CFLAGS="$CFLAGS -D__i386__"
19699 LINTFLAGS="$LINTFLAGS -D__i386__"
19700 fi ;;
19701 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19702 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19703 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19708 #ifndef __x86_64__
19710 #endif
19711 _ACEOF
19712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19713 $EGREP "yes" >/dev/null 2>&1; then :
19714 ac_cv_cpp_def___x86_64__=yes
19715 else
19716 ac_cv_cpp_def___x86_64__=no
19718 rm -f conftest*
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19722 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19723 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19724 CFLAGS="$CFLAGS -D__x86_64__"
19725 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19726 fi ;;
19727 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19728 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19729 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19730 $as_echo_n "(cached) " >&6
19731 else
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19734 #ifndef __sparc64__
19736 #endif
19737 _ACEOF
19738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19739 $EGREP "yes" >/dev/null 2>&1; then :
19740 ac_cv_cpp_def___sparc64__=yes
19741 else
19742 ac_cv_cpp_def___sparc64__=no
19744 rm -f conftest*
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19748 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19749 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19750 CFLAGS="$CFLAGS -D__sparc64__"
19751 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19752 fi ;;
19753 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19754 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19755 if ${ac_cv_cpp_def___sparc__+:} false; then :
19756 $as_echo_n "(cached) " >&6
19757 else
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 #ifndef __sparc__
19762 #endif
19763 _ACEOF
19764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19765 $EGREP "yes" >/dev/null 2>&1; then :
19766 ac_cv_cpp_def___sparc__=yes
19767 else
19768 ac_cv_cpp_def___sparc__=no
19770 rm -f conftest*
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19774 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19775 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19776 CFLAGS="$CFLAGS -D__sparc__"
19777 LINTFLAGS="$LINTFLAGS -D__sparc__"
19778 fi ;;
19779 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19780 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19781 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19782 $as_echo_n "(cached) " >&6
19783 else
19784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h. */
19786 #ifndef __powerpc64__
19788 #endif
19789 _ACEOF
19790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19791 $EGREP "yes" >/dev/null 2>&1; then :
19792 ac_cv_cpp_def___powerpc64__=yes
19793 else
19794 ac_cv_cpp_def___powerpc64__=no
19796 rm -f conftest*
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19800 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19801 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19802 CFLAGS="$CFLAGS -D__powerpc64__"
19803 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19804 fi ;;
19805 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19806 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19807 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19808 $as_echo_n "(cached) " >&6
19809 else
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 #ifndef __powerpc__
19814 #endif
19815 _ACEOF
19816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19817 $EGREP "yes" >/dev/null 2>&1; then :
19818 ac_cv_cpp_def___powerpc__=yes
19819 else
19820 ac_cv_cpp_def___powerpc__=no
19822 rm -f conftest*
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19826 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19827 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19828 CFLAGS="$CFLAGS -D__powerpc__"
19829 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19830 fi ;;
19831 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19832 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19833 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19834 $as_echo_n "(cached) " >&6
19835 else
19836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19837 /* end confdefs.h. */
19838 #ifndef __aarch64__
19840 #endif
19841 _ACEOF
19842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19843 $EGREP "yes" >/dev/null 2>&1; then :
19844 ac_cv_cpp_def___aarch64__=yes
19845 else
19846 ac_cv_cpp_def___aarch64__=no
19848 rm -f conftest*
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19852 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19853 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19854 CFLAGS="$CFLAGS -D__aarch64__"
19855 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19856 fi ;;
19857 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19858 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19859 if ${ac_cv_cpp_def___arm__+:} false; then :
19860 $as_echo_n "(cached) " >&6
19861 else
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #ifndef __arm__
19866 #endif
19867 _ACEOF
19868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19869 $EGREP "yes" >/dev/null 2>&1; then :
19870 ac_cv_cpp_def___arm__=yes
19871 else
19872 ac_cv_cpp_def___arm__=no
19874 rm -f conftest*
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19878 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19879 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19880 CFLAGS="$CFLAGS -D__arm__"
19881 LINTFLAGS="$LINTFLAGS -D__arm__"
19882 fi ;;
19883 esac
19885 case $host_vendor in
19886 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19887 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19888 if ${ac_cv_cpp_def___sun__+:} false; then :
19889 $as_echo_n "(cached) " >&6
19890 else
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #ifndef __sun__
19895 #endif
19896 _ACEOF
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898 $EGREP "yes" >/dev/null 2>&1; then :
19899 ac_cv_cpp_def___sun__=yes
19900 else
19901 ac_cv_cpp_def___sun__=no
19903 rm -f conftest*
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19907 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19908 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19909 CFLAGS="$CFLAGS -D__sun__"
19910 LINTFLAGS="$LINTFLAGS -D__sun__"
19911 fi ;;
19912 esac
19918 ac_config_commands="$ac_config_commands include/stamp-h"
19920 $as_echo_n "creating Makefile rules..." >&6
19922 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19923 OPENGL_LIBS = $OPENGL_LIBS
19924 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19925 IOKIT_LIBS = $IOKIT_LIBS
19926 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19927 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19928 CORESERVICES_LIBS = $CORESERVICES_LIBS
19929 APPKIT_LIBS = $APPKIT_LIBS
19930 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19931 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19932 SECURITY_LIBS = $SECURITY_LIBS
19933 COREAUDIO_LIBS = $COREAUDIO_LIBS
19934 OPENAL_LIBS = $OPENAL_LIBS
19935 OPENCL_LIBS = $OPENCL_LIBS
19936 QUICKTIME_LIBS = $QUICKTIME_LIBS
19937 CARBON_LIBS = $CARBON_LIBS
19938 METAL_LIBS = $METAL_LIBS
19939 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19940 PTHREAD_LIBS = $PTHREAD_LIBS
19941 X_CFLAGS = $X_CFLAGS
19942 X_PRE_LIBS = $X_PRE_LIBS
19943 X_LIBS = $X_LIBS
19944 X_EXTRA_LIBS = $X_EXTRA_LIBS
19945 PCAP_LIBS = $PCAP_LIBS
19946 XML2_CFLAGS = $XML2_CFLAGS
19947 XML2_LIBS = $XML2_LIBS
19948 XSLT_CFLAGS = $XSLT_CFLAGS
19949 XSLT_LIBS = $XSLT_LIBS
19950 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19951 INOTIFY_LIBS = $INOTIFY_LIBS
19952 DBUS_CFLAGS = $DBUS_CFLAGS
19953 DBUS_LIBS = $DBUS_LIBS
19954 HAL_CFLAGS = $HAL_CFLAGS
19955 HAL_LIBS = $HAL_LIBS
19956 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19957 GNUTLS_LIBS = $GNUTLS_LIBS
19958 SANE_CFLAGS = $SANE_CFLAGS
19959 SANE_LIBS = $SANE_LIBS
19960 USB_CFLAGS = $USB_CFLAGS
19961 USB_LIBS = $USB_LIBS
19962 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19963 GPHOTO2_LIBS = $GPHOTO2_LIBS
19964 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19965 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19966 RESOLV_LIBS = $RESOLV_LIBS
19967 LCMS2_CFLAGS = $LCMS2_CFLAGS
19968 LCMS2_LIBS = $LCMS2_LIBS
19969 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19970 FREETYPE_LIBS = $FREETYPE_LIBS
19971 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19972 PULSE_CFLAGS = $PULSE_CFLAGS
19973 PULSE_LIBS = $PULSE_LIBS
19974 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19975 GSTREAMER_LIBS = $GSTREAMER_LIBS
19976 ALSA_LIBS = $ALSA_LIBS
19977 OSS4_CFLAGS = $OSS4_CFLAGS
19978 OSS4_LIBS = $OSS4_LIBS
19979 UDEV_CFLAGS = $UDEV_CFLAGS
19980 UDEV_LIBS = $UDEV_LIBS
19981 UNWIND_CFLAGS = $UNWIND_CFLAGS
19982 UNWIND_LIBS = $UNWIND_LIBS
19983 SDL2_CFLAGS = $SDL2_CFLAGS
19984 SDL2_LIBS = $SDL2_LIBS
19985 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19986 FAUDIO_LIBS = $FAUDIO_LIBS
19987 CAPI20_CFLAGS = $CAPI20_CFLAGS
19988 CAPI20_LIBS = $CAPI20_LIBS
19989 CUPS_CFLAGS = $CUPS_CFLAGS
19990 CUPS_LIBS = $CUPS_LIBS
19991 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19992 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19993 KRB5_CFLAGS = $KRB5_CFLAGS
19994 KRB5_LIBS = $KRB5_LIBS
19995 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19996 GSSAPI_LIBS = $GSSAPI_LIBS
19997 JPEG_CFLAGS = $JPEG_CFLAGS
19998 JPEG_LIBS = $JPEG_LIBS
19999 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20000 JXRLIB_LIBS = $JXRLIB_LIBS
20001 PNG_CFLAGS = $PNG_CFLAGS
20002 PNG_LIBS = $PNG_LIBS
20003 TIFF_CFLAGS = $TIFF_CFLAGS
20004 TIFF_LIBS = $TIFF_LIBS
20005 MPG123_CFLAGS = $MPG123_CFLAGS
20006 MPG123_LIBS = $MPG123_LIBS
20007 KSTAT_LIBS = $KSTAT_LIBS
20008 PROCSTAT_LIBS = $PROCSTAT_LIBS
20009 NETAPI_CFLAGS = $NETAPI_CFLAGS
20010 NETAPI_LIBS = $NETAPI_LIBS
20011 VKD3D_CFLAGS = $VKD3D_CFLAGS
20012 VKD3D_LIBS = $VKD3D_LIBS
20013 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20014 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20015 POLL_LIBS = $POLL_LIBS
20016 RT_LIBS = $RT_LIBS
20017 LDAP_CFLAGS = $LDAP_CFLAGS
20018 LDAP_LIBS = $LDAP_LIBS
20022 makedep_flags=""
20023 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20026 wine_fn_append_rule "
20027 # Rules automatically generated by configure
20029 .INIT: Makefile
20030 .MAKEFILEDEPS:
20031 all: Makefile
20032 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20033 @./config.status Make.tmp Makefile
20034 depend: \$(MAKEDEP)
20035 \$(MAKEDEP)$makedep_flags
20036 dummy:
20037 .PHONY: depend dummy"
20039 ac_config_links="$ac_config_links wine:tools/winewrapper"
20040 wine_fn_config_symlink wine
20041 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20042 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20043 wine_fn_config_symlink wine64
20046 wine_fn_config_makefile dlls/acledit enable_acledit
20047 wine_fn_config_makefile dlls/aclui enable_aclui
20048 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20049 wine_fn_config_makefile dlls/activeds enable_activeds
20050 wine_fn_config_makefile dlls/activeds/tests enable_tests
20051 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20052 wine_fn_config_makefile dlls/adsiid enable_adsiid
20053 wine_fn_config_makefile dlls/adsldp enable_adsldp
20054 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20055 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20056 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20057 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20058 wine_fn_config_makefile dlls/advpack enable_advpack
20059 wine_fn_config_makefile dlls/advpack/tests enable_tests
20060 wine_fn_config_makefile dlls/amsi enable_amsi
20061 wine_fn_config_makefile dlls/amstream enable_amstream
20062 wine_fn_config_makefile dlls/amstream/tests enable_tests
20063 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20065 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20066 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20073 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20086 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20088 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20089 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20090 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20101 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20115 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20116 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20122 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20136 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20137 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20138 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20151 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20152 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20182 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20198 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20225 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20247 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20258 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20262 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20274 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20280 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20283 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20285 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20293 wine_fn_config_makefile dlls/apphelp enable_apphelp
20294 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20295 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20296 wine_fn_config_makefile dlls/atl enable_atl
20297 wine_fn_config_makefile dlls/atl/tests enable_tests
20298 wine_fn_config_makefile dlls/atl100 enable_atl100
20299 wine_fn_config_makefile dlls/atl100/tests enable_tests
20300 wine_fn_config_makefile dlls/atl110 enable_atl110
20301 wine_fn_config_makefile dlls/atl80 enable_atl80
20302 wine_fn_config_makefile dlls/atl80/tests enable_tests
20303 wine_fn_config_makefile dlls/atl90 enable_atl90
20304 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20305 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20306 wine_fn_config_makefile dlls/atmlib enable_atmlib
20307 wine_fn_config_makefile dlls/authz enable_authz
20308 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20309 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20310 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20311 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20312 wine_fn_config_makefile dlls/avrt enable_avrt
20313 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20314 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20315 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20316 wine_fn_config_makefile dlls/browseui enable_browseui
20317 wine_fn_config_makefile dlls/browseui/tests enable_tests
20318 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20319 wine_fn_config_makefile dlls/cabinet enable_cabinet
20320 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20321 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20322 wine_fn_config_makefile dlls/cards enable_cards
20323 wine_fn_config_makefile dlls/cdosys enable_cdosys
20324 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20325 wine_fn_config_makefile dlls/clusapi enable_clusapi
20326 wine_fn_config_makefile dlls/combase enable_combase
20327 wine_fn_config_makefile dlls/combase/tests enable_tests
20328 wine_fn_config_makefile dlls/comcat enable_comcat
20329 wine_fn_config_makefile dlls/comcat/tests enable_tests
20330 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20331 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20332 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20333 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20334 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20335 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20336 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20337 wine_fn_config_makefile dlls/compstui enable_compstui
20338 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20339 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20340 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20341 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20342 wine_fn_config_makefile dlls/connect enable_connect
20343 wine_fn_config_makefile dlls/credui enable_credui
20344 wine_fn_config_makefile dlls/credui/tests enable_tests
20345 wine_fn_config_makefile dlls/crtdll enable_crtdll
20346 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20347 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20348 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20349 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20350 wine_fn_config_makefile dlls/cryptext enable_cryptext
20351 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20352 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20353 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20354 wine_fn_config_makefile dlls/cryptui enable_cryptui
20355 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20356 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20357 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20358 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20359 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20360 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20361 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20362 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20363 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20364 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20365 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20366 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20367 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20368 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20369 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20370 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20371 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20372 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20373 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20374 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20375 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20376 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20377 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20378 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20379 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20380 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20381 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20382 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20383 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20384 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20385 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20386 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20387 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20388 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20389 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20390 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20391 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20392 wine_fn_config_makefile dlls/d3dim enable_d3dim
20393 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20394 wine_fn_config_makefile dlls/d3drm enable_d3drm
20395 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20396 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20397 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20398 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20399 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20400 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20401 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20402 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20403 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20404 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20405 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20406 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20407 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20408 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20409 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20410 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20411 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20412 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20413 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20414 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20415 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20416 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20417 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20418 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20419 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20420 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20421 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20422 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20423 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20424 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20425 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20426 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20427 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20428 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20429 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20430 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20431 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20432 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20433 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20434 wine_fn_config_makefile dlls/davclnt enable_davclnt
20435 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20436 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20437 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20438 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20439 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20440 wine_fn_config_makefile dlls/dcomp enable_dcomp
20441 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20442 wine_fn_config_makefile dlls/ddraw enable_ddraw
20443 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20444 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20445 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20446 wine_fn_config_makefile dlls/devenum enable_devenum
20447 wine_fn_config_makefile dlls/devenum/tests enable_tests
20448 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20449 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20450 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20451 wine_fn_config_makefile dlls/difxapi enable_difxapi
20452 wine_fn_config_makefile dlls/dinput enable_dinput
20453 wine_fn_config_makefile dlls/dinput/tests enable_tests
20454 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20455 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20456 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20457 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20458 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20459 wine_fn_config_makefile dlls/dispex enable_dispex
20460 wine_fn_config_makefile dlls/dispex/tests enable_tests
20461 wine_fn_config_makefile dlls/display.drv16 enable_win16
20462 wine_fn_config_makefile dlls/dmband enable_dmband
20463 wine_fn_config_makefile dlls/dmband/tests enable_tests
20464 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20465 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20466 wine_fn_config_makefile dlls/dmime enable_dmime
20467 wine_fn_config_makefile dlls/dmime/tests enable_tests
20468 wine_fn_config_makefile dlls/dmloader enable_dmloader
20469 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20470 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20471 wine_fn_config_makefile dlls/dmscript enable_dmscript
20472 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20473 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20474 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20475 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20476 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20477 wine_fn_config_makefile dlls/dmusic enable_dmusic
20478 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20479 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20480 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20481 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20482 wine_fn_config_makefile dlls/dplay enable_dplay
20483 wine_fn_config_makefile dlls/dplayx enable_dplayx
20484 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20485 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20486 wine_fn_config_makefile dlls/dpnet enable_dpnet
20487 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20488 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20489 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20490 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20491 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20492 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20493 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20494 wine_fn_config_makefile dlls/drmclien enable_drmclien
20495 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20496 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20497 wine_fn_config_makefile dlls/dsound enable_dsound
20498 wine_fn_config_makefile dlls/dsound/tests enable_tests
20499 wine_fn_config_makefile dlls/dsquery enable_dsquery
20500 wine_fn_config_makefile dlls/dssenh enable_dssenh
20501 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20502 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20503 wine_fn_config_makefile dlls/dswave enable_dswave
20504 wine_fn_config_makefile dlls/dswave/tests enable_tests
20505 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20506 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20507 wine_fn_config_makefile dlls/dwrite enable_dwrite
20508 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20509 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20510 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20511 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20512 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20513 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20514 wine_fn_config_makefile dlls/dxgi enable_dxgi
20515 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20516 wine_fn_config_makefile dlls/dxguid enable_dxguid
20517 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20518 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20519 wine_fn_config_makefile dlls/esent enable_esent
20520 wine_fn_config_makefile dlls/evr enable_evr
20521 wine_fn_config_makefile dlls/evr/tests enable_tests
20522 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20523 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20524 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20533 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20535 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20558 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20567 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20575 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20576 wine_fn_config_makefile dlls/faultrep enable_faultrep
20577 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20578 wine_fn_config_makefile dlls/feclient enable_feclient
20579 wine_fn_config_makefile dlls/fltlib enable_fltlib
20580 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20581 wine_fn_config_makefile dlls/fntcache enable_fntcache
20582 wine_fn_config_makefile dlls/fontsub enable_fontsub
20583 wine_fn_config_makefile dlls/fusion enable_fusion
20584 wine_fn_config_makefile dlls/fusion/tests enable_tests
20585 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20586 wine_fn_config_makefile dlls/gameux enable_gameux
20587 wine_fn_config_makefile dlls/gameux/tests enable_tests
20588 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20589 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20590 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20591 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20592 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20593 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20594 wine_fn_config_makefile dlls/glu32 enable_glu32
20595 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20596 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20597 wine_fn_config_makefile dlls/hal enable_hal
20598 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20599 wine_fn_config_makefile dlls/hid enable_hid
20600 wine_fn_config_makefile dlls/hid/tests enable_tests
20601 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20602 wine_fn_config_makefile dlls/hlink enable_hlink
20603 wine_fn_config_makefile dlls/hlink/tests enable_tests
20604 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20605 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20606 wine_fn_config_makefile dlls/http.sys enable_http_sys
20607 wine_fn_config_makefile dlls/httpapi enable_httpapi
20608 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20609 wine_fn_config_makefile dlls/iccvid enable_iccvid
20610 wine_fn_config_makefile dlls/icmp enable_icmp
20611 wine_fn_config_makefile dlls/ieframe enable_ieframe
20612 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20613 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20614 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20615 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20616 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20617 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20618 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20619 wine_fn_config_makefile dlls/imm32 enable_imm32
20620 wine_fn_config_makefile dlls/imm32/tests enable_tests
20621 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20622 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20623 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20624 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20625 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20626 wine_fn_config_makefile dlls/infosoft enable_infosoft
20627 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20628 wine_fn_config_makefile dlls/initpki enable_initpki
20629 wine_fn_config_makefile dlls/inkobj enable_inkobj
20630 wine_fn_config_makefile dlls/inseng enable_inseng
20631 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20632 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20633 wine_fn_config_makefile dlls/iprop enable_iprop
20634 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20635 wine_fn_config_makefile dlls/itircl enable_itircl
20636 wine_fn_config_makefile dlls/itss enable_itss
20637 wine_fn_config_makefile dlls/itss/tests enable_tests
20638 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20639 wine_fn_config_makefile dlls/jscript enable_jscript
20640 wine_fn_config_makefile dlls/jscript/tests enable_tests
20641 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20642 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20643 wine_fn_config_makefile dlls/kerberos enable_kerberos
20644 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20645 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20646 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20647 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20648 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20649 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20650 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20651 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20652 wine_fn_config_makefile dlls/ksuser enable_ksuser
20653 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20654 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20655 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20656 wine_fn_config_makefile dlls/loadperf enable_loadperf
20657 wine_fn_config_makefile dlls/localspl enable_localspl
20658 wine_fn_config_makefile dlls/localspl/tests enable_tests
20659 wine_fn_config_makefile dlls/localui enable_localui
20660 wine_fn_config_makefile dlls/localui/tests enable_tests
20661 wine_fn_config_makefile dlls/lz32 enable_lz32
20662 wine_fn_config_makefile dlls/lz32/tests enable_tests
20663 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20664 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20665 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20666 wine_fn_config_makefile dlls/mapistub enable_mapistub
20667 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20668 wine_fn_config_makefile dlls/mcicda enable_mcicda
20669 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20670 wine_fn_config_makefile dlls/mciseq enable_mciseq
20671 wine_fn_config_makefile dlls/mciwave enable_mciwave
20672 wine_fn_config_makefile dlls/mf enable_mf
20673 wine_fn_config_makefile dlls/mf/tests enable_tests
20674 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20675 wine_fn_config_makefile dlls/mferror enable_mferror
20676 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20677 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20678 wine_fn_config_makefile dlls/mfplat enable_mfplat
20679 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20680 wine_fn_config_makefile dlls/mfplay enable_mfplay
20681 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20682 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20683 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20684 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20685 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20686 wine_fn_config_makefile dlls/midimap enable_midimap
20687 wine_fn_config_makefile dlls/mlang enable_mlang
20688 wine_fn_config_makefile dlls/mlang/tests enable_tests
20689 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20690 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20691 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20692 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20693 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20694 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20695 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20696 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20697 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20698 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20699 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20700 wine_fn_config_makefile dlls/mpr enable_mpr
20701 wine_fn_config_makefile dlls/mpr/tests enable_tests
20702 wine_fn_config_makefile dlls/mprapi enable_mprapi
20703 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20704 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20705 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20706 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20707 wine_fn_config_makefile dlls/msado15 enable_msado15
20708 wine_fn_config_makefile dlls/msado15/tests enable_tests
20709 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20710 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20711 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20712 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20713 wine_fn_config_makefile dlls/mscms enable_mscms
20714 wine_fn_config_makefile dlls/mscms/tests enable_tests
20715 wine_fn_config_makefile dlls/mscoree enable_mscoree
20716 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20717 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20718 wine_fn_config_makefile dlls/msctf enable_msctf
20719 wine_fn_config_makefile dlls/msctf/tests enable_tests
20720 wine_fn_config_makefile dlls/msctfp enable_msctfp
20721 wine_fn_config_makefile dlls/msdaps enable_msdaps
20722 wine_fn_config_makefile dlls/msdelta enable_msdelta
20723 wine_fn_config_makefile dlls/msdmo enable_msdmo
20724 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20725 wine_fn_config_makefile dlls/msdrm enable_msdrm
20726 wine_fn_config_makefile dlls/msftedit enable_msftedit
20727 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20728 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20729 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20730 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20731 wine_fn_config_makefile dlls/mshtml enable_mshtml
20732 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20733 wine_fn_config_makefile dlls/msi enable_msi
20734 wine_fn_config_makefile dlls/msi/tests enable_tests
20735 wine_fn_config_makefile dlls/msident enable_msident
20736 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20737 wine_fn_config_makefile dlls/msimsg enable_msimsg
20738 wine_fn_config_makefile dlls/msimtf enable_msimtf
20739 wine_fn_config_makefile dlls/msisip enable_msisip
20740 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20741 wine_fn_config_makefile dlls/msls31 enable_msls31
20742 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20743 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20744 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20745 wine_fn_config_makefile dlls/msports enable_msports
20746 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20747 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20748 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20749 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20750 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20751 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20752 wine_fn_config_makefile dlls/mstask enable_mstask
20753 wine_fn_config_makefile dlls/mstask/tests enable_tests
20754 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20755 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20756 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20757 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20758 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20759 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20760 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20761 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20762 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20763 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20764 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20765 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20766 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20767 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20768 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20769 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20771 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20773 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20774 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20775 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20776 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20777 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20778 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20780 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20782 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20783 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20784 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20785 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20786 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20787 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20788 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20790 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20791 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20792 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20793 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20794 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20795 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20796 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20797 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20798 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20799 wine_fn_config_makefile dlls/mswsock enable_mswsock
20800 wine_fn_config_makefile dlls/msxml enable_msxml
20801 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20802 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20803 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20804 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20805 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20806 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20807 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20808 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20809 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20810 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20811 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20812 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20813 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20814 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20815 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20816 wine_fn_config_makefile dlls/netprofm enable_netprofm
20817 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20818 wine_fn_config_makefile dlls/netutils enable_netutils
20819 wine_fn_config_makefile dlls/newdev enable_newdev
20820 wine_fn_config_makefile dlls/ninput enable_ninput
20821 wine_fn_config_makefile dlls/ninput/tests enable_tests
20822 wine_fn_config_makefile dlls/normaliz enable_normaliz
20823 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20824 wine_fn_config_makefile dlls/npptools enable_npptools
20825 wine_fn_config_makefile dlls/nsi enable_nsi
20826 wine_fn_config_makefile dlls/nsi/tests enable_tests
20827 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20828 wine_fn_config_makefile dlls/ntdll enable_ntdll
20829 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20830 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20831 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20832 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20833 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20834 wine_fn_config_makefile dlls/ntprint enable_ntprint
20835 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20836 wine_fn_config_makefile dlls/objsel enable_objsel
20837 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20838 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20839 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20840 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20841 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20842 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20843 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20844 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20845 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20846 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20847 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20848 wine_fn_config_makefile dlls/ole32 enable_ole32
20849 wine_fn_config_makefile dlls/ole32/tests enable_tests
20850 wine_fn_config_makefile dlls/oleacc enable_oleacc
20851 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20852 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20853 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20854 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20855 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20856 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20857 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20858 wine_fn_config_makefile dlls/oledlg enable_oledlg
20859 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20860 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20861 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20862 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20863 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20864 wine_fn_config_makefile dlls/opcservices enable_opcservices
20865 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20866 wine_fn_config_makefile dlls/openal32 enable_openal32
20867 wine_fn_config_makefile dlls/opencl enable_opencl
20868 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20869 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20870 wine_fn_config_makefile dlls/packager enable_packager
20871 wine_fn_config_makefile dlls/packager/tests enable_tests
20872 wine_fn_config_makefile dlls/pdh enable_pdh
20873 wine_fn_config_makefile dlls/pdh/tests enable_tests
20874 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20875 wine_fn_config_makefile dlls/pidgen enable_pidgen
20876 wine_fn_config_makefile dlls/powrprof enable_powrprof
20877 wine_fn_config_makefile dlls/printui enable_printui
20878 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20879 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20880 wine_fn_config_makefile dlls/propsys enable_propsys
20881 wine_fn_config_makefile dlls/propsys/tests enable_tests
20882 wine_fn_config_makefile dlls/psapi enable_psapi
20883 wine_fn_config_makefile dlls/psapi/tests enable_tests
20884 wine_fn_config_makefile dlls/pstorec enable_pstorec
20885 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20886 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20887 wine_fn_config_makefile dlls/qasf enable_qasf
20888 wine_fn_config_makefile dlls/qasf/tests enable_tests
20889 wine_fn_config_makefile dlls/qcap enable_qcap
20890 wine_fn_config_makefile dlls/qcap/tests enable_tests
20891 wine_fn_config_makefile dlls/qdvd enable_qdvd
20892 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20893 wine_fn_config_makefile dlls/qedit enable_qedit
20894 wine_fn_config_makefile dlls/qedit/tests enable_tests
20895 wine_fn_config_makefile dlls/qmgr enable_qmgr
20896 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20897 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20898 wine_fn_config_makefile dlls/quartz enable_quartz
20899 wine_fn_config_makefile dlls/quartz/tests enable_tests
20900 wine_fn_config_makefile dlls/query enable_query
20901 wine_fn_config_makefile dlls/qwave enable_qwave
20902 wine_fn_config_makefile dlls/qwave/tests enable_tests
20903 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20904 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20905 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20906 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20907 wine_fn_config_makefile dlls/regapi enable_regapi
20908 wine_fn_config_makefile dlls/resutils enable_resutils
20909 wine_fn_config_makefile dlls/riched20 enable_riched20
20910 wine_fn_config_makefile dlls/riched20/tests enable_tests
20911 wine_fn_config_makefile dlls/riched32 enable_riched32
20912 wine_fn_config_makefile dlls/riched32/tests enable_tests
20913 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20914 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20915 wine_fn_config_makefile dlls/rsabase enable_rsabase
20916 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20917 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20918 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20919 wine_fn_config_makefile dlls/rtutils enable_rtutils
20920 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20921 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20922 wine_fn_config_makefile dlls/samlib enable_samlib
20923 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20924 wine_fn_config_makefile dlls/sapi enable_sapi
20925 wine_fn_config_makefile dlls/sapi/tests enable_tests
20926 wine_fn_config_makefile dlls/sas enable_sas
20927 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20928 wine_fn_config_makefile dlls/sccbase enable_sccbase
20929 wine_fn_config_makefile dlls/schannel enable_schannel
20930 wine_fn_config_makefile dlls/schannel/tests enable_tests
20931 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20932 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20933 wine_fn_config_makefile dlls/scrobj enable_scrobj
20934 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20935 wine_fn_config_makefile dlls/scrrun enable_scrrun
20936 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20937 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20938 wine_fn_config_makefile dlls/sechost enable_sechost
20939 wine_fn_config_makefile dlls/secur32 enable_secur32
20940 wine_fn_config_makefile dlls/secur32/tests enable_tests
20941 wine_fn_config_makefile dlls/security enable_security
20942 wine_fn_config_makefile dlls/sensapi enable_sensapi
20943 wine_fn_config_makefile dlls/serialui enable_serialui
20944 wine_fn_config_makefile dlls/serialui/tests enable_tests
20945 wine_fn_config_makefile dlls/setupapi enable_setupapi
20946 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20947 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20948 wine_fn_config_makefile dlls/sfc enable_sfc
20949 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20950 wine_fn_config_makefile dlls/shcore enable_shcore
20951 wine_fn_config_makefile dlls/shcore/tests enable_tests
20952 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20953 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20954 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20955 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20956 wine_fn_config_makefile dlls/shell32 enable_shell32
20957 wine_fn_config_makefile dlls/shell32/tests enable_tests
20958 wine_fn_config_makefile dlls/shfolder enable_shfolder
20959 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20960 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20961 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20962 wine_fn_config_makefile dlls/slc enable_slc
20963 wine_fn_config_makefile dlls/slc/tests enable_tests
20964 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20965 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20966 wine_fn_config_makefile dlls/softpub enable_softpub
20967 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20968 wine_fn_config_makefile dlls/spoolss enable_spoolss
20969 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20970 wine_fn_config_makefile dlls/sppc enable_sppc
20971 wine_fn_config_makefile dlls/srclient enable_srclient
20972 wine_fn_config_makefile dlls/srvcli enable_srvcli
20973 wine_fn_config_makefile dlls/sspicli enable_sspicli
20974 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20975 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20976 wine_fn_config_makefile dlls/sti enable_sti
20977 wine_fn_config_makefile dlls/sti/tests enable_tests
20978 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20979 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20980 wine_fn_config_makefile dlls/strmbase enable_strmbase
20981 wine_fn_config_makefile dlls/strmdll enable_strmdll
20982 wine_fn_config_makefile dlls/strmiids enable_strmiids
20983 wine_fn_config_makefile dlls/svrapi enable_svrapi
20984 wine_fn_config_makefile dlls/sxs enable_sxs
20985 wine_fn_config_makefile dlls/sxs/tests enable_tests
20986 wine_fn_config_makefile dlls/system.drv16 enable_win16
20987 wine_fn_config_makefile dlls/t2embed enable_t2embed
20988 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20989 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20990 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20991 wine_fn_config_makefile dlls/taskschd enable_taskschd
20992 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20993 wine_fn_config_makefile dlls/tdh enable_tdh
20994 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20995 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20996 wine_fn_config_makefile dlls/traffic enable_traffic
20997 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20998 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20999 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21000 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21001 wine_fn_config_makefile dlls/tzres enable_tzres
21002 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21003 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21004 wine_fn_config_makefile dlls/uianimation enable_uianimation
21005 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21006 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21007 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21008 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21009 wine_fn_config_makefile dlls/unicows enable_unicows
21010 wine_fn_config_makefile dlls/updspapi enable_updspapi
21011 wine_fn_config_makefile dlls/url enable_url
21012 wine_fn_config_makefile dlls/urlmon enable_urlmon
21013 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21014 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21015 wine_fn_config_makefile dlls/user.exe16 enable_win16
21016 wine_fn_config_makefile dlls/user32 enable_user32
21017 wine_fn_config_makefile dlls/user32/tests enable_tests
21018 wine_fn_config_makefile dlls/userenv enable_userenv
21019 wine_fn_config_makefile dlls/userenv/tests enable_tests
21020 wine_fn_config_makefile dlls/usp10 enable_usp10
21021 wine_fn_config_makefile dlls/usp10/tests enable_tests
21022 wine_fn_config_makefile dlls/utildll enable_utildll
21023 wine_fn_config_makefile dlls/uuid enable_uuid
21024 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21025 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21026 wine_fn_config_makefile dlls/vbscript enable_vbscript
21027 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21028 wine_fn_config_makefile dlls/vcomp enable_vcomp
21029 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21030 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21031 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21032 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21033 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21034 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21035 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21036 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21037 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21038 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21039 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21040 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21041 wine_fn_config_makefile dlls/version enable_version
21042 wine_fn_config_makefile dlls/version/tests enable_tests
21043 wine_fn_config_makefile dlls/vga enable_vga
21044 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21045 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21046 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21047 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21048 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21049 wine_fn_config_makefile dlls/vssapi enable_vssapi
21050 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21051 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21052 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21053 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21054 wine_fn_config_makefile dlls/w32skrnl enable_win16
21055 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21056 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21057 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21058 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21059 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21060 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21061 wine_fn_config_makefile dlls/wdscore enable_wdscore
21062 wine_fn_config_makefile dlls/webservices enable_webservices
21063 wine_fn_config_makefile dlls/webservices/tests enable_tests
21064 wine_fn_config_makefile dlls/websocket enable_websocket
21065 wine_fn_config_makefile dlls/wer enable_wer
21066 wine_fn_config_makefile dlls/wer/tests enable_tests
21067 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21068 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21069 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21070 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21071 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21072 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21073 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21074 wine_fn_config_makefile dlls/win32u enable_win32u
21075 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21076 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21077 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21078 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21079 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21080 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21081 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21082 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21083 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21084 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21085 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21086 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21087 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21088 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21089 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21090 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21091 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21092 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21093 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21094 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21095 wine_fn_config_makefile dlls/wined3d enable_wined3d
21096 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21097 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21098 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21099 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21100 wine_fn_config_makefile dlls/winemapi enable_winemapi
21101 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21102 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21103 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21104 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21105 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21106 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21107 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21108 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21109 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21110 wine_fn_config_makefile dlls/wing32 enable_wing32
21111 wine_fn_config_makefile dlls/winhttp enable_winhttp
21112 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21113 wine_fn_config_makefile dlls/wininet enable_wininet
21114 wine_fn_config_makefile dlls/wininet/tests enable_tests
21115 wine_fn_config_makefile dlls/winmm enable_winmm
21116 wine_fn_config_makefile dlls/winmm/tests enable_tests
21117 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21118 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21119 wine_fn_config_makefile dlls/winscard enable_winscard
21120 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21121 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21122 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21123 wine_fn_config_makefile dlls/winsta enable_winsta
21124 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21125 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21126 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21127 wine_fn_config_makefile dlls/wintrust enable_wintrust
21128 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21129 wine_fn_config_makefile dlls/winusb enable_winusb
21130 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21131 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21132 wine_fn_config_makefile dlls/wlanui enable_wlanui
21133 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21134 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21135 wine_fn_config_makefile dlls/wmasf enable_wmasf
21136 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21137 wine_fn_config_makefile dlls/wmi enable_wmi
21138 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21139 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21140 wine_fn_config_makefile dlls/wmp enable_wmp
21141 wine_fn_config_makefile dlls/wmp/tests enable_tests
21142 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21143 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21144 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21145 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21146 wine_fn_config_makefile dlls/wow32 enable_win16
21147 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21148 wine_fn_config_makefile dlls/wpc enable_wpc
21149 wine_fn_config_makefile dlls/wpc/tests enable_tests
21150 wine_fn_config_makefile dlls/wpcap enable_wpcap
21151 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21152 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21153 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21154 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21155 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21156 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21157 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21158 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21159 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21160 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21161 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21162 wine_fn_config_makefile dlls/wuapi enable_wuapi
21163 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21164 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21165 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21166 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21167 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21168 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21169 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21170 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21171 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21172 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21173 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21174 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21175 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21176 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21177 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21178 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21179 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21180 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21181 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21182 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21183 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21184 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21185 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21186 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21187 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21188 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21189 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21190 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21191 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21192 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21193 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21194 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21195 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21196 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21197 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21198 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21199 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21200 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21201 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21202 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21203 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21204 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21205 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21206 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21207 wine_fn_config_makefile dlls/xmllite enable_xmllite
21208 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21209 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21210 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21211 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21212 wine_fn_config_makefile fonts enable_fonts
21213 wine_fn_config_makefile include enable_include
21214 wine_fn_config_makefile libs/port enable_port
21215 wine_fn_config_makefile libs/wine enable_wine
21216 wine_fn_config_makefile libs/wpp enable_wpp
21217 wine_fn_config_makefile loader enable_loader
21218 wine_fn_config_makefile nls enable_nls
21219 wine_fn_config_makefile po enable_po
21220 wine_fn_config_makefile programs/arp enable_arp
21221 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21222 wine_fn_config_makefile programs/attrib enable_attrib
21223 wine_fn_config_makefile programs/cabarc enable_cabarc
21224 wine_fn_config_makefile programs/cacls enable_cacls
21225 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21226 wine_fn_config_makefile programs/clock enable_clock
21227 wine_fn_config_makefile programs/cmd enable_cmd
21228 wine_fn_config_makefile programs/cmd/tests enable_tests
21229 wine_fn_config_makefile programs/conhost enable_conhost
21230 wine_fn_config_makefile programs/conhost/tests enable_tests
21231 wine_fn_config_makefile programs/control enable_control
21232 wine_fn_config_makefile programs/cscript enable_cscript
21233 wine_fn_config_makefile programs/dism enable_dism
21234 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21235 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21236 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21237 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21238 wine_fn_config_makefile programs/eject enable_eject
21239 wine_fn_config_makefile programs/expand enable_expand
21240 wine_fn_config_makefile programs/explorer enable_explorer
21241 wine_fn_config_makefile programs/extrac32 enable_extrac32
21242 wine_fn_config_makefile programs/fc enable_fc
21243 wine_fn_config_makefile programs/find enable_find
21244 wine_fn_config_makefile programs/find/tests enable_tests
21245 wine_fn_config_makefile programs/findstr enable_findstr
21246 wine_fn_config_makefile programs/fsutil enable_fsutil
21247 wine_fn_config_makefile programs/fsutil/tests enable_tests
21248 wine_fn_config_makefile programs/hh enable_hh
21249 wine_fn_config_makefile programs/hostname enable_hostname
21250 wine_fn_config_makefile programs/icacls enable_icacls
21251 wine_fn_config_makefile programs/icinfo enable_icinfo
21252 wine_fn_config_makefile programs/iexplore enable_iexplore
21253 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21254 wine_fn_config_makefile programs/lodctr enable_lodctr
21255 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21256 wine_fn_config_makefile programs/mshta enable_mshta
21257 wine_fn_config_makefile programs/msidb enable_msidb
21258 wine_fn_config_makefile programs/msiexec enable_msiexec
21259 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21260 wine_fn_config_makefile programs/net enable_net
21261 wine_fn_config_makefile programs/netsh enable_netsh
21262 wine_fn_config_makefile programs/netstat enable_netstat
21263 wine_fn_config_makefile programs/ngen enable_ngen
21264 wine_fn_config_makefile programs/notepad enable_notepad
21265 wine_fn_config_makefile programs/oleview enable_oleview
21266 wine_fn_config_makefile programs/ping enable_ping
21267 wine_fn_config_makefile programs/plugplay enable_plugplay
21268 wine_fn_config_makefile programs/powershell enable_powershell
21269 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21270 wine_fn_config_makefile programs/progman enable_progman
21271 wine_fn_config_makefile programs/reg enable_reg
21272 wine_fn_config_makefile programs/reg/tests enable_tests
21273 wine_fn_config_makefile programs/regasm enable_regasm
21274 wine_fn_config_makefile programs/regedit enable_regedit
21275 wine_fn_config_makefile programs/regedit/tests enable_tests
21276 wine_fn_config_makefile programs/regini enable_regini
21277 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21278 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21279 wine_fn_config_makefile programs/rpcss enable_rpcss
21280 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21281 wine_fn_config_makefile programs/rundll32 enable_rundll32
21282 wine_fn_config_makefile programs/sc enable_sc
21283 wine_fn_config_makefile programs/schtasks enable_schtasks
21284 wine_fn_config_makefile programs/schtasks/tests enable_tests
21285 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21286 wine_fn_config_makefile programs/secedit enable_secedit
21287 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21288 wine_fn_config_makefile programs/services enable_services
21289 wine_fn_config_makefile programs/services/tests enable_tests
21290 wine_fn_config_makefile programs/shutdown enable_shutdown
21291 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21292 wine_fn_config_makefile programs/start enable_start
21293 wine_fn_config_makefile programs/subst enable_subst
21294 wine_fn_config_makefile programs/svchost enable_svchost
21295 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21296 wine_fn_config_makefile programs/taskkill enable_taskkill
21297 wine_fn_config_makefile programs/tasklist enable_tasklist
21298 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21299 wine_fn_config_makefile programs/termsv enable_termsv
21300 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21301 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21302 wine_fn_config_makefile programs/view enable_view
21303 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21304 wine_fn_config_makefile programs/where enable_where
21305 wine_fn_config_makefile programs/whoami enable_whoami
21306 wine_fn_config_makefile programs/wineboot enable_wineboot
21307 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21308 wine_fn_config_makefile programs/winecfg enable_winecfg
21309 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21310 wine_fn_config_makefile programs/winedbg enable_winedbg
21311 wine_fn_config_makefile programs/winedevice enable_winedevice
21312 wine_fn_config_makefile programs/winefile enable_winefile
21313 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21314 wine_fn_config_makefile programs/winemine enable_winemine
21315 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21316 wine_fn_config_makefile programs/winepath enable_winepath
21317 wine_fn_config_makefile programs/winetest enable_winetest
21318 wine_fn_config_makefile programs/winevdm enable_win16
21319 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21320 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21321 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21322 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21323 wine_fn_config_makefile programs/winver enable_winver
21324 wine_fn_config_makefile programs/wmic enable_wmic
21325 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21326 wine_fn_config_makefile programs/wordpad enable_wordpad
21327 wine_fn_config_makefile programs/write enable_write
21328 wine_fn_config_makefile programs/wscript enable_wscript
21329 wine_fn_config_makefile programs/wscript/tests enable_tests
21330 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21331 wine_fn_config_makefile programs/wusa enable_wusa
21332 wine_fn_config_makefile programs/xcopy enable_xcopy
21333 wine_fn_config_makefile programs/xcopy/tests enable_tests
21334 wine_fn_config_makefile server enable_server
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21336 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21337 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21338 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21339 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21340 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21341 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21342 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21343 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21346 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21347 wine_fn_append_file CONFIGURE_TARGETS "tags"
21348 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21349 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21350 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21351 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21352 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21353 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21355 if test "x$enable_tools" != xno
21356 then
21357 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21358 ac_config_commands="$ac_config_commands tools/makedep"
21362 ac_config_commands="$ac_config_commands Makefile"
21365 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21369 if test "x$enable_maintainer_mode" = xyes
21370 then
21371 wine_fn_append_rule "configure: configure.ac aclocal.m4
21372 autoconf --warnings=all
21373 include/config.h.in: include/stamp-h.in
21374 include/stamp-h.in: configure.ac aclocal.m4
21375 autoheader --warnings=all
21376 @echo timestamp > \$@"
21379 if test "x$enable_tools" != xno
21380 then
21381 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21382 @./config.status tools/makedep
21383 Makefile: tools/makedep$ac_exeext"
21384 else
21385 wine_fn_append_rule "\$(MAKEDEP):
21386 @echo \"You need to run make in $TOOLSDIR first\" && false"
21389 if test -n "$with_wine64"
21390 then
21391 case "$with_wine64" in
21392 /*) reldir="" ;;
21393 *) reldir="../" ;;
21394 esac
21395 rm -f fonts server 2>/dev/null
21396 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21397 loader/wine64 loader/wine64-preloader:
21398 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21399 $with_wine64/loader/wine:
21400 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21401 $with_wine64/loader/wine-preloader:
21402 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21403 clean::
21404 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21405 else
21406 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21407 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21408 fonts \
21409 loader/wine.inf \
21410 nls \
21411 programs/msidb/msidb \
21412 programs/msiexec/msiexec \
21413 programs/notepad/notepad \
21414 programs/regedit/regedit \
21415 programs/regsvr32/regsvr32 \
21416 programs/wineboot/wineboot \
21417 programs/winecfg/winecfg \
21418 programs/wineconsole/wineconsole \
21419 programs/winedbg/winedbg \
21420 programs/winefile/winefile \
21421 programs/winemine/winemine \
21422 programs/winepath/winepath \
21423 server/wineserver"
21425 case $host_os in
21426 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21427 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21428 esac
21431 $as_echo " done" >&6
21432 cat >confcache <<\_ACEOF
21433 # This file is a shell script that caches the results of configure
21434 # tests run on this system so they can be shared between configure
21435 # scripts and configure runs, see configure's option --config-cache.
21436 # It is not useful on other systems. If it contains results you don't
21437 # want to keep, you may remove or edit it.
21439 # config.status only pays attention to the cache file if you give it
21440 # the --recheck option to rerun configure.
21442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21444 # following values.
21446 _ACEOF
21448 # The following way of writing the cache mishandles newlines in values,
21449 # but we know of no workaround that is simple, portable, and efficient.
21450 # So, we kill variables containing newlines.
21451 # Ultrix sh set writes to stderr and can't be redirected directly,
21452 # and sets the high bit in the cache file unless we assign to the vars.
21454 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21455 eval ac_val=\$$ac_var
21456 case $ac_val in #(
21457 *${as_nl}*)
21458 case $ac_var in #(
21459 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21460 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21461 esac
21462 case $ac_var in #(
21463 _ | IFS | as_nl) ;; #(
21464 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21465 *) { eval $ac_var=; unset $ac_var;} ;;
21466 esac ;;
21467 esac
21468 done
21470 (set) 2>&1 |
21471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21472 *${as_nl}ac_space=\ *)
21473 # `set' does not quote correctly, so add quotes: double-quote
21474 # substitution turns \\\\ into \\, and sed turns \\ into \.
21475 sed -n \
21476 "s/'/'\\\\''/g;
21477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21478 ;; #(
21480 # `set' quotes correctly as required by POSIX, so do not add quotes.
21481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21483 esac |
21484 sort
21486 sed '
21487 /^ac_cv_env_/b end
21488 t clear
21489 :clear
21490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21491 t end
21492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21493 :end' >>confcache
21494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21495 if test -w "$cache_file"; then
21496 if test "x$cache_file" != "x/dev/null"; then
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21498 $as_echo "$as_me: updating cache $cache_file" >&6;}
21499 if test ! -f "$cache_file" || test -h "$cache_file"; then
21500 cat confcache >"$cache_file"
21501 else
21502 case $cache_file in #(
21503 */* | ?:*)
21504 mv -f confcache "$cache_file"$$ &&
21505 mv -f "$cache_file"$$ "$cache_file" ;; #(
21507 mv -f confcache "$cache_file" ;;
21508 esac
21511 else
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21513 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21516 rm -f confcache
21518 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21519 # Let make expand exec_prefix.
21520 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21522 DEFS=-DHAVE_CONFIG_H
21524 ac_libobjs=
21525 ac_ltlibobjs=
21527 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21528 # 1. Remove the extension, and $U if already installed.
21529 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21530 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21531 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21532 # will be set to the directory where LIBOBJS objects are built.
21533 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21534 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21535 done
21536 LIBOBJS=$ac_libobjs
21538 LTLIBOBJS=$ac_ltlibobjs
21542 : "${CONFIG_STATUS=./config.status}"
21543 ac_write_fail=0
21544 ac_clean_files_save=$ac_clean_files
21545 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21547 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21548 as_write_fail=0
21549 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21550 #! $SHELL
21551 # Generated by $as_me.
21552 # Run this file to recreate the current configuration.
21553 # Compiler output produced by configure, useful for debugging
21554 # configure, is in config.log if it exists.
21556 debug=false
21557 ac_cs_recheck=false
21558 ac_cs_silent=false
21560 SHELL=\${CONFIG_SHELL-$SHELL}
21561 export SHELL
21562 _ASEOF
21563 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21564 ## -------------------- ##
21565 ## M4sh Initialization. ##
21566 ## -------------------- ##
21568 # Be more Bourne compatible
21569 DUALCASE=1; export DUALCASE # for MKS sh
21570 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21571 emulate sh
21572 NULLCMD=:
21573 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21574 # is contrary to our usage. Disable this feature.
21575 alias -g '${1+"$@"}'='"$@"'
21576 setopt NO_GLOB_SUBST
21577 else
21578 case `(set -o) 2>/dev/null` in #(
21579 *posix*) :
21580 set -o posix ;; #(
21581 *) :
21583 esac
21587 as_nl='
21589 export as_nl
21590 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21591 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21592 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21593 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21594 # Prefer a ksh shell builtin over an external printf program on Solaris,
21595 # but without wasting forks for bash or zsh.
21596 if test -z "$BASH_VERSION$ZSH_VERSION" \
21597 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21598 as_echo='print -r --'
21599 as_echo_n='print -rn --'
21600 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21601 as_echo='printf %s\n'
21602 as_echo_n='printf %s'
21603 else
21604 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21605 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21606 as_echo_n='/usr/ucb/echo -n'
21607 else
21608 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21609 as_echo_n_body='eval
21610 arg=$1;
21611 case $arg in #(
21612 *"$as_nl"*)
21613 expr "X$arg" : "X\\(.*\\)$as_nl";
21614 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21615 esac;
21616 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21618 export as_echo_n_body
21619 as_echo_n='sh -c $as_echo_n_body as_echo'
21621 export as_echo_body
21622 as_echo='sh -c $as_echo_body as_echo'
21625 # The user is always right.
21626 if test "${PATH_SEPARATOR+set}" != set; then
21627 PATH_SEPARATOR=:
21628 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21629 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21630 PATH_SEPARATOR=';'
21635 # IFS
21636 # We need space, tab and new line, in precisely that order. Quoting is
21637 # there to prevent editors from complaining about space-tab.
21638 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21639 # splitting by setting IFS to empty value.)
21640 IFS=" "" $as_nl"
21642 # Find who we are. Look in the path if we contain no directory separator.
21643 as_myself=
21644 case $0 in #((
21645 *[\\/]* ) as_myself=$0 ;;
21646 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21647 for as_dir in $PATH
21649 IFS=$as_save_IFS
21650 test -z "$as_dir" && as_dir=.
21651 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21652 done
21653 IFS=$as_save_IFS
21656 esac
21657 # We did not find ourselves, most probably we were run as `sh COMMAND'
21658 # in which case we are not to be found in the path.
21659 if test "x$as_myself" = x; then
21660 as_myself=$0
21662 if test ! -f "$as_myself"; then
21663 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21664 exit 1
21667 # Unset variables that we do not need and which cause bugs (e.g. in
21668 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21669 # suppresses any "Segmentation fault" message there. '((' could
21670 # trigger a bug in pdksh 5.2.14.
21671 for as_var in BASH_ENV ENV MAIL MAILPATH
21672 do eval test x\${$as_var+set} = xset \
21673 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21674 done
21675 PS1='$ '
21676 PS2='> '
21677 PS4='+ '
21679 # NLS nuisances.
21680 LC_ALL=C
21681 export LC_ALL
21682 LANGUAGE=C
21683 export LANGUAGE
21685 # CDPATH.
21686 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21689 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21690 # ----------------------------------------
21691 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21692 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21693 # script with STATUS, using 1 if that was 0.
21694 as_fn_error ()
21696 as_status=$1; test $as_status -eq 0 && as_status=1
21697 if test "$4"; then
21698 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21699 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21701 $as_echo "$as_me: error: $2" >&2
21702 as_fn_exit $as_status
21703 } # as_fn_error
21706 # as_fn_set_status STATUS
21707 # -----------------------
21708 # Set $? to STATUS, without forking.
21709 as_fn_set_status ()
21711 return $1
21712 } # as_fn_set_status
21714 # as_fn_exit STATUS
21715 # -----------------
21716 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21717 as_fn_exit ()
21719 set +e
21720 as_fn_set_status $1
21721 exit $1
21722 } # as_fn_exit
21724 # as_fn_unset VAR
21725 # ---------------
21726 # Portably unset VAR.
21727 as_fn_unset ()
21729 { eval $1=; unset $1;}
21731 as_unset=as_fn_unset
21732 # as_fn_append VAR VALUE
21733 # ----------------------
21734 # Append the text in VALUE to the end of the definition contained in VAR. Take
21735 # advantage of any shell optimizations that allow amortized linear growth over
21736 # repeated appends, instead of the typical quadratic growth present in naive
21737 # implementations.
21738 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21739 eval 'as_fn_append ()
21741 eval $1+=\$2
21743 else
21744 as_fn_append ()
21746 eval $1=\$$1\$2
21748 fi # as_fn_append
21750 # as_fn_arith ARG...
21751 # ------------------
21752 # Perform arithmetic evaluation on the ARGs, and store the result in the
21753 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21754 # must be portable across $(()) and expr.
21755 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21756 eval 'as_fn_arith ()
21758 as_val=$(( $* ))
21760 else
21761 as_fn_arith ()
21763 as_val=`expr "$@" || test $? -eq 1`
21765 fi # as_fn_arith
21768 if expr a : '\(a\)' >/dev/null 2>&1 &&
21769 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21770 as_expr=expr
21771 else
21772 as_expr=false
21775 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21776 as_basename=basename
21777 else
21778 as_basename=false
21781 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21782 as_dirname=dirname
21783 else
21784 as_dirname=false
21787 as_me=`$as_basename -- "$0" ||
21788 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21789 X"$0" : 'X\(//\)$' \| \
21790 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21791 $as_echo X/"$0" |
21792 sed '/^.*\/\([^/][^/]*\)\/*$/{
21793 s//\1/
21796 /^X\/\(\/\/\)$/{
21797 s//\1/
21800 /^X\/\(\/\).*/{
21801 s//\1/
21804 s/.*/./; q'`
21806 # Avoid depending upon Character Ranges.
21807 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21808 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21809 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21810 as_cr_digits='0123456789'
21811 as_cr_alnum=$as_cr_Letters$as_cr_digits
21813 ECHO_C= ECHO_N= ECHO_T=
21814 case `echo -n x` in #(((((
21815 -n*)
21816 case `echo 'xy\c'` in
21817 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21818 xy) ECHO_C='\c';;
21819 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21820 ECHO_T=' ';;
21821 esac;;
21823 ECHO_N='-n';;
21824 esac
21826 rm -f conf$$ conf$$.exe conf$$.file
21827 if test -d conf$$.dir; then
21828 rm -f conf$$.dir/conf$$.file
21829 else
21830 rm -f conf$$.dir
21831 mkdir conf$$.dir 2>/dev/null
21833 if (echo >conf$$.file) 2>/dev/null; then
21834 if ln -s conf$$.file conf$$ 2>/dev/null; then
21835 as_ln_s='ln -s'
21836 # ... but there are two gotchas:
21837 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21838 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21839 # In both cases, we have to default to `cp -pR'.
21840 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21841 as_ln_s='cp -pR'
21842 elif ln conf$$.file conf$$ 2>/dev/null; then
21843 as_ln_s=ln
21844 else
21845 as_ln_s='cp -pR'
21847 else
21848 as_ln_s='cp -pR'
21850 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21851 rmdir conf$$.dir 2>/dev/null
21854 # as_fn_mkdir_p
21855 # -------------
21856 # Create "$as_dir" as a directory, including parents if necessary.
21857 as_fn_mkdir_p ()
21860 case $as_dir in #(
21861 -*) as_dir=./$as_dir;;
21862 esac
21863 test -d "$as_dir" || eval $as_mkdir_p || {
21864 as_dirs=
21865 while :; do
21866 case $as_dir in #(
21867 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21868 *) as_qdir=$as_dir;;
21869 esac
21870 as_dirs="'$as_qdir' $as_dirs"
21871 as_dir=`$as_dirname -- "$as_dir" ||
21872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21873 X"$as_dir" : 'X\(//\)[^/]' \| \
21874 X"$as_dir" : 'X\(//\)$' \| \
21875 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21876 $as_echo X"$as_dir" |
21877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21878 s//\1/
21881 /^X\(\/\/\)[^/].*/{
21882 s//\1/
21885 /^X\(\/\/\)$/{
21886 s//\1/
21889 /^X\(\/\).*/{
21890 s//\1/
21893 s/.*/./; q'`
21894 test -d "$as_dir" && break
21895 done
21896 test -z "$as_dirs" || eval "mkdir $as_dirs"
21897 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21900 } # as_fn_mkdir_p
21901 if mkdir -p . 2>/dev/null; then
21902 as_mkdir_p='mkdir -p "$as_dir"'
21903 else
21904 test -d ./-p && rmdir ./-p
21905 as_mkdir_p=false
21909 # as_fn_executable_p FILE
21910 # -----------------------
21911 # Test if FILE is an executable regular file.
21912 as_fn_executable_p ()
21914 test -f "$1" && test -x "$1"
21915 } # as_fn_executable_p
21916 as_test_x='test -x'
21917 as_executable_p=as_fn_executable_p
21919 # Sed expression to map a string onto a valid CPP name.
21920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21922 # Sed expression to map a string onto a valid variable name.
21923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21926 exec 6>&1
21927 ## ----------------------------------- ##
21928 ## Main body of $CONFIG_STATUS script. ##
21929 ## ----------------------------------- ##
21930 _ASEOF
21931 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21934 # Save the log message, to keep $0 and so on meaningful, and to
21935 # report actual input values of CONFIG_FILES etc. instead of their
21936 # values after options handling.
21937 ac_log="
21938 This file was extended by Wine $as_me 6.11, which was
21939 generated by GNU Autoconf 2.69. Invocation command line was
21941 CONFIG_FILES = $CONFIG_FILES
21942 CONFIG_HEADERS = $CONFIG_HEADERS
21943 CONFIG_LINKS = $CONFIG_LINKS
21944 CONFIG_COMMANDS = $CONFIG_COMMANDS
21945 $ $0 $@
21947 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21950 _ACEOF
21952 case $ac_config_files in *"
21953 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21954 esac
21956 case $ac_config_headers in *"
21957 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21958 esac
21961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21962 # Files that config.status was made for.
21963 config_files="$ac_config_files"
21964 config_headers="$ac_config_headers"
21965 config_links="$ac_config_links"
21966 config_commands="$ac_config_commands"
21968 _ACEOF
21970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21971 ac_cs_usage="\
21972 \`$as_me' instantiates files and other configuration actions
21973 from templates according to the current configuration. Unless the files
21974 and actions are specified as TAGs, all are instantiated by default.
21976 Usage: $0 [OPTION]... [TAG]...
21978 -h, --help print this help, then exit
21979 -V, --version print version number and configuration settings, then exit
21980 --config print configuration, then exit
21981 -q, --quiet, --silent
21982 do not print progress messages
21983 -d, --debug don't remove temporary files
21984 --recheck update $as_me by reconfiguring in the same conditions
21985 --file=FILE[:TEMPLATE]
21986 instantiate the configuration file FILE
21987 --header=FILE[:TEMPLATE]
21988 instantiate the configuration header FILE
21990 Configuration files:
21991 $config_files
21993 Configuration headers:
21994 $config_headers
21996 Configuration links:
21997 $config_links
21999 Configuration commands:
22000 $config_commands
22002 Report bugs to <wine-devel@winehq.org>.
22003 Wine home page: <https://www.winehq.org>."
22005 _ACEOF
22006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22007 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22008 ac_cs_version="\\
22009 Wine config.status 6.11
22010 configured by $0, generated by GNU Autoconf 2.69,
22011 with options \\"\$ac_cs_config\\"
22013 Copyright (C) 2012 Free Software Foundation, Inc.
22014 This config.status script is free software; the Free Software Foundation
22015 gives unlimited permission to copy, distribute and modify it."
22017 ac_pwd='$ac_pwd'
22018 srcdir='$srcdir'
22019 test -n "\$AWK" || AWK=awk
22020 _ACEOF
22022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22023 # The default lists apply if the user does not specify any file.
22024 ac_need_defaults=:
22025 while test $# != 0
22027 case $1 in
22028 --*=?*)
22029 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22030 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22031 ac_shift=:
22033 --*=)
22034 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22035 ac_optarg=
22036 ac_shift=:
22039 ac_option=$1
22040 ac_optarg=$2
22041 ac_shift=shift
22043 esac
22045 case $ac_option in
22046 # Handling of the options.
22047 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22048 ac_cs_recheck=: ;;
22049 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22050 $as_echo "$ac_cs_version"; exit ;;
22051 --config | --confi | --conf | --con | --co | --c )
22052 $as_echo "$ac_cs_config"; exit ;;
22053 --debug | --debu | --deb | --de | --d | -d )
22054 debug=: ;;
22055 --file | --fil | --fi | --f )
22056 $ac_shift
22057 case $ac_optarg in
22058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22059 '') as_fn_error $? "missing file argument" ;;
22060 esac
22061 as_fn_append CONFIG_FILES " '$ac_optarg'"
22062 ac_need_defaults=false;;
22063 --header | --heade | --head | --hea )
22064 $ac_shift
22065 case $ac_optarg in
22066 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22067 esac
22068 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22069 ac_need_defaults=false;;
22070 --he | --h)
22071 # Conflict between --help and --header
22072 as_fn_error $? "ambiguous option: \`$1'
22073 Try \`$0 --help' for more information.";;
22074 --help | --hel | -h )
22075 $as_echo "$ac_cs_usage"; exit ;;
22076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22077 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22078 ac_cs_silent=: ;;
22080 # This is an error.
22081 -*) as_fn_error $? "unrecognized option: \`$1'
22082 Try \`$0 --help' for more information." ;;
22084 *) as_fn_append ac_config_targets " $1"
22085 ac_need_defaults=false ;;
22087 esac
22088 shift
22089 done
22091 ac_configure_extra_args=
22093 if $ac_cs_silent; then
22094 exec 6>/dev/null
22095 ac_configure_extra_args="$ac_configure_extra_args --silent"
22098 _ACEOF
22099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22100 if \$ac_cs_recheck; then
22101 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22102 shift
22103 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22104 CONFIG_SHELL='$SHELL'
22105 export CONFIG_SHELL
22106 exec "\$@"
22109 _ACEOF
22110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22111 exec 5>>config.log
22113 echo
22114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22115 ## Running $as_me. ##
22116 _ASBOX
22117 $as_echo "$ac_log"
22118 } >&5
22120 _ACEOF
22121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22123 # INIT-COMMANDS
22125 wine_fn_output_makedep ()
22127 as_dir=tools; as_fn_mkdir_p
22128 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22130 wine_fn_output_makefile ()
22132 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22133 `cat $wine_rules_file`
22134 _WINE_EOF
22135 as_fn_error $? "could not create Makefile" "$LINENO" 5
22138 _ACEOF
22140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22142 # Handling of arguments.
22143 for ac_config_target in $ac_config_targets
22145 case $ac_config_target in
22146 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22147 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22148 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22149 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22150 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22151 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22152 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22154 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22155 esac
22156 done
22159 # If the user did not use the arguments to specify the items to instantiate,
22160 # then the envvar interface is used. Set only those that are not.
22161 # We use the long form for the default assignment because of an extremely
22162 # bizarre bug on SunOS 4.1.3.
22163 if $ac_need_defaults; then
22164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22166 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22170 # Have a temporary directory for convenience. Make it in the build tree
22171 # simply because there is no reason against having it here, and in addition,
22172 # creating and moving files from /tmp can sometimes cause problems.
22173 # Hook for its removal unless debugging.
22174 # Note that there is a small window in which the directory will not be cleaned:
22175 # after its creation but before its name has been assigned to `$tmp'.
22176 $debug ||
22178 tmp= ac_tmp=
22179 trap 'exit_status=$?
22180 : "${ac_tmp:=$tmp}"
22181 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22183 trap 'as_fn_exit 1' 1 2 13 15
22185 # Create a (secure) tmp directory for tmp files.
22188 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22189 test -d "$tmp"
22190 } ||
22192 tmp=./conf$$-$RANDOM
22193 (umask 077 && mkdir "$tmp")
22194 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22195 ac_tmp=$tmp
22197 # Set up the scripts for CONFIG_FILES section.
22198 # No need to generate them if there are no CONFIG_FILES.
22199 # This happens for instance with `./config.status config.h'.
22200 if test -n "$CONFIG_FILES"; then
22203 ac_cr=`echo X | tr X '\015'`
22204 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22205 # But we know of no other shell where ac_cr would be empty at this
22206 # point, so we can use a bashism as a fallback.
22207 if test "x$ac_cr" = x; then
22208 eval ac_cr=\$\'\\r\'
22210 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22211 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22212 ac_cs_awk_cr='\\r'
22213 else
22214 ac_cs_awk_cr=$ac_cr
22217 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22218 _ACEOF
22222 echo "cat >conf$$subs.awk <<_ACEOF" &&
22223 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22224 echo "_ACEOF"
22225 } >conf$$subs.sh ||
22226 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22227 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22228 ac_delim='%!_!# '
22229 for ac_last_try in false false false false false :; do
22230 . ./conf$$subs.sh ||
22231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22233 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22234 if test $ac_delim_n = $ac_delim_num; then
22235 break
22236 elif $ac_last_try; then
22237 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22238 else
22239 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22241 done
22242 rm -f conf$$subs.sh
22244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22245 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22246 _ACEOF
22247 sed -n '
22249 s/^/S["/; s/!.*/"]=/
22252 s/^[^!]*!//
22253 :repl
22254 t repl
22255 s/'"$ac_delim"'$//
22256 t delim
22259 s/\(.\{148\}\)..*/\1/
22260 t more1
22261 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22264 b repl
22265 :more1
22266 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22269 s/.\{148\}//
22270 t nl
22271 :delim
22273 s/\(.\{148\}\)..*/\1/
22274 t more2
22275 s/["\\]/\\&/g; s/^/"/; s/$/"/
22278 :more2
22279 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22282 s/.\{148\}//
22283 t delim
22284 ' <conf$$subs.awk | sed '
22285 /^[^""]/{
22287 s/\n//
22289 ' >>$CONFIG_STATUS || ac_write_fail=1
22290 rm -f conf$$subs.awk
22291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22292 _ACAWK
22293 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22294 for (key in S) S_is_set[key] = 1
22295 FS = "\a"
22299 line = $ 0
22300 nfields = split(line, field, "@")
22301 substed = 0
22302 len = length(field[1])
22303 for (i = 2; i < nfields; i++) {
22304 key = field[i]
22305 keylen = length(key)
22306 if (S_is_set[key]) {
22307 value = S[key]
22308 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22309 len += length(value) + length(field[++i])
22310 substed = 1
22311 } else
22312 len += 1 + keylen
22315 print line
22318 _ACAWK
22319 _ACEOF
22320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22321 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22322 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22323 else
22325 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22326 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22327 _ACEOF
22329 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22330 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22331 # trailing colons and then remove the whole line if VPATH becomes empty
22332 # (actually we leave an empty line to preserve line numbers).
22333 if test "x$srcdir" = x.; then
22334 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22336 s///
22337 s/^/:/
22338 s/[ ]*$/:/
22339 s/:\$(srcdir):/:/g
22340 s/:\${srcdir}:/:/g
22341 s/:@srcdir@:/:/g
22342 s/^:*//
22343 s/:*$//
22345 s/\(=[ ]*\).*/\1/
22347 s/\n//
22348 s/^[^=]*=[ ]*$//
22352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22353 fi # test -n "$CONFIG_FILES"
22355 # Set up the scripts for CONFIG_HEADERS section.
22356 # No need to generate them if there are no CONFIG_HEADERS.
22357 # This happens for instance with `./config.status Makefile'.
22358 if test -n "$CONFIG_HEADERS"; then
22359 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22360 BEGIN {
22361 _ACEOF
22363 # Transform confdefs.h into an awk script `defines.awk', embedded as
22364 # here-document in config.status, that substitutes the proper values into
22365 # config.h.in to produce config.h.
22367 # Create a delimiter string that does not exist in confdefs.h, to ease
22368 # handling of long lines.
22369 ac_delim='%!_!# '
22370 for ac_last_try in false false :; do
22371 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22372 if test -z "$ac_tt"; then
22373 break
22374 elif $ac_last_try; then
22375 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22376 else
22377 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22379 done
22381 # For the awk script, D is an array of macro values keyed by name,
22382 # likewise P contains macro parameters if any. Preserve backslash
22383 # newline sequences.
22385 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22386 sed -n '
22387 s/.\{148\}/&'"$ac_delim"'/g
22388 t rset
22389 :rset
22390 s/^[ ]*#[ ]*define[ ][ ]*/ /
22391 t def
22393 :def
22394 s/\\$//
22395 t bsnl
22396 s/["\\]/\\&/g
22397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22398 D["\1"]=" \3"/p
22399 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22401 :bsnl
22402 s/["\\]/\\&/g
22403 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22404 D["\1"]=" \3\\\\\\n"\\/p
22405 t cont
22406 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22407 t cont
22409 :cont
22411 s/.\{148\}/&'"$ac_delim"'/g
22412 t clear
22413 :clear
22414 s/\\$//
22415 t bsnlc
22416 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22418 :bsnlc
22419 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22420 b cont
22421 ' <confdefs.h | sed '
22422 s/'"$ac_delim"'/"\\\
22423 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22426 for (key in D) D_is_set[key] = 1
22427 FS = "\a"
22429 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22430 line = \$ 0
22431 split(line, arg, " ")
22432 if (arg[1] == "#") {
22433 defundef = arg[2]
22434 mac1 = arg[3]
22435 } else {
22436 defundef = substr(arg[1], 2)
22437 mac1 = arg[2]
22439 split(mac1, mac2, "(") #)
22440 macro = mac2[1]
22441 prefix = substr(line, 1, index(line, defundef) - 1)
22442 if (D_is_set[macro]) {
22443 # Preserve the white space surrounding the "#".
22444 print prefix "define", macro P[macro] D[macro]
22445 next
22446 } else {
22447 # Replace #undef with comments. This is necessary, for example,
22448 # in the case of _POSIX_SOURCE, which is predefined and required
22449 # on some systems where configure will not decide to define it.
22450 if (defundef == "undef") {
22451 print "/*", prefix defundef, macro, "*/"
22452 next
22456 { print }
22457 _ACAWK
22458 _ACEOF
22459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22460 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22461 fi # test -n "$CONFIG_HEADERS"
22464 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22465 shift
22466 for ac_tag
22468 case $ac_tag in
22469 :[FHLC]) ac_mode=$ac_tag; continue;;
22470 esac
22471 case $ac_mode$ac_tag in
22472 :[FHL]*:*);;
22473 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22474 :[FH]-) ac_tag=-:-;;
22475 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22476 esac
22477 ac_save_IFS=$IFS
22478 IFS=:
22479 set x $ac_tag
22480 IFS=$ac_save_IFS
22481 shift
22482 ac_file=$1
22483 shift
22485 case $ac_mode in
22486 :L) ac_source=$1;;
22487 :[FH])
22488 ac_file_inputs=
22489 for ac_f
22491 case $ac_f in
22492 -) ac_f="$ac_tmp/stdin";;
22493 *) # Look for the file first in the build tree, then in the source tree
22494 # (if the path is not absolute). The absolute path cannot be DOS-style,
22495 # because $ac_f cannot contain `:'.
22496 test -f "$ac_f" ||
22497 case $ac_f in
22498 [\\/$]*) false;;
22499 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22500 esac ||
22501 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22502 esac
22503 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22504 as_fn_append ac_file_inputs " '$ac_f'"
22505 done
22507 # Let's still pretend it is `configure' which instantiates (i.e., don't
22508 # use $as_me), people would be surprised to read:
22509 # /* config.h. Generated by config.status. */
22510 configure_input='Generated from '`
22511 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22512 `' by configure.'
22513 if test x"$ac_file" != x-; then
22514 configure_input="$ac_file. $configure_input"
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22516 $as_echo "$as_me: creating $ac_file" >&6;}
22518 # Neutralize special characters interpreted by sed in replacement strings.
22519 case $configure_input in #(
22520 *\&* | *\|* | *\\* )
22521 ac_sed_conf_input=`$as_echo "$configure_input" |
22522 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22523 *) ac_sed_conf_input=$configure_input;;
22524 esac
22526 case $ac_tag in
22527 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22529 esac
22531 esac
22533 ac_dir=`$as_dirname -- "$ac_file" ||
22534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22535 X"$ac_file" : 'X\(//\)[^/]' \| \
22536 X"$ac_file" : 'X\(//\)$' \| \
22537 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22538 $as_echo X"$ac_file" |
22539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22540 s//\1/
22543 /^X\(\/\/\)[^/].*/{
22544 s//\1/
22547 /^X\(\/\/\)$/{
22548 s//\1/
22551 /^X\(\/\).*/{
22552 s//\1/
22555 s/.*/./; q'`
22556 as_dir="$ac_dir"; as_fn_mkdir_p
22557 ac_builddir=.
22559 case "$ac_dir" in
22560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22562 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22563 # A ".." for each directory in $ac_dir_suffix.
22564 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22565 case $ac_top_builddir_sub in
22566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22568 esac ;;
22569 esac
22570 ac_abs_top_builddir=$ac_pwd
22571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22572 # for backward compatibility:
22573 ac_top_builddir=$ac_top_build_prefix
22575 case $srcdir in
22576 .) # We are building in place.
22577 ac_srcdir=.
22578 ac_top_srcdir=$ac_top_builddir_sub
22579 ac_abs_top_srcdir=$ac_pwd ;;
22580 [\\/]* | ?:[\\/]* ) # Absolute name.
22581 ac_srcdir=$srcdir$ac_dir_suffix;
22582 ac_top_srcdir=$srcdir
22583 ac_abs_top_srcdir=$srcdir ;;
22584 *) # Relative name.
22585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22586 ac_top_srcdir=$ac_top_build_prefix$srcdir
22587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22588 esac
22589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22592 case $ac_mode in
22595 # CONFIG_FILE
22598 _ACEOF
22600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22601 # If the template does not know about datarootdir, expand it.
22602 # FIXME: This hack should be removed a few years after 2.60.
22603 ac_datarootdir_hack=; ac_datarootdir_seen=
22604 ac_sed_dataroot='
22605 /datarootdir/ {
22609 /@datadir@/p
22610 /@docdir@/p
22611 /@infodir@/p
22612 /@localedir@/p
22613 /@mandir@/p'
22614 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22615 *datarootdir*) ac_datarootdir_seen=yes;;
22616 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22618 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22619 _ACEOF
22620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22621 ac_datarootdir_hack='
22622 s&@datadir@&$datadir&g
22623 s&@docdir@&$docdir&g
22624 s&@infodir@&$infodir&g
22625 s&@localedir@&$localedir&g
22626 s&@mandir@&$mandir&g
22627 s&\\\${datarootdir}&$datarootdir&g' ;;
22628 esac
22629 _ACEOF
22631 # Neutralize VPATH when `$srcdir' = `.'.
22632 # Shell code in configure.ac might set extrasub.
22633 # FIXME: do we really want to maintain this feature?
22634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22635 ac_sed_extra="$ac_vpsub
22636 $extrasub
22637 _ACEOF
22638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22640 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22641 s|@configure_input@|$ac_sed_conf_input|;t t
22642 s&@top_builddir@&$ac_top_builddir_sub&;t t
22643 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22644 s&@srcdir@&$ac_srcdir&;t t
22645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22646 s&@top_srcdir@&$ac_top_srcdir&;t t
22647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22648 s&@builddir@&$ac_builddir&;t t
22649 s&@abs_builddir@&$ac_abs_builddir&;t t
22650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22651 $ac_datarootdir_hack
22653 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22654 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22656 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22657 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22658 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22659 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22661 which seems to be undefined. Please make sure it is defined" >&5
22662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22663 which seems to be undefined. Please make sure it is defined" >&2;}
22665 rm -f "$ac_tmp/stdin"
22666 case $ac_file in
22667 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22668 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22669 esac \
22670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22674 # CONFIG_HEADER
22676 if test x"$ac_file" != x-; then
22678 $as_echo "/* $configure_input */" \
22679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22680 } >"$ac_tmp/config.h" \
22681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22682 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22685 else
22686 rm -f "$ac_file"
22687 mv "$ac_tmp/config.h" "$ac_file" \
22688 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22690 else
22691 $as_echo "/* $configure_input */" \
22692 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22693 || as_fn_error $? "could not create -" "$LINENO" 5
22698 # CONFIG_LINK
22701 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22703 else
22704 # Prefer the file from the source tree if names are identical.
22705 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22706 ac_source=$srcdir/$ac_source
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22710 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22712 if test ! -r "$ac_source"; then
22713 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22715 rm -f "$ac_file"
22717 # Try a relative symlink, then a hard link, then a copy.
22718 case $ac_source in
22719 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22720 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22721 esac
22722 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22723 ln "$ac_source" "$ac_file" 2>/dev/null ||
22724 cp -p "$ac_source" "$ac_file" ||
22725 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22728 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22729 $as_echo "$as_me: executing $ac_file commands" >&6;}
22731 esac
22734 case $ac_file$ac_mode in
22735 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22736 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22737 "Makefile":C) wine_fn_output_makefile Makefile ;;
22739 esac
22740 done # for ac_tag
22743 as_fn_exit 0
22744 _ACEOF
22745 ac_clean_files=$ac_clean_files_save
22747 test $ac_write_fail = 0 ||
22748 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22751 # configure is writing to config.log, and then calls config.status.
22752 # config.status does its own redirection, appending to config.log.
22753 # Unfortunately, on DOS this fails, as config.log is still kept open
22754 # by configure, so config.status won't be able to write to it; its
22755 # output is simply discarded. So we exec the FD to /dev/null,
22756 # effectively closing config.log, so it can be properly (re)opened and
22757 # appended to by config.status. When coming back to configure, we
22758 # need to make the FD available again.
22759 if test "$no_create" != yes; then
22760 ac_cs_success=:
22761 ac_config_status_args=
22762 test "$silent" = yes &&
22763 ac_config_status_args="$ac_config_status_args --quiet"
22764 exec 5>/dev/null
22765 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22766 exec 5>>config.log
22767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22768 # would make configure fail if this is the last instruction.
22769 $ac_cs_success || as_fn_exit 1
22771 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22773 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22777 if test "$no_create" = "yes"
22778 then
22779 exit 0
22782 ac_save_IFS="$IFS"
22783 if test "x$wine_notices" != x; then
22784 echo >&6
22785 IFS="|"
22786 for msg in $wine_notices; do
22787 IFS="$ac_save_IFS"
22788 if ${msg:+false} :; then :
22790 else
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22792 $as_echo "$as_me: $msg" >&6;}
22794 done
22796 IFS="|"
22797 for msg in $wine_warnings; do
22798 IFS="$ac_save_IFS"
22799 if ${msg:+false} :; then :
22801 else
22802 echo >&2
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22804 $as_echo "$as_me: WARNING: $msg" >&2;}
22806 done
22807 IFS="$ac_save_IFS"
22809 $as_echo "
22810 $as_me: Finished. Do '${ac_make}' to compile Wine.
22811 " >&6