comctl32/treeview: Draw parent background before drawing control parts.
[wine.git] / configure
blob3c6a3ba65b6d243748cf80678b86bc91bc88e1f1
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_loadperf
1415 enable_localspl
1416 enable_localui
1417 enable_lz32
1418 enable_mapi32
1419 enable_mapistub
1420 enable_mciavi32
1421 enable_mcicda
1422 enable_mciqtz32
1423 enable_mciseq
1424 enable_mciwave
1425 enable_mf
1426 enable_mf3216
1427 enable_mferror
1428 enable_mfmediaengine
1429 enable_mfplat
1430 enable_mfplay
1431 enable_mfreadwrite
1432 enable_mfuuid
1433 enable_mgmtapi
1434 enable_midimap
1435 enable_mlang
1436 enable_mmcndmgr
1437 enable_mmdevapi
1438 enable_mountmgr_sys
1439 enable_mp3dmod
1440 enable_mpr
1441 enable_mprapi
1442 enable_msacm32_drv
1443 enable_msacm32
1444 enable_msado15
1445 enable_msadp32_acm
1446 enable_msasn1
1447 enable_mscat32
1448 enable_mscms
1449 enable_mscoree
1450 enable_mscorwks
1451 enable_msctf
1452 enable_msctfp
1453 enable_msdaps
1454 enable_msdelta
1455 enable_msdmo
1456 enable_msdrm
1457 enable_msftedit
1458 enable_msg711_acm
1459 enable_msgsm32_acm
1460 enable_mshtml_tlb
1461 enable_mshtml
1462 enable_msi
1463 enable_msident
1464 enable_msimg32
1465 enable_msimsg
1466 enable_msimtf
1467 enable_msisip
1468 enable_msisys_ocx
1469 enable_msls31
1470 enable_msnet32
1471 enable_mspatcha
1472 enable_msports
1473 enable_msrle32
1474 enable_msscript_ocx
1475 enable_mssign32
1476 enable_mssip32
1477 enable_mstask
1478 enable_msv1_0
1479 enable_msvcirt
1480 enable_msvcm80
1481 enable_msvcm90
1482 enable_msvcp100
1483 enable_msvcp110
1484 enable_msvcp120
1485 enable_msvcp120_app
1486 enable_msvcp140
1487 enable_msvcp140_1
1488 enable_msvcp60
1489 enable_msvcp70
1490 enable_msvcp71
1491 enable_msvcp80
1492 enable_msvcp90
1493 enable_msvcr100
1494 enable_msvcr110
1495 enable_msvcr120
1496 enable_msvcr120_app
1497 enable_msvcr70
1498 enable_msvcr71
1499 enable_msvcr80
1500 enable_msvcr90
1501 enable_msvcrt
1502 enable_msvcrt20
1503 enable_msvcrt40
1504 enable_msvcrtd
1505 enable_msvfw32
1506 enable_msvidc32
1507 enable_mswsock
1508 enable_msxml
1509 enable_msxml2
1510 enable_msxml3
1511 enable_msxml4
1512 enable_msxml6
1513 enable_mtxdm
1514 enable_ncrypt
1515 enable_nddeapi
1516 enable_ndis_sys
1517 enable_netapi32
1518 enable_netcfgx
1519 enable_netio_sys
1520 enable_netprofm
1521 enable_netutils
1522 enable_newdev
1523 enable_ninput
1524 enable_normaliz
1525 enable_npmshtml
1526 enable_npptools
1527 enable_ntdll
1528 enable_ntdsapi
1529 enable_ntoskrnl_exe
1530 enable_ntprint
1531 enable_objsel
1532 enable_odbc32
1533 enable_odbcbcp
1534 enable_odbccp32
1535 enable_odbccu32
1536 enable_ole32
1537 enable_oleacc
1538 enable_oleaut32
1539 enable_olecli32
1540 enable_oledb32
1541 enable_oledlg
1542 enable_olepro32
1543 enable_olesvr32
1544 enable_olethk32
1545 enable_opcservices
1546 enable_openal32
1547 enable_opencl
1548 enable_opengl32
1549 enable_packager
1550 enable_pdh
1551 enable_photometadatahandler
1552 enable_pidgen
1553 enable_powrprof
1554 enable_printui
1555 enable_prntvpt
1556 enable_propsys
1557 enable_psapi
1558 enable_pstorec
1559 enable_pwrshplugin
1560 enable_qasf
1561 enable_qcap
1562 enable_qdvd
1563 enable_qedit
1564 enable_qmgr
1565 enable_qmgrprxy
1566 enable_quartz
1567 enable_query
1568 enable_qwave
1569 enable_rasapi32
1570 enable_rasdlg
1571 enable_regapi
1572 enable_resutils
1573 enable_riched20
1574 enable_riched32
1575 enable_rpcrt4
1576 enable_rsabase
1577 enable_rsaenh
1578 enable_rstrtmgr
1579 enable_rtutils
1580 enable_rtworkq
1581 enable_samlib
1582 enable_sane_ds
1583 enable_sapi
1584 enable_sas
1585 enable_scarddlg
1586 enable_sccbase
1587 enable_schannel
1588 enable_schedsvc
1589 enable_scrobj
1590 enable_scrrun
1591 enable_scsiport_sys
1592 enable_sechost
1593 enable_secur32
1594 enable_security
1595 enable_sensapi
1596 enable_serialui
1597 enable_setupapi
1598 enable_sfc
1599 enable_sfc_os
1600 enable_shcore
1601 enable_shdoclc
1602 enable_shdocvw
1603 enable_shell32
1604 enable_shfolder
1605 enable_shlwapi
1606 enable_slbcsp
1607 enable_slc
1608 enable_snmpapi
1609 enable_softpub
1610 enable_spoolss
1611 enable_sppc
1612 enable_srclient
1613 enable_srvcli
1614 enable_sspicli
1615 enable_stdole2_tlb
1616 enable_stdole32_tlb
1617 enable_sti
1618 enable_strmbase
1619 enable_strmdll
1620 enable_strmiids
1621 enable_svrapi
1622 enable_sxs
1623 enable_t2embed
1624 enable_tapi32
1625 enable_taskschd
1626 enable_tdh
1627 enable_tdi_sys
1628 enable_traffic
1629 enable_twain_32
1630 enable_tzres
1631 enable_ucrtbase
1632 enable_uianimation
1633 enable_uiautomationcore
1634 enable_uiribbon
1635 enable_unicows
1636 enable_updspapi
1637 enable_url
1638 enable_urlmon
1639 enable_usbd_sys
1640 enable_user32
1641 enable_userenv
1642 enable_usp10
1643 enable_utildll
1644 enable_uuid
1645 enable_uxtheme
1646 enable_vbscript
1647 enable_vcomp
1648 enable_vcomp100
1649 enable_vcomp110
1650 enable_vcomp120
1651 enable_vcomp140
1652 enable_vcomp90
1653 enable_vcruntime140
1654 enable_vcruntime140_1
1655 enable_vdmdbg
1656 enable_version
1657 enable_vga
1658 enable_virtdisk
1659 enable_vssapi
1660 enable_vulkan_1
1661 enable_wbemdisp
1662 enable_wbemprox
1663 enable_wbemuuid
1664 enable_wdscore
1665 enable_webservices
1666 enable_websocket
1667 enable_wer
1668 enable_wevtapi
1669 enable_wevtsvc
1670 enable_wiaservc
1671 enable_wimgapi
1672 enable_win32u
1673 enable_windows_gaming_input
1674 enable_windows_globalization
1675 enable_windows_media_devices
1676 enable_windows_media_speech
1677 enable_windowscodecs
1678 enable_windowscodecsext
1679 enable_winealsa_drv
1680 enable_wineandroid_drv
1681 enable_winebus_sys
1682 enable_winecoreaudio_drv
1683 enable_winecrt0
1684 enable_wined3d
1685 enable_winegstreamer
1686 enable_winehid_sys
1687 enable_winejoystick_drv
1688 enable_winemac_drv
1689 enable_winemapi
1690 enable_wineoss_drv
1691 enable_wineps_drv
1692 enable_winepulse_drv
1693 enable_wineqtdecoder
1694 enable_wineusb_sys
1695 enable_winevulkan
1696 enable_winex11_drv
1697 enable_wing32
1698 enable_winhttp
1699 enable_wininet
1700 enable_winmm
1701 enable_winnls32
1702 enable_winscard
1703 enable_winspool_drv
1704 enable_winsta
1705 enable_wintab32
1706 enable_wintrust
1707 enable_winusb
1708 enable_wlanapi
1709 enable_wlanui
1710 enable_wldap32
1711 enable_wmasf
1712 enable_wmcodecdspuuid
1713 enable_wmi
1714 enable_wmiutils
1715 enable_wmp
1716 enable_wmphoto
1717 enable_wmvcore
1718 enable_wnaspi32
1719 enable_wow64cpu
1720 enable_wpc
1721 enable_wpcap
1722 enable_ws2_32
1723 enable_wsdapi
1724 enable_wshom_ocx
1725 enable_wsnmp32
1726 enable_wsock32
1727 enable_wtsapi32
1728 enable_wuapi
1729 enable_wuaueng
1730 enable_x3daudio1_0
1731 enable_x3daudio1_1
1732 enable_x3daudio1_2
1733 enable_x3daudio1_3
1734 enable_x3daudio1_4
1735 enable_x3daudio1_5
1736 enable_x3daudio1_6
1737 enable_x3daudio1_7
1738 enable_xactengine2_0
1739 enable_xactengine2_4
1740 enable_xactengine2_7
1741 enable_xactengine2_9
1742 enable_xactengine3_0
1743 enable_xactengine3_1
1744 enable_xactengine3_2
1745 enable_xactengine3_3
1746 enable_xactengine3_4
1747 enable_xactengine3_5
1748 enable_xactengine3_6
1749 enable_xactengine3_7
1750 enable_xapofx1_1
1751 enable_xapofx1_2
1752 enable_xapofx1_3
1753 enable_xapofx1_4
1754 enable_xapofx1_5
1755 enable_xaudio2_0
1756 enable_xaudio2_1
1757 enable_xaudio2_2
1758 enable_xaudio2_3
1759 enable_xaudio2_4
1760 enable_xaudio2_5
1761 enable_xaudio2_6
1762 enable_xaudio2_7
1763 enable_xaudio2_8
1764 enable_xaudio2_9
1765 enable_xinput1_1
1766 enable_xinput1_2
1767 enable_xinput1_3
1768 enable_xinput1_4
1769 enable_xinput9_1_0
1770 enable_xmllite
1771 enable_xolehlp
1772 enable_xpsprint
1773 enable_xpssvcs
1774 enable_fonts
1775 enable_include
1776 enable_port
1777 enable_wine
1778 enable_wpp
1779 enable_loader
1780 enable_nls
1781 enable_po
1782 enable_arp
1783 enable_aspnet_regiis
1784 enable_attrib
1785 enable_cabarc
1786 enable_cacls
1787 enable_chcp_com
1788 enable_clock
1789 enable_cmd
1790 enable_conhost
1791 enable_control
1792 enable_cscript
1793 enable_dism
1794 enable_dplaysvr
1795 enable_dpnsvr
1796 enable_dpvsetup
1797 enable_dxdiag
1798 enable_eject
1799 enable_expand
1800 enable_explorer
1801 enable_extrac32
1802 enable_fc
1803 enable_find
1804 enable_findstr
1805 enable_fsutil
1806 enable_hh
1807 enable_hostname
1808 enable_icacls
1809 enable_icinfo
1810 enable_iexplore
1811 enable_ipconfig
1812 enable_lodctr
1813 enable_mofcomp
1814 enable_mshta
1815 enable_msidb
1816 enable_msiexec
1817 enable_msinfo32
1818 enable_net
1819 enable_netsh
1820 enable_netstat
1821 enable_ngen
1822 enable_notepad
1823 enable_oleview
1824 enable_ping
1825 enable_plugplay
1826 enable_powershell
1827 enable_presentationfontcache
1828 enable_progman
1829 enable_reg
1830 enable_regasm
1831 enable_regedit
1832 enable_regini
1833 enable_regsvcs
1834 enable_regsvr32
1835 enable_rpcss
1836 enable_rundll32
1837 enable_sc
1838 enable_schtasks
1839 enable_sdbinst
1840 enable_secedit
1841 enable_servicemodelreg
1842 enable_services
1843 enable_shutdown
1844 enable_spoolsv
1845 enable_start
1846 enable_subst
1847 enable_svchost
1848 enable_systeminfo
1849 enable_taskkill
1850 enable_tasklist
1851 enable_taskmgr
1852 enable_termsv
1853 enable_uninstaller
1854 enable_unlodctr
1855 enable_view
1856 enable_wevtutil
1857 enable_where
1858 enable_whoami
1859 enable_wineboot
1860 enable_winebrowser
1861 enable_winecfg
1862 enable_wineconsole
1863 enable_winedbg
1864 enable_winedevice
1865 enable_winefile
1866 enable_winemenubuilder
1867 enable_winemine
1868 enable_winemsibuilder
1869 enable_winepath
1870 enable_winetest
1871 enable_winhlp32
1872 enable_winmgmt
1873 enable_winver
1874 enable_wmic
1875 enable_wmplayer
1876 enable_wordpad
1877 enable_write
1878 enable_wscript
1879 enable_wuauserv
1880 enable_wusa
1881 enable_xcopy
1882 enable_server
1883 enable_tools
1884 enable_sfnt2fon
1885 enable_widl
1886 enable_winebuild
1887 enable_winedump
1888 enable_winegcc
1889 enable_winemaker
1890 enable_wmc
1891 enable_wrc
1893 ac_precious_vars='build_alias
1894 host_alias
1895 target_alias
1897 CFLAGS
1898 LDFLAGS
1899 LIBS
1900 CPPFLAGS
1902 CXXFLAGS
1905 OBJC
1906 OBJCFLAGS
1907 OBJCPP
1908 XMKMF
1909 XML2_CFLAGS
1910 XML2_LIBS
1911 XSLT_CFLAGS
1912 XSLT_LIBS
1913 INOTIFY_CFLAGS
1914 INOTIFY_LIBS
1915 DBUS_CFLAGS
1916 DBUS_LIBS
1917 HAL_CFLAGS
1918 HAL_LIBS
1919 GNUTLS_CFLAGS
1920 GNUTLS_LIBS
1921 SANE_CFLAGS
1922 SANE_LIBS
1923 USB_CFLAGS
1924 USB_LIBS
1925 GPHOTO2_CFLAGS
1926 GPHOTO2_LIBS
1927 GPHOTO2_PORT_CFLAGS
1928 GPHOTO2_PORT_LIBS
1929 LCMS2_CFLAGS
1930 LCMS2_LIBS
1931 FREETYPE_CFLAGS
1932 FREETYPE_LIBS
1933 PULSE_CFLAGS
1934 PULSE_LIBS
1935 GSTREAMER_CFLAGS
1936 GSTREAMER_LIBS
1937 UDEV_CFLAGS
1938 UDEV_LIBS
1939 UNWIND_CFLAGS
1940 UNWIND_LIBS
1941 SDL2_CFLAGS
1942 SDL2_LIBS
1943 FAUDIO_CFLAGS
1944 FAUDIO_LIBS
1945 CAPI20_CFLAGS
1946 CAPI20_LIBS
1947 CUPS_CFLAGS
1948 CUPS_LIBS
1949 FONTCONFIG_CFLAGS
1950 FONTCONFIG_LIBS
1951 KRB5_CFLAGS
1952 KRB5_LIBS
1953 GSSAPI_CFLAGS
1954 GSSAPI_LIBS
1955 JPEG_CFLAGS
1956 JPEG_LIBS
1957 JXRLIB_CFLAGS
1958 JXRLIB_LIBS
1959 PNG_CFLAGS
1960 PNG_LIBS
1961 TIFF_CFLAGS
1962 TIFF_LIBS
1963 MPG123_CFLAGS
1964 MPG123_LIBS
1965 NETAPI_CFLAGS
1966 NETAPI_LIBS
1967 VKD3D_CFLAGS
1968 VKD3D_LIBS
1969 VKD3D_SHADER_CFLAGS
1970 VKD3D_SHADER_LIBS
1971 LDAP_CFLAGS
1972 LDAP_LIBS'
1975 # Initialize some variables set by options.
1976 ac_init_help=
1977 ac_init_version=false
1978 ac_unrecognized_opts=
1979 ac_unrecognized_sep=
1980 # The variables have the same names as the options, with
1981 # dashes changed to underlines.
1982 cache_file=/dev/null
1983 exec_prefix=NONE
1984 no_create=
1985 no_recursion=
1986 prefix=NONE
1987 program_prefix=NONE
1988 program_suffix=NONE
1989 program_transform_name=s,x,x,
1990 silent=
1991 site=
1992 srcdir=
1993 verbose=
1994 x_includes=NONE
1995 x_libraries=NONE
1997 # Installation directory options.
1998 # These are left unexpanded so users can "make install exec_prefix=/foo"
1999 # and all the variables that are supposed to be based on exec_prefix
2000 # by default will actually change.
2001 # Use braces instead of parens because sh, perl, etc. also accept them.
2002 # (The list follows the same order as the GNU Coding Standards.)
2003 bindir='${exec_prefix}/bin'
2004 sbindir='${exec_prefix}/sbin'
2005 libexecdir='${exec_prefix}/libexec'
2006 datarootdir='${prefix}/share'
2007 datadir='${datarootdir}'
2008 sysconfdir='${prefix}/etc'
2009 sharedstatedir='${prefix}/com'
2010 localstatedir='${prefix}/var'
2011 runstatedir='${localstatedir}/run'
2012 includedir='${prefix}/include'
2013 oldincludedir='/usr/include'
2014 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2015 infodir='${datarootdir}/info'
2016 htmldir='${docdir}'
2017 dvidir='${docdir}'
2018 pdfdir='${docdir}'
2019 psdir='${docdir}'
2020 libdir='${exec_prefix}/lib'
2021 localedir='${datarootdir}/locale'
2022 mandir='${datarootdir}/man'
2024 ac_prev=
2025 ac_dashdash=
2026 for ac_option
2028 # If the previous option needs an argument, assign it.
2029 if test -n "$ac_prev"; then
2030 eval $ac_prev=\$ac_option
2031 ac_prev=
2032 continue
2035 case $ac_option in
2036 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2037 *=) ac_optarg= ;;
2038 *) ac_optarg=yes ;;
2039 esac
2041 # Accept the important Cygnus configure options, so we can diagnose typos.
2043 case $ac_dashdash$ac_option in
2045 ac_dashdash=yes ;;
2047 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2048 ac_prev=bindir ;;
2049 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2050 bindir=$ac_optarg ;;
2052 -build | --build | --buil | --bui | --bu)
2053 ac_prev=build_alias ;;
2054 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2055 build_alias=$ac_optarg ;;
2057 -cache-file | --cache-file | --cache-fil | --cache-fi \
2058 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2059 ac_prev=cache_file ;;
2060 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2061 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2062 cache_file=$ac_optarg ;;
2064 --config-cache | -C)
2065 cache_file=config.cache ;;
2067 -datadir | --datadir | --datadi | --datad)
2068 ac_prev=datadir ;;
2069 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2070 datadir=$ac_optarg ;;
2072 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2073 | --dataroo | --dataro | --datar)
2074 ac_prev=datarootdir ;;
2075 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2076 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2077 datarootdir=$ac_optarg ;;
2079 -disable-* | --disable-*)
2080 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2081 # Reject names that are not valid shell variable names.
2082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2083 as_fn_error $? "invalid feature name: $ac_useropt"
2084 ac_useropt_orig=$ac_useropt
2085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2086 case $ac_user_opts in
2088 "enable_$ac_useropt"
2089 "*) ;;
2090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2091 ac_unrecognized_sep=', ';;
2092 esac
2093 eval enable_$ac_useropt=no ;;
2095 -docdir | --docdir | --docdi | --doc | --do)
2096 ac_prev=docdir ;;
2097 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2098 docdir=$ac_optarg ;;
2100 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2101 ac_prev=dvidir ;;
2102 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2103 dvidir=$ac_optarg ;;
2105 -enable-* | --enable-*)
2106 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2107 # Reject names that are not valid shell variable names.
2108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2109 as_fn_error $? "invalid feature name: $ac_useropt"
2110 ac_useropt_orig=$ac_useropt
2111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2112 case $ac_user_opts in
2114 "enable_$ac_useropt"
2115 "*) ;;
2116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2117 ac_unrecognized_sep=', ';;
2118 esac
2119 eval enable_$ac_useropt=\$ac_optarg ;;
2121 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2122 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2123 | --exec | --exe | --ex)
2124 ac_prev=exec_prefix ;;
2125 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2126 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2127 | --exec=* | --exe=* | --ex=*)
2128 exec_prefix=$ac_optarg ;;
2130 -gas | --gas | --ga | --g)
2131 # Obsolete; use --with-gas.
2132 with_gas=yes ;;
2134 -help | --help | --hel | --he | -h)
2135 ac_init_help=long ;;
2136 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2137 ac_init_help=recursive ;;
2138 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2139 ac_init_help=short ;;
2141 -host | --host | --hos | --ho)
2142 ac_prev=host_alias ;;
2143 -host=* | --host=* | --hos=* | --ho=*)
2144 host_alias=$ac_optarg ;;
2146 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2147 ac_prev=htmldir ;;
2148 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2149 | --ht=*)
2150 htmldir=$ac_optarg ;;
2152 -includedir | --includedir | --includedi | --included | --include \
2153 | --includ | --inclu | --incl | --inc)
2154 ac_prev=includedir ;;
2155 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2156 | --includ=* | --inclu=* | --incl=* | --inc=*)
2157 includedir=$ac_optarg ;;
2159 -infodir | --infodir | --infodi | --infod | --info | --inf)
2160 ac_prev=infodir ;;
2161 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2162 infodir=$ac_optarg ;;
2164 -libdir | --libdir | --libdi | --libd)
2165 ac_prev=libdir ;;
2166 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2167 libdir=$ac_optarg ;;
2169 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2170 | --libexe | --libex | --libe)
2171 ac_prev=libexecdir ;;
2172 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2173 | --libexe=* | --libex=* | --libe=*)
2174 libexecdir=$ac_optarg ;;
2176 -localedir | --localedir | --localedi | --localed | --locale)
2177 ac_prev=localedir ;;
2178 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2179 localedir=$ac_optarg ;;
2181 -localstatedir | --localstatedir | --localstatedi | --localstated \
2182 | --localstate | --localstat | --localsta | --localst | --locals)
2183 ac_prev=localstatedir ;;
2184 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2185 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2186 localstatedir=$ac_optarg ;;
2188 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2189 ac_prev=mandir ;;
2190 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2191 mandir=$ac_optarg ;;
2193 -nfp | --nfp | --nf)
2194 # Obsolete; use --without-fp.
2195 with_fp=no ;;
2197 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2198 | --no-cr | --no-c | -n)
2199 no_create=yes ;;
2201 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2202 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2203 no_recursion=yes ;;
2205 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2206 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2207 | --oldin | --oldi | --old | --ol | --o)
2208 ac_prev=oldincludedir ;;
2209 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2210 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2211 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2212 oldincludedir=$ac_optarg ;;
2214 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2215 ac_prev=prefix ;;
2216 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2217 prefix=$ac_optarg ;;
2219 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2220 | --program-pre | --program-pr | --program-p)
2221 ac_prev=program_prefix ;;
2222 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2223 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2224 program_prefix=$ac_optarg ;;
2226 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2227 | --program-suf | --program-su | --program-s)
2228 ac_prev=program_suffix ;;
2229 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2230 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2231 program_suffix=$ac_optarg ;;
2233 -program-transform-name | --program-transform-name \
2234 | --program-transform-nam | --program-transform-na \
2235 | --program-transform-n | --program-transform- \
2236 | --program-transform | --program-transfor \
2237 | --program-transfo | --program-transf \
2238 | --program-trans | --program-tran \
2239 | --progr-tra | --program-tr | --program-t)
2240 ac_prev=program_transform_name ;;
2241 -program-transform-name=* | --program-transform-name=* \
2242 | --program-transform-nam=* | --program-transform-na=* \
2243 | --program-transform-n=* | --program-transform-=* \
2244 | --program-transform=* | --program-transfor=* \
2245 | --program-transfo=* | --program-transf=* \
2246 | --program-trans=* | --program-tran=* \
2247 | --progr-tra=* | --program-tr=* | --program-t=*)
2248 program_transform_name=$ac_optarg ;;
2250 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2251 ac_prev=pdfdir ;;
2252 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2253 pdfdir=$ac_optarg ;;
2255 -psdir | --psdir | --psdi | --psd | --ps)
2256 ac_prev=psdir ;;
2257 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2258 psdir=$ac_optarg ;;
2260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2261 | -silent | --silent | --silen | --sile | --sil)
2262 silent=yes ;;
2264 -runstatedir | --runstatedir | --runstatedi | --runstated \
2265 | --runstate | --runstat | --runsta | --runst | --runs \
2266 | --run | --ru | --r)
2267 ac_prev=runstatedir ;;
2268 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2269 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2270 | --run=* | --ru=* | --r=*)
2271 runstatedir=$ac_optarg ;;
2273 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2274 ac_prev=sbindir ;;
2275 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2276 | --sbi=* | --sb=*)
2277 sbindir=$ac_optarg ;;
2279 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2280 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2281 | --sharedst | --shareds | --shared | --share | --shar \
2282 | --sha | --sh)
2283 ac_prev=sharedstatedir ;;
2284 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2285 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2286 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2287 | --sha=* | --sh=*)
2288 sharedstatedir=$ac_optarg ;;
2290 -site | --site | --sit)
2291 ac_prev=site ;;
2292 -site=* | --site=* | --sit=*)
2293 site=$ac_optarg ;;
2295 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2296 ac_prev=srcdir ;;
2297 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2298 srcdir=$ac_optarg ;;
2300 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2301 | --syscon | --sysco | --sysc | --sys | --sy)
2302 ac_prev=sysconfdir ;;
2303 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2304 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2305 sysconfdir=$ac_optarg ;;
2307 -target | --target | --targe | --targ | --tar | --ta | --t)
2308 ac_prev=target_alias ;;
2309 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2310 target_alias=$ac_optarg ;;
2312 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2313 verbose=yes ;;
2315 -version | --version | --versio | --versi | --vers | -V)
2316 ac_init_version=: ;;
2318 -with-* | --with-*)
2319 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2320 # Reject names that are not valid shell variable names.
2321 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2322 as_fn_error $? "invalid package name: $ac_useropt"
2323 ac_useropt_orig=$ac_useropt
2324 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2325 case $ac_user_opts in
2327 "with_$ac_useropt"
2328 "*) ;;
2329 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2330 ac_unrecognized_sep=', ';;
2331 esac
2332 eval with_$ac_useropt=\$ac_optarg ;;
2334 -without-* | --without-*)
2335 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2336 # Reject names that are not valid shell variable names.
2337 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2338 as_fn_error $? "invalid package name: $ac_useropt"
2339 ac_useropt_orig=$ac_useropt
2340 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2341 case $ac_user_opts in
2343 "with_$ac_useropt"
2344 "*) ;;
2345 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2346 ac_unrecognized_sep=', ';;
2347 esac
2348 eval with_$ac_useropt=no ;;
2350 --x)
2351 # Obsolete; use --with-x.
2352 with_x=yes ;;
2354 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2355 | --x-incl | --x-inc | --x-in | --x-i)
2356 ac_prev=x_includes ;;
2357 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2358 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2359 x_includes=$ac_optarg ;;
2361 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2362 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2363 ac_prev=x_libraries ;;
2364 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2365 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2366 x_libraries=$ac_optarg ;;
2368 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2369 Try \`$0 --help' for more information"
2372 *=*)
2373 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2374 # Reject names that are not valid shell variable names.
2375 case $ac_envvar in #(
2376 '' | [0-9]* | *[!_$as_cr_alnum]* )
2377 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2378 esac
2379 eval $ac_envvar=\$ac_optarg
2380 export $ac_envvar ;;
2383 # FIXME: should be removed in autoconf 3.0.
2384 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2385 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2386 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2387 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2390 esac
2391 done
2393 if test -n "$ac_prev"; then
2394 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2395 as_fn_error $? "missing argument to $ac_option"
2398 if test -n "$ac_unrecognized_opts"; then
2399 case $enable_option_checking in
2400 no) ;;
2401 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2402 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2403 esac
2406 # Check all directory arguments for consistency.
2407 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2408 datadir sysconfdir sharedstatedir localstatedir includedir \
2409 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2410 libdir localedir mandir runstatedir
2412 eval ac_val=\$$ac_var
2413 # Remove trailing slashes.
2414 case $ac_val in
2415 */ )
2416 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2417 eval $ac_var=\$ac_val;;
2418 esac
2419 # Be sure to have absolute directory names.
2420 case $ac_val in
2421 [\\/$]* | ?:[\\/]* ) continue;;
2422 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2423 esac
2424 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2425 done
2427 # There might be people who depend on the old broken behavior: `$host'
2428 # used to hold the argument of --host etc.
2429 # FIXME: To remove some day.
2430 build=$build_alias
2431 host=$host_alias
2432 target=$target_alias
2434 # FIXME: To remove some day.
2435 if test "x$host_alias" != x; then
2436 if test "x$build_alias" = x; then
2437 cross_compiling=maybe
2438 elif test "x$build_alias" != "x$host_alias"; then
2439 cross_compiling=yes
2443 ac_tool_prefix=
2444 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2446 test "$silent" = yes && exec 6>/dev/null
2449 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2450 ac_ls_di=`ls -di .` &&
2451 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2452 as_fn_error $? "working directory cannot be determined"
2453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2454 as_fn_error $? "pwd does not report name of working directory"
2457 # Find the source files, if location was not specified.
2458 if test -z "$srcdir"; then
2459 ac_srcdir_defaulted=yes
2460 # Try the directory containing this script, then the parent directory.
2461 ac_confdir=`$as_dirname -- "$as_myself" ||
2462 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2463 X"$as_myself" : 'X\(//\)[^/]' \| \
2464 X"$as_myself" : 'X\(//\)$' \| \
2465 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2466 $as_echo X"$as_myself" |
2467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2468 s//\1/
2471 /^X\(\/\/\)[^/].*/{
2472 s//\1/
2475 /^X\(\/\/\)$/{
2476 s//\1/
2479 /^X\(\/\).*/{
2480 s//\1/
2483 s/.*/./; q'`
2484 srcdir=$ac_confdir
2485 if test ! -r "$srcdir/$ac_unique_file"; then
2486 srcdir=..
2488 else
2489 ac_srcdir_defaulted=no
2491 if test ! -r "$srcdir/$ac_unique_file"; then
2492 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2493 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2496 ac_abs_confdir=`(
2497 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2498 pwd)`
2499 # When building in place, set srcdir=.
2500 if test "$ac_abs_confdir" = "$ac_pwd"; then
2501 srcdir=.
2503 # Remove unnecessary trailing slashes from srcdir.
2504 # Double slashes in file names in object file debugging info
2505 # mess up M-x gdb in Emacs.
2506 case $srcdir in
2507 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2508 esac
2509 for ac_var in $ac_precious_vars; do
2510 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2511 eval ac_env_${ac_var}_value=\$${ac_var}
2512 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2513 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2514 done
2517 # Report the --help message.
2519 if test "$ac_init_help" = "long"; then
2520 # Omit some internal or obsolete options to make the list less imposing.
2521 # This message is too long to be a string in the A/UX 3.1 sh.
2522 cat <<_ACEOF
2523 \`configure' configures Wine 6.11 to adapt to many kinds of systems.
2525 Usage: $0 [OPTION]... [VAR=VALUE]...
2527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2528 VAR=VALUE. See below for descriptions of some of the useful variables.
2530 Defaults for the options are specified in brackets.
2532 Configuration:
2533 -h, --help display this help and exit
2534 --help=short display options specific to this package
2535 --help=recursive display the short help of all the included packages
2536 -V, --version display version information and exit
2537 -q, --quiet, --silent do not print \`checking ...' messages
2538 --cache-file=FILE cache test results in FILE [disabled]
2539 -C, --config-cache alias for \`--cache-file=config.cache'
2540 -n, --no-create do not create output files
2541 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2543 Installation directories:
2544 --prefix=PREFIX install architecture-independent files in PREFIX
2545 [$ac_default_prefix]
2546 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2547 [PREFIX]
2549 By default, \`make install' will install all the files in
2550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2552 for instance \`--prefix=\$HOME'.
2554 For better control, use the options below.
2556 Fine tuning of the installation directories:
2557 --bindir=DIR user executables [EPREFIX/bin]
2558 --sbindir=DIR system admin executables [EPREFIX/sbin]
2559 --libexecdir=DIR program executables [EPREFIX/libexec]
2560 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2561 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2562 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2563 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2564 --libdir=DIR object code libraries [EPREFIX/lib]
2565 --includedir=DIR C header files [PREFIX/include]
2566 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2567 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2568 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2569 --infodir=DIR info documentation [DATAROOTDIR/info]
2570 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2571 --mandir=DIR man documentation [DATAROOTDIR/man]
2572 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2573 --htmldir=DIR html documentation [DOCDIR]
2574 --dvidir=DIR dvi documentation [DOCDIR]
2575 --pdfdir=DIR pdf documentation [DOCDIR]
2576 --psdir=DIR ps documentation [DOCDIR]
2577 _ACEOF
2579 cat <<\_ACEOF
2581 X features:
2582 --x-includes=DIR X include files are in DIR
2583 --x-libraries=DIR X library files are in DIR
2585 System types:
2586 --build=BUILD configure for building on BUILD [guessed]
2587 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2588 _ACEOF
2591 if test -n "$ac_init_help"; then
2592 case $ac_init_help in
2593 short | recursive ) echo "Configuration of Wine 6.11:";;
2594 esac
2595 cat <<\_ACEOF
2597 Optional Features:
2598 --disable-option-checking ignore unrecognized --enable/--with options
2599 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2600 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2601 --disable-win16 do not include Win16 support
2602 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2603 binaries)
2604 --disable-tests do not build the regression tests
2605 --enable-build-id include .buildid section in output objects
2606 --enable-maintainer-mode
2607 enable maintainer-specific build rules
2608 --enable-silent-rules use silent build rules (override: "make V=1")
2609 --enable-werror treat compilation warnings as errors
2610 --disable-largefile omit support for large files
2612 Optional Packages:
2613 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2614 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2615 --without-alsa do not use the Alsa sound support
2616 --without-capi do not use CAPI (ISDN support)
2617 --without-cms do not use CMS (color management support)
2618 --without-coreaudio do not use the CoreAudio sound support
2619 --without-cups do not use CUPS
2620 --without-dbus do not use DBus (dynamic device support)
2621 --without-faudio do not use FAudio (XAudio2 support)
2622 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2623 --without-fontconfig do not use fontconfig
2624 --without-freetype do not use the FreeType library
2625 --without-gettext do not use gettext
2626 --with-gettextpo use the GetTextPO library to rebuild po files
2627 --without-gphoto do not use gphoto (Digital Camera support)
2628 --without-gnutls do not use GnuTLS (schannel support)
2629 --without-gsm do not use libgsm (GSM 06.10 codec support)
2630 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2631 --without-gstreamer do not use GStreamer (codecs support)
2632 --without-hal do not use HAL (dynamic device support)
2633 --without-inotify do not use inotify (filesystem change notifications)
2634 --without-jpeg do not use JPEG
2635 --without-jxrlib do not use JPEG-XR
2636 --without-krb5 do not use krb5 (Kerberos)
2637 --without-ldap do not use LDAP
2638 --without-mingw do not use the MinGW cross-compiler
2639 --without-mpg123 do not use the mpg123 library
2640 --without-netapi do not use the Samba NetAPI library
2641 --without-openal do not use OpenAL
2642 --without-opencl do not use OpenCL
2643 --without-opengl do not use OpenGL
2644 --without-osmesa do not use the OSMesa library
2645 --without-oss do not use the OSS sound support
2646 --without-pcap do not use the Packet Capture library
2647 --without-png do not use PNG
2648 --without-pthread do not use the pthread library
2649 --without-pulse do not use PulseAudio sound support
2650 --without-quicktime do not use QuickTime support
2651 --without-sane do not use SANE (scanner support)
2652 --without-sdl do not use SDL
2653 --without-tiff do not use TIFF
2654 --without-udev do not use udev (plug and play support)
2655 --without-unwind do not use the libunwind library (exception
2656 handling)
2657 --without-usb do not use the libusb library
2658 --without-v4l2 do not use v4l2 (video capture)
2659 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2660 --without-vulkan do not use Vulkan
2661 --without-xcomposite do not use the Xcomposite extension
2662 --without-xcursor do not use the Xcursor extension
2663 --without-xfixes do not use Xfixes for clipboard change notifications
2664 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2665 --without-xinput do not use the Xinput extension
2666 --without-xinput2 do not use the Xinput 2 extension
2667 --without-xml do not use XML
2668 --without-xrandr do not use Xrandr (multi-monitor support)
2669 --without-xrender do not use the Xrender extension
2670 --without-xshape do not use the Xshape extension
2671 --without-xshm do not use XShm (shared memory extension)
2672 --without-xslt do not use XSLT
2673 --without-xxf86vm do not use XFree video mode extension
2674 --with-wine-tools=DIR use Wine tools from directory DIR
2675 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2676 --with-x use the X Window System
2678 Some influential environment variables:
2679 CC C compiler command
2680 CFLAGS C compiler flags
2681 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2682 nonstandard directory <lib dir>
2683 LIBS libraries to pass to the linker, e.g. -l<library>
2684 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2685 you have headers in a nonstandard directory <include dir>
2686 CXX C++ compiler command
2687 CXXFLAGS C++ compiler flags
2688 CPP C preprocessor
2689 OBJC Objective C compiler command
2690 OBJCFLAGS Objective C compiler flags
2691 OBJCPP Objective C preprocessor
2692 XMKMF Path to xmkmf, Makefile generator for X Window System
2693 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2694 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2695 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2696 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2697 INOTIFY_CFLAGS
2698 C compiler flags for libinotify, overriding pkg-config
2699 INOTIFY_LIBS
2700 Linker flags for libinotify, overriding pkg-config
2701 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2702 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2703 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2704 HAL_LIBS Linker flags for hal, overriding pkg-config
2705 GNUTLS_CFLAGS
2706 C compiler flags for gnutls, overriding pkg-config
2707 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2708 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2709 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2710 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2711 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2712 GPHOTO2_CFLAGS
2713 C compiler flags for libgphoto2, overriding pkg-config
2714 GPHOTO2_LIBS
2715 Linker flags for libgphoto2, overriding pkg-config
2716 GPHOTO2_PORT_CFLAGS
2717 C compiler flags for libgphoto2_port, overriding pkg-config
2718 GPHOTO2_PORT_LIBS
2719 Linker flags for libgphoto2_port, overriding pkg-config
2720 LCMS2_CFLAGS
2721 C compiler flags for lcms2, overriding pkg-config
2722 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2723 FREETYPE_CFLAGS
2724 C compiler flags for freetype2, overriding pkg-config
2725 FREETYPE_LIBS
2726 Linker flags for freetype2, overriding pkg-config
2727 PULSE_CFLAGS
2728 C compiler flags for libpulse, overriding pkg-config
2729 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2730 GSTREAMER_CFLAGS
2731 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2732 gstreamer-audio-1.0, overriding pkg-config
2733 GSTREAMER_LIBS
2734 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2735 gstreamer-audio-1.0, overriding pkg-config
2736 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2737 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2738 UNWIND_CFLAGS
2739 C compiler flags for libunwind, overriding pkg-config
2740 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2741 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2742 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2743 FAUDIO_CFLAGS
2744 C compiler flags for FAudio, overriding pkg-config
2745 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2746 CAPI20_CFLAGS
2747 C compiler flags for capi20, overriding pkg-config
2748 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2749 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2750 CUPS_LIBS Linker flags for cups, overriding pkg-config
2751 FONTCONFIG_CFLAGS
2752 C compiler flags for fontconfig, overriding pkg-config
2753 FONTCONFIG_LIBS
2754 Linker flags for fontconfig, overriding pkg-config
2755 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2756 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2757 GSSAPI_CFLAGS
2758 C compiler flags for krb5-gssapi, overriding pkg-config
2759 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2760 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2761 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2762 JXRLIB_CFLAGS
2763 C compiler flags for jxrlib, overriding pkg-config
2764 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2765 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2766 PNG_LIBS Linker flags for libpng, overriding pkg-config
2767 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2768 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2769 MPG123_CFLAGS
2770 C compiler flags for libmpg123, overriding pkg-config
2771 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2772 NETAPI_CFLAGS
2773 C compiler flags for netapi, overriding pkg-config
2774 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2775 VKD3D_CFLAGS
2776 C compiler flags for libvkd3d, overriding pkg-config
2777 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2778 VKD3D_SHADER_CFLAGS
2779 C compiler flags for libvkd3d-shader, overriding pkg-config
2780 VKD3D_SHADER_LIBS
2781 Linker flags for libvkd3d-shader, overriding pkg-config
2782 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2783 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2785 Use these variables to override the choices made by `configure' or to help
2786 it to find libraries and programs with nonstandard names/locations.
2788 Report bugs to <wine-devel@winehq.org>.
2789 Wine home page: <https://www.winehq.org>.
2790 _ACEOF
2791 ac_status=$?
2794 if test "$ac_init_help" = "recursive"; then
2795 # If there are subdirs, report their specific --help.
2796 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2797 test -d "$ac_dir" ||
2798 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2799 continue
2800 ac_builddir=.
2802 case "$ac_dir" in
2803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2805 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2806 # A ".." for each directory in $ac_dir_suffix.
2807 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2808 case $ac_top_builddir_sub in
2809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2811 esac ;;
2812 esac
2813 ac_abs_top_builddir=$ac_pwd
2814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2815 # for backward compatibility:
2816 ac_top_builddir=$ac_top_build_prefix
2818 case $srcdir in
2819 .) # We are building in place.
2820 ac_srcdir=.
2821 ac_top_srcdir=$ac_top_builddir_sub
2822 ac_abs_top_srcdir=$ac_pwd ;;
2823 [\\/]* | ?:[\\/]* ) # Absolute name.
2824 ac_srcdir=$srcdir$ac_dir_suffix;
2825 ac_top_srcdir=$srcdir
2826 ac_abs_top_srcdir=$srcdir ;;
2827 *) # Relative name.
2828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2829 ac_top_srcdir=$ac_top_build_prefix$srcdir
2830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2831 esac
2832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2834 cd "$ac_dir" || { ac_status=$?; continue; }
2835 # Check for guested configure.
2836 if test -f "$ac_srcdir/configure.gnu"; then
2837 echo &&
2838 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2839 elif test -f "$ac_srcdir/configure"; then
2840 echo &&
2841 $SHELL "$ac_srcdir/configure" --help=recursive
2842 else
2843 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2844 fi || ac_status=$?
2845 cd "$ac_pwd" || { ac_status=$?; break; }
2846 done
2849 test -n "$ac_init_help" && exit $ac_status
2850 if $ac_init_version; then
2851 cat <<\_ACEOF
2852 Wine configure 6.11
2853 generated by GNU Autoconf 2.69
2855 Copyright (C) 2012 Free Software Foundation, Inc.
2856 This configure script is free software; the Free Software Foundation
2857 gives unlimited permission to copy, distribute and modify it.
2858 _ACEOF
2859 exit
2862 ## ------------------------ ##
2863 ## Autoconf initialization. ##
2864 ## ------------------------ ##
2866 # ac_fn_c_try_compile LINENO
2867 # --------------------------
2868 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2869 ac_fn_c_try_compile ()
2871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2872 rm -f conftest.$ac_objext
2873 if { { ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_compile") 2>conftest.err
2881 ac_status=$?
2882 if test -s conftest.err; then
2883 grep -v '^ *+' conftest.err >conftest.er1
2884 cat conftest.er1 >&5
2885 mv -f conftest.er1 conftest.err
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; } && {
2889 test -z "$ac_c_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then :
2892 ac_retval=0
2893 else
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_retval=1
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 as_fn_set_status $ac_retval
2902 } # ac_fn_c_try_compile
2904 # ac_fn_cxx_try_compile LINENO
2905 # ----------------------------
2906 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2907 ac_fn_cxx_try_compile ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 rm -f conftest.$ac_objext
2911 if { { ac_try="$ac_compile"
2912 case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_compile") 2>conftest.err
2919 ac_status=$?
2920 if test -s conftest.err; then
2921 grep -v '^ *+' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2923 mv -f conftest.er1 conftest.err
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; } && {
2927 test -z "$ac_cxx_werror_flag" ||
2928 test ! -s conftest.err
2929 } && test -s conftest.$ac_objext; then :
2930 ac_retval=0
2931 else
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2935 ac_retval=1
2937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 as_fn_set_status $ac_retval
2940 } # ac_fn_cxx_try_compile
2942 # ac_fn_c_try_link LINENO
2943 # -----------------------
2944 # Try to link conftest.$ac_ext, and return whether this succeeded.
2945 ac_fn_c_try_link ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 rm -f conftest.$ac_objext conftest$ac_exeext
2949 if { { ac_try="$ac_link"
2950 case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953 esac
2954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2955 $as_echo "$ac_try_echo"; } >&5
2956 (eval "$ac_link") 2>conftest.err
2957 ac_status=$?
2958 if test -s conftest.err; then
2959 grep -v '^ *+' conftest.err >conftest.er1
2960 cat conftest.er1 >&5
2961 mv -f conftest.er1 conftest.err
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; } && {
2965 test -z "$ac_c_werror_flag" ||
2966 test ! -s conftest.err
2967 } && test -s conftest$ac_exeext && {
2968 test "$cross_compiling" = yes ||
2969 test -x conftest$ac_exeext
2970 }; then :
2971 ac_retval=0
2972 else
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 ac_retval=1
2978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2980 # interfere with the next link command; also delete a directory that is
2981 # left behind by Apple's compiler. We do this before executing the actions.
2982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2984 as_fn_set_status $ac_retval
2986 } # ac_fn_c_try_link
2988 # ac_fn_c_try_cpp LINENO
2989 # ----------------------
2990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2991 ac_fn_c_try_cpp ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 if { { ac_try="$ac_cpp conftest.$ac_ext"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3002 ac_status=$?
3003 if test -s conftest.err; then
3004 grep -v '^ *+' conftest.err >conftest.er1
3005 cat conftest.er1 >&5
3006 mv -f conftest.er1 conftest.err
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; } > conftest.i && {
3010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 }; then :
3013 ac_retval=0
3014 else
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 ac_retval=1
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 as_fn_set_status $ac_retval
3023 } # ac_fn_c_try_cpp
3025 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3026 # -------------------------------------------------------
3027 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3028 # the include files in INCLUDES and setting the cache variable VAR
3029 # accordingly.
3030 ac_fn_c_check_header_mongrel ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 if eval \${$3+:} false; then :
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3035 $as_echo_n "checking for $2... " >&6; }
3036 if eval \${$3+:} false; then :
3037 $as_echo_n "(cached) " >&6
3039 eval ac_res=\$$3
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 $as_echo "$ac_res" >&6; }
3042 else
3043 # Is the header compilable?
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3045 $as_echo_n "checking $2 usability... " >&6; }
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3049 #include <$2>
3050 _ACEOF
3051 if ac_fn_c_try_compile "$LINENO"; then :
3052 ac_header_compiler=yes
3053 else
3054 ac_header_compiler=no
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3058 $as_echo "$ac_header_compiler" >&6; }
3060 # Is the header present?
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3062 $as_echo_n "checking $2 presence... " >&6; }
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3065 #include <$2>
3066 _ACEOF
3067 if ac_fn_c_try_cpp "$LINENO"; then :
3068 ac_header_preproc=yes
3069 else
3070 ac_header_preproc=no
3072 rm -f conftest.err conftest.i conftest.$ac_ext
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3074 $as_echo "$ac_header_preproc" >&6; }
3076 # So? What about this header?
3077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3078 yes:no: )
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3080 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3082 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3084 no:yes:* )
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3086 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3088 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3090 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3092 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3095 ( $as_echo "## ------------------------------------ ##
3096 ## Report this to wine-devel@winehq.org ##
3097 ## ------------------------------------ ##"
3098 ) | sed "s/^/$as_me: WARNING: /" >&2
3100 esac
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3102 $as_echo_n "checking for $2... " >&6; }
3103 if eval \${$3+:} false; then :
3104 $as_echo_n "(cached) " >&6
3105 else
3106 eval "$3=\$ac_header_compiler"
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3114 } # ac_fn_c_check_header_mongrel
3116 # ac_fn_c_try_run LINENO
3117 # ----------------------
3118 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3119 # that executables *can* be run.
3120 ac_fn_c_try_run ()
3122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3123 if { { ac_try="$ac_link"
3124 case "(($ac_try" in
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3127 esac
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_link") 2>&5
3131 ac_status=$?
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3134 { { case "(($ac_try" in
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3137 esac
3138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139 $as_echo "$ac_try_echo"; } >&5
3140 (eval "$ac_try") 2>&5
3141 ac_status=$?
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; }; }; then :
3144 ac_retval=0
3145 else
3146 $as_echo "$as_me: program exited with status $ac_status" >&5
3147 $as_echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 ac_retval=$ac_status
3152 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 as_fn_set_status $ac_retval
3156 } # ac_fn_c_try_run
3158 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3159 # -------------------------------------------------------
3160 # Tests whether HEADER exists and can be compiled using the include files in
3161 # INCLUDES, setting the cache variable VAR accordingly.
3162 ac_fn_c_check_header_compile ()
3164 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3166 $as_echo_n "checking for $2... " >&6; }
3167 if eval \${$3+:} false; then :
3168 $as_echo_n "(cached) " >&6
3169 else
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3173 #include <$2>
3174 _ACEOF
3175 if ac_fn_c_try_compile "$LINENO"; then :
3176 eval "$3=yes"
3177 else
3178 eval "$3=no"
3180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 eval ac_res=\$$3
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3184 $as_echo "$ac_res" >&6; }
3185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3187 } # ac_fn_c_check_header_compile
3189 # ac_fn_objc_try_compile LINENO
3190 # -----------------------------
3191 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3192 ac_fn_objc_try_compile ()
3194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3195 rm -f conftest.$ac_objext
3196 if { { ac_try="$ac_compile"
3197 case "(($ac_try" in
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3200 esac
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_compile") 2>conftest.err
3204 ac_status=$?
3205 if test -s conftest.err; then
3206 grep -v '^ *+' conftest.err >conftest.er1
3207 cat conftest.er1 >&5
3208 mv -f conftest.er1 conftest.err
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; } && {
3212 test -z "$ac_objc_werror_flag" ||
3213 test ! -s conftest.err
3214 } && test -s conftest.$ac_objext; then :
3215 ac_retval=0
3216 else
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3220 ac_retval=1
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3223 as_fn_set_status $ac_retval
3225 } # ac_fn_objc_try_compile
3227 # ac_fn_objc_try_cpp LINENO
3228 # -------------------------
3229 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3230 ac_fn_objc_try_cpp ()
3232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3233 if { { ac_try="$ac_cpp conftest.$ac_ext"
3234 case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3237 esac
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3241 ac_status=$?
3242 if test -s conftest.err; then
3243 grep -v '^ *+' conftest.err >conftest.er1
3244 cat conftest.er1 >&5
3245 mv -f conftest.er1 conftest.err
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; } > conftest.i && {
3249 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3250 test ! -s conftest.err
3251 }; then :
3252 ac_retval=0
3253 else
3254 $as_echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 ac_retval=1
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260 as_fn_set_status $ac_retval
3262 } # ac_fn_objc_try_cpp
3264 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3265 # ----------------------------------------------------------
3266 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3267 # the include files in INCLUDES and setting the cache variable VAR
3268 # accordingly.
3269 ac_fn_objc_check_header_mongrel ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 if eval \${$3+:} false; then :
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3274 $as_echo_n "checking for $2... " >&6; }
3275 if eval \${$3+:} false; then :
3276 $as_echo_n "(cached) " >&6
3278 eval ac_res=\$$3
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3280 $as_echo "$ac_res" >&6; }
3281 else
3282 # Is the header compilable?
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3284 $as_echo_n "checking $2 usability... " >&6; }
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3288 #include <$2>
3289 _ACEOF
3290 if ac_fn_objc_try_compile "$LINENO"; then :
3291 ac_header_compiler=yes
3292 else
3293 ac_header_compiler=no
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3297 $as_echo "$ac_header_compiler" >&6; }
3299 # Is the header present?
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3301 $as_echo_n "checking $2 presence... " >&6; }
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3304 #include <$2>
3305 _ACEOF
3306 if ac_fn_objc_try_cpp "$LINENO"; then :
3307 ac_header_preproc=yes
3308 else
3309 ac_header_preproc=no
3311 rm -f conftest.err conftest.i conftest.$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3313 $as_echo "$ac_header_preproc" >&6; }
3315 # So? What about this header?
3316 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3317 yes:no: )
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3319 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3321 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3323 no:yes:* )
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3325 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3327 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3329 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3331 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3333 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3334 ( $as_echo "## ------------------------------------ ##
3335 ## Report this to wine-devel@winehq.org ##
3336 ## ------------------------------------ ##"
3337 ) | sed "s/^/$as_me: WARNING: /" >&2
3339 esac
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3341 $as_echo_n "checking for $2... " >&6; }
3342 if eval \${$3+:} false; then :
3343 $as_echo_n "(cached) " >&6
3344 else
3345 eval "$3=\$ac_header_compiler"
3347 eval ac_res=\$$3
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3349 $as_echo "$ac_res" >&6; }
3351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3353 } # ac_fn_objc_check_header_mongrel
3355 # ac_fn_c_check_func LINENO FUNC VAR
3356 # ----------------------------------
3357 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3358 ac_fn_c_check_func ()
3360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3362 $as_echo_n "checking for $2... " >&6; }
3363 if eval \${$3+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3368 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3370 #define $2 innocuous_$2
3372 /* System header to define __stub macros and hopefully few prototypes,
3373 which can conflict with char $2 (); below.
3374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3375 <limits.h> exists even on freestanding compilers. */
3377 #ifdef __STDC__
3378 # include <limits.h>
3379 #else
3380 # include <assert.h>
3381 #endif
3383 #undef $2
3385 /* Override any GCC internal prototype to avoid an error.
3386 Use char because int might match the return type of a GCC
3387 builtin and then its argument prototype would still apply. */
3388 #ifdef __cplusplus
3389 extern "C"
3390 #endif
3391 char $2 ();
3392 /* The GNU C library defines this for functions which it implements
3393 to always fail with ENOSYS. Some functions are actually named
3394 something starting with __ and the normal name is an alias. */
3395 #if defined __stub_$2 || defined __stub___$2
3396 choke me
3397 #endif
3400 main ()
3402 return $2 ();
3404 return 0;
3406 _ACEOF
3407 if ac_fn_c_try_link "$LINENO"; then :
3408 eval "$3=yes"
3409 else
3410 eval "$3=no"
3412 rm -f core conftest.err conftest.$ac_objext \
3413 conftest$ac_exeext conftest.$ac_ext
3415 eval ac_res=\$$3
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3417 $as_echo "$ac_res" >&6; }
3418 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3420 } # ac_fn_c_check_func
3422 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3423 # ----------------------------------------------------
3424 # Tries to find if the field MEMBER exists in type AGGR, after including
3425 # INCLUDES, setting cache variable VAR accordingly.
3426 ac_fn_c_check_member ()
3428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3430 $as_echo_n "checking for $2.$3... " >&6; }
3431 if eval \${$4+:} false; then :
3432 $as_echo_n "(cached) " >&6
3433 else
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 main ()
3440 static $2 ac_aggr;
3441 if (ac_aggr.$3)
3442 return 0;
3444 return 0;
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3448 eval "$4=yes"
3449 else
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3454 main ()
3456 static $2 ac_aggr;
3457 if (sizeof ac_aggr.$3)
3458 return 0;
3460 return 0;
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 eval "$4=yes"
3465 else
3466 eval "$4=no"
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 eval ac_res=\$$4
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3474 $as_echo "$ac_res" >&6; }
3475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3477 } # ac_fn_c_check_member
3479 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3480 # -------------------------------------------
3481 # Tests whether TYPE exists after having included INCLUDES, setting cache
3482 # variable VAR accordingly.
3483 ac_fn_c_check_type ()
3485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3487 $as_echo_n "checking for $2... " >&6; }
3488 if eval \${$3+:} false; then :
3489 $as_echo_n "(cached) " >&6
3490 else
3491 eval "$3=no"
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3496 main ()
3498 if (sizeof ($2))
3499 return 0;
3501 return 0;
3503 _ACEOF
3504 if ac_fn_c_try_compile "$LINENO"; then :
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3509 main ()
3511 if (sizeof (($2)))
3512 return 0;
3514 return 0;
3516 _ACEOF
3517 if ac_fn_c_try_compile "$LINENO"; then :
3519 else
3520 eval "$3=yes"
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 eval ac_res=\$$3
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3528 $as_echo "$ac_res" >&6; }
3529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3531 } # ac_fn_c_check_type
3532 cat >config.log <<_ACEOF
3533 This file contains any messages produced by compilers while
3534 running configure, to aid debugging if configure makes a mistake.
3536 It was created by Wine $as_me 6.11, which was
3537 generated by GNU Autoconf 2.69. Invocation command line was
3539 $ $0 $@
3541 _ACEOF
3542 exec 5>>config.log
3544 cat <<_ASUNAME
3545 ## --------- ##
3546 ## Platform. ##
3547 ## --------- ##
3549 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3550 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3551 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3552 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3553 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3555 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3556 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3558 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3559 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3560 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3561 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3562 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3563 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3564 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3566 _ASUNAME
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3571 IFS=$as_save_IFS
3572 test -z "$as_dir" && as_dir=.
3573 $as_echo "PATH: $as_dir"
3574 done
3575 IFS=$as_save_IFS
3577 } >&5
3579 cat >&5 <<_ACEOF
3582 ## ----------- ##
3583 ## Core tests. ##
3584 ## ----------- ##
3586 _ACEOF
3589 # Keep a trace of the command line.
3590 # Strip out --no-create and --no-recursion so they do not pile up.
3591 # Strip out --silent because we don't want to record it for future runs.
3592 # Also quote any args containing shell meta-characters.
3593 # Make two passes to allow for proper duplicate-argument suppression.
3594 ac_configure_args=
3595 ac_configure_args0=
3596 ac_configure_args1=
3597 ac_must_keep_next=false
3598 for ac_pass in 1 2
3600 for ac_arg
3602 case $ac_arg in
3603 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3604 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3605 | -silent | --silent | --silen | --sile | --sil)
3606 continue ;;
3607 *\'*)
3608 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3609 esac
3610 case $ac_pass in
3611 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3613 as_fn_append ac_configure_args1 " '$ac_arg'"
3614 if test $ac_must_keep_next = true; then
3615 ac_must_keep_next=false # Got value, back to normal.
3616 else
3617 case $ac_arg in
3618 *=* | --config-cache | -C | -disable-* | --disable-* \
3619 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3620 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3621 | -with-* | --with-* | -without-* | --without-* | --x)
3622 case "$ac_configure_args0 " in
3623 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3624 esac
3626 -* ) ac_must_keep_next=true ;;
3627 esac
3629 as_fn_append ac_configure_args " '$ac_arg'"
3631 esac
3632 done
3633 done
3634 { ac_configure_args0=; unset ac_configure_args0;}
3635 { ac_configure_args1=; unset ac_configure_args1;}
3637 # When interrupted or exit'd, cleanup temporary files, and complete
3638 # config.log. We remove comments because anyway the quotes in there
3639 # would cause problems or look ugly.
3640 # WARNING: Use '\'' to represent an apostrophe within the trap.
3641 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3642 trap 'exit_status=$?
3643 # Save into config.log some information that might help in debugging.
3645 echo
3647 $as_echo "## ---------------- ##
3648 ## Cache variables. ##
3649 ## ---------------- ##"
3650 echo
3651 # The following way of writing the cache mishandles newlines in values,
3653 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3654 eval ac_val=\$$ac_var
3655 case $ac_val in #(
3656 *${as_nl}*)
3657 case $ac_var in #(
3658 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3659 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3660 esac
3661 case $ac_var in #(
3662 _ | IFS | as_nl) ;; #(
3663 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3664 *) { eval $ac_var=; unset $ac_var;} ;;
3665 esac ;;
3666 esac
3667 done
3668 (set) 2>&1 |
3669 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3670 *${as_nl}ac_space=\ *)
3671 sed -n \
3672 "s/'\''/'\''\\\\'\'''\''/g;
3673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3674 ;; #(
3676 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3678 esac |
3679 sort
3681 echo
3683 $as_echo "## ----------------- ##
3684 ## Output variables. ##
3685 ## ----------------- ##"
3686 echo
3687 for ac_var in $ac_subst_vars
3689 eval ac_val=\$$ac_var
3690 case $ac_val in
3691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3692 esac
3693 $as_echo "$ac_var='\''$ac_val'\''"
3694 done | sort
3695 echo
3697 if test -n "$ac_subst_files"; then
3698 $as_echo "## ------------------- ##
3699 ## File substitutions. ##
3700 ## ------------------- ##"
3701 echo
3702 for ac_var in $ac_subst_files
3704 eval ac_val=\$$ac_var
3705 case $ac_val in
3706 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3707 esac
3708 $as_echo "$ac_var='\''$ac_val'\''"
3709 done | sort
3710 echo
3713 if test -s confdefs.h; then
3714 $as_echo "## ----------- ##
3715 ## confdefs.h. ##
3716 ## ----------- ##"
3717 echo
3718 cat confdefs.h
3719 echo
3721 test "$ac_signal" != 0 &&
3722 $as_echo "$as_me: caught signal $ac_signal"
3723 $as_echo "$as_me: exit $exit_status"
3724 } >&5
3725 rm -f core *.core core.conftest.* &&
3726 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3727 exit $exit_status
3729 for ac_signal in 1 2 13 15; do
3730 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3731 done
3732 ac_signal=0
3734 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3735 rm -f -r conftest* confdefs.h
3737 $as_echo "/* confdefs.h */" > confdefs.h
3739 # Predefined preprocessor variables.
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_NAME "$PACKAGE_NAME"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3751 _ACEOF
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_STRING "$PACKAGE_STRING"
3755 _ACEOF
3757 cat >>confdefs.h <<_ACEOF
3758 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3759 _ACEOF
3761 cat >>confdefs.h <<_ACEOF
3762 #define PACKAGE_URL "$PACKAGE_URL"
3763 _ACEOF
3766 # Let the site file select an alternate cache file if it wants to.
3767 # Prefer an explicitly selected file to automatically selected ones.
3768 ac_site_file1=NONE
3769 ac_site_file2=NONE
3770 if test -n "$CONFIG_SITE"; then
3771 # We do not want a PATH search for config.site.
3772 case $CONFIG_SITE in #((
3773 -*) ac_site_file1=./$CONFIG_SITE;;
3774 */*) ac_site_file1=$CONFIG_SITE;;
3775 *) ac_site_file1=./$CONFIG_SITE;;
3776 esac
3777 elif test "x$prefix" != xNONE; then
3778 ac_site_file1=$prefix/share/config.site
3779 ac_site_file2=$prefix/etc/config.site
3780 else
3781 ac_site_file1=$ac_default_prefix/share/config.site
3782 ac_site_file2=$ac_default_prefix/etc/config.site
3784 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3786 test "x$ac_site_file" = xNONE && continue
3787 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3789 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3790 sed 's/^/| /' "$ac_site_file" >&5
3791 . "$ac_site_file" \
3792 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 as_fn_error $? "failed to load site script $ac_site_file
3795 See \`config.log' for more details" "$LINENO" 5; }
3797 done
3799 if test -r "$cache_file"; then
3800 # Some versions of bash will fail to source /dev/null (special files
3801 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3802 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3804 $as_echo "$as_me: loading cache $cache_file" >&6;}
3805 case $cache_file in
3806 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3807 *) . "./$cache_file";;
3808 esac
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3812 $as_echo "$as_me: creating cache $cache_file" >&6;}
3813 >$cache_file
3816 # Check that the precious variables saved in the cache have kept the same
3817 # value.
3818 ac_cache_corrupted=false
3819 for ac_var in $ac_precious_vars; do
3820 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3821 eval ac_new_set=\$ac_env_${ac_var}_set
3822 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3823 eval ac_new_val=\$ac_env_${ac_var}_value
3824 case $ac_old_set,$ac_new_set in
3825 set,)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3827 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3828 ac_cache_corrupted=: ;;
3829 ,set)
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3831 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3832 ac_cache_corrupted=: ;;
3833 ,);;
3835 if test "x$ac_old_val" != "x$ac_new_val"; then
3836 # differences in whitespace do not lead to failure.
3837 ac_old_val_w=`echo x $ac_old_val`
3838 ac_new_val_w=`echo x $ac_new_val`
3839 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3841 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3842 ac_cache_corrupted=:
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3845 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3846 eval $ac_var=\$ac_old_val
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3849 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3851 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3852 fi;;
3853 esac
3854 # Pass precious variables to config.status.
3855 if test "$ac_new_set" = set; then
3856 case $ac_new_val in
3857 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3858 *) ac_arg=$ac_var=$ac_new_val ;;
3859 esac
3860 case " $ac_configure_args " in
3861 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3862 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3863 esac
3865 done
3866 if $ac_cache_corrupted; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3870 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3871 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3873 ## -------------------- ##
3874 ## Main body of script. ##
3875 ## -------------------- ##
3877 ac_ext=c
3878 ac_cpp='$CPP $CPPFLAGS'
3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3885 ac_config_headers="$ac_config_headers include/config.h"
3887 ac_aux_dir=
3888 for ac_dir in tools "$srcdir"/tools; do
3889 if test -f "$ac_dir/install-sh"; then
3890 ac_aux_dir=$ac_dir
3891 ac_install_sh="$ac_aux_dir/install-sh -c"
3892 break
3893 elif test -f "$ac_dir/install.sh"; then
3894 ac_aux_dir=$ac_dir
3895 ac_install_sh="$ac_aux_dir/install.sh -c"
3896 break
3897 elif test -f "$ac_dir/shtool"; then
3898 ac_aux_dir=$ac_dir
3899 ac_install_sh="$ac_aux_dir/shtool install -c"
3900 break
3902 done
3903 if test -z "$ac_aux_dir"; then
3904 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3907 # These three variables are undocumented and unsupported,
3908 # and are intended to be withdrawn in a future Autoconf release.
3909 # They can cause serious problems if a builder's source tree is in a directory
3910 # whose full name contains unusual characters.
3911 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3912 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3913 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3917 libwine_version="1.0"
3921 # Check whether --enable-win16 was given.
3922 if test "${enable_win16+set}" = set; then :
3923 enableval=$enable_win16;
3926 # Check whether --enable-win64 was given.
3927 if test "${enable_win64+set}" = set; then :
3928 enableval=$enable_win64;
3931 # Check whether --enable-tests was given.
3932 if test "${enable_tests+set}" = set; then :
3933 enableval=$enable_tests;
3936 # Check whether --enable-build-id was given.
3937 if test "${enable_build_id+set}" = set; then :
3938 enableval=$enable_build_id;
3941 # Check whether --enable-maintainer-mode was given.
3942 if test "${enable_maintainer_mode+set}" = set; then :
3943 enableval=$enable_maintainer_mode;
3946 # Check whether --enable-silent-rules was given.
3947 if test "${enable_silent_rules+set}" = set; then :
3948 enableval=$enable_silent_rules;
3951 # Check whether --enable-werror was given.
3952 if test "${enable_werror+set}" = set; then :
3953 enableval=$enable_werror;
3958 # Check whether --with-alsa was given.
3959 if test "${with_alsa+set}" = set; then :
3960 withval=$with_alsa;
3964 # Check whether --with-capi was given.
3965 if test "${with_capi+set}" = set; then :
3966 withval=$with_capi;
3970 # Check whether --with-cms was given.
3971 if test "${with_cms+set}" = set; then :
3972 withval=$with_cms;
3976 # Check whether --with-coreaudio was given.
3977 if test "${with_coreaudio+set}" = set; then :
3978 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3982 # Check whether --with-cups was given.
3983 if test "${with_cups+set}" = set; then :
3984 withval=$with_cups;
3988 # Check whether --with-dbus was given.
3989 if test "${with_dbus+set}" = set; then :
3990 withval=$with_dbus;
3994 # Check whether --with-faudio was given.
3995 if test "${with_faudio+set}" = set; then :
3996 withval=$with_faudio;
4000 # Check whether --with-float-abi was given.
4001 if test "${with_float_abi+set}" = set; then :
4002 withval=$with_float_abi;
4006 # Check whether --with-fontconfig was given.
4007 if test "${with_fontconfig+set}" = set; then :
4008 withval=$with_fontconfig;
4012 # Check whether --with-freetype was given.
4013 if test "${with_freetype+set}" = set; then :
4014 withval=$with_freetype;
4018 # Check whether --with-gettext was given.
4019 if test "${with_gettext+set}" = set; then :
4020 withval=$with_gettext;
4024 # Check whether --with-gettextpo was given.
4025 if test "${with_gettextpo+set}" = set; then :
4026 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4030 # Check whether --with-gphoto was given.
4031 if test "${with_gphoto+set}" = set; then :
4032 withval=$with_gphoto;
4036 # Check whether --with-gnutls was given.
4037 if test "${with_gnutls+set}" = set; then :
4038 withval=$with_gnutls;
4042 # Check whether --with-gsm was given.
4043 if test "${with_gsm+set}" = set; then :
4044 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4048 # Check whether --with-gssapi was given.
4049 if test "${with_gssapi+set}" = set; then :
4050 withval=$with_gssapi;
4054 # Check whether --with-gstreamer was given.
4055 if test "${with_gstreamer+set}" = set; then :
4056 withval=$with_gstreamer;
4060 # Check whether --with-hal was given.
4061 if test "${with_hal+set}" = set; then :
4062 withval=$with_hal;
4066 # Check whether --with-inotify was given.
4067 if test "${with_inotify+set}" = set; then :
4068 withval=$with_inotify;
4072 # Check whether --with-jpeg was given.
4073 if test "${with_jpeg+set}" = set; then :
4074 withval=$with_jpeg;
4078 # Check whether --with-jxrlib was given.
4079 if test "${with_jxrlib+set}" = set; then :
4080 withval=$with_jxrlib;
4084 # Check whether --with-krb5 was given.
4085 if test "${with_krb5+set}" = set; then :
4086 withval=$with_krb5;
4090 # Check whether --with-ldap was given.
4091 if test "${with_ldap+set}" = set; then :
4092 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4096 # Check whether --with-mingw was given.
4097 if test "${with_mingw+set}" = set; then :
4098 withval=$with_mingw;
4102 # Check whether --with-mpg123 was given.
4103 if test "${with_mpg123+set}" = set; then :
4104 withval=$with_mpg123;
4108 # Check whether --with-netapi was given.
4109 if test "${with_netapi+set}" = set; then :
4110 withval=$with_netapi;
4114 # Check whether --with-openal was given.
4115 if test "${with_openal+set}" = set; then :
4116 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4120 # Check whether --with-opencl was given.
4121 if test "${with_opencl+set}" = set; then :
4122 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4126 # Check whether --with-opengl was given.
4127 if test "${with_opengl+set}" = set; then :
4128 withval=$with_opengl;
4132 # Check whether --with-osmesa was given.
4133 if test "${with_osmesa+set}" = set; then :
4134 withval=$with_osmesa;
4138 # Check whether --with-oss was given.
4139 if test "${with_oss+set}" = set; then :
4140 withval=$with_oss;
4144 # Check whether --with-pcap was given.
4145 if test "${with_pcap+set}" = set; then :
4146 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4150 # Check whether --with-png was given.
4151 if test "${with_png+set}" = set; then :
4152 withval=$with_png;
4156 # Check whether --with-pthread was given.
4157 if test "${with_pthread+set}" = set; then :
4158 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4162 # Check whether --with-pulse was given.
4163 if test "${with_pulse+set}" = set; then :
4164 withval=$with_pulse;
4168 # Check whether --with-quicktime was given.
4169 if test "${with_quicktime+set}" = set; then :
4170 withval=$with_quicktime;
4174 # Check whether --with-sane was given.
4175 if test "${with_sane+set}" = set; then :
4176 withval=$with_sane;
4180 # Check whether --with-sdl was given.
4181 if test "${with_sdl+set}" = set; then :
4182 withval=$with_sdl;
4186 # Check whether --with-tiff was given.
4187 if test "${with_tiff+set}" = set; then :
4188 withval=$with_tiff;
4192 # Check whether --with-udev was given.
4193 if test "${with_udev+set}" = set; then :
4194 withval=$with_udev;
4198 # Check whether --with-unwind was given.
4199 if test "${with_unwind+set}" = set; then :
4200 withval=$with_unwind;
4204 # Check whether --with-usb was given.
4205 if test "${with_usb+set}" = set; then :
4206 withval=$with_usb;
4210 # Check whether --with-v4l2 was given.
4211 if test "${with_v4l2+set}" = set; then :
4212 withval=$with_v4l2;
4216 # Check whether --with-vkd3d was given.
4217 if test "${with_vkd3d+set}" = set; then :
4218 withval=$with_vkd3d;
4222 # Check whether --with-vulkan was given.
4223 if test "${with_vulkan+set}" = set; then :
4224 withval=$with_vulkan;
4228 # Check whether --with-xcomposite was given.
4229 if test "${with_xcomposite+set}" = set; then :
4230 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4234 # Check whether --with-xcursor was given.
4235 if test "${with_xcursor+set}" = set; then :
4236 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4240 # Check whether --with-xfixes was given.
4241 if test "${with_xfixes+set}" = set; then :
4242 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4246 # Check whether --with-xinerama was given.
4247 if test "${with_xinerama+set}" = set; then :
4248 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4252 # Check whether --with-xinput was given.
4253 if test "${with_xinput+set}" = set; then :
4254 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4258 # Check whether --with-xinput2 was given.
4259 if test "${with_xinput2+set}" = set; then :
4260 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4264 # Check whether --with-xml was given.
4265 if test "${with_xml+set}" = set; then :
4266 withval=$with_xml;
4270 # Check whether --with-xrandr was given.
4271 if test "${with_xrandr+set}" = set; then :
4272 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4276 # Check whether --with-xrender was given.
4277 if test "${with_xrender+set}" = set; then :
4278 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4282 # Check whether --with-xshape was given.
4283 if test "${with_xshape+set}" = set; then :
4284 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4288 # Check whether --with-xshm was given.
4289 if test "${with_xshm+set}" = set; then :
4290 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4294 # Check whether --with-xslt was given.
4295 if test "${with_xslt+set}" = set; then :
4296 withval=$with_xslt;
4300 # Check whether --with-xxf86vm was given.
4301 if test "${with_xxf86vm+set}" = set; then :
4302 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
4307 # Check whether --with-wine-tools was given.
4308 if test "${with_wine_tools+set}" = set; then :
4309 withval=$with_wine_tools;
4313 # Check whether --with-wine64 was given.
4314 if test "${with_wine64+set}" = set; then :
4315 withval=$with_wine64;
4319 # Make sure we can run config.sub.
4320 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4321 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4324 $as_echo_n "checking build system type... " >&6; }
4325 if ${ac_cv_build+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_build_alias=$build_alias
4329 test "x$ac_build_alias" = x &&
4330 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4331 test "x$ac_build_alias" = x &&
4332 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4333 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4334 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4338 $as_echo "$ac_cv_build" >&6; }
4339 case $ac_cv_build in
4340 *-*-*) ;;
4341 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4342 esac
4343 build=$ac_cv_build
4344 ac_save_IFS=$IFS; IFS='-'
4345 set x $ac_cv_build
4346 shift
4347 build_cpu=$1
4348 build_vendor=$2
4349 shift; shift
4350 # Remember, the first character of IFS is used to create $*,
4351 # except with old shells:
4352 build_os=$*
4353 IFS=$ac_save_IFS
4354 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4358 $as_echo_n "checking host system type... " >&6; }
4359 if ${ac_cv_host+:} false; then :
4360 $as_echo_n "(cached) " >&6
4361 else
4362 if test "x$host_alias" = x; then
4363 ac_cv_host=$ac_cv_build
4364 else
4365 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4366 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4371 $as_echo "$ac_cv_host" >&6; }
4372 case $ac_cv_host in
4373 *-*-*) ;;
4374 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4375 esac
4376 host=$ac_cv_host
4377 ac_save_IFS=$IFS; IFS='-'
4378 set x $ac_cv_host
4379 shift
4380 host_cpu=$1
4381 host_vendor=$2
4382 shift; shift
4383 # Remember, the first character of IFS is used to create $*,
4384 # except with old shells:
4385 host_os=$*
4386 IFS=$ac_save_IFS
4387 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4394 set x ${MAKE-make}
4395 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4396 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 cat >conftest.make <<\_ACEOF
4400 SHELL = /bin/sh
4401 all:
4402 @echo '@@@%%%=$(MAKE)=@@@%%%'
4403 _ACEOF
4404 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4406 *@@@%%%=?*=@@@%%%*)
4407 eval ac_cv_prog_make_${ac_make}_set=yes;;
4409 eval ac_cv_prog_make_${ac_make}_set=no;;
4410 esac
4411 rm -f conftest.make
4413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4415 $as_echo "yes" >&6; }
4416 SET_MAKE=
4417 else
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4420 SET_MAKE="MAKE=${MAKE-make}"
4423 ac_ext=c
4424 ac_cpp='$CPP $CPPFLAGS'
4425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4430 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC="$CC" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4467 if test -z "$ac_cv_prog_CC"; then
4468 ac_ct_CC=$CC
4469 # Extract the first word of "gcc", so it can be a program name with args.
4470 set dummy gcc; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$ac_ct_CC"; then
4477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_ac_ct_CC="gcc"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4497 if test -n "$ac_ct_CC"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4499 $as_echo "$ac_ct_CC" >&6; }
4500 else
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4505 if test "x$ac_ct_CC" = x; then
4506 CC=""
4507 else
4508 case $cross_compiling:$ac_tool_warned in
4509 yes:)
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4512 ac_tool_warned=yes ;;
4513 esac
4514 CC=$ac_ct_CC
4516 else
4517 CC="$ac_cv_prog_CC"
4520 if test -z "$CC"; then
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4523 set dummy ${ac_tool_prefix}cc; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC="${ac_tool_prefix}cc"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 CC=$ac_cv_prog_CC
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4553 else
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4561 if test -z "$CC"; then
4562 # Extract the first word of "cc", so it can be a program name with args.
4563 set dummy cc; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_CC+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 if test -n "$CC"; then
4570 ac_cv_prog_CC="$CC" # Let the user override the test.
4571 else
4572 ac_prog_rejected=no
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 for as_dir in $PATH
4576 IFS=$as_save_IFS
4577 test -z "$as_dir" && as_dir=.
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4580 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4581 ac_prog_rejected=yes
4582 continue
4584 ac_cv_prog_CC="cc"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 break 2
4588 done
4589 done
4590 IFS=$as_save_IFS
4592 if test $ac_prog_rejected = yes; then
4593 # We found a bogon in the path, so make sure we never use it.
4594 set dummy $ac_cv_prog_CC
4595 shift
4596 if test $# != 0; then
4597 # We chose a different compiler from the bogus one.
4598 # However, it has the same basename, so the bogon will be chosen
4599 # first if we set CC to just the basename; use the full file name.
4600 shift
4601 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4606 CC=$ac_cv_prog_CC
4607 if test -n "$CC"; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4609 $as_echo "$CC" >&6; }
4610 else
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612 $as_echo "no" >&6; }
4617 if test -z "$CC"; then
4618 if test -n "$ac_tool_prefix"; then
4619 for ac_prog in cl.exe
4621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_CC+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$CC"; then
4629 ac_cv_prog_CC="$CC" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 CC=$ac_cv_prog_CC
4649 if test -n "$CC"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4651 $as_echo "$CC" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$CC" && break
4659 done
4661 if test -z "$CC"; then
4662 ac_ct_CC=$CC
4663 for ac_prog in cl.exe
4665 # Extract the first word of "$ac_prog", so it can be a program name with args.
4666 set dummy $ac_prog; ac_word=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 if test -n "$ac_ct_CC"; then
4673 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4674 else
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH
4678 IFS=$as_save_IFS
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_ac_ct_CC="$ac_prog"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 break 2
4686 done
4687 done
4688 IFS=$as_save_IFS
4692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4693 if test -n "$ac_ct_CC"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4695 $as_echo "$ac_ct_CC" >&6; }
4696 else
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4702 test -n "$ac_ct_CC" && break
4703 done
4705 if test "x$ac_ct_CC" = x; then
4706 CC=""
4707 else
4708 case $cross_compiling:$ac_tool_warned in
4709 yes:)
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4712 ac_tool_warned=yes ;;
4713 esac
4714 CC=$ac_ct_CC
4721 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4723 as_fn_error $? "no acceptable C compiler found in \$PATH
4724 See \`config.log' for more details" "$LINENO" 5; }
4726 # Provide some information about the compiler.
4727 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4728 set X $ac_compile
4729 ac_compiler=$2
4730 for ac_option in --version -v -V -qversion; do
4731 { { ac_try="$ac_compiler $ac_option >&5"
4732 case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4739 ac_status=$?
4740 if test -s conftest.err; then
4741 sed '10a\
4742 ... rest of stderr output deleted ...
4743 10q' conftest.err >conftest.er1
4744 cat conftest.er1 >&5
4746 rm -f conftest.er1 conftest.err
4747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4748 test $ac_status = 0; }
4749 done
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4755 main ()
4759 return 0;
4761 _ACEOF
4762 ac_clean_files_save=$ac_clean_files
4763 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4764 # Try to create an executable without -o first, disregard a.out.
4765 # It will help us diagnose broken compilers, and finding out an intuition
4766 # of exeext.
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4768 $as_echo_n "checking whether the C compiler works... " >&6; }
4769 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4771 # The possible output files:
4772 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4774 ac_rmfiles=
4775 for ac_file in $ac_files
4777 case $ac_file in
4778 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4779 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4780 esac
4781 done
4782 rm -f $ac_rmfiles
4784 if { { ac_try="$ac_link_default"
4785 case "(($ac_try" in
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4788 esac
4789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4790 $as_echo "$ac_try_echo"; } >&5
4791 (eval "$ac_link_default") 2>&5
4792 ac_status=$?
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }; then :
4795 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4796 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4797 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4798 # so that the user can short-circuit this test for compilers unknown to
4799 # Autoconf.
4800 for ac_file in $ac_files ''
4802 test -f "$ac_file" || continue
4803 case $ac_file in
4804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4806 [ab].out )
4807 # We found the default executable, but exeext='' is most
4808 # certainly right.
4809 break;;
4810 *.* )
4811 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4812 then :; else
4813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4815 # We set ac_cv_exeext here because the later test for it is not
4816 # safe: cross compilers may not add the suffix if given an `-o'
4817 # argument, so we may need to know it at that point already.
4818 # Even if this section looks crufty: it has the advantage of
4819 # actually working.
4820 break;;
4822 break;;
4823 esac
4824 done
4825 test "$ac_cv_exeext" = no && ac_cv_exeext=
4827 else
4828 ac_file=''
4830 if test -z "$ac_file"; then :
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 $as_echo "no" >&6; }
4833 $as_echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4838 as_fn_error 77 "C compiler cannot create executables
4839 See \`config.log' for more details" "$LINENO" 5; }
4840 else
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4842 $as_echo "yes" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4845 $as_echo_n "checking for C compiler default output file name... " >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4847 $as_echo "$ac_file" >&6; }
4848 ac_exeext=$ac_cv_exeext
4850 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4851 ac_clean_files=$ac_clean_files_save
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4853 $as_echo_n "checking for suffix of executables... " >&6; }
4854 if { { ac_try="$ac_link"
4855 case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4858 esac
4859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4860 $as_echo "$ac_try_echo"; } >&5
4861 (eval "$ac_link") 2>&5
4862 ac_status=$?
4863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4864 test $ac_status = 0; }; then :
4865 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4866 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4867 # work properly (i.e., refer to `conftest.exe'), while it won't with
4868 # `rm'.
4869 for ac_file in conftest.exe conftest conftest.*; do
4870 test -f "$ac_file" || continue
4871 case $ac_file in
4872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4873 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4874 break;;
4875 * ) break;;
4876 esac
4877 done
4878 else
4879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4881 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4882 See \`config.log' for more details" "$LINENO" 5; }
4884 rm -f conftest conftest$ac_cv_exeext
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4886 $as_echo "$ac_cv_exeext" >&6; }
4888 rm -f conftest.$ac_ext
4889 EXEEXT=$ac_cv_exeext
4890 ac_exeext=$EXEEXT
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4893 #include <stdio.h>
4895 main ()
4897 FILE *f = fopen ("conftest.out", "w");
4898 return ferror (f) || fclose (f) != 0;
4901 return 0;
4903 _ACEOF
4904 ac_clean_files="$ac_clean_files conftest.out"
4905 # Check that the compiler produces executables we can run. If not, either
4906 # the compiler is broken, or we cross compile.
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4908 $as_echo_n "checking whether we are cross compiling... " >&6; }
4909 if test "$cross_compiling" != yes; then
4910 { { ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4916 $as_echo "$ac_try_echo"; } >&5
4917 (eval "$ac_link") 2>&5
4918 ac_status=$?
4919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4920 test $ac_status = 0; }
4921 if { ac_try='./conftest$ac_cv_exeext'
4922 { { case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927 $as_echo "$ac_try_echo"; } >&5
4928 (eval "$ac_try") 2>&5
4929 ac_status=$?
4930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4931 test $ac_status = 0; }; }; then
4932 cross_compiling=no
4933 else
4934 if test "$cross_compiling" = maybe; then
4935 cross_compiling=yes
4936 else
4937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4939 as_fn_error $? "cannot run C compiled programs.
4940 If you meant to cross compile, use \`--host'.
4941 See \`config.log' for more details" "$LINENO" 5; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4946 $as_echo "$cross_compiling" >&6; }
4948 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4949 ac_clean_files=$ac_clean_files_save
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4951 $as_echo_n "checking for suffix of object files... " >&6; }
4952 if ${ac_cv_objext+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 rm -f conftest.o conftest.obj
4967 if { { ac_try="$ac_compile"
4968 case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4971 esac
4972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4973 $as_echo "$ac_try_echo"; } >&5
4974 (eval "$ac_compile") 2>&5
4975 ac_status=$?
4976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4977 test $ac_status = 0; }; then :
4978 for ac_file in conftest.o conftest.obj conftest.*; do
4979 test -f "$ac_file" || continue;
4980 case $ac_file in
4981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4983 break;;
4984 esac
4985 done
4986 else
4987 $as_echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.$ac_ext >&5
4990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4992 as_fn_error $? "cannot compute suffix of object files: cannot compile
4993 See \`config.log' for more details" "$LINENO" 5; }
4995 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4998 $as_echo "$ac_cv_objext" >&6; }
4999 OBJEXT=$ac_cv_objext
5000 ac_objext=$OBJEXT
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5003 if ${ac_cv_c_compiler_gnu+:} false; then :
5004 $as_echo_n "(cached) " >&6
5005 else
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5010 main ()
5012 #ifndef __GNUC__
5013 choke me
5014 #endif
5017 return 0;
5019 _ACEOF
5020 if ac_fn_c_try_compile "$LINENO"; then :
5021 ac_compiler_gnu=yes
5022 else
5023 ac_compiler_gnu=no
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5030 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5031 if test $ac_compiler_gnu = yes; then
5032 GCC=yes
5033 else
5034 GCC=
5036 ac_test_CFLAGS=${CFLAGS+set}
5037 ac_save_CFLAGS=$CFLAGS
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5039 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5040 if ${ac_cv_prog_cc_g+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 ac_save_c_werror_flag=$ac_c_werror_flag
5044 ac_c_werror_flag=yes
5045 ac_cv_prog_cc_g=no
5046 CFLAGS="-g"
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5051 main ()
5055 return 0;
5057 _ACEOF
5058 if ac_fn_c_try_compile "$LINENO"; then :
5059 ac_cv_prog_cc_g=yes
5060 else
5061 CFLAGS=""
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 main ()
5070 return 0;
5072 _ACEOF
5073 if ac_fn_c_try_compile "$LINENO"; then :
5075 else
5076 ac_c_werror_flag=$ac_save_c_werror_flag
5077 CFLAGS="-g"
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5082 main ()
5086 return 0;
5088 _ACEOF
5089 if ac_fn_c_try_compile "$LINENO"; then :
5090 ac_cv_prog_cc_g=yes
5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5097 ac_c_werror_flag=$ac_save_c_werror_flag
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5100 $as_echo "$ac_cv_prog_cc_g" >&6; }
5101 if test "$ac_test_CFLAGS" = set; then
5102 CFLAGS=$ac_save_CFLAGS
5103 elif test $ac_cv_prog_cc_g = yes; then
5104 if test "$GCC" = yes; then
5105 CFLAGS="-g -O2"
5106 else
5107 CFLAGS="-g"
5109 else
5110 if test "$GCC" = yes; then
5111 CFLAGS="-O2"
5112 else
5113 CFLAGS=
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5117 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5118 if ${ac_cv_prog_cc_c89+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 ac_cv_prog_cc_c89=no
5122 ac_save_CC=$CC
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 #include <stdarg.h>
5126 #include <stdio.h>
5127 struct stat;
5128 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5129 struct buf { int x; };
5130 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5131 static char *e (p, i)
5132 char **p;
5133 int i;
5135 return p[i];
5137 static char *f (char * (*g) (char **, int), char **p, ...)
5139 char *s;
5140 va_list v;
5141 va_start (v,p);
5142 s = g (p, va_arg (v,int));
5143 va_end (v);
5144 return s;
5147 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5148 function prototypes and stuff, but not '\xHH' hex character constants.
5149 These don't provoke an error unfortunately, instead are silently treated
5150 as 'x'. The following induces an error, until -std is added to get
5151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5152 array size at least. It's necessary to write '\x00'==0 to get something
5153 that's true only with -std. */
5154 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5156 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5157 inside strings and character constants. */
5158 #define FOO(x) 'x'
5159 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5161 int test (int i, double x);
5162 struct s1 {int (*f) (int a);};
5163 struct s2 {int (*f) (double a);};
5164 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5165 int argc;
5166 char **argv;
5168 main ()
5170 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5172 return 0;
5174 _ACEOF
5175 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5176 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5178 CC="$ac_save_CC $ac_arg"
5179 if ac_fn_c_try_compile "$LINENO"; then :
5180 ac_cv_prog_cc_c89=$ac_arg
5182 rm -f core conftest.err conftest.$ac_objext
5183 test "x$ac_cv_prog_cc_c89" != "xno" && break
5184 done
5185 rm -f conftest.$ac_ext
5186 CC=$ac_save_CC
5189 # AC_CACHE_VAL
5190 case "x$ac_cv_prog_cc_c89" in
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5193 $as_echo "none needed" >&6; } ;;
5194 xno)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5196 $as_echo "unsupported" >&6; } ;;
5198 CC="$CC $ac_cv_prog_cc_c89"
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5200 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5201 esac
5202 if test "x$ac_cv_prog_cc_c89" != xno; then :
5206 ac_ext=c
5207 ac_cpp='$CPP $CPPFLAGS'
5208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 ac_ext=cpp
5213 ac_cpp='$CXXCPP $CPPFLAGS'
5214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5217 if test -z "$CXX"; then
5218 if test -n "$CCC"; then
5219 CXX=$CCC
5220 else
5221 if test -n "$ac_tool_prefix"; then
5222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_CXX+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$CXX"; then
5232 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 CXX=$ac_cv_prog_CXX
5252 if test -n "$CXX"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5254 $as_echo "$CXX" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$CXX" && break
5262 done
5264 if test -z "$CXX"; then
5265 ac_ct_CXX=$CXX
5266 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5268 # Extract the first word of "$ac_prog", so it can be a program name with args.
5269 set dummy $ac_prog; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$ac_ct_CXX"; then
5276 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_CXX="$ac_prog"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5296 if test -n "$ac_ct_CXX"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5298 $as_echo "$ac_ct_CXX" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 test -n "$ac_ct_CXX" && break
5306 done
5308 if test "x$ac_ct_CXX" = x; then
5309 CXX="g++"
5310 else
5311 case $cross_compiling:$ac_tool_warned in
5312 yes:)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5315 ac_tool_warned=yes ;;
5316 esac
5317 CXX=$ac_ct_CXX
5323 # Provide some information about the compiler.
5324 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5325 set X $ac_compile
5326 ac_compiler=$2
5327 for ac_option in --version -v -V -qversion; do
5328 { { ac_try="$ac_compiler $ac_option >&5"
5329 case "(($ac_try" in
5330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5332 esac
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 $as_echo "$ac_try_echo"; } >&5
5335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5336 ac_status=$?
5337 if test -s conftest.err; then
5338 sed '10a\
5339 ... rest of stderr output deleted ...
5340 10q' conftest.err >conftest.er1
5341 cat conftest.er1 >&5
5343 rm -f conftest.er1 conftest.err
5344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5346 done
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5349 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5350 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5357 main ()
5359 #ifndef __GNUC__
5360 choke me
5361 #endif
5364 return 0;
5366 _ACEOF
5367 if ac_fn_cxx_try_compile "$LINENO"; then :
5368 ac_compiler_gnu=yes
5369 else
5370 ac_compiler_gnu=no
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5377 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5378 if test $ac_compiler_gnu = yes; then
5379 GXX=yes
5380 else
5381 GXX=
5383 ac_test_CXXFLAGS=${CXXFLAGS+set}
5384 ac_save_CXXFLAGS=$CXXFLAGS
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5386 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5387 if ${ac_cv_prog_cxx_g+:} false; then :
5388 $as_echo_n "(cached) " >&6
5389 else
5390 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5391 ac_cxx_werror_flag=yes
5392 ac_cv_prog_cxx_g=no
5393 CXXFLAGS="-g"
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5398 main ()
5402 return 0;
5404 _ACEOF
5405 if ac_fn_cxx_try_compile "$LINENO"; then :
5406 ac_cv_prog_cxx_g=yes
5407 else
5408 CXXFLAGS=""
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5413 main ()
5417 return 0;
5419 _ACEOF
5420 if ac_fn_cxx_try_compile "$LINENO"; then :
5422 else
5423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5424 CXXFLAGS="-g"
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5429 main ()
5433 return 0;
5435 _ACEOF
5436 if ac_fn_cxx_try_compile "$LINENO"; then :
5437 ac_cv_prog_cxx_g=yes
5439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5447 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5448 if test "$ac_test_CXXFLAGS" = set; then
5449 CXXFLAGS=$ac_save_CXXFLAGS
5450 elif test $ac_cv_prog_cxx_g = yes; then
5451 if test "$GXX" = yes; then
5452 CXXFLAGS="-g -O2"
5453 else
5454 CXXFLAGS="-g"
5456 else
5457 if test "$GXX" = yes; then
5458 CXXFLAGS="-O2"
5459 else
5460 CXXFLAGS=
5463 ac_ext=c
5464 ac_cpp='$CPP $CPPFLAGS'
5465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_CPPBIN+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$CPPBIN"; then
5478 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 CPPBIN=$ac_cv_prog_CPPBIN
5498 if test -n "$CPPBIN"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5500 $as_echo "$CPPBIN" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_CPPBIN"; then
5509 ac_ct_CPPBIN=$CPPBIN
5510 # Extract the first word of "cpp", so it can be a program name with args.
5511 set dummy cpp; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_CPPBIN"; then
5518 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_CPPBIN="cpp"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5538 if test -n "$ac_ct_CPPBIN"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5540 $as_echo "$ac_ct_CPPBIN" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_CPPBIN" = x; then
5547 CPPBIN="cpp"
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 CPPBIN=$ac_ct_CPPBIN
5557 else
5558 CPPBIN="$ac_cv_prog_CPPBIN"
5562 cat >>confdefs.h <<_ACEOF
5563 #define EXEEXT "$ac_exeext"
5564 _ACEOF
5566 if test -n "$ac_tool_prefix"; then
5567 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5568 set dummy ${ac_tool_prefix}ld; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_prog_LD+:} false; then :
5572 $as_echo_n "(cached) " >&6
5573 else
5574 if test -n "$LD"; then
5575 ac_cv_prog_LD="$LD" # Let the user override the test.
5576 else
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578 for as_dir in $PATH
5580 IFS=$as_save_IFS
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_LD="${ac_tool_prefix}ld"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 break 2
5588 done
5589 done
5590 IFS=$as_save_IFS
5594 LD=$ac_cv_prog_LD
5595 if test -n "$LD"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5597 $as_echo "$LD" >&6; }
5598 else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5605 if test -z "$ac_cv_prog_LD"; then
5606 ac_ct_LD=$LD
5607 # Extract the first word of "ld", so it can be a program name with args.
5608 set dummy ld; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5612 $as_echo_n "(cached) " >&6
5613 else
5614 if test -n "$ac_ct_LD"; then
5615 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5620 IFS=$as_save_IFS
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_ac_ct_LD="ld"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5635 if test -n "$ac_ct_LD"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5637 $as_echo "$ac_ct_LD" >&6; }
5638 else
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5643 if test "x$ac_ct_LD" = x; then
5644 LD=""
5645 else
5646 case $cross_compiling:$ac_tool_warned in
5647 yes:)
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5650 ac_tool_warned=yes ;;
5651 esac
5652 LD=$ac_ct_LD
5654 else
5655 LD="$ac_cv_prog_LD"
5659 case $host in
5660 *-darwin*)
5661 with_fontconfig=${with_fontconfig:-no}
5663 *-mingw32*|*-cygwin*)
5664 enable_win16=${enable_win16:-no}
5665 with_mingw=${with_mingw:-no}
5666 CFLAGS="$CFLAGS -D_WIN32"
5668 esac
5671 case $host in
5672 x86_64*|amd64*)
5673 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5674 then
5675 CC="$CC -m32"
5676 CXX="$CXX -m32"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5679 $as_echo_n "checking whether $CC works... " >&6; }
5680 if ${wine_cv_cc_m32+:} false; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5687 main ()
5691 return 0;
5693 _ACEOF
5694 if ac_fn_c_try_link "$LINENO"; then :
5695 wine_cv_cc_m32=yes
5696 else
5697 wine_cv_cc_m32=no
5699 rm -f core conftest.err conftest.$ac_objext \
5700 conftest$ac_exeext conftest.$ac_ext
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5703 $as_echo "$wine_cv_cc_m32" >&6; }
5704 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
5705 host_cpu="i386"
5706 notice_platform="32-bit "
5707 TARGETFLAGS="$TARGETFLAGS -m32"
5708 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5709 export PKG_CONFIG_PATH
5710 enable_win16=${enable_win16:-yes}
5711 with_unwind=${with_unwind:-no}
5712 else
5713 if test "x${GCC}" = "xyes"
5714 then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5716 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5717 if ${wine_cv_builtin_ms_va_list+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5722 #include <stdarg.h>
5724 main ()
5726 void func(__builtin_ms_va_list *args);
5728 return 0;
5730 _ACEOF
5731 if ac_fn_c_try_compile "$LINENO"; then :
5732 wine_cv_builtin_ms_va_list=yes
5733 else
5734 wine_cv_builtin_ms_va_list=no
5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5739 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5740 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
5742 CC="$CC -m64"
5743 CXX="$CXX -m64"
5744 host_cpu="x86_64"
5745 notice_platform="64-bit "
5746 TARGETFLAGS="$TARGETFLAGS -m64"
5747 enable_wow64cpu=${enable_wow64cpu:-yes}
5750 arm*)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5752 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5753 if ${wine_cv_thumb2+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5757 /* end confdefs.h. */
5760 main ()
5762 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5764 return 0;
5766 _ACEOF
5767 if ac_fn_c_try_link "$LINENO"; then :
5768 wine_cv_thumb2=yes
5769 else
5770 wine_cv_thumb2=no
5772 rm -f core conftest.err conftest.$ac_objext \
5773 conftest$ac_exeext conftest.$ac_ext
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5776 $as_echo "$wine_cv_thumb2" >&6; }
5777 if test x"$wine_cv_thumb2" = xyes
5778 then
5779 CFLAGS="$CFLAGS -mthumb"
5780 TARGETFLAGS="$TARGETFLAGS -mthumb"
5781 else
5782 CFLAGS="$CFLAGS -marm"
5783 TARGETFLAGS="$TARGETFLAGS -marm"
5785 case $with_float_abi in
5786 soft|softfp|hard)
5787 float_abi=$with_float_abi ;;
5789 case $host_os in
5790 *eabihf)
5791 float_abi=hard ;;
5793 float_abi=softfp
5794 saved_CFLAGS=$CFLAGS
5795 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5797 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5798 if ${wine_cv_float_abi+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5805 main ()
5807 asm("vmrs r2,fpscr");
5809 return 0;
5811 _ACEOF
5812 if ac_fn_c_try_link "$LINENO"; then :
5813 wine_cv_float_abi=yes
5814 else
5815 wine_cv_float_abi=no
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5821 $as_echo "$wine_cv_float_abi" >&6; }
5822 if test $wine_cv_float_abi = no
5823 then
5824 float_abi=soft
5825 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5827 CFLAGS=$saved_CFLAGS
5828 esac
5830 esac
5831 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5832 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5834 aarch64*)
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5836 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5837 if ${wine_cv_builtin_ms_va_list+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5842 #include <stdarg.h>
5844 main ()
5846 void func(__builtin_ms_va_list *args);
5848 return 0;
5850 _ACEOF
5851 if ac_fn_c_try_compile "$LINENO"; then :
5852 wine_cv_builtin_ms_va_list=yes
5853 else
5854 wine_cv_builtin_ms_va_list=no
5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5859 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5860 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5862 i[3456789]86*)
5863 enable_win16=${enable_win16:-yes}
5864 with_unwind=${with_unwind:-no}
5866 esac
5868 enable_win16=${enable_win16:-no}
5869 enable_win64=${enable_win64:-no}
5870 enable_wow64cpu=${enable_wow64cpu:-no}
5872 enable_winetest=${enable_winetest:-$enable_tests}
5874 if test "x$enable_win64" = "xyes"
5875 then
5876 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5877 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5880 case $host_cpu in
5881 *i[3456789]86*) ARCH="i386"
5883 *x86_64*) ARCH="x86_64"
5885 *aarch64*) ARCH="aarch64"
5887 *arm*) ARCH="arm"
5889 *) ARCH=""
5891 esac
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5894 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5895 if ${wine_cv_toolsdir+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 wine_cv_toolsdir="$with_wine_tools"
5899 if test -z "$with_wine_tools"; then
5900 if test "$cross_compiling" = "yes"; then
5901 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5902 elif test -n "$with_wine64"; then
5903 wine_cv_toolsdir="$with_wine64"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5908 $as_echo "$wine_cv_toolsdir" >&6; }
5909 if test -z "$wine_cv_toolsdir"; then
5910 wine_makedep=tools/makedep
5911 TOOLSDIR="."
5913 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5914 wine_makedep=$wine_cv_toolsdir/tools/makedep
5915 TOOLSDIR=$wine_cv_toolsdir
5917 enable_tools=${enable_tools:-no}
5918 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5919 else
5920 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5922 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5923 then
5924 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5927 for ac_prog in flex
5929 # Extract the first word of "$ac_prog", so it can be a program name with args.
5930 set dummy $ac_prog; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_FLEX+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$FLEX"; then
5937 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_FLEX="$ac_prog"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5950 done
5951 done
5952 IFS=$as_save_IFS
5956 FLEX=$ac_cv_prog_FLEX
5957 if test -n "$FLEX"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5959 $as_echo "$FLEX" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5966 test -n "$FLEX" && break
5967 done
5968 test -n "$FLEX" || FLEX="none"
5970 if test "$FLEX" = "none"
5971 then
5972 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5975 $as_echo_n "checking whether flex is recent enough... " >&6; }
5976 if ${wine_cv_recent_flex+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 cat >conftest.l <<EOF
5980 %top{
5981 #include "prediluvian.h"
5985 if $FLEX -t conftest.l >/dev/null 2>&5
5986 then
5987 wine_cv_recent_flex=yes
5988 else
5989 wine_cv_recent_flex=no
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5993 $as_echo "$wine_cv_recent_flex" >&6; }
5994 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
5996 for ac_prog in bison
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_BISON+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$BISON"; then
6006 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_BISON="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 BISON=$ac_cv_prog_BISON
6026 if test -n "$BISON"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6028 $as_echo "$BISON" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$BISON" && break
6036 done
6037 test -n "$BISON" || BISON="none"
6039 if test "$BISON" = "none"
6040 then
6041 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6044 $as_echo_n "checking whether bison is recent enough... " >&6; }
6045 if ${wine_cv_recent_bison+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 cat >conftest.y <<EOF
6049 %define parse.error verbose
6051 empty: ;
6053 if $BISON conftest.y >/dev/null 2>&5
6054 then
6055 wine_cv_recent_bison=yes
6056 else
6057 wine_cv_recent_bison=no
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6061 $as_echo "$wine_cv_recent_bison" >&6; }
6062 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
6064 if test -n "$ac_tool_prefix"; then
6065 for ac_prog in ar gar
6067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_AR+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -n "$AR"; then
6075 ac_cv_prog_AR="$AR" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 AR=$ac_cv_prog_AR
6095 if test -n "$AR"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6097 $as_echo "$AR" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6104 test -n "$AR" && break
6105 done
6107 if test -z "$AR"; then
6108 ac_ct_AR=$AR
6109 for ac_prog in ar gar
6111 # Extract the first word of "$ac_prog", so it can be a program name with args.
6112 set dummy $ac_prog; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 if test -n "$ac_ct_AR"; then
6119 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_AR="$ac_prog"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 break 2
6132 done
6133 done
6134 IFS=$as_save_IFS
6138 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6139 if test -n "$ac_ct_AR"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6141 $as_echo "$ac_ct_AR" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6148 test -n "$ac_ct_AR" && break
6149 done
6151 if test "x$ac_ct_AR" = x; then
6152 AR="ar"
6153 else
6154 case $cross_compiling:$ac_tool_warned in
6155 yes:)
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6159 esac
6160 AR=$ac_ct_AR
6164 if test -n "$ac_tool_prefix"; then
6165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6166 set dummy ${ac_tool_prefix}strip; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_STRIP+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$STRIP"; then
6173 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 STRIP=$ac_cv_prog_STRIP
6193 if test -n "$STRIP"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6195 $as_echo "$STRIP" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6203 if test -z "$ac_cv_prog_STRIP"; then
6204 ac_ct_STRIP=$STRIP
6205 # Extract the first word of "strip", so it can be a program name with args.
6206 set dummy strip; ac_word=$2
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208 $as_echo_n "checking for $ac_word... " >&6; }
6209 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 if test -n "$ac_ct_STRIP"; then
6213 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6214 else
6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 for as_dir in $PATH
6218 IFS=$as_save_IFS
6219 test -z "$as_dir" && as_dir=.
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6222 ac_cv_prog_ac_ct_STRIP="strip"
6223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 break 2
6226 done
6227 done
6228 IFS=$as_save_IFS
6232 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6233 if test -n "$ac_ct_STRIP"; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6235 $as_echo "$ac_ct_STRIP" >&6; }
6236 else
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238 $as_echo "no" >&6; }
6241 if test "x$ac_ct_STRIP" = x; then
6242 STRIP="strip"
6243 else
6244 case $cross_compiling:$ac_tool_warned in
6245 yes:)
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6248 ac_tool_warned=yes ;;
6249 esac
6250 STRIP=$ac_ct_STRIP
6252 else
6253 STRIP="$ac_cv_prog_STRIP"
6256 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6258 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_RANLIB+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 if test -n "$RANLIB"; then
6265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6266 else
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in $PATH
6270 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276 break 2
6278 done
6279 done
6280 IFS=$as_save_IFS
6284 RANLIB=$ac_cv_prog_RANLIB
6285 if test -n "$RANLIB"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6287 $as_echo "$RANLIB" >&6; }
6288 else
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6295 if test -z "$ac_cv_prog_RANLIB"; then
6296 ac_ct_RANLIB=$RANLIB
6297 # Extract the first word of "ranlib", so it can be a program name with args.
6298 set dummy ranlib; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 if test -n "$ac_ct_RANLIB"; then
6305 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6306 else
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 for as_dir in $PATH
6310 IFS=$as_save_IFS
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_ac_ct_RANLIB="ranlib"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 break 2
6318 done
6319 done
6320 IFS=$as_save_IFS
6324 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6325 if test -n "$ac_ct_RANLIB"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6327 $as_echo "$ac_ct_RANLIB" >&6; }
6328 else
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6333 if test "x$ac_ct_RANLIB" = x; then
6334 RANLIB=":"
6335 else
6336 case $cross_compiling:$ac_tool_warned in
6337 yes:)
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6340 ac_tool_warned=yes ;;
6341 esac
6342 RANLIB=$ac_ct_RANLIB
6344 else
6345 RANLIB="$ac_cv_prog_RANLIB"
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6349 $as_echo_n "checking whether ln -s works... " >&6; }
6350 LN_S=$as_ln_s
6351 if test "$LN_S" = "ln -s"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6353 $as_echo "yes" >&6; }
6354 else
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6356 $as_echo "no, using $LN_S" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6360 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6361 if ${ac_cv_path_GREP+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 if test -z "$GREP"; then
6365 ac_path_GREP_found=false
6366 # Loop through the user's path and test for each of PROGNAME-LIST
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6370 IFS=$as_save_IFS
6371 test -z "$as_dir" && as_dir=.
6372 for ac_prog in grep ggrep; do
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6375 as_fn_executable_p "$ac_path_GREP" || continue
6376 # Check for GNU ac_path_GREP and select it if it is found.
6377 # Check for GNU $ac_path_GREP
6378 case `"$ac_path_GREP" --version 2>&1` in
6379 *GNU*)
6380 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6382 ac_count=0
6383 $as_echo_n 0123456789 >"conftest.in"
6384 while :
6386 cat "conftest.in" "conftest.in" >"conftest.tmp"
6387 mv "conftest.tmp" "conftest.in"
6388 cp "conftest.in" "conftest.nl"
6389 $as_echo 'GREP' >> "conftest.nl"
6390 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6391 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6392 as_fn_arith $ac_count + 1 && ac_count=$as_val
6393 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6394 # Best one so far, save it but keep looking for a better one
6395 ac_cv_path_GREP="$ac_path_GREP"
6396 ac_path_GREP_max=$ac_count
6398 # 10*(2^10) chars as input seems more than enough
6399 test $ac_count -gt 10 && break
6400 done
6401 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6402 esac
6404 $ac_path_GREP_found && break 3
6405 done
6406 done
6407 done
6408 IFS=$as_save_IFS
6409 if test -z "$ac_cv_path_GREP"; then
6410 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6412 else
6413 ac_cv_path_GREP=$GREP
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6418 $as_echo "$ac_cv_path_GREP" >&6; }
6419 GREP="$ac_cv_path_GREP"
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6423 $as_echo_n "checking for egrep... " >&6; }
6424 if ${ac_cv_path_EGREP+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6428 then ac_cv_path_EGREP="$GREP -E"
6429 else
6430 if test -z "$EGREP"; then
6431 ac_path_EGREP_found=false
6432 # Loop through the user's path and test for each of PROGNAME-LIST
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_prog in egrep; do
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6441 as_fn_executable_p "$ac_path_EGREP" || continue
6442 # Check for GNU ac_path_EGREP and select it if it is found.
6443 # Check for GNU $ac_path_EGREP
6444 case `"$ac_path_EGREP" --version 2>&1` in
6445 *GNU*)
6446 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6448 ac_count=0
6449 $as_echo_n 0123456789 >"conftest.in"
6450 while :
6452 cat "conftest.in" "conftest.in" >"conftest.tmp"
6453 mv "conftest.tmp" "conftest.in"
6454 cp "conftest.in" "conftest.nl"
6455 $as_echo 'EGREP' >> "conftest.nl"
6456 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6457 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6458 as_fn_arith $ac_count + 1 && ac_count=$as_val
6459 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6460 # Best one so far, save it but keep looking for a better one
6461 ac_cv_path_EGREP="$ac_path_EGREP"
6462 ac_path_EGREP_max=$ac_count
6464 # 10*(2^10) chars as input seems more than enough
6465 test $ac_count -gt 10 && break
6466 done
6467 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6468 esac
6470 $ac_path_EGREP_found && break 3
6471 done
6472 done
6473 done
6474 IFS=$as_save_IFS
6475 if test -z "$ac_cv_path_EGREP"; then
6476 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6478 else
6479 ac_cv_path_EGREP=$EGREP
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6485 $as_echo "$ac_cv_path_EGREP" >&6; }
6486 EGREP="$ac_cv_path_EGREP"
6489 # Extract the first word of "ldconfig", so it can be a program name with args.
6490 set dummy ldconfig; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_path_LDCONFIG+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 case $LDCONFIG in
6497 [\\/]* | ?:[\\/]*)
6498 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 for as_dir in /sbin /usr/sbin $PATH
6504 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 break 2
6512 done
6513 done
6514 IFS=$as_save_IFS
6516 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6518 esac
6520 LDCONFIG=$ac_cv_path_LDCONFIG
6521 if test -n "$LDCONFIG"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6523 $as_echo "$LDCONFIG" >&6; }
6524 else
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6530 for ac_prog in msgfmt
6532 # Extract the first word of "$ac_prog", so it can be a program name with args.
6533 set dummy $ac_prog; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_MSGFMT+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$MSGFMT"; then
6540 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_MSGFMT="$ac_prog"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 MSGFMT=$ac_cv_prog_MSGFMT
6560 if test -n "$MSGFMT"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6562 $as_echo "$MSGFMT" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6569 test -n "$MSGFMT" && break
6570 done
6571 test -n "$MSGFMT" || MSGFMT="false"
6573 if ${ac_tool_prefix+:} false; then :
6574 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6575 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6579 $as_echo_n "(cached) " >&6
6580 else
6581 if test -n "$PKG_CONFIG"; then
6582 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 break 2
6595 done
6596 done
6597 IFS=$as_save_IFS
6601 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6602 if test -n "$PKG_CONFIG"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6604 $as_echo "$PKG_CONFIG" >&6; }
6605 else
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6612 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6613 if test "x$cross_compiling" = xyes; then :
6615 else
6616 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6617 # Extract the first word of "pkg-config", so it can be a program name with args.
6618 set dummy pkg-config; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6622 $as_echo_n "(cached) " >&6
6623 else
6624 if test -n "$PKG_CONFIG"; then
6625 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6630 IFS=$as_save_IFS
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_PKG_CONFIG="pkg-config"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 break 2
6638 done
6639 done
6640 IFS=$as_save_IFS
6644 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6645 if test -n "$PKG_CONFIG"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6647 $as_echo "$PKG_CONFIG" >&6; }
6648 else
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6655 else
6656 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6659 if test "x$enable_maintainer_mode" != "xyes"
6660 then
6661 FONTFORGE=""
6662 RSVG=""
6663 CONVERT=""
6664 ICOTOOL=""
6665 else
6666 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6667 for ac_prog in fontforge
6669 # Extract the first word of "$ac_prog", so it can be a program name with args.
6670 set dummy $ac_prog; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_FONTFORGE+:} false; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$FONTFORGE"; then
6677 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686 ac_cv_prog_FONTFORGE="$ac_prog"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 FONTFORGE=$ac_cv_prog_FONTFORGE
6697 if test -n "$FONTFORGE"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6699 $as_echo "$FONTFORGE" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6706 test -n "$FONTFORGE" && break
6707 done
6708 test -n "$FONTFORGE" || FONTFORGE="false"
6710 for ac_prog in rsvg-convert rsvg
6712 # Extract the first word of "$ac_prog", so it can be a program name with args.
6713 set dummy $ac_prog; ac_word=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if ${ac_cv_prog_RSVG+:} false; then :
6717 $as_echo_n "(cached) " >&6
6718 else
6719 if test -n "$RSVG"; then
6720 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6721 else
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 for as_dir in $PATH
6725 IFS=$as_save_IFS
6726 test -z "$as_dir" && as_dir=.
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_RSVG="$ac_prog"
6730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 break 2
6733 done
6734 done
6735 IFS=$as_save_IFS
6739 RSVG=$ac_cv_prog_RSVG
6740 if test -n "$RSVG"; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6742 $as_echo "$RSVG" >&6; }
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6749 test -n "$RSVG" && break
6750 done
6751 test -n "$RSVG" || RSVG="false"
6753 for ac_prog in convert
6755 # Extract the first word of "$ac_prog", so it can be a program name with args.
6756 set dummy $ac_prog; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if ${ac_cv_prog_CONVERT+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 if test -n "$CONVERT"; then
6763 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_CONVERT="$ac_prog"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 break 2
6776 done
6777 done
6778 IFS=$as_save_IFS
6782 CONVERT=$ac_cv_prog_CONVERT
6783 if test -n "$CONVERT"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6785 $as_echo "$CONVERT" >&6; }
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6792 test -n "$CONVERT" && break
6793 done
6794 test -n "$CONVERT" || CONVERT="false"
6796 for ac_prog in icotool
6798 # Extract the first word of "$ac_prog", so it can be a program name with args.
6799 set dummy $ac_prog; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6802 if ${ac_cv_prog_ICOTOOL+:} false; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805 if test -n "$ICOTOOL"; then
6806 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6807 else
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 for as_dir in $PATH
6811 IFS=$as_save_IFS
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_ICOTOOL="$ac_prog"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 break 2
6819 done
6820 done
6821 IFS=$as_save_IFS
6825 ICOTOOL=$ac_cv_prog_ICOTOOL
6826 if test -n "$ICOTOOL"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6828 $as_echo "$ICOTOOL" >&6; }
6829 else
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 $as_echo "no" >&6; }
6835 test -n "$ICOTOOL" && break
6836 done
6837 test -n "$ICOTOOL" || ICOTOOL="false"
6839 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6840 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6842 if test "$CONVERT" = false
6843 then
6844 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6845 else
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6847 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6848 convert_version=`convert --version | head -n1`
6849 if test "x$convert_version" != "x"
6850 then
6851 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6852 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6853 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6854 then
6855 CONVERT=false
6858 if test "$CONVERT" = false
6859 then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6861 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6862 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6863 else
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6865 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6869 if test "$ICOTOOL" = false
6870 then
6871 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6872 else
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6874 $as_echo_n "checking for recent enough icotool... " >&6; }
6875 icotool_version=`icotool --version | head -n1`
6876 if test "x$icotool_version" != "x"
6877 then
6878 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6879 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6880 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6881 then
6882 ICOTOOL=false
6883 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6886 if test "$ICOTOOL" = false
6887 then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6889 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6890 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6891 else
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6893 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6897 with_gettext=yes
6898 with_gettextpo=yes
6900 enable_werror=yes
6903 test "x$with_gettext" != xno || MSGFMT=false
6904 if test "$MSGFMT" != "false"
6905 then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6907 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6908 if ${wine_cv_msgfmt_contexts+:} false; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 cat >conftest.po <<EOF
6912 # comment
6913 msgctxt "ctxt"
6914 msgid "id"
6915 msgstr "str"
6917 if $MSGFMT -o /dev/null conftest.po 2>&5
6918 then
6919 wine_cv_msgfmt_contexts=yes
6920 else
6921 wine_cv_msgfmt_contexts=no
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6925 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6926 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6928 if test "$MSGFMT" = false; then :
6929 case "x$with_gettext" in
6930 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6931 xno) ;;
6932 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6933 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6934 esac
6935 enable_po=${enable_po:-no}
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6940 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6941 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 ac_check_lib_save_LIBS=$LIBS
6945 LIBS="-li386 $LIBS"
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6949 /* Override any GCC internal prototype to avoid an error.
6950 Use char because int might match the return type of a GCC
6951 builtin and then its argument prototype would still apply. */
6952 #ifdef __cplusplus
6953 extern "C"
6954 #endif
6955 char i386_set_ldt ();
6957 main ()
6959 return i386_set_ldt ();
6961 return 0;
6963 _ACEOF
6964 if ac_fn_c_try_link "$LINENO"; then :
6965 ac_cv_lib_i386_i386_set_ldt=yes
6966 else
6967 ac_cv_lib_i386_i386_set_ldt=no
6969 rm -f core conftest.err conftest.$ac_objext \
6970 conftest$ac_exeext conftest.$ac_ext
6971 LIBS=$ac_check_lib_save_LIBS
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6974 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6975 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6976 I386_LIBS="-li386"
6981 OPENGL_LIBS=""
6985 # Check whether --enable-largefile was given.
6986 if test "${enable_largefile+set}" = set; then :
6987 enableval=$enable_largefile;
6990 if test "$enable_largefile" != no; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6993 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6994 if ${ac_cv_sys_largefile_CC+:} false; then :
6995 $as_echo_n "(cached) " >&6
6996 else
6997 ac_cv_sys_largefile_CC=no
6998 if test "$GCC" != yes; then
6999 ac_save_CC=$CC
7000 while :; do
7001 # IRIX 6.2 and later do not support large files by default,
7002 # so use the C compiler's -n32 option if that helps.
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 break
7025 rm -f core conftest.err conftest.$ac_objext
7026 CC="$CC -n32"
7027 if ac_fn_c_try_compile "$LINENO"; then :
7028 ac_cv_sys_largefile_CC=' -n32'; break
7030 rm -f core conftest.err conftest.$ac_objext
7031 break
7032 done
7033 CC=$ac_save_CC
7034 rm -f conftest.$ac_ext
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7038 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7039 if test "$ac_cv_sys_largefile_CC" != no; then
7040 CC=$CC$ac_cv_sys_largefile_CC
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7044 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7045 if ${ac_cv_sys_file_offset_bits+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047 else
7048 while :; do
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_file_offset_bits=no; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7074 #define _FILE_OFFSET_BITS 64
7075 #include <sys/types.h>
7076 /* Check that off_t can represent 2**63 - 1 correctly.
7077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7078 since some C++ compilers masquerading as C compilers
7079 incorrectly reject 9223372036854775807. */
7080 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7082 && LARGE_OFF_T % 2147483647 == 1)
7083 ? 1 : -1];
7085 main ()
7089 return 0;
7091 _ACEOF
7092 if ac_fn_c_try_compile "$LINENO"; then :
7093 ac_cv_sys_file_offset_bits=64; break
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7096 ac_cv_sys_file_offset_bits=unknown
7097 break
7098 done
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7101 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7102 case $ac_cv_sys_file_offset_bits in #(
7103 no | unknown) ;;
7105 cat >>confdefs.h <<_ACEOF
7106 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7107 _ACEOF
7109 esac
7110 rm -rf conftest*
7111 if test $ac_cv_sys_file_offset_bits = unknown; then
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7113 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7114 if ${ac_cv_sys_large_files+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 while :; do
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7120 #include <sys/types.h>
7121 /* Check that off_t can represent 2**63 - 1 correctly.
7122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7123 since some C++ compilers masquerading as C compilers
7124 incorrectly reject 9223372036854775807. */
7125 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7127 && LARGE_OFF_T % 2147483647 == 1)
7128 ? 1 : -1];
7130 main ()
7134 return 0;
7136 _ACEOF
7137 if ac_fn_c_try_compile "$LINENO"; then :
7138 ac_cv_sys_large_files=no; break
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #define _LARGE_FILES 1
7144 #include <sys/types.h>
7145 /* Check that off_t can represent 2**63 - 1 correctly.
7146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7147 since some C++ compilers masquerading as C compilers
7148 incorrectly reject 9223372036854775807. */
7149 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7151 && LARGE_OFF_T % 2147483647 == 1)
7152 ? 1 : -1];
7154 main ()
7158 return 0;
7160 _ACEOF
7161 if ac_fn_c_try_compile "$LINENO"; then :
7162 ac_cv_sys_large_files=1; break
7164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7165 ac_cv_sys_large_files=unknown
7166 break
7167 done
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7170 $as_echo "$ac_cv_sys_large_files" >&6; }
7171 case $ac_cv_sys_large_files in #(
7172 no | unknown) ;;
7174 cat >>confdefs.h <<_ACEOF
7175 #define _LARGE_FILES $ac_cv_sys_large_files
7176 _ACEOF
7178 esac
7179 rm -rf conftest*
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7192 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7193 # On Suns, sometimes $CPP names a directory.
7194 if test -n "$CPP" && test -d "$CPP"; then
7195 CPP=
7197 if test -z "$CPP"; then
7198 if ${ac_cv_prog_CPP+:} false; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 # Double quotes because CPP needs to be expanded
7202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7204 ac_preproc_ok=false
7205 for ac_c_preproc_warn_flag in '' yes
7207 # Use a header file that comes with gcc, so configuring glibc
7208 # with a fresh cross-compiler works.
7209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7210 # <limits.h> exists even on freestanding compilers.
7211 # On the NeXT, cc -E runs the code through the compiler's parser,
7212 # not just through cpp. "Syntax error" is here to catch this case.
7213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7214 /* end confdefs.h. */
7215 #ifdef __STDC__
7216 # include <limits.h>
7217 #else
7218 # include <assert.h>
7219 #endif
7220 Syntax error
7221 _ACEOF
7222 if ac_fn_c_try_cpp "$LINENO"; then :
7224 else
7225 # Broken: fails on valid input.
7226 continue
7228 rm -f conftest.err conftest.i conftest.$ac_ext
7230 # OK, works on sane cases. Now check whether nonexistent headers
7231 # can be detected and how.
7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7233 /* end confdefs.h. */
7234 #include <ac_nonexistent.h>
7235 _ACEOF
7236 if ac_fn_c_try_cpp "$LINENO"; then :
7237 # Broken: success on invalid input.
7238 continue
7239 else
7240 # Passes both tests.
7241 ac_preproc_ok=:
7242 break
7244 rm -f conftest.err conftest.i conftest.$ac_ext
7246 done
7247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7248 rm -f conftest.i conftest.err conftest.$ac_ext
7249 if $ac_preproc_ok; then :
7250 break
7253 done
7254 ac_cv_prog_CPP=$CPP
7257 CPP=$ac_cv_prog_CPP
7258 else
7259 ac_cv_prog_CPP=$CPP
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7262 $as_echo "$CPP" >&6; }
7263 ac_preproc_ok=false
7264 for ac_c_preproc_warn_flag in '' yes
7266 # Use a header file that comes with gcc, so configuring glibc
7267 # with a fresh cross-compiler works.
7268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7269 # <limits.h> exists even on freestanding compilers.
7270 # On the NeXT, cc -E runs the code through the compiler's parser,
7271 # not just through cpp. "Syntax error" is here to catch this case.
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #ifdef __STDC__
7275 # include <limits.h>
7276 #else
7277 # include <assert.h>
7278 #endif
7279 Syntax error
7280 _ACEOF
7281 if ac_fn_c_try_cpp "$LINENO"; then :
7283 else
7284 # Broken: fails on valid input.
7285 continue
7287 rm -f conftest.err conftest.i conftest.$ac_ext
7289 # OK, works on sane cases. Now check whether nonexistent headers
7290 # can be detected and how.
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7293 #include <ac_nonexistent.h>
7294 _ACEOF
7295 if ac_fn_c_try_cpp "$LINENO"; then :
7296 # Broken: success on invalid input.
7297 continue
7298 else
7299 # Passes both tests.
7300 ac_preproc_ok=:
7301 break
7303 rm -f conftest.err conftest.i conftest.$ac_ext
7305 done
7306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7307 rm -f conftest.i conftest.err conftest.$ac_ext
7308 if $ac_preproc_ok; then :
7310 else
7311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7313 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7314 See \`config.log' for more details" "$LINENO" 5; }
7317 ac_ext=c
7318 ac_cpp='$CPP $CPPFLAGS'
7319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7325 $as_echo_n "checking for ANSI C header files... " >&6; }
7326 if ${ac_cv_header_stdc+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7331 #include <stdlib.h>
7332 #include <stdarg.h>
7333 #include <string.h>
7334 #include <float.h>
7337 main ()
7341 return 0;
7343 _ACEOF
7344 if ac_fn_c_try_compile "$LINENO"; then :
7345 ac_cv_header_stdc=yes
7346 else
7347 ac_cv_header_stdc=no
7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 if test $ac_cv_header_stdc = yes; then
7352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354 /* end confdefs.h. */
7355 #include <string.h>
7357 _ACEOF
7358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7359 $EGREP "memchr" >/dev/null 2>&1; then :
7361 else
7362 ac_cv_header_stdc=no
7364 rm -f conftest*
7368 if test $ac_cv_header_stdc = yes; then
7369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <stdlib.h>
7374 _ACEOF
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "free" >/dev/null 2>&1; then :
7378 else
7379 ac_cv_header_stdc=no
7381 rm -f conftest*
7385 if test $ac_cv_header_stdc = yes; then
7386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7387 if test "$cross_compiling" = yes; then :
7389 else
7390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h. */
7392 #include <ctype.h>
7393 #include <stdlib.h>
7394 #if ((' ' & 0x0FF) == 0x020)
7395 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7396 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7397 #else
7398 # define ISLOWER(c) \
7399 (('a' <= (c) && (c) <= 'i') \
7400 || ('j' <= (c) && (c) <= 'r') \
7401 || ('s' <= (c) && (c) <= 'z'))
7402 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7403 #endif
7405 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7407 main ()
7409 int i;
7410 for (i = 0; i < 256; i++)
7411 if (XOR (islower (i), ISLOWER (i))
7412 || toupper (i) != TOUPPER (i))
7413 return 2;
7414 return 0;
7416 _ACEOF
7417 if ac_fn_c_try_run "$LINENO"; then :
7419 else
7420 ac_cv_header_stdc=no
7422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7423 conftest.$ac_objext conftest.beam conftest.$ac_ext
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7429 $as_echo "$ac_cv_header_stdc" >&6; }
7430 if test $ac_cv_header_stdc = yes; then
7432 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7436 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7438 inttypes.h stdint.h unistd.h
7439 do :
7440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7441 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7443 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7444 cat >>confdefs.h <<_ACEOF
7445 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7446 _ACEOF
7450 done
7453 for ac_header in \
7454 AL/al.h \
7455 ApplicationServices/ApplicationServices.h \
7456 CL/cl.h \
7457 Carbon/Carbon.h \
7458 CommonCrypto/CommonCryptor.h \
7459 CoreAudio/CoreAudio.h \
7460 DiskArbitration/DiskArbitration.h \
7461 EGL/egl.h \
7462 IOKit/IOKitLib.h \
7463 IOKit/hid/IOHIDLib.h \
7464 OpenAL/al.h \
7465 OpenCL/opencl.h \
7466 QuickTime/ImageCompression.h \
7467 Security/Security.h \
7468 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7469 SystemConfiguration/SCNetworkConfiguration.h \
7470 alias.h \
7471 arpa/inet.h \
7472 arpa/nameser.h \
7473 asm/types.h \
7474 asm/user.h \
7475 dirent.h \
7476 dlfcn.h \
7477 elf.h \
7478 float.h \
7479 fnmatch.h \
7480 getopt.h \
7481 gettext-po.h \
7482 grp.h \
7483 gsm.h \
7484 gsm/gsm.h \
7485 ieeefp.h \
7486 inet/mib2.h \
7487 kstat.h \
7488 libproc.h \
7489 link.h \
7490 linux/cdrom.h \
7491 linux/filter.h \
7492 linux/hdreg.h \
7493 linux/hidraw.h \
7494 linux/input.h \
7495 linux/ioctl.h \
7496 linux/joystick.h \
7497 linux/major.h \
7498 linux/param.h \
7499 linux/serial.h \
7500 linux/types.h \
7501 linux/ucdrom.h \
7502 lwp.h \
7503 mach-o/loader.h \
7504 mach/mach.h \
7505 machine/cpu.h \
7506 machine/sysarch.h \
7507 mntent.h \
7508 netdb.h \
7509 netinet/in.h \
7510 netinet/in_systm.h \
7511 netinet/tcp.h \
7512 netinet/tcp_fsm.h \
7513 pcap/pcap.h \
7514 poll.h \
7515 port.h \
7516 pthread.h \
7517 pwd.h \
7518 sasl/sasl.h \
7519 sched.h \
7520 scsi/scsi.h \
7521 scsi/scsi_ioctl.h \
7522 scsi/sg.h \
7523 stdint.h \
7524 stropts.h \
7525 sys/attr.h \
7526 sys/auxv.h \
7527 sys/cdio.h \
7528 sys/epoll.h \
7529 sys/event.h \
7530 sys/filio.h \
7531 sys/ioctl.h \
7532 sys/ipc.h \
7533 sys/link.h \
7534 sys/mman.h \
7535 sys/modem.h \
7536 sys/msg.h \
7537 sys/mtio.h \
7538 sys/param.h \
7539 sys/poll.h \
7540 sys/prctl.h \
7541 sys/protosw.h \
7542 sys/ptrace.h \
7543 sys/queue.h \
7544 sys/random.h \
7545 sys/resource.h \
7546 sys/scsiio.h \
7547 sys/shm.h \
7548 sys/signal.h \
7549 sys/socket.h \
7550 sys/socketvar.h \
7551 sys/sockio.h \
7552 sys/statvfs.h \
7553 sys/strtio.h \
7554 sys/syscall.h \
7555 sys/sysinfo.h \
7556 sys/tihdr.h \
7557 sys/time.h \
7558 sys/timeout.h \
7559 sys/times.h \
7560 sys/uio.h \
7561 sys/user.h \
7562 sys/utsname.h \
7563 sys/vnode.h \
7564 sys/wait.h \
7565 syscall.h \
7566 termios.h \
7567 unistd.h \
7568 utime.h \
7569 valgrind/memcheck.h \
7570 valgrind/valgrind.h
7572 do :
7573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7574 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7576 cat >>confdefs.h <<_ACEOF
7577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7578 _ACEOF
7582 done
7584 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7585 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7587 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7592 if test $ac_cv_header_sys_mkdev_h = no; then
7593 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7594 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7596 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7603 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7604 if ${ac_cv_header_stat_broken+:} false; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7609 #include <sys/types.h>
7610 #include <sys/stat.h>
7612 #if defined S_ISBLK && defined S_IFDIR
7613 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7614 #endif
7616 #if defined S_ISBLK && defined S_IFCHR
7617 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7618 #endif
7620 #if defined S_ISLNK && defined S_IFREG
7621 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7622 #endif
7624 #if defined S_ISSOCK && defined S_IFREG
7625 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7626 #endif
7628 _ACEOF
7629 if ac_fn_c_try_compile "$LINENO"; then :
7630 ac_cv_header_stat_broken=no
7631 else
7632 ac_cv_header_stat_broken=yes
7634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7637 $as_echo "$ac_cv_header_stat_broken" >&6; }
7638 if test $ac_cv_header_stat_broken = yes; then
7640 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7646 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7647 do :
7648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7649 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7650 #ifdef HAVE_SYS_PARAM_H
7651 # include <sys/param.h>
7652 #endif
7654 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7655 cat >>confdefs.h <<_ACEOF
7656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7657 _ACEOF
7661 done
7664 saved_sysctl_h_CFLAGS=$CFLAGS
7665 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7666 for ac_header in sys/sysctl.h
7667 do :
7668 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7669 #ifdef HAVE_SYS_PARAM_H
7670 # include <sys/param.h>
7671 #endif
7673 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define HAVE_SYS_SYSCTL_H 1
7676 _ACEOF
7680 done
7682 CFLAGS=$saved_sysctl_h_CFLAGS
7684 for ac_header in \
7685 netinet/ip.h \
7686 net/if.h \
7687 net/if_arp.h \
7688 net/if_dl.h \
7689 net/if_types.h \
7690 net/route.h \
7691 netinet/if_ether.h \
7692 netinet/if_inarp.h \
7693 netinet/in_pcb.h \
7694 netinet/ip_icmp.h \
7695 netinet/ip_var.h \
7696 netinet/udp.h \
7697 netipx/ipx.h \
7698 sys/un.h \
7700 do :
7701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7702 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7703 #ifdef HAVE_SYS_SOCKET_H
7704 # include <sys/socket.h>
7705 #endif
7706 #ifdef HAVE_SYS_SOCKETVAR_H
7707 # include <sys/socketvar.h>
7708 #endif
7709 #ifdef HAVE_NET_ROUTE_H
7710 # include <net/route.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_H
7713 # include <netinet/in.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_SYSTM_H
7716 # include <netinet/in_systm.h>
7717 #endif
7718 #ifdef HAVE_NET_IF_H
7719 # include <net/if.h>
7720 #endif
7721 #ifdef HAVE_NETINET_IP_H
7722 # include <netinet/ip.h>
7723 #endif
7725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7735 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7736 do :
7737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7739 #ifdef HAVE_ALIAS_H
7740 # include <alias.h>
7741 #endif
7742 #ifdef HAVE_SYS_SOCKET_H
7743 # include <sys/socket.h>
7744 #endif
7745 #ifdef HAVE_SYS_SOCKETVAR_H
7746 # include <sys/socketvar.h>
7747 #endif
7748 #ifdef HAVE_SYS_TIMEOUT_H
7749 # include <sys/timeout.h>
7750 #endif
7751 #ifdef HAVE_NETINET_IN_H
7752 # include <netinet/in.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IN_SYSTM_H
7755 # include <netinet/in_systm.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IP_H
7758 # include <netinet/ip.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IP_VAR_H
7761 # include <netinet/ip_var.h>
7762 #endif
7763 #ifdef HAVE_NETINET_IP_ICMP_H
7764 # include <netinet/ip_icmp.h>
7765 #endif
7766 #ifdef HAVE_NETINET_UDP_H
7767 # include <netinet/udp.h>
7768 #endif
7769 #ifdef HAVE_NETINET_TCP_H
7770 # include <netinet/tcp.h>
7771 #endif
7772 #ifdef HAVE_NETINET_TCP_TIMER_H
7773 #include <netinet/tcp_timer.h>
7774 #endif
7776 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7779 _ACEOF
7783 done
7786 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7787 do :
7788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7790 #ifdef HAVE_ASM_TYPES_H
7791 # include <asm/types.h>
7792 #endif
7793 #ifdef HAVE_SYS_SOCKET_H
7794 # include <sys/socket.h>
7795 #endif
7796 #ifdef HAVE_LINUX_TYPES_H
7797 # include <linux/types.h>
7798 #endif
7800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 _ACEOF
7807 done
7810 for ac_header in resolv.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7813 #ifdef HAVE_SYS_SOCKET_H
7814 # include <sys/socket.h>
7815 #endif
7816 #ifdef HAVE_NETINET_IN_H
7817 # include <netinet/in.h>
7818 #endif
7819 #ifdef HAVE_ARPA_NAMESER_H
7820 # include <arpa/nameser.h>
7821 #endif
7823 if test "x$ac_cv_header_resolv_h" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_RESOLV_H 1
7826 _ACEOF
7830 done
7833 for ac_header in ifaddrs.h
7834 do :
7835 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7837 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define HAVE_IFADDRS_H 1
7840 _ACEOF
7844 done
7847 for ac_header in sys/ucontext.h
7848 do :
7849 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7851 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_SYS_UCONTEXT_H 1
7854 _ACEOF
7858 done
7861 for ac_header in sys/thr.h
7862 do :
7863 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7864 #ifdef HAVE_SYS_UCONTEXT_H
7865 #include <sys/ucontext.h>
7866 #endif
7868 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7869 cat >>confdefs.h <<_ACEOF
7870 #define HAVE_SYS_THR_H 1
7871 _ACEOF
7875 done
7878 for ac_header in pthread_np.h
7879 do :
7880 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7881 #include <pthread.h>
7882 #endif
7884 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7885 cat >>confdefs.h <<_ACEOF
7886 #define HAVE_PTHREAD_NP_H 1
7887 _ACEOF
7891 done
7894 for ac_header in linux/videodev2.h
7895 do :
7896 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7897 #include <sys/time.h>
7898 #endif
7899 #include <sys/types.h>
7900 #ifdef HAVE_ASM_TYPES_H
7901 #include <asm/types.h>
7902 #endif
7904 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7905 cat >>confdefs.h <<_ACEOF
7906 #define HAVE_LINUX_VIDEODEV2_H 1
7907 _ACEOF
7911 done
7914 for ac_header in libprocstat.h
7915 do :
7916 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7917 #include <sys/param.h>
7918 #endif
7919 #ifdef HAVE_SYS_QUEUE_H
7920 #include <sys/queue.h>
7921 #endif
7922 #ifdef HAVE_SYS_SOCKET_H
7923 #include <sys/socket.h>
7924 #endif
7926 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7927 cat >>confdefs.h <<_ACEOF
7928 #define HAVE_LIBPROCSTAT_H 1
7929 _ACEOF
7933 done
7937 DLLFLAGS="-D_REENTRANT"
7939 LDDLLFLAGS=""
7941 LDEXECFLAGS=""
7943 TOP_INSTALL_LIB=""
7945 TOP_INSTALL_DEV=""
7947 WINELOADER_LDFLAGS=""
7949 WINEPRELOADER_LDFLAGS=""
7951 LIBEXT="so"
7952 DLLEXT=".so"
7953 # Extract the first word of "ldd", so it can be a program name with args.
7954 set dummy ldd; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_path_LDD+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 case $LDD in
7961 [\\/]* | ?:[\\/]*)
7962 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 as_dummy="/sbin:/usr/sbin:$PATH"
7967 for as_dir in $as_dummy
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7981 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7983 esac
7985 LDD=$ac_cv_path_LDD
7986 if test -n "$LDD"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7988 $as_echo "$LDD" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7997 set dummy ${ac_tool_prefix}otool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_OTOOL+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$OTOOL"; then
8004 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 OTOOL=$ac_cv_prog_OTOOL
8024 if test -n "$OTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8026 $as_echo "$OTOOL" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8034 if test -z "$ac_cv_prog_OTOOL"; then
8035 ac_ct_OTOOL=$OTOOL
8036 # Extract the first word of "otool", so it can be a program name with args.
8037 set dummy otool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$ac_ct_OTOOL"; then
8044 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_ac_ct_OTOOL="otool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8064 if test -n "$ac_ct_OTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8066 $as_echo "$ac_ct_OTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8072 if test "x$ac_ct_OTOOL" = x; then
8073 OTOOL="otool"
8074 else
8075 case $cross_compiling:$ac_tool_warned in
8076 yes:)
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079 ac_tool_warned=yes ;;
8080 esac
8081 OTOOL=$ac_ct_OTOOL
8083 else
8084 OTOOL="$ac_cv_prog_OTOOL"
8087 if test -n "$ac_tool_prefix"; then
8088 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8089 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091 $as_echo_n "checking for $ac_word... " >&6; }
8092 if ${ac_cv_prog_READELF+:} false; then :
8093 $as_echo_n "(cached) " >&6
8094 else
8095 if test -n "$READELF"; then
8096 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8097 else
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 for as_dir in $PATH
8101 IFS=$as_save_IFS
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8105 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 break 2
8109 done
8110 done
8111 IFS=$as_save_IFS
8115 READELF=$ac_cv_prog_READELF
8116 if test -n "$READELF"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8118 $as_echo "$READELF" >&6; }
8119 else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8126 if test -z "$ac_cv_prog_READELF"; then
8127 ac_ct_READELF=$READELF
8128 # Extract the first word of "readelf", so it can be a program name with args.
8129 set dummy readelf; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 if test -n "$ac_ct_READELF"; then
8136 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_ac_ct_READELF="readelf"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8149 done
8150 done
8151 IFS=$as_save_IFS
8155 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8156 if test -n "$ac_ct_READELF"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8158 $as_echo "$ac_ct_READELF" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8164 if test "x$ac_ct_READELF" = x; then
8165 READELF="true"
8166 else
8167 case $cross_compiling:$ac_tool_warned in
8168 yes:)
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned=yes ;;
8172 esac
8173 READELF=$ac_ct_READELF
8175 else
8176 READELF="$ac_cv_prog_READELF"
8179 wine_rules_file=conf$$rules.make
8180 rm -f $wine_rules_file
8181 SUBDIRS=""
8183 DISABLED_SUBDIRS=""
8185 CONFIGURE_TARGETS=""
8188 wine_fn_append_file ()
8190 as_fn_append $1 " \\$as_nl $2"
8193 wine_fn_append_rule ()
8195 $as_echo "$1" >>$wine_rules_file
8198 wine_fn_config_makefile ()
8200 wine_fn_append_file SUBDIRS $1
8201 if eval test \"x\$"$2"\" = x"no"; then :
8202 wine_fn_append_file DISABLED_SUBDIRS $1
8206 wine_fn_config_symlink ()
8208 ac_links=$@
8209 wine_fn_append_rule \
8210 "$ac_links:
8211 @./config.status \$@"
8212 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8215 wine_binary="wine"
8216 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8217 WINELOADER_PROGRAMS="$wine_binary"
8219 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8221 case $host_os in
8222 cygwin*|mingw32*)
8223 if test -n "$ac_tool_prefix"; then
8224 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8225 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if ${ac_cv_prog_DLLTOOL+:} false; then :
8229 $as_echo_n "(cached) " >&6
8230 else
8231 if test -n "$DLLTOOL"; then
8232 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8233 else
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 for as_dir in $PATH
8237 IFS=$as_save_IFS
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 break 2
8245 done
8246 done
8247 IFS=$as_save_IFS
8251 DLLTOOL=$ac_cv_prog_DLLTOOL
8252 if test -n "$DLLTOOL"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8254 $as_echo "$DLLTOOL" >&6; }
8255 else
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8262 if test -z "$ac_cv_prog_DLLTOOL"; then
8263 ac_ct_DLLTOOL=$DLLTOOL
8264 # Extract the first word of "dlltool", so it can be a program name with args.
8265 set dummy dlltool; ac_word=$2
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8267 $as_echo_n "checking for $ac_word... " >&6; }
8268 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 if test -n "$ac_ct_DLLTOOL"; then
8272 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8273 else
8274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 for as_dir in $PATH
8277 IFS=$as_save_IFS
8278 test -z "$as_dir" && as_dir=.
8279 for ac_exec_ext in '' $ac_executable_extensions; do
8280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8281 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 break 2
8285 done
8286 done
8287 IFS=$as_save_IFS
8291 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8292 if test -n "$ac_ct_DLLTOOL"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8294 $as_echo "$ac_ct_DLLTOOL" >&6; }
8295 else
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8300 if test "x$ac_ct_DLLTOOL" = x; then
8301 DLLTOOL="false"
8302 else
8303 case $cross_compiling:$ac_tool_warned in
8304 yes:)
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8307 ac_tool_warned=yes ;;
8308 esac
8309 DLLTOOL=$ac_ct_DLLTOOL
8311 else
8312 DLLTOOL="$ac_cv_prog_DLLTOOL"
8315 LIBEXT="dll"
8316 DLLEXT=""
8317 case $host_cpu in
8318 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8319 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8320 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8321 $as_echo_n "(cached) " >&6
8322 else
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8328 _ACEOF
8329 if ac_fn_c_try_link "$LINENO"; then :
8330 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8331 else
8332 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 CFLAGS=$ac_wine_try_cflags_saved
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8339 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8340 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8341 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8342 fi ;;
8343 esac
8344 enable_iphlpapi=${enable_iphlpapi:-no}
8345 enable_ws2_32=${enable_ws2_32:-no}
8346 enable_loader=${enable_loader:-no}
8347 enable_server=${enable_server:-no}
8348 with_x=${with_x:-no}
8349 with_pthread=${with_pthread:-no}
8352 darwin*|macosx*)
8353 ac_ext=m
8354 ac_cpp='$OBJCPP $CPPFLAGS'
8355 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8356 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8357 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8359 ac_ext=m
8360 ac_cpp='$OBJCPP $CPPFLAGS'
8361 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8362 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8363 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8364 if test -n "$ac_tool_prefix"; then
8365 for ac_prog in gcc objcc objc cc CC
8367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8370 $as_echo_n "checking for $ac_word... " >&6; }
8371 if ${ac_cv_prog_OBJC+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 if test -n "$OBJC"; then
8375 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8376 else
8377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8378 for as_dir in $PATH
8380 IFS=$as_save_IFS
8381 test -z "$as_dir" && as_dir=.
8382 for ac_exec_ext in '' $ac_executable_extensions; do
8383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8384 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 break 2
8388 done
8389 done
8390 IFS=$as_save_IFS
8394 OBJC=$ac_cv_prog_OBJC
8395 if test -n "$OBJC"; then
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8397 $as_echo "$OBJC" >&6; }
8398 else
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400 $as_echo "no" >&6; }
8404 test -n "$OBJC" && break
8405 done
8407 if test -z "$OBJC"; then
8408 ac_ct_OBJC=$OBJC
8409 for ac_prog in gcc objcc objc cc CC
8411 # Extract the first word of "$ac_prog", so it can be a program name with args.
8412 set dummy $ac_prog; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8414 $as_echo_n "checking for $ac_word... " >&6; }
8415 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 if test -n "$ac_ct_OBJC"; then
8419 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8420 else
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 for as_dir in $PATH
8424 IFS=$as_save_IFS
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8428 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 break 2
8432 done
8433 done
8434 IFS=$as_save_IFS
8438 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8439 if test -n "$ac_ct_OBJC"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8441 $as_echo "$ac_ct_OBJC" >&6; }
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8448 test -n "$ac_ct_OBJC" && break
8449 done
8451 if test "x$ac_ct_OBJC" = x; then
8452 OBJC="gcc"
8453 else
8454 case $cross_compiling:$ac_tool_warned in
8455 yes:)
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8458 ac_tool_warned=yes ;;
8459 esac
8460 OBJC=$ac_ct_OBJC
8464 # Provide some information about the compiler.
8465 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8466 set X $ac_compile
8467 ac_compiler=$2
8468 for ac_option in --version -v -V -qversion; do
8469 { { ac_try="$ac_compiler $ac_option >&5"
8470 case "(($ac_try" in
8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8472 *) ac_try_echo=$ac_try;;
8473 esac
8474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8475 $as_echo "$ac_try_echo"; } >&5
8476 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8477 ac_status=$?
8478 if test -s conftest.err; then
8479 sed '10a\
8480 ... rest of stderr output deleted ...
8481 10q' conftest.err >conftest.er1
8482 cat conftest.er1 >&5
8484 rm -f conftest.er1 conftest.err
8485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8486 test $ac_status = 0; }
8487 done
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8490 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8491 if ${ac_cv_objc_compiler_gnu+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8498 main ()
8500 #ifndef __GNUC__
8501 choke me
8502 #endif
8505 return 0;
8507 _ACEOF
8508 if ac_fn_objc_try_compile "$LINENO"; then :
8509 ac_compiler_gnu=yes
8510 else
8511 ac_compiler_gnu=no
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8518 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8519 if test $ac_compiler_gnu = yes; then
8520 GOBJC=yes
8521 else
8522 GOBJC=
8524 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8525 ac_save_OBJCFLAGS=$OBJCFLAGS
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8527 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8528 if ${ac_cv_prog_objc_g+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_save_objc_werror_flag=$ac_objc_werror_flag
8532 ac_objc_werror_flag=yes
8533 ac_cv_prog_objc_g=no
8534 OBJCFLAGS="-g"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8539 main ()
8543 return 0;
8545 _ACEOF
8546 if ac_fn_objc_try_compile "$LINENO"; then :
8547 ac_cv_prog_objc_g=yes
8548 else
8549 OBJCFLAGS=""
8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551 /* end confdefs.h. */
8554 main ()
8558 return 0;
8560 _ACEOF
8561 if ac_fn_objc_try_compile "$LINENO"; then :
8563 else
8564 ac_objc_werror_flag=$ac_save_objc_werror_flag
8565 OBJCFLAGS="-g"
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8570 main ()
8574 return 0;
8576 _ACEOF
8577 if ac_fn_objc_try_compile "$LINENO"; then :
8578 ac_cv_prog_objc_g=yes
8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 ac_objc_werror_flag=$ac_save_objc_werror_flag
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8588 $as_echo "$ac_cv_prog_objc_g" >&6; }
8589 if test "$ac_test_OBJCFLAGS" = set; then
8590 OBJCFLAGS=$ac_save_OBJCFLAGS
8591 elif test $ac_cv_prog_objc_g = yes; then
8592 if test "$GOBJC" = yes; then
8593 OBJCFLAGS="-g -O2"
8594 else
8595 OBJCFLAGS="-g"
8597 else
8598 if test "$GOBJC" = yes; then
8599 OBJCFLAGS="-O2"
8600 else
8601 OBJCFLAGS=
8604 ac_ext=m
8605 ac_cpp='$OBJCPP $CPPFLAGS'
8606 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8607 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8608 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8611 ac_ext=m
8612 ac_cpp='$OBJCPP $CPPFLAGS'
8613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8617 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8618 if test -z "$OBJCPP"; then
8619 if ${ac_cv_prog_OBJCPP+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 # Double quotes because OBJCPP needs to be expanded
8623 for OBJCPP in "$OBJC -E" "/lib/cpp"
8625 ac_preproc_ok=false
8626 for ac_objc_preproc_warn_flag in '' yes
8628 # Use a header file that comes with gcc, so configuring glibc
8629 # with a fresh cross-compiler works.
8630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631 # <limits.h> exists even on freestanding compilers.
8632 # On the NeXT, cc -E runs the code through the compiler's parser,
8633 # not just through cpp. "Syntax error" is here to catch this case.
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #ifdef __STDC__
8637 # include <limits.h>
8638 #else
8639 # include <assert.h>
8640 #endif
8641 Syntax error
8642 _ACEOF
8643 if ac_fn_objc_try_cpp "$LINENO"; then :
8645 else
8646 # Broken: fails on valid input.
8647 continue
8649 rm -f conftest.err conftest.i conftest.$ac_ext
8651 # OK, works on sane cases. Now check whether nonexistent headers
8652 # can be detected and how.
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 #include <ac_nonexistent.h>
8656 _ACEOF
8657 if ac_fn_objc_try_cpp "$LINENO"; then :
8658 # Broken: success on invalid input.
8659 continue
8660 else
8661 # Passes both tests.
8662 ac_preproc_ok=:
8663 break
8665 rm -f conftest.err conftest.i conftest.$ac_ext
8667 done
8668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8669 rm -f conftest.i conftest.err conftest.$ac_ext
8670 if $ac_preproc_ok; then :
8671 break
8674 done
8675 ac_cv_prog_OBJCPP=$OBJCPP
8678 OBJCPP=$ac_cv_prog_OBJCPP
8679 else
8680 ac_cv_prog_OBJCPP=$OBJCPP
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8683 $as_echo "$OBJCPP" >&6; }
8684 ac_preproc_ok=false
8685 for ac_objc_preproc_warn_flag in '' yes
8687 # Use a header file that comes with gcc, so configuring glibc
8688 # with a fresh cross-compiler works.
8689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8690 # <limits.h> exists even on freestanding compilers.
8691 # On the NeXT, cc -E runs the code through the compiler's parser,
8692 # not just through cpp. "Syntax error" is here to catch this case.
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 #ifdef __STDC__
8696 # include <limits.h>
8697 #else
8698 # include <assert.h>
8699 #endif
8700 Syntax error
8701 _ACEOF
8702 if ac_fn_objc_try_cpp "$LINENO"; then :
8704 else
8705 # Broken: fails on valid input.
8706 continue
8708 rm -f conftest.err conftest.i conftest.$ac_ext
8710 # OK, works on sane cases. Now check whether nonexistent headers
8711 # can be detected and how.
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 #include <ac_nonexistent.h>
8715 _ACEOF
8716 if ac_fn_objc_try_cpp "$LINENO"; then :
8717 # Broken: success on invalid input.
8718 continue
8719 else
8720 # Passes both tests.
8721 ac_preproc_ok=:
8722 break
8724 rm -f conftest.err conftest.i conftest.$ac_ext
8726 done
8727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8728 rm -f conftest.i conftest.err conftest.$ac_ext
8729 if $ac_preproc_ok; then :
8731 else
8732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8734 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8735 See \`config.log' for more details" "$LINENO" 5; }
8738 ac_ext=m
8739 ac_cpp='$OBJCPP $CPPFLAGS'
8740 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8741 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8742 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8745 for ac_header in Metal/Metal.h
8746 do :
8747 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8748 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8749 cat >>confdefs.h <<_ACEOF
8750 #define HAVE_METAL_METAL_H 1
8751 _ACEOF
8755 done
8757 ac_ext=c
8758 ac_cpp='$CPP $CPPFLAGS'
8759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8763 LIBEXT="dylib"
8764 DLLFLAGS="$DLLFLAGS -fPIC"
8765 LDDLLFLAGS="-fPIC"
8766 COREFOUNDATION_LIBS="-framework CoreFoundation"
8768 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8770 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8772 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8774 CORESERVICES_LIBS="-framework CoreServices"
8776 APPKIT_LIBS="-framework AppKit"
8778 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8781 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8783 wine_can_build_preloader=yes
8784 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"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8786 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8787 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 int main(int argc, char **argv) { return 0; }
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 ac_cv_cflags__Wl__no_new_main__e__main=yes
8798 else
8799 ac_cv_cflags__Wl__no_new_main__e__main=no
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8806 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8807 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8808 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8810 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8811 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8822 else
8823 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8830 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8831 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8832 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8833 else
8834 { $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
8835 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8836 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 int main(int argc, char **argv) { return 0; }
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8847 else
8848 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8855 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8856 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8857 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8858 else
8859 wine_can_build_preloader=no
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8864 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8865 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8876 else
8877 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8884 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8885 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8886 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8889 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8890 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8897 int main(int argc, char **argv) { return 0; }
8898 _ACEOF
8899 if ac_fn_c_try_link "$LINENO"; then :
8900 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8901 else
8902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 CFLAGS=$ac_wine_try_cflags_saved
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8909 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8910 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8911 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8912 else
8913 wine_can_build_preloader=no
8917 if test "$wine_can_build_preloader" = "yes"
8918 then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8920 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8921 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 ac_wine_try_cflags_saved=$CFLAGS
8925 CFLAGS="$CFLAGS -Wl,-no_pie"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8928 int main(int argc, char **argv) { return 0; }
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8931 ac_cv_cflags__Wl__no_pie=yes
8932 else
8933 ac_cv_cflags__Wl__no_pie=no
8935 rm -f core conftest.err conftest.$ac_objext \
8936 conftest$ac_exeext conftest.$ac_ext
8937 CFLAGS=$ac_wine_try_cflags_saved
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8940 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8941 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8942 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8944 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8945 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8946 else
8947 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8950 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8951 then
8952 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8955 if test "$ac_cv_header_Security_Security_h" = "yes"
8956 then
8957 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8959 ac_save_LIBS="$LIBS"
8960 LIBS="$LIBS $SECURITY_LIBS"
8961 for ac_func in SSLCopyPeerCertificates
8962 do :
8963 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8964 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8965 cat >>confdefs.h <<_ACEOF
8966 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8967 _ACEOF
8970 done
8972 LIBS="$ac_save_LIBS"
8974 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8975 then
8976 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8978 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8980 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8981 then
8982 OPENAL_LIBS="-framework OpenAL"
8985 cat >>confdefs.h <<_ACEOF
8986 #define HAVE_OPENAL 1
8987 _ACEOF
8989 ac_cv_lib_openal=yes
8991 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8992 then
8993 OPENCL_LIBS="-framework OpenCL"
8995 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8997 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8998 then
8999 ac_save_LIBS="$LIBS"
9000 LIBS="$LIBS $IOKIT_LIBS"
9001 for ac_func in IOHIDManagerCreate
9002 do :
9003 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9004 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9005 cat >>confdefs.h <<_ACEOF
9006 #define HAVE_IOHIDMANAGERCREATE 1
9007 _ACEOF
9010 done
9012 LIBS="$ac_save_LIBS"
9015 if test "x$with_quicktime" != "xno"
9016 then
9017 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9018 then
9019 ac_save_LIBS="$LIBS"
9020 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9022 $as_echo_n "checking for the QuickTime framework... " >&6; }
9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9025 #include <QuickTime/ImageCompression.h>
9027 main ()
9029 CodecManagerVersion(NULL);
9031 return 0;
9033 _ACEOF
9034 if ac_fn_c_try_link "$LINENO"; then :
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9036 $as_echo "yes" >&6; }
9037 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9039 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9040 else
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9043 ac_cv_header_QuickTime_ImageCompression_h=no
9045 rm -f core conftest.err conftest.$ac_objext \
9046 conftest$ac_exeext conftest.$ac_ext
9047 LIBS="$ac_save_LIBS"
9050 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9051 case "x$with_quicktime" in
9052 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9053 xno) ;;
9054 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9055 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9056 esac
9060 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9061 then
9062 CARBON_LIBS="-framework Carbon"
9065 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9066 then
9067 METAL_LIBS="-framework Metal -framework QuartzCore"
9071 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9072 then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9074 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9075 ac_ext=m
9076 ac_cpp='$OBJCPP $CPPFLAGS'
9077 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9078 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9079 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 #include <Metal/Metal.h>
9085 main ()
9087 id<MTLDevice> device; device.registryID;
9089 return 0;
9091 _ACEOF
9092 if ac_fn_objc_try_compile "$LINENO"; then :
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9094 $as_echo "yes" >&6; }
9096 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9098 else
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9100 $as_echo "no" >&6; }
9102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9103 ac_ext=c
9104 ac_cpp='$CPP $CPPFLAGS'
9105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9111 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9112 then
9113 ac_save_LIBS="$LIBS"
9114 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9115 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9116 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9117 enable_winemac_drv=${enable_winemac_drv:-yes}
9120 LIBS="$ac_save_LIBS"
9123 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9125 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9127 WINELOADER_DEPENDS="wine_info.plist"
9129 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9132 linux-android*)
9133 DLLFLAGS="$DLLFLAGS -fPIC"
9134 LDDLLFLAGS="-fPIC"
9135 LDEXECFLAGS="-Wl,-pie"
9136 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9138 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9139 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9150 else
9151 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9158 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9159 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9160 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9162 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9165 $as_echo_n "checking for -lEGL... " >&6; }
9166 if ${ac_cv_lib_soname_EGL+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_check_soname_save_LIBS=$LIBS
9170 LIBS="-lEGL $LIBS"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9177 #ifdef __cplusplus
9178 extern "C"
9179 #endif
9180 char eglGetProcAddress ();
9182 main ()
9184 return eglGetProcAddress ();
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 case "$LIBEXT" in
9191 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9192 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'` ;;
9193 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9194 if ${ac_cv_lib_soname_EGL:+false} :; then :
9195 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9196 fi ;;
9197 esac
9198 else
9199 ac_cv_lib_soname_EGL=
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 LIBS=$ac_check_soname_save_LIBS
9205 if ${ac_cv_lib_soname_EGL:+false} :; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9207 $as_echo "not found" >&6; }
9209 else
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9211 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9213 cat >>confdefs.h <<_ACEOF
9214 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9215 _ACEOF
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9220 $as_echo_n "checking for -lGLESv2... " >&6; }
9221 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_soname_save_LIBS=$LIBS
9225 LIBS="-lGLESv2 $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char glFlush ();
9237 main ()
9239 return glFlush ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 case "$LIBEXT" in
9246 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9247 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'` ;;
9248 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9249 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9250 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9251 fi ;;
9252 esac
9253 else
9254 ac_cv_lib_soname_GLESv2=
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 LIBS=$ac_check_soname_save_LIBS
9260 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9262 $as_echo "not found" >&6; }
9264 else
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9266 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9268 cat >>confdefs.h <<_ACEOF
9269 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9270 _ACEOF
9275 if test "x$exec_prefix" = xNONE
9276 then
9277 case $host_cpu in
9278 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9279 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9280 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9281 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9282 esac
9287 case $host_cpu in
9288 *i[3456789]86*)
9289 DLLFLAGS="$DLLFLAGS -fno-PIC"
9290 LDDLLFLAGS="-fno-PIC"
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9292 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9293 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_wine_try_cflags_saved=$CFLAGS
9297 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9300 int main(int argc, char **argv) { return 0; }
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9304 else
9305 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 CFLAGS=$ac_wine_try_cflags_saved
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9312 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9313 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9314 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9318 DLLFLAGS="$DLLFLAGS -fPIC"
9319 LDDLLFLAGS="-fPIC" ;;
9320 esac
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9322 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9323 if ${ac_cv_c_dll_gnuelf+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_wine_try_cflags_saved=$CFLAGS
9327 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 void myfunc() {}
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9334 else
9335 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 CFLAGS=$ac_wine_try_cflags_saved
9340 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9341 ac_cv_c_dll_gnuelf="yes"
9342 else
9343 ac_cv_c_dll_gnuelf="no"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9347 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9348 if test "$ac_cv_c_dll_gnuelf" = "yes"
9349 then
9350 LIBWINE_LDFLAGS="-shared"
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9352 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9353 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_wine_try_cflags_saved=$CFLAGS
9357 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9360 int main(int argc, char **argv) { return 0; }
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9364 else
9365 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 CFLAGS=$ac_wine_try_cflags_saved
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9372 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9373 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9374 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9375 else
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9377 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9378 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_wine_try_cflags_saved=$CFLAGS
9382 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9385 int main(int argc, char **argv) { return 0; }
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9389 else
9390 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 CFLAGS=$ac_wine_try_cflags_saved
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9397 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9398 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9399 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9403 echo '{ global: *; };' >conftest.map
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9405 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9406 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_wine_try_cflags_saved=$CFLAGS
9410 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9413 int main(int argc, char **argv) { return 0; }
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9417 else
9418 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 CFLAGS=$ac_wine_try_cflags_saved
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9425 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9426 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9427 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9429 rm -f conftest.map
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9432 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9433 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_wine_try_cflags_saved=$CFLAGS
9437 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int main(int argc, char **argv) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_cflags__Wl___export_dynamic=yes
9444 else
9445 ac_cv_cflags__Wl___export_dynamic=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 CFLAGS=$ac_wine_try_cflags_saved
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9452 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9453 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9454 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9456 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9458 case $host_cpu in
9459 *i[3456789]86* | x86_64 | *aarch64*)
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9461 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9462 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_wine_try_cflags_saved=$CFLAGS
9466 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9472 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9473 else
9474 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9478 CFLAGS=$ac_wine_try_cflags_saved
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9481 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9482 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9483 case $host_os in
9484 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9485 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9486 esac
9487 else
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9489 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9490 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 ac_wine_try_cflags_saved=$CFLAGS
9494 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9497 int main(int argc, char **argv) { return 0; }
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9501 else
9502 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 CFLAGS=$ac_wine_try_cflags_saved
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9509 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9510 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9511 case $host_os in
9512 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9513 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9514 esac
9516 # Extract the first word of "prelink", so it can be a program name with args.
9517 set dummy prelink; ac_word=$2
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 $as_echo_n "checking for $ac_word... " >&6; }
9520 if ${ac_cv_path_PRELINK+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 case $PRELINK in
9524 [\\/]* | ?:[\\/]*)
9525 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 for as_dir in /sbin /usr/sbin $PATH
9531 IFS=$as_save_IFS
9532 test -z "$as_dir" && as_dir=.
9533 for ac_exec_ext in '' $ac_executable_extensions; do
9534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9535 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9537 break 2
9539 done
9540 done
9541 IFS=$as_save_IFS
9543 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9545 esac
9547 PRELINK=$ac_cv_path_PRELINK
9548 if test -n "$PRELINK"; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9550 $as_echo "$PRELINK" >&6; }
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9553 $as_echo "no" >&6; }
9557 if test "x$PRELINK" = xfalse
9558 then
9559 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9563 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9564 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 int main(int argc, char **argv) { return 0; }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9575 else
9576 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9583 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9584 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9585 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9588 esac
9590 else
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9592 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9593 if ${ac_cv_c_dll_unixware+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_wine_try_cflags_saved=$CFLAGS
9597 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9600 void myfunc() {}
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9604 else
9605 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 CFLAGS=$ac_wine_try_cflags_saved
9610 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9611 ac_cv_c_dll_unixware="yes"
9612 else
9613 ac_cv_c_dll_unixware="no"
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9617 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9618 if test "$ac_cv_c_dll_unixware" = "yes"
9619 then
9620 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9623 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9625 LIBWINE_DEPENDS="wine.map"
9627 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9629 esac
9631 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9632 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9633 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9634 enable_winemac_drv=${enable_winemac_drv:-no}
9635 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9638 if test "x$with_mingw" != xno
9639 then
9640 case "x$with_mingw" in
9641 x|xyes) case "$host_cpu" in
9642 aarch64*)
9643 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9644 arm*)
9645 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9646 i[3456789]86*)
9647 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
9648 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9649 mingw32-gcc clang" ;;
9650 x86_64)
9651 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
9652 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9654 ac_prefix_list="" ;;
9655 esac
9656 for ac_prog in $ac_prefix_list
9658 # Extract the first word of "$ac_prog", so it can be a program name with args.
9659 set dummy $ac_prog; ac_word=$2
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9661 $as_echo_n "checking for $ac_word... " >&6; }
9662 if ${ac_cv_prog_CROSSCC+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 if test -n "$CROSSCC"; then
9666 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9667 else
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in $PATH
9671 IFS=$as_save_IFS
9672 test -z "$as_dir" && as_dir=.
9673 for ac_exec_ext in '' $ac_executable_extensions; do
9674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_prog_CROSSCC="$ac_prog"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9677 break 2
9679 done
9680 done
9681 IFS=$as_save_IFS
9685 CROSSCC=$ac_cv_prog_CROSSCC
9686 if test -n "$CROSSCC"; then
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9688 $as_echo "$CROSSCC" >&6; }
9689 else
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9691 $as_echo "no" >&6; }
9695 test -n "$CROSSCC" && break
9696 done
9697 test -n "$CROSSCC" || CROSSCC="false"
9699 *) CROSSCC=$with_mingw ;;
9700 esac
9701 if test "$CROSSCC" != "false"
9702 then
9703 ac_save_CC="$CC"
9704 saved_CFLAGS=$CFLAGS
9705 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9707 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9711 CC="$CROSSCC"
9712 CFLAGS=$CROSSCFLAGS
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9714 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9715 if ${wine_cv_crosscc+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9722 main ()
9726 return 0;
9728 _ACEOF
9729 if ac_fn_c_try_compile "$LINENO"; then :
9730 wine_cv_crosscc=yes
9731 else
9732 wine_cv_crosscc=no
9734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9737 $as_echo "$wine_cv_crosscc" >&6; }
9738 if test $wine_cv_crosscc = yes
9739 then
9740 set x $CROSSCC
9741 shift
9742 while test $# -ge 1
9744 case "$1" in
9745 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9746 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9747 esac
9748 shift
9749 done
9751 llvm_target=$CROSSTARGET
9752 llvm_cflags="-fuse-ld=lld"
9753 if test -z "$llvm_target"
9754 then
9755 case $host_cpu in
9756 *i[3456789]86*) llvm_target=i686-windows ;;
9757 *) llvm_target=$host_cpu-windows ;;
9758 esac
9760 case $llvm_target in
9761 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9762 esac
9763 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9765 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9766 if eval \${$as_ac_var+:} false; then :
9767 $as_echo_n "(cached) " >&6
9768 else
9769 ac_wine_try_cflags_saved=$CFLAGS
9770 ac_wine_try_cflags_saved_cc=$CC
9771 ac_wine_try_cflags_saved_exeext=$ac_exeext
9772 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9773 CC="$CROSSCC"
9774 ac_exeext=".exe"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9777 int __cdecl mainCRTStartup(void) { return 0; }
9778 _ACEOF
9779 if ac_fn_c_try_link "$LINENO"; then :
9780 eval "$as_ac_var=yes"
9781 else
9782 eval "$as_ac_var=no"
9784 rm -f core conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9786 CFLAGS=$ac_wine_try_cflags_saved
9787 CC=$ac_wine_try_cflags_saved_cc
9788 ac_exeext=$ac_wine_try_cflags_saved_exeext
9790 eval ac_res=\$$as_ac_var
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9792 $as_echo "$ac_res" >&6; }
9793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9794 CROSSTARGET=$llvm_target
9795 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9796 DELAYLOADFLAG="-Wl,-delayload,"
9798 CFLAGS="$CFLAGS $llvm_cflags"
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9802 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9803 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9804 $as_echo_n "(cached) " >&6
9805 else
9806 ac_wine_try_cflags_saved=$CFLAGS
9807 ac_wine_try_cflags_saved_cc=$CC
9808 ac_wine_try_cflags_saved_exeext=$ac_exeext
9809 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9810 CC="$CROSSCC"
9811 ac_exeext=".exe"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9814 int __cdecl mainCRTStartup(void) { return 0; }
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 ac_cv_crosscflags__fno_strict_aliasing=yes
9818 else
9819 ac_cv_crosscflags__fno_strict_aliasing=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9823 CFLAGS=$ac_wine_try_cflags_saved
9824 CC=$ac_wine_try_cflags_saved_cc
9825 ac_exeext=$ac_wine_try_cflags_saved_exeext
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9828 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9829 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9830 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9833 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9834 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_wine_try_cflags_saved=$CFLAGS
9838 ac_wine_try_cflags_saved_cc=$CC
9839 ac_wine_try_cflags_saved_exeext=$ac_exeext
9840 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9841 CC="$CROSSCC"
9842 ac_exeext=".exe"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9845 int __cdecl mainCRTStartup(void) { return 0; }
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9849 else
9850 ac_cv_crosscflags__Werror_unknown_warning_option=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9855 CC=$ac_wine_try_cflags_saved_cc
9856 ac_exeext=$ac_wine_try_cflags_saved_exeext
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9859 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9860 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9861 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9864 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9865 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_wine_try_cflags_saved=$CFLAGS
9869 ac_wine_try_cflags_saved_cc=$CC
9870 ac_wine_try_cflags_saved_exeext=$ac_exeext
9871 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9872 CC="$CROSSCC"
9873 ac_exeext=".exe"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int __cdecl mainCRTStartup(void) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9880 else
9881 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 CFLAGS=$ac_wine_try_cflags_saved
9886 CC=$ac_wine_try_cflags_saved_cc
9887 ac_exeext=$ac_wine_try_cflags_saved_exeext
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9890 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9891 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9892 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9896 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int __cdecl mainCRTStartup(void) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9911 else
9912 ac_cv_crosscflags__Wdeclaration_after_statement=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9921 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9922 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9927 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int __cdecl mainCRTStartup(void) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_crosscflags__Wempty_body=yes
9942 else
9943 ac_cv_crosscflags__Wempty_body=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9952 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9953 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9954 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9957 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9958 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_wine_try_cflags_saved=$CFLAGS
9962 ac_wine_try_cflags_saved_cc=$CC
9963 ac_wine_try_cflags_saved_exeext=$ac_exeext
9964 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9965 CC="$CROSSCC"
9966 ac_exeext=".exe"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 int __cdecl mainCRTStartup(void) { return 0; }
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_crosscflags__Wignored_qualifiers=yes
9973 else
9974 ac_cv_crosscflags__Wignored_qualifiers=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9979 CC=$ac_wine_try_cflags_saved_cc
9980 ac_exeext=$ac_wine_try_cflags_saved_exeext
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9983 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9984 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9988 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9989 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_wine_try_cflags_saved=$CFLAGS
9993 ac_wine_try_cflags_saved_cc=$CC
9994 ac_wine_try_cflags_saved_exeext=$ac_exeext
9995 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9996 CC="$CROSSCC"
9997 ac_exeext=".exe"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int __cdecl mainCRTStartup(void) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_crosscflags__Winit_self=yes
10004 else
10005 ac_cv_crosscflags__Winit_self=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 CFLAGS=$ac_wine_try_cflags_saved
10010 CC=$ac_wine_try_cflags_saved_cc
10011 ac_exeext=$ac_wine_try_cflags_saved_exeext
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10014 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10015 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10019 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10020 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_wine_try_cflags_saved=$CFLAGS
10024 ac_wine_try_cflags_saved_cc=$CC
10025 ac_wine_try_cflags_saved_exeext=$ac_exeext
10026 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10027 CC="$CROSSCC"
10028 ac_exeext=".exe"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 int __cdecl mainCRTStartup(void) { return 0; }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_crosscflags__Wpacked_not_aligned=yes
10035 else
10036 ac_cv_crosscflags__Wpacked_not_aligned=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 CFLAGS=$ac_wine_try_cflags_saved
10041 CC=$ac_wine_try_cflags_saved_cc
10042 ac_exeext=$ac_wine_try_cflags_saved_exeext
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10045 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10046 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10050 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10051 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 ac_wine_try_cflags_saved_cc=$CC
10056 ac_wine_try_cflags_saved_exeext=$ac_exeext
10057 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10058 CC="$CROSSCC"
10059 ac_exeext=".exe"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 int __cdecl mainCRTStartup(void) { return 0; }
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 ac_cv_crosscflags__Wpragma_pack=yes
10066 else
10067 ac_cv_crosscflags__Wpragma_pack=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 CFLAGS=$ac_wine_try_cflags_saved
10072 CC=$ac_wine_try_cflags_saved_cc
10073 ac_exeext=$ac_wine_try_cflags_saved_exeext
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10076 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10077 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10081 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10082 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_wine_try_cflags_saved=$CFLAGS
10086 ac_wine_try_cflags_saved_cc=$CC
10087 ac_wine_try_cflags_saved_exeext=$ac_exeext
10088 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10089 CC="$CROSSCC"
10090 ac_exeext=".exe"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 int __cdecl mainCRTStartup(void) { return 0; }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_crosscflags__Wshift_overflow_2=yes
10097 else
10098 ac_cv_crosscflags__Wshift_overflow_2=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 CFLAGS=$ac_wine_try_cflags_saved
10103 CC=$ac_wine_try_cflags_saved_cc
10104 ac_exeext=$ac_wine_try_cflags_saved_exeext
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10107 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10108 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10112 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10113 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 ac_wine_try_cflags_saved_cc=$CC
10118 ac_wine_try_cflags_saved_exeext=$ac_exeext
10119 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10120 CC="$CROSSCC"
10121 ac_exeext=".exe"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 int __cdecl mainCRTStartup(void) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_crosscflags__Wstrict_prototypes=yes
10128 else
10129 ac_cv_crosscflags__Wstrict_prototypes=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10134 CC=$ac_wine_try_cflags_saved_cc
10135 ac_exeext=$ac_wine_try_cflags_saved_exeext
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10138 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10139 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10143 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10144 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 ac_wine_try_cflags_saved_cc=$CC
10149 ac_wine_try_cflags_saved_exeext=$ac_exeext
10150 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10151 CC="$CROSSCC"
10152 ac_exeext=".exe"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int __cdecl mainCRTStartup(void) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_crosscflags__Wtype_limits=yes
10159 else
10160 ac_cv_crosscflags__Wtype_limits=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10165 CC=$ac_wine_try_cflags_saved_cc
10166 ac_exeext=$ac_wine_try_cflags_saved_exeext
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10169 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10170 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10171 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10174 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10175 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 ac_wine_try_cflags_saved_cc=$CC
10180 ac_wine_try_cflags_saved_exeext=$ac_exeext
10181 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10182 CC="$CROSSCC"
10183 ac_exeext=".exe"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int __cdecl mainCRTStartup(void) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10190 else
10191 ac_cv_crosscflags__Wunused_but_set_parameter=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10196 CC=$ac_wine_try_cflags_saved_cc
10197 ac_exeext=$ac_wine_try_cflags_saved_exeext
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10200 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10201 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10202 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10205 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10206 if ${ac_cv_crosscflags__Wvla+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 ac_wine_try_cflags_saved_cc=$CC
10211 ac_wine_try_cflags_saved_exeext=$ac_exeext
10212 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10213 CC="$CROSSCC"
10214 ac_exeext=".exe"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int __cdecl mainCRTStartup(void) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_crosscflags__Wvla=yes
10221 else
10222 ac_cv_crosscflags__Wvla=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10227 CC=$ac_wine_try_cflags_saved_cc
10228 ac_exeext=$ac_wine_try_cflags_saved_exeext
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10231 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10232 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10236 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10237 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 ac_wine_try_cflags_saved_cc=$CC
10242 ac_wine_try_cflags_saved_exeext=$ac_exeext
10243 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10244 CC="$CROSSCC"
10245 ac_exeext=".exe"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int __cdecl mainCRTStartup(void) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_crosscflags__Wwrite_strings=yes
10252 else
10253 ac_cv_crosscflags__Wwrite_strings=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10258 CC=$ac_wine_try_cflags_saved_cc
10259 ac_exeext=$ac_wine_try_cflags_saved_exeext
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10262 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10263 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10264 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10267 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10268 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_wine_try_cflags_saved=$CFLAGS
10272 ac_wine_try_cflags_saved_cc=$CC
10273 ac_wine_try_cflags_saved_exeext=$ac_exeext
10274 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10275 CC="$CROSSCC"
10276 ac_exeext=".exe"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10279 int __cdecl mainCRTStartup(void) { return 0; }
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 ac_cv_crosscflags__Wpointer_arith=yes
10283 else
10284 ac_cv_crosscflags__Wpointer_arith=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10289 CC=$ac_wine_try_cflags_saved_cc
10290 ac_exeext=$ac_wine_try_cflags_saved_exeext
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10293 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10294 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10295 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10298 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10299 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_wine_try_cflags_saved=$CFLAGS
10303 ac_wine_try_cflags_saved_cc=$CC
10304 ac_wine_try_cflags_saved_exeext=$ac_exeext
10305 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10306 CC="$CROSSCC"
10307 ac_exeext=".exe"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 int __cdecl mainCRTStartup(void) { return 0; }
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"; then :
10313 ac_cv_crosscflags__Wlogical_op=yes
10314 else
10315 ac_cv_crosscflags__Wlogical_op=no
10317 rm -f core conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 CFLAGS=$ac_wine_try_cflags_saved
10320 CC=$ac_wine_try_cflags_saved_cc
10321 ac_exeext=$ac_wine_try_cflags_saved_exeext
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10324 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10325 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10326 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10329 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10330 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 ac_wine_try_cflags_saved_cc=$CC
10335 ac_wine_try_cflags_saved_exeext=$ac_exeext
10336 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10337 CC="$CROSSCC"
10338 ac_exeext=".exe"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10341 int __cdecl mainCRTStartup(void) { return 0; }
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 ac_cv_crosscflags__Wabsolute_value=yes
10345 else
10346 ac_cv_crosscflags__Wabsolute_value=no
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 CFLAGS=$ac_wine_try_cflags_saved
10351 CC=$ac_wine_try_cflags_saved_cc
10352 ac_exeext=$ac_wine_try_cflags_saved_exeext
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10355 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10356 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10360 case $host_cpu in
10361 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10362 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10363 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10364 $as_echo_n "(cached) " >&6
10365 else
10366 ac_wine_try_cflags_saved=$CFLAGS
10367 ac_wine_try_cflags_saved_cc=$CC
10368 ac_wine_try_cflags_saved_exeext=$ac_exeext
10369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10370 CC="$CROSSCC"
10371 ac_exeext=".exe"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10374 int __cdecl mainCRTStartup(void) { return 0; }
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10378 else
10379 ac_cv_crosscflags__fno_omit_frame_pointer=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 CFLAGS=$ac_wine_try_cflags_saved
10384 CC=$ac_wine_try_cflags_saved_cc
10385 ac_exeext=$ac_wine_try_cflags_saved_exeext
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10388 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10389 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10390 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10391 fi ;;
10392 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10393 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10394 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_wine_try_cflags_saved=$CFLAGS
10398 ac_wine_try_cflags_saved_cc=$CC
10399 ac_wine_try_cflags_saved_exeext=$ac_exeext
10400 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10401 CC="$CROSSCC"
10402 ac_exeext=".exe"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 int __cdecl mainCRTStartup(void) { return 0; }
10406 _ACEOF
10407 if ac_fn_c_try_link "$LINENO"; then :
10408 ac_cv_crosscflags__Wno_format=yes
10409 else
10410 ac_cv_crosscflags__Wno_format=no
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 CFLAGS=$ac_wine_try_cflags_saved
10415 CC=$ac_wine_try_cflags_saved_cc
10416 ac_exeext=$ac_wine_try_cflags_saved_exeext
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10419 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10420 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10421 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10424 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10425 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10426 $as_echo_n "(cached) " >&6
10427 else
10428 ac_wine_try_cflags_saved=$CFLAGS
10429 ac_wine_try_cflags_saved_cc=$CC
10430 ac_wine_try_cflags_saved_exeext=$ac_exeext
10431 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10432 CC="$CROSSCC"
10433 ac_exeext=".exe"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 int __cdecl mainCRTStartup(void) { return 0; }
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 ac_cv_crosscflags__Wformat_overflow=yes
10440 else
10441 ac_cv_crosscflags__Wformat_overflow=no
10443 rm -f core conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 CFLAGS=$ac_wine_try_cflags_saved
10446 CC=$ac_wine_try_cflags_saved_cc
10447 ac_exeext=$ac_wine_try_cflags_saved_exeext
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10450 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10451 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10452 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10455 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10456 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10457 $as_echo_n "(cached) " >&6
10458 else
10459 ac_wine_try_cflags_saved=$CFLAGS
10460 ac_wine_try_cflags_saved_cc=$CC
10461 ac_wine_try_cflags_saved_exeext=$ac_exeext
10462 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10463 CC="$CROSSCC"
10464 ac_exeext=".exe"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10467 int __cdecl mainCRTStartup(void) { return 0; }
10468 _ACEOF
10469 if ac_fn_c_try_link "$LINENO"; then :
10470 ac_cv_crosscflags__Wnonnull=yes
10471 else
10472 ac_cv_crosscflags__Wnonnull=no
10474 rm -f core conftest.err conftest.$ac_objext \
10475 conftest$ac_exeext conftest.$ac_ext
10476 CFLAGS=$ac_wine_try_cflags_saved
10477 CC=$ac_wine_try_cflags_saved_cc
10478 ac_exeext=$ac_wine_try_cflags_saved_exeext
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10481 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10482 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10483 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10486 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10487 if ${ac_cv_crosscflags__mcx16+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_wine_try_cflags_saved=$CFLAGS
10491 ac_wine_try_cflags_saved_cc=$CC
10492 ac_wine_try_cflags_saved_exeext=$ac_exeext
10493 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10494 CC="$CROSSCC"
10495 ac_exeext=".exe"
10496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10497 /* end confdefs.h. */
10498 int __cdecl mainCRTStartup(void) { return 0; }
10499 _ACEOF
10500 if ac_fn_c_try_link "$LINENO"; then :
10501 ac_cv_crosscflags__mcx16=yes
10502 else
10503 ac_cv_crosscflags__mcx16=no
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 CFLAGS=$ac_wine_try_cflags_saved
10508 CC=$ac_wine_try_cflags_saved_cc
10509 ac_exeext=$ac_wine_try_cflags_saved_exeext
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10512 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10513 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10514 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10515 fi ;;
10516 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10517 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10518 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10519 $as_echo_n "(cached) " >&6
10520 else
10521 ac_wine_try_cflags_saved=$CFLAGS
10522 ac_wine_try_cflags_saved_cc=$CC
10523 ac_wine_try_cflags_saved_exeext=$ac_exeext
10524 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10525 CC="$CROSSCC"
10526 ac_exeext=".exe"
10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10529 int __cdecl mainCRTStartup(void) { return 0; }
10530 _ACEOF
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 ac_cv_crosscflags__Wno_format=yes
10533 else
10534 ac_cv_crosscflags__Wno_format=no
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 CFLAGS=$ac_wine_try_cflags_saved
10539 CC=$ac_wine_try_cflags_saved_cc
10540 ac_exeext=$ac_wine_try_cflags_saved_exeext
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10543 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10544 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10545 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10546 fi ;;
10547 esac
10550 if test -z "$CROSSDEBUG"
10551 then
10552 for ac_flag in $CROSSCFLAGS; do
10553 case $ac_flag in
10554 -gdwarf*) CROSSDEBUG=dwarf ;;
10555 -gcodeview) CROSSDEBUG=pdb ;;
10556 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10557 esac
10558 done
10560 case $CROSSDEBUG in
10561 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10562 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10563 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_wine_try_cflags_saved=$CFLAGS
10567 ac_wine_try_cflags_saved_cc=$CC
10568 ac_wine_try_cflags_saved_exeext=$ac_exeext
10569 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10570 CC="$CROSSCC"
10571 ac_exeext=".exe"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10574 int __cdecl mainCRTStartup(void) { return 0; }
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 ac_cv_crosscflags__gdwarf_2=yes
10578 else
10579 ac_cv_crosscflags__gdwarf_2=no
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 CFLAGS=$ac_wine_try_cflags_saved
10584 CC=$ac_wine_try_cflags_saved_cc
10585 ac_exeext=$ac_wine_try_cflags_saved_exeext
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10588 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10589 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10590 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10593 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10594 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10595 $as_echo_n "(cached) " >&6
10596 else
10597 ac_wine_try_cflags_saved=$CFLAGS
10598 ac_wine_try_cflags_saved_cc=$CC
10599 ac_wine_try_cflags_saved_exeext=$ac_exeext
10600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10601 CC="$CROSSCC"
10602 ac_exeext=".exe"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10605 int __cdecl mainCRTStartup(void) { return 0; }
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 ac_cv_crosscflags__gstrict_dwarf=yes
10609 else
10610 ac_cv_crosscflags__gstrict_dwarf=no
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 CFLAGS=$ac_wine_try_cflags_saved
10615 CC=$ac_wine_try_cflags_saved_cc
10616 ac_exeext=$ac_wine_try_cflags_saved_exeext
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10619 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10620 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10621 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10622 fi ;;
10623 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10624 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10625 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10626 $as_echo_n "(cached) " >&6
10627 else
10628 ac_wine_try_cflags_saved=$CFLAGS
10629 ac_wine_try_cflags_saved_cc=$CC
10630 ac_wine_try_cflags_saved_exeext=$ac_exeext
10631 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10632 CC="$CROSSCC"
10633 ac_exeext=".exe"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 int __cdecl mainCRTStartup(void) { return 0; }
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 ac_cv_crosscflags__gcodeview=yes
10640 else
10641 ac_cv_crosscflags__gcodeview=no
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 CFLAGS=$ac_wine_try_cflags_saved
10646 CC=$ac_wine_try_cflags_saved_cc
10647 ac_exeext=$ac_wine_try_cflags_saved_exeext
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10650 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10651 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10652 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10653 fi ;;
10654 esac
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10657 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10658 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_wine_try_cflags_saved=$CFLAGS
10662 ac_wine_try_cflags_saved_cc=$CC
10663 ac_wine_try_cflags_saved_exeext=$ac_exeext
10664 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10665 CC="$CROSSCC"
10666 ac_exeext=".exe"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 int __cdecl mainCRTStartup(void) { return 0; }
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"; then :
10672 ac_cv_crosscflags__fexcess_precision_standard=yes
10673 else
10674 ac_cv_crosscflags__fexcess_precision_standard=no
10676 rm -f core conftest.err conftest.$ac_objext \
10677 conftest$ac_exeext conftest.$ac_ext
10678 CFLAGS=$ac_wine_try_cflags_saved
10679 CC=$ac_wine_try_cflags_saved_cc
10680 ac_exeext=$ac_wine_try_cflags_saved_exeext
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10683 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10684 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10685 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10689 if test "x$enable_werror" = "xyes"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10692 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10693 if ${ac_cv_crosscflags__Werror+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_wine_try_cflags_saved=$CFLAGS
10697 ac_wine_try_cflags_saved_cc=$CC
10698 ac_wine_try_cflags_saved_exeext=$ac_exeext
10699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10700 CC="$CROSSCC"
10701 ac_exeext=".exe"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int __cdecl mainCRTStartup(void) { return 0; }
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 ac_cv_crosscflags__Werror=yes
10708 else
10709 ac_cv_crosscflags__Werror=no
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 CFLAGS=$ac_wine_try_cflags_saved
10714 CC=$ac_wine_try_cflags_saved_cc
10715 ac_exeext=$ac_wine_try_cflags_saved_exeext
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10718 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10719 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10720 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10723 if test "x$enable_build_id" = "xyes"
10724 then
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10726 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10727 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_wine_try_cflags_saved=$CFLAGS
10731 ac_wine_try_cflags_saved_cc=$CC
10732 ac_wine_try_cflags_saved_exeext=$ac_exeext
10733 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10734 CC="$CROSSCC"
10735 ac_exeext=".exe"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10738 int __cdecl mainCRTStartup(void) { return 0; }
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 ac_cv_crosscflags__Wl___build_id=yes
10742 else
10743 ac_cv_crosscflags__Wl___build_id=no
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 CFLAGS=$ac_wine_try_cflags_saved
10748 CC=$ac_wine_try_cflags_saved_cc
10749 ac_exeext=$ac_wine_try_cflags_saved_exeext
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10752 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10753 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10754 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10755 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10759 CFLAGS=$saved_CFLAGS
10760 CC="$ac_save_CC"
10763 if test "x$CROSSTARGET" = "x"; then :
10764 case "x$with_mingw" in
10765 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10766 xno) ;;
10767 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10768 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10769 esac
10774 if test "$ac_cv_header_pthread_h" = "yes"
10775 then
10776 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10777 if test "x$ac_cv_func_pthread_create" = xyes; then :
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10781 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10782 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lpthread $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char pthread_create ();
10798 main ()
10800 return pthread_create ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_pthread_pthread_create=yes
10807 else
10808 ac_cv_lib_pthread_pthread_create=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10815 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10816 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10817 PTHREAD_LIBS="-lpthread"
10824 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10825 case "x$with_pthread" in
10826 xno) ;;
10827 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10828 Wine cannot support threads without libpthread.
10829 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10830 esac
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10836 $as_echo_n "checking for X... " >&6; }
10839 # Check whether --with-x was given.
10840 if test "${with_x+set}" = set; then :
10841 withval=$with_x;
10844 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10845 if test "x$with_x" = xno; then
10846 # The user explicitly disabled X.
10847 have_x=disabled
10848 else
10849 case $x_includes,$x_libraries in #(
10850 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10851 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 # One or both of the vars are not set, and there is no cached value.
10855 ac_x_includes=no ac_x_libraries=no
10856 rm -f -r conftest.dir
10857 if mkdir conftest.dir; then
10858 cd conftest.dir
10859 cat >Imakefile <<'_ACEOF'
10860 incroot:
10861 @echo incroot='${INCROOT}'
10862 usrlibdir:
10863 @echo usrlibdir='${USRLIBDIR}'
10864 libdir:
10865 @echo libdir='${LIBDIR}'
10866 _ACEOF
10867 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10869 for ac_var in incroot usrlibdir libdir; do
10870 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10871 done
10872 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10873 for ac_extension in a so sl dylib la dll; do
10874 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10875 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10876 ac_im_usrlibdir=$ac_im_libdir; break
10878 done
10879 # Screen out bogus values from the imake configuration. They are
10880 # bogus both because they are the default anyway, and because
10881 # using them would break gcc on systems where it needs fixed includes.
10882 case $ac_im_incroot in
10883 /usr/include) ac_x_includes= ;;
10884 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10885 esac
10886 case $ac_im_usrlibdir in
10887 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10888 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10889 esac
10891 cd ..
10892 rm -f -r conftest.dir
10895 # Standard set of common directories for X headers.
10896 # Check X11 before X11Rn because it is often a symlink to the current release.
10897 ac_x_header_dirs='
10898 /usr/X11/include
10899 /usr/X11R7/include
10900 /usr/X11R6/include
10901 /usr/X11R5/include
10902 /usr/X11R4/include
10904 /usr/include/X11
10905 /usr/include/X11R7
10906 /usr/include/X11R6
10907 /usr/include/X11R5
10908 /usr/include/X11R4
10910 /usr/local/X11/include
10911 /usr/local/X11R7/include
10912 /usr/local/X11R6/include
10913 /usr/local/X11R5/include
10914 /usr/local/X11R4/include
10916 /usr/local/include/X11
10917 /usr/local/include/X11R7
10918 /usr/local/include/X11R6
10919 /usr/local/include/X11R5
10920 /usr/local/include/X11R4
10922 /usr/X386/include
10923 /usr/x386/include
10924 /usr/XFree86/include/X11
10926 /usr/include
10927 /usr/local/include
10928 /usr/unsupported/include
10929 /usr/athena/include
10930 /usr/local/x11r5/include
10931 /usr/lpp/Xamples/include
10933 /usr/openwin/include
10934 /usr/openwin/share/include'
10936 if test "$ac_x_includes" = no; then
10937 # Guess where to find include files, by looking for Xlib.h.
10938 # First, try using that file with no special directory specified.
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 #include <X11/Xlib.h>
10942 _ACEOF
10943 if ac_fn_c_try_cpp "$LINENO"; then :
10944 # We can compile using X headers with no special include directory.
10945 ac_x_includes=
10946 else
10947 for ac_dir in $ac_x_header_dirs; do
10948 if test -r "$ac_dir/X11/Xlib.h"; then
10949 ac_x_includes=$ac_dir
10950 break
10952 done
10954 rm -f conftest.err conftest.i conftest.$ac_ext
10955 fi # $ac_x_includes = no
10957 if test "$ac_x_libraries" = no; then
10958 # Check for the libraries.
10959 # See if we find them without any special options.
10960 # Don't add to $LIBS permanently.
10961 ac_save_LIBS=$LIBS
10962 LIBS="-lX11 $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 #include <X11/Xlib.h>
10967 main ()
10969 XrmInitialize ()
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 LIBS=$ac_save_LIBS
10976 # We can link X programs with no special library path.
10977 ac_x_libraries=
10978 else
10979 LIBS=$ac_save_LIBS
10980 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10982 # Don't even attempt the hair of trying to link an X program!
10983 for ac_extension in a so sl dylib la dll; do
10984 if test -r "$ac_dir/libX11.$ac_extension"; then
10985 ac_x_libraries=$ac_dir
10986 break 2
10988 done
10989 done
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 fi # $ac_x_libraries = no
10995 case $ac_x_includes,$ac_x_libraries in #(
10996 no,* | *,no | *\'*)
10997 # Didn't find X, or a directory has "'" in its name.
10998 ac_cv_have_x="have_x=no";; #(
11000 # Record where we found X for the cache.
11001 ac_cv_have_x="have_x=yes\
11002 ac_x_includes='$ac_x_includes'\
11003 ac_x_libraries='$ac_x_libraries'"
11004 esac
11006 ;; #(
11007 *) have_x=yes;;
11008 esac
11009 eval "$ac_cv_have_x"
11010 fi # $with_x != no
11012 if test "$have_x" != yes; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11014 $as_echo "$have_x" >&6; }
11015 no_x=yes
11016 else
11017 # If each of the values was on the command line, it overrides each guess.
11018 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11019 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11020 # Update the cache value to reflect the command line values.
11021 ac_cv_have_x="have_x=yes\
11022 ac_x_includes='$x_includes'\
11023 ac_x_libraries='$x_libraries'"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11025 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11028 if test "$no_x" = yes; then
11029 # Not all programs may use this symbol, but it does not hurt to define it.
11031 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11033 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11034 else
11035 if test -n "$x_includes"; then
11036 X_CFLAGS="$X_CFLAGS -I$x_includes"
11039 # It would also be nice to do this for all -L options, not just this one.
11040 if test -n "$x_libraries"; then
11041 X_LIBS="$X_LIBS -L$x_libraries"
11042 # For Solaris; some versions of Sun CC require a space after -R and
11043 # others require no space. Words are not sufficient . . . .
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11045 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11046 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11047 ac_xsave_c_werror_flag=$ac_c_werror_flag
11048 ac_c_werror_flag=yes
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11053 main ()
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11062 $as_echo "no" >&6; }
11063 X_LIBS="$X_LIBS -R$x_libraries"
11064 else
11065 LIBS="$ac_xsave_LIBS -R $x_libraries"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11079 $as_echo "yes" >&6; }
11080 X_LIBS="$X_LIBS -R $x_libraries"
11081 else
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11083 $as_echo "neither works" >&6; }
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 ac_c_werror_flag=$ac_xsave_c_werror_flag
11091 LIBS=$ac_xsave_LIBS
11094 # Check for system-dependent libraries X programs must link with.
11095 # Do this before checking for the system-independent R6 libraries
11096 # (-lICE), since we may need -lsocket or whatever for X linking.
11098 if test "$ISC" = yes; then
11099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11100 else
11101 # Martyn Johnson says this is needed for Ultrix, if the X
11102 # libraries were built with DECnet support. And Karl Berry says
11103 # the Alpha needs dnet_stub (dnet does not exist).
11104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char XOpenDisplay ();
11116 main ()
11118 return XOpenDisplay ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11125 else
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11127 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11128 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11129 $as_echo_n "(cached) " >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldnet $LIBS"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11139 #ifdef __cplusplus
11140 extern "C"
11141 #endif
11142 char dnet_ntoa ();
11144 main ()
11146 return dnet_ntoa ();
11148 return 0;
11150 _ACEOF
11151 if ac_fn_c_try_link "$LINENO"; then :
11152 ac_cv_lib_dnet_dnet_ntoa=yes
11153 else
11154 ac_cv_lib_dnet_dnet_ntoa=no
11156 rm -f core conftest.err conftest.$ac_objext \
11157 conftest$ac_exeext conftest.$ac_ext
11158 LIBS=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11161 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11162 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11168 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11169 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-ldnet_stub $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char dnet_ntoa ();
11185 main ()
11187 return dnet_ntoa ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11194 else
11195 ac_cv_lib_dnet_stub_dnet_ntoa=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11202 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11203 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS="$ac_xsave_LIBS"
11213 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11214 # to get the SysV transport functions.
11215 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11216 # needs -lnsl.
11217 # The nsl library prevents programs from opening the X display
11218 # on Irix 5.2, according to T.E. Dickey.
11219 # The functions gethostbyname, getservbyname, and inet_addr are
11220 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11221 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11222 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11226 if test $ac_cv_func_gethostbyname = no; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11228 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11229 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11230 $as_echo_n "(cached) " >&6
11231 else
11232 ac_check_lib_save_LIBS=$LIBS
11233 LIBS="-lnsl $LIBS"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 #endif
11243 char gethostbyname ();
11245 main ()
11247 return gethostbyname ();
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"; then :
11253 ac_cv_lib_nsl_gethostbyname=yes
11254 else
11255 ac_cv_lib_nsl_gethostbyname=no
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_lib_save_LIBS
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11262 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11263 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11267 if test $ac_cv_lib_nsl_gethostbyname = no; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11269 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11270 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lbsd $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char gethostbyname ();
11286 main ()
11288 return gethostbyname ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_bsd_gethostbyname=yes
11295 else
11296 ac_cv_lib_bsd_gethostbyname=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11303 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11304 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11311 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11312 # socket/setsockopt and other routines are undefined under SCO ODT
11313 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11314 # on later versions), says Simon Leinen: it contains gethostby*
11315 # variants that don't use the name server (or something). -lsocket
11316 # must be given before -lnsl if both are needed. We assume that
11317 # if connect needs -lnsl, so does gethostbyname.
11318 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11319 if test "x$ac_cv_func_connect" = xyes; then :
11323 if test $ac_cv_func_connect = no; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11325 $as_echo_n "checking for connect in -lsocket... " >&6; }
11326 if ${ac_cv_lib_socket_connect+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char connect ();
11342 main ()
11344 return connect ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_socket_connect=yes
11351 else
11352 ac_cv_lib_socket_connect=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11359 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11360 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11361 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11366 # Guillermo Gomez says -lposix is necessary on A/UX.
11367 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11368 if test "x$ac_cv_func_remove" = xyes; then :
11372 if test $ac_cv_func_remove = no; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11374 $as_echo_n "checking for remove in -lposix... " >&6; }
11375 if ${ac_cv_lib_posix_remove+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_lib_save_LIBS=$LIBS
11379 LIBS="-lposix $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char remove ();
11391 main ()
11393 return remove ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 ac_cv_lib_posix_remove=yes
11400 else
11401 ac_cv_lib_posix_remove=no
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11408 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11409 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11415 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11416 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11417 if test "x$ac_cv_func_shmat" = xyes; then :
11421 if test $ac_cv_func_shmat = no; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11423 $as_echo_n "checking for shmat in -lipc... " >&6; }
11424 if ${ac_cv_lib_ipc_shmat+:} false; then :
11425 $as_echo_n "(cached) " >&6
11426 else
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-lipc $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char shmat ();
11440 main ()
11442 return shmat ();
11444 return 0;
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 ac_cv_lib_ipc_shmat=yes
11449 else
11450 ac_cv_lib_ipc_shmat=no
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11457 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11458 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11465 # Check for libraries that X11R6 Xt/Xaw programs need.
11466 ac_save_LDFLAGS=$LDFLAGS
11467 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11468 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11469 # check for ICE first), but we must link in the order -lSM -lICE or
11470 # we get undefined symbols. So assume we have SM if we have ICE.
11471 # These have to be linked with before -lX11, unlike the other
11472 # libraries we check for below, so use a different variable.
11473 # John Interrante, Karl Berry
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11475 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11476 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_lib_save_LIBS=$LIBS
11480 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char IceConnectionNumber ();
11492 main ()
11494 return IceConnectionNumber ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 ac_cv_lib_ICE_IceConnectionNumber=yes
11501 else
11502 ac_cv_lib_ICE_IceConnectionNumber=no
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_lib_save_LIBS
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11509 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11510 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11511 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11514 LDFLAGS=$ac_save_LDFLAGS
11519 if test "$have_x" = "yes"
11520 then
11521 ac_save_CPPFLAGS="$CPPFLAGS"
11522 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11525 $as_echo_n "checking for -lX11... " >&6; }
11526 if ${ac_cv_lib_soname_X11+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_soname_save_LIBS=$LIBS
11530 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char XCreateWindow ();
11542 main ()
11544 return XCreateWindow ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 case "$LIBEXT" in
11551 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11552 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'` ;;
11553 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11554 if ${ac_cv_lib_soname_X11:+false} :; then :
11555 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11556 fi ;;
11557 esac
11558 else
11559 ac_cv_lib_soname_X11=
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_X11:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11571 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11575 _ACEOF
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11580 $as_echo_n "checking for -lXext... " >&6; }
11581 if ${ac_cv_lib_soname_Xext+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_soname_save_LIBS=$LIBS
11585 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char XextCreateExtension ();
11597 main ()
11599 return XextCreateExtension ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 case "$LIBEXT" in
11606 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11607 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'` ;;
11608 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11609 if ${ac_cv_lib_soname_Xext:+false} :; then :
11610 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11611 fi ;;
11612 esac
11613 else
11614 ac_cv_lib_soname_Xext=
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_Xext:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11626 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11630 _ACEOF
11632 X_LIBS="$X_LIBS -lXext"
11634 X_LIBS="$X_LIBS -lX11"
11636 for ac_header in X11/Xlib.h \
11637 X11/XKBlib.h \
11638 X11/Xutil.h \
11639 X11/Xcursor/Xcursor.h \
11640 X11/extensions/shape.h \
11641 X11/extensions/XInput.h \
11642 X11/extensions/XInput2.h \
11643 X11/extensions/XShm.h \
11644 X11/extensions/Xcomposite.h \
11645 X11/extensions/Xfixes.h \
11646 X11/extensions/Xinerama.h \
11647 X11/extensions/Xrandr.h \
11648 X11/extensions/Xrender.h \
11649 X11/extensions/xf86vmode.h \
11650 X11/extensions/xf86vmproto.h
11651 do :
11652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11654 # include <X11/Xlib.h>
11655 #endif
11656 #ifdef HAVE_X11_XUTIL_H
11657 # include <X11/Xutil.h>
11658 #endif
11660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11661 cat >>confdefs.h <<_ACEOF
11662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11663 _ACEOF
11667 done
11670 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11673 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11674 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_lib_save_LIBS=$LIBS
11678 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char XkbQueryExtension ();
11690 main ()
11692 return XkbQueryExtension ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 ac_cv_lib_X11_XkbQueryExtension=yes
11699 else
11700 ac_cv_lib_X11_XkbQueryExtension=no
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_lib_save_LIBS
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11707 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11708 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11710 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11716 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11719 $as_echo_n "checking for -lXcursor... " >&6; }
11720 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char XcursorImageLoadCursor ();
11736 main ()
11738 return XcursorImageLoadCursor ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11749 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11752 else
11753 ac_cv_lib_soname_Xcursor=
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_soname_save_LIBS
11759 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11761 $as_echo "not found" >&6; }
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11765 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11767 cat >>confdefs.h <<_ACEOF
11768 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11769 _ACEOF
11774 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11775 case "x$with_xcursor" in
11776 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11779 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11785 then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11787 $as_echo_n "checking for -lXi... " >&6; }
11788 if ${ac_cv_lib_soname_Xi+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_soname_save_LIBS=$LIBS
11792 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char XOpenDevice ();
11804 main ()
11806 return XOpenDevice ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 case "$LIBEXT" in
11813 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11814 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'` ;;
11815 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11816 if ${ac_cv_lib_soname_Xi:+false} :; then :
11817 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11818 fi ;;
11819 esac
11820 else
11821 ac_cv_lib_soname_Xi=
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_soname_save_LIBS
11827 if ${ac_cv_lib_soname_Xi:+false} :; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11829 $as_echo "not found" >&6; }
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11833 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11835 cat >>confdefs.h <<_ACEOF
11836 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11837 _ACEOF
11842 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11843 case "x$with_xinput" in
11844 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11845 xno) ;;
11846 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11847 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11848 esac
11852 if test "x$ac_cv_lib_soname_Xi" != x
11853 then
11854 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11855 case "x$with_xinput2" in
11856 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11857 xno) ;;
11858 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11859 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11860 esac
11865 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11868 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11869 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char XShmQueryExtension ();
11885 main ()
11887 return XShmQueryExtension ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_Xext_XShmQueryExtension=yes
11894 else
11895 ac_cv_lib_Xext_XShmQueryExtension=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11902 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11903 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11905 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11910 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11911 case "x$with_xshm" in
11912 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11913 xno) ;;
11914 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11915 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11916 esac
11920 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11921 then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11923 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11924 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char XShapeQueryExtension ();
11940 main ()
11942 return XShapeQueryExtension ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_Xext_XShapeQueryExtension=yes
11949 else
11950 ac_cv_lib_Xext_XShapeQueryExtension=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11957 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11958 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11960 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11965 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11966 case "x$with_xshape" in
11967 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11968 xno) ;;
11969 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11970 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11971 esac
11975 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11976 then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11978 $as_echo_n "checking for -lXxf86vm... " >&6; }
11979 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11980 $as_echo_n "(cached) " >&6
11981 else
11982 ac_check_soname_save_LIBS=$LIBS
11983 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char XF86VidModeQueryExtension ();
11995 main ()
11997 return XF86VidModeQueryExtension ();
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_link "$LINENO"; then :
12003 case "$LIBEXT" in
12004 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12005 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'` ;;
12006 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12007 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12008 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12009 fi ;;
12010 esac
12011 else
12012 ac_cv_lib_soname_Xxf86vm=
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_soname_save_LIBS
12018 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12020 $as_echo "not found" >&6; }
12022 else
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12024 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12026 cat >>confdefs.h <<_ACEOF
12027 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12028 _ACEOF
12033 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12034 case "x$with_xxf86vm" in
12035 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12038 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12039 esac
12043 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12044 then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12046 $as_echo_n "checking for -lXrender... " >&6; }
12047 if ${ac_cv_lib_soname_Xrender+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 ac_check_soname_save_LIBS=$LIBS
12051 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12058 #ifdef __cplusplus
12059 extern "C"
12060 #endif
12061 char XRenderQueryExtension ();
12063 main ()
12065 return XRenderQueryExtension ();
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_link "$LINENO"; then :
12071 case "$LIBEXT" in
12072 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12073 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'` ;;
12074 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12075 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12076 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12077 fi ;;
12078 esac
12079 else
12080 ac_cv_lib_soname_Xrender=
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_soname_save_LIBS
12086 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12088 $as_echo "not found" >&6; }
12090 else
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12092 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12094 cat >>confdefs.h <<_ACEOF
12095 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12096 _ACEOF
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12099 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12100 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char XRenderSetPictureTransform ();
12116 main ()
12118 return XRenderSetPictureTransform ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12125 else
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12133 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12134 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12136 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12141 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12142 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 ac_check_lib_save_LIBS=$LIBS
12146 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 char XRenderCreateLinearGradient ();
12158 main ()
12160 return XRenderCreateLinearGradient ();
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"; then :
12166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12167 else
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12170 rm -f core conftest.err conftest.$ac_objext \
12171 conftest$ac_exeext conftest.$ac_ext
12172 LIBS=$ac_check_lib_save_LIBS
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12175 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12176 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12178 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12185 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12186 case "x$with_xrender" in
12187 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12188 xno) ;;
12189 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12190 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12191 esac
12195 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12196 then
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #include <X11/Xlib.h>
12200 #include <X11/extensions/Xrandr.h>
12202 main ()
12204 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_compile "$LINENO"; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12211 $as_echo_n "checking for -lXrandr... " >&6; }
12212 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_soname_save_LIBS=$LIBS
12216 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char XRRQueryExtension ();
12228 main ()
12230 return XRRQueryExtension ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 case "$LIBEXT" in
12237 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 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'` ;;
12239 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12241 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12242 fi ;;
12243 esac
12244 else
12245 ac_cv_lib_soname_Xrandr=
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_soname_save_LIBS
12251 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12253 $as_echo "not found" >&6; }
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12257 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12259 cat >>confdefs.h <<_ACEOF
12260 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12261 _ACEOF
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 #include <X11/Xlib.h>
12266 #include <X11/extensions/Xrandr.h>
12268 main ()
12270 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"; then :
12277 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12279 else
12280 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12287 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12288 case "x$with_xrandr" in
12289 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12290 xno) ;;
12291 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12292 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12293 esac
12297 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12298 then
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 #include <X11/Xlib.h>
12302 #include <X11/extensions/Xfixes.h>
12304 main ()
12306 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"; then :
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12313 $as_echo_n "checking for -lXfixes... " >&6; }
12314 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12315 $as_echo_n "(cached) " >&6
12316 else
12317 ac_check_soname_save_LIBS=$LIBS
12318 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 #ifdef __cplusplus
12326 extern "C"
12327 #endif
12328 char XFixesQueryVersion ();
12330 main ()
12332 return XFixesQueryVersion ();
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 case "$LIBEXT" in
12339 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12340 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'` ;;
12341 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12342 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12343 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12344 fi ;;
12345 esac
12346 else
12347 ac_cv_lib_soname_Xfixes=
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12359 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12361 cat >>confdefs.h <<_ACEOF
12362 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12363 _ACEOF
12368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12370 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12371 case "x$with_xfixes" in
12372 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12373 xno) ;;
12374 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12375 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12376 esac
12380 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12381 then
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384 #include <X11/Xlib.h>
12385 #include <X11/extensions/Xinerama.h>
12387 main ()
12389 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12391 return 0;
12393 _ACEOF
12394 if ac_fn_c_try_compile "$LINENO"; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12396 $as_echo_n "checking for -lXinerama... " >&6; }
12397 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_soname_save_LIBS=$LIBS
12401 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char XineramaQueryScreens ();
12413 main ()
12415 return XineramaQueryScreens ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 case "$LIBEXT" in
12422 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12426 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 fi ;;
12428 esac
12429 else
12430 ac_cv_lib_soname_Xinerama=
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_soname_save_LIBS
12436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12438 $as_echo "not found" >&6; }
12440 else
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12442 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12444 cat >>confdefs.h <<_ACEOF
12445 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12446 _ACEOF
12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12453 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12454 case "x$with_xinerama" in
12455 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12456 xno) ;;
12457 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12458 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12459 esac
12463 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12464 then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12466 $as_echo_n "checking for -lXcomposite... " >&6; }
12467 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_soname_save_LIBS=$LIBS
12471 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char XCompositeRedirectWindow ();
12483 main ()
12485 return XCompositeRedirectWindow ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 case "$LIBEXT" in
12492 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12493 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'` ;;
12494 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12495 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12496 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12497 fi ;;
12498 esac
12499 else
12500 ac_cv_lib_soname_Xcomposite=
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_soname_save_LIBS
12506 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12508 $as_echo "not found" >&6; }
12510 else
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12512 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12514 cat >>confdefs.h <<_ACEOF
12515 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12516 _ACEOF
12521 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12522 case "x$with_xcomposite" in
12523 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12524 xno) ;;
12525 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12526 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12527 esac
12531 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12532 #include <X11/Xlib.h>
12533 #endif
12535 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12537 cat >>confdefs.h <<_ACEOF
12538 #define HAVE_XICCALLBACK_CALLBACK 1
12539 _ACEOF
12543 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12544 #include <X11/Xlib.h>
12545 #endif
12547 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12549 cat >>confdefs.h <<_ACEOF
12550 #define HAVE_XEVENT_XCOOKIE 1
12551 _ACEOF
12558 opengl_msg=""
12559 if test "x$with_opengl" != "xno"
12560 then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12562 $as_echo_n "checking for -lGL... " >&6; }
12563 if ${ac_cv_lib_soname_GL+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_check_soname_save_LIBS=$LIBS
12567 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12574 #ifdef __cplusplus
12575 extern "C"
12576 #endif
12577 char glXCreateContext ();
12579 main ()
12581 return glXCreateContext ();
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 case "$LIBEXT" in
12588 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12589 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'` ;;
12590 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12591 if ${ac_cv_lib_soname_GL:+false} :; then :
12592 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12593 fi ;;
12594 esac
12595 else
12596 ac_cv_lib_soname_GL=
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_soname_save_LIBS
12602 if ${ac_cv_lib_soname_GL:+false} :; then :
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12604 $as_echo "not found" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12606 $as_echo_n "checking for -lGL... " >&6; }
12607 if ${ac_cv_lib_soname_GL+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 ac_check_soname_save_LIBS=$LIBS
12611 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"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 char glXCreateContext ();
12623 main ()
12625 return glXCreateContext ();
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_link "$LINENO"; then :
12631 case "$LIBEXT" in
12632 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12633 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'` ;;
12634 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12635 if ${ac_cv_lib_soname_GL:+false} :; then :
12636 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12637 fi ;;
12638 esac
12639 else
12640 ac_cv_lib_soname_GL=
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_soname_save_LIBS
12646 if ${ac_cv_lib_soname_GL:+false} :; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12648 $as_echo "not found" >&6; }
12649 if test -f /usr/X11R6/lib/libGL.a
12650 then
12651 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12653 else
12654 opengl_msg="No OpenGL library found on this system."
12656 else
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12660 cat >>confdefs.h <<_ACEOF
12661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12662 _ACEOF
12664 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"
12666 else
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12668 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12670 cat >>confdefs.h <<_ACEOF
12671 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12672 _ACEOF
12674 OPENGL_LIBS="-lGL"
12676 if test "x$with_osmesa" != "xno"
12677 then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12679 $as_echo_n "checking for -lOSMesa... " >&6; }
12680 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_soname_save_LIBS=$LIBS
12684 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char OSMesaGetProcAddress ();
12696 main ()
12698 return OSMesaGetProcAddress ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 case "$LIBEXT" in
12705 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12706 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'` ;;
12707 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12708 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12709 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12710 fi ;;
12711 esac
12712 else
12713 ac_cv_lib_soname_OSMesa=
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS=$ac_check_soname_save_LIBS
12719 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12721 $as_echo "not found" >&6; }
12723 else
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12725 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12727 cat >>confdefs.h <<_ACEOF
12728 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12729 _ACEOF
12733 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12734 case "x$with_osmesa" in
12735 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12738 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12739 esac
12744 if test -n "$opengl_msg"; then :
12745 case "x$with_opengl" in
12746 x) as_fn_append wine_warnings "|$opengl_msg
12747 OpenGL and Direct3D won't be supported." ;;
12748 xno) ;;
12749 *) as_fn_error $? "$opengl_msg
12750 OpenGL and Direct3D won't be supported.
12751 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12752 esac
12756 CPPFLAGS="$ac_save_CPPFLAGS"
12757 else
12758 X_CFLAGS=""
12759 X_LIBS=""
12762 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12763 then
12764 if test "x$X_LIBS" = "x"; then :
12765 case "x$with_x" in
12766 xno) ;;
12767 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12768 without X support, which probably isn't what you want. You will need
12769 to install ${notice_platform}development packages of Xlib at the very least.
12770 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12771 esac
12772 enable_winex11_drv=${enable_winex11_drv:-no}
12774 else
12775 if test "x$X_LIBS" = "x"; then :
12776 case "x$with_x" in
12777 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12778 xno) ;;
12779 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12780 This is an error since --with-x was requested." "$LINENO" 5 ;;
12781 esac
12782 enable_winex11_drv=${enable_winex11_drv:-no}
12786 if test "$ac_cv_header_CL_cl_h" = "yes"
12787 then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12789 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12790 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12791 $as_echo_n "(cached) " >&6
12792 else
12793 ac_check_lib_save_LIBS=$LIBS
12794 LIBS="-lOpenCL $LIBS"
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12801 #ifdef __cplusplus
12802 extern "C"
12803 #endif
12804 char clGetPlatformInfo ();
12806 main ()
12808 return clGetPlatformInfo ();
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12815 else
12816 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12823 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12824 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12825 OPENCL_LIBS="-lOpenCL"
12830 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12831 case "x$with_opencl" in
12832 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12833 xno) ;;
12834 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12835 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12836 esac
12837 enable_opencl=${enable_opencl:-no}
12840 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12841 then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12843 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12844 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lpcap $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char pcap_create ();
12860 main ()
12862 return pcap_create ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_pcap_pcap_create=yes
12869 else
12870 ac_cv_lib_pcap_pcap_create=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12877 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12878 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12879 PCAP_LIBS="-lpcap"
12884 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12885 case "x$with_pcap" in
12886 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12887 xno) ;;
12888 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12889 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12890 esac
12891 enable_wpcap=${enable_wpcap:-no}
12895 if test "x$with_xml" != "xno"
12896 then
12897 if ${XML2_CFLAGS:+false} :; then :
12898 if ${PKG_CONFIG+:} false; then :
12899 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12902 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12903 if ${XML2_LIBS:+false} :; then :
12904 if ${PKG_CONFIG+:} false; then :
12905 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12908 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12909 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12910 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12911 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12912 ac_save_CPPFLAGS=$CPPFLAGS
12913 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12914 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12915 do :
12916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12917 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12918 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12919 cat >>confdefs.h <<_ACEOF
12920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12921 _ACEOF
12925 done
12927 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"
12928 then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12930 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12931 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lxml2 $XML2_LIBS $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char xmlParseMemory ();
12947 main ()
12949 return xmlParseMemory ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_xml2_xmlParseMemory=yes
12956 else
12957 ac_cv_lib_xml2_xmlParseMemory=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12964 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12965 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12967 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12969 else
12970 XML2_LIBS=""
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12974 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12975 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12976 $as_echo_n "(cached) " >&6
12977 else
12978 ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lxml2 $XML2_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char xmlReadMemory ();
12991 main ()
12993 return xmlReadMemory ();
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 ac_cv_lib_xml2_xmlReadMemory=yes
13000 else
13001 ac_cv_lib_xml2_xmlReadMemory=no
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13008 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13009 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13011 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13016 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13017 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lxml2 $XML2_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char xmlNewDocPI ();
13033 main ()
13035 return xmlNewDocPI ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_xml2_xmlNewDocPI=yes
13042 else
13043 ac_cv_lib_xml2_xmlNewDocPI=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13050 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13051 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13053 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13058 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13059 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lxml2 $XML2_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char xmlSchemaSetParserStructuredErrors ();
13075 main ()
13077 return xmlSchemaSetParserStructuredErrors ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13084 else
13085 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13092 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13093 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13095 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13100 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13101 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-lxml2 $XML2_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xmlSchemaSetValidStructuredErrors ();
13117 main ()
13119 return xmlSchemaSetValidStructuredErrors ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13126 else
13127 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13134 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13135 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13137 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13142 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13143 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_lib_save_LIBS=$LIBS
13147 LIBS="-lxml2 $XML2_LIBS $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char xmlFirstElementChild ();
13159 main ()
13161 return xmlFirstElementChild ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_xml2_xmlFirstElementChild=yes
13168 else
13169 ac_cv_lib_xml2_xmlFirstElementChild=no
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13176 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13177 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13179 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13183 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13185 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13187 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13191 else
13192 XML2_CFLAGS=""
13193 XML2_LIBS=""
13195 CPPFLAGS=$ac_save_CPPFLAGS
13198 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13199 case "x$with_xml" in
13200 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13201 xno) ;;
13202 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13203 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13204 esac
13208 if test "x$with_xslt" != "xno"
13209 then
13210 if ${XSLT_CFLAGS:+false} :; then :
13211 if ${PKG_CONFIG+:} false; then :
13212 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13215 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13216 if ${XSLT_LIBS:+false} :; then :
13217 if ${PKG_CONFIG+:} false; then :
13218 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13221 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13222 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13225 ac_save_CPPFLAGS=$CPPFLAGS
13226 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13227 for ac_header in libxslt/pattern.h libxslt/transform.h
13228 do :
13229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13231 # include <libxslt/pattern.h>
13232 #endif
13234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13235 cat >>confdefs.h <<_ACEOF
13236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13237 _ACEOF
13241 done
13243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13246 $as_echo_n "checking for -lxslt... " >&6; }
13247 if ${ac_cv_lib_soname_xslt+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_soname_save_LIBS=$LIBS
13251 LIBS="-lxslt $XSLT_LIBS $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char xsltCompilePattern ();
13263 main ()
13265 return xsltCompilePattern ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 case "$LIBEXT" in
13272 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13273 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'` ;;
13274 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13275 if ${ac_cv_lib_soname_xslt:+false} :; then :
13276 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13277 fi ;;
13278 esac
13279 else
13280 ac_cv_lib_soname_xslt=
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_soname_save_LIBS
13286 if ${ac_cv_lib_soname_xslt:+false} :; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13288 $as_echo "not found" >&6; }
13290 else
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13292 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13296 _ACEOF
13300 else
13301 XSLT_CFLAGS=""
13303 CPPFLAGS=$ac_save_CPPFLAGS
13306 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13307 case "x$with_xslt" in
13308 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13311 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13312 esac
13316 if test "x$with_inotify" != "xno"
13317 then
13318 if ${INOTIFY_CFLAGS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13324 if ${INOTIFY_LIBS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13331 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13333 ac_save_CPPFLAGS=$CPPFLAGS
13334 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13335 for ac_header in sys/inotify.h
13336 do :
13337 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13338 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13339 cat >>confdefs.h <<_ACEOF
13340 #define HAVE_SYS_INOTIFY_H 1
13341 _ACEOF
13345 done
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13348 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13349 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13350 $as_echo_n "(cached) " >&6
13351 else
13352 ac_check_lib_save_LIBS=$LIBS
13353 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 /* Override any GCC internal prototype to avoid an error.
13358 Use char because int might match the return type of a GCC
13359 builtin and then its argument prototype would still apply. */
13360 #ifdef __cplusplus
13361 extern "C"
13362 #endif
13363 char inotify_add_watch ();
13365 main ()
13367 return inotify_add_watch ();
13369 return 0;
13371 _ACEOF
13372 if ac_fn_c_try_link "$LINENO"; then :
13373 ac_cv_lib_inotify_inotify_add_watch=yes
13374 else
13375 ac_cv_lib_inotify_inotify_add_watch=no
13377 rm -f core conftest.err conftest.$ac_objext \
13378 conftest$ac_exeext conftest.$ac_ext
13379 LIBS=$ac_check_lib_save_LIBS
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13382 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13383 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13385 else
13386 INOTIFY_LIBS=""
13389 CPPFLAGS=$ac_save_CPPFLAGS
13392 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13393 case "x$with_inotify" in
13394 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13395 xno) ;;
13396 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13397 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13398 esac
13402 if test "x$with_dbus" != "xno"
13403 then
13404 if ${DBUS_CFLAGS:+false} :; then :
13405 if ${PKG_CONFIG+:} false; then :
13406 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13410 if ${DBUS_LIBS:+false} :; then :
13411 if ${PKG_CONFIG+:} false; then :
13412 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13417 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13418 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13419 ac_save_CPPFLAGS=$CPPFLAGS
13420 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13421 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13422 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13424 $as_echo_n "checking for -ldbus-1... " >&6; }
13425 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13426 $as_echo_n "(cached) " >&6
13427 else
13428 ac_check_soname_save_LIBS=$LIBS
13429 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13433 /* Override any GCC internal prototype to avoid an error.
13434 Use char because int might match the return type of a GCC
13435 builtin and then its argument prototype would still apply. */
13436 #ifdef __cplusplus
13437 extern "C"
13438 #endif
13439 char dbus_connection_close ();
13441 main ()
13443 return dbus_connection_close ();
13445 return 0;
13447 _ACEOF
13448 if ac_fn_c_try_link "$LINENO"; then :
13449 case "$LIBEXT" in
13450 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13451 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'` ;;
13452 *) 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'`
13453 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13454 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13455 fi ;;
13456 esac
13457 else
13458 ac_cv_lib_soname_dbus_1=
13460 rm -f core conftest.err conftest.$ac_objext \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LIBS=$ac_check_soname_save_LIBS
13464 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13466 $as_echo "not found" >&6; }
13467 DBUS_CFLAGS=""
13468 else
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13470 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13472 cat >>confdefs.h <<_ACEOF
13473 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13474 _ACEOF
13478 else
13479 DBUS_CFLAGS=""
13483 CPPFLAGS=$ac_save_CPPFLAGS
13486 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13487 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13488 case "x$with_dbus" in
13489 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13492 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13493 esac
13497 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13498 then
13499 if ${HAL_CFLAGS:+false} :; then :
13500 if ${PKG_CONFIG+:} false; then :
13501 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13505 if ${HAL_LIBS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13511 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13512 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13514 ac_save_CPPFLAGS=$CPPFLAGS
13515 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13516 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13517 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13519 $as_echo_n "checking for -lhal... " >&6; }
13520 if ${ac_cv_lib_soname_hal+:} false; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 ac_check_soname_save_LIBS=$LIBS
13524 LIBS="-lhal $HAL_LIBS $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13531 #ifdef __cplusplus
13532 extern "C"
13533 #endif
13534 char libhal_ctx_new ();
13536 main ()
13538 return libhal_ctx_new ();
13540 return 0;
13542 _ACEOF
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 case "$LIBEXT" in
13545 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13548 if ${ac_cv_lib_soname_hal:+false} :; then :
13549 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13550 fi ;;
13551 esac
13552 else
13553 ac_cv_lib_soname_hal=
13555 rm -f core conftest.err conftest.$ac_objext \
13556 conftest$ac_exeext conftest.$ac_ext
13557 LIBS=$ac_check_soname_save_LIBS
13559 if ${ac_cv_lib_soname_hal:+false} :; then :
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13561 $as_echo "not found" >&6; }
13562 HAL_CFLAGS=""
13563 else
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13565 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13567 cat >>confdefs.h <<_ACEOF
13568 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13569 _ACEOF
13573 else
13574 HAL_CFLAGS=""
13578 CPPFLAGS=$ac_save_CPPFLAGS
13580 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13581 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13582 case "x$with_hal" in
13583 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13584 xno) ;;
13585 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13586 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13587 esac
13592 if test "x$with_gnutls" != "xno"
13593 then
13594 if ${GNUTLS_CFLAGS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13600 if ${GNUTLS_LIBS:+false} :; then :
13601 if ${PKG_CONFIG+:} false; then :
13602 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13606 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13607 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13608 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13609 ac_save_CPPFLAGS=$CPPFLAGS
13610 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13611 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13612 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 #include <gnutls/gnutls.h>
13616 #include <gnutls/crypto.h>
13618 main ()
13620 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13622 return 0;
13624 _ACEOF
13625 if ac_fn_c_try_compile "$LINENO"; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13627 $as_echo_n "checking for -lgnutls... " >&6; }
13628 if ${ac_cv_lib_soname_gnutls+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630 else
13631 ac_check_soname_save_LIBS=$LIBS
13632 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13636 /* Override any GCC internal prototype to avoid an error.
13637 Use char because int might match the return type of a GCC
13638 builtin and then its argument prototype would still apply. */
13639 #ifdef __cplusplus
13640 extern "C"
13641 #endif
13642 char gnutls_global_init ();
13644 main ()
13646 return gnutls_global_init ();
13648 return 0;
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 case "$LIBEXT" in
13653 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13654 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'` ;;
13655 *) 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'`
13656 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13657 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'`
13658 fi ;;
13659 esac
13660 else
13661 ac_cv_lib_soname_gnutls=
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 GNUTLS_CFLAGS=""
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13673 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13677 _ACEOF
13681 ac_wine_check_funcs_save_LIBS="$LIBS"
13682 LIBS="$LIBS $GNUTLS_LIBS"
13683 for ac_func in gnutls_cipher_init
13684 do :
13685 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13686 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13687 cat >>confdefs.h <<_ACEOF
13688 #define HAVE_GNUTLS_CIPHER_INIT 1
13689 _ACEOF
13691 else
13692 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13694 done
13696 LIBS="$ac_wine_check_funcs_save_LIBS"
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 else
13700 GNUTLS_CFLAGS=""
13704 CPPFLAGS=$ac_save_CPPFLAGS
13707 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13708 case "x$with_gnutls" in
13709 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13710 xno) ;;
13711 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13712 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13713 esac
13717 if test "x$with_sane" != "xno"
13718 then
13719 if ${SANE_CFLAGS:+false} :; then :
13720 if ${PKG_CONFIG+:} false; then :
13721 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13724 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13725 if ${SANE_LIBS:+false} :; then :
13726 if ${PKG_CONFIG+:} false; then :
13727 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13730 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13732 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13733 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13734 ac_save_CPPFLAGS=$CPPFLAGS
13735 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13736 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13737 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13739 $as_echo_n "checking for -lsane... " >&6; }
13740 if ${ac_cv_lib_soname_sane+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_check_soname_save_LIBS=$LIBS
13744 LIBS="-lsane $SANE_LIBS $LIBS"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13748 /* Override any GCC internal prototype to avoid an error.
13749 Use char because int might match the return type of a GCC
13750 builtin and then its argument prototype would still apply. */
13751 #ifdef __cplusplus
13752 extern "C"
13753 #endif
13754 char sane_init ();
13756 main ()
13758 return sane_init ();
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 case "$LIBEXT" in
13765 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13766 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'` ;;
13767 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13768 if ${ac_cv_lib_soname_sane:+false} :; then :
13769 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13770 fi ;;
13771 esac
13772 else
13773 ac_cv_lib_soname_sane=
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS=$ac_check_soname_save_LIBS
13779 if ${ac_cv_lib_soname_sane:+false} :; then :
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13781 $as_echo "not found" >&6; }
13782 SANE_CFLAGS=""
13783 else
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13785 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13787 cat >>confdefs.h <<_ACEOF
13788 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13789 _ACEOF
13793 else
13794 SANE_CFLAGS=""
13798 CPPFLAGS=$ac_save_CPPFLAGS
13801 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13802 case "x$with_sane" in
13803 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13804 xno) ;;
13805 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13806 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13807 esac
13811 if test "x$with_usb" != "xno"
13812 then
13813 if ${USB_CFLAGS:+false} :; then :
13814 if ${PKG_CONFIG+:} false; then :
13815 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13819 if ${USB_LIBS:+false} :; then :
13820 if ${PKG_CONFIG+:} false; then :
13821 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13825 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13826 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13828 ac_save_CPPFLAGS=$CPPFLAGS
13829 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13830 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13831 if test "x$ac_cv_header_libusb_h" = xyes; then :
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13833 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13834 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 #ifdef __cplusplus
13846 extern "C"
13847 #endif
13848 char libusb_interrupt_event_handler ();
13850 main ()
13852 return libusb_interrupt_event_handler ();
13854 return 0;
13856 _ACEOF
13857 if ac_fn_c_try_link "$LINENO"; then :
13858 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13859 else
13860 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13862 rm -f core conftest.err conftest.$ac_objext \
13863 conftest$ac_exeext conftest.$ac_ext
13864 LIBS=$ac_check_lib_save_LIBS
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13867 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13868 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13870 else
13871 USB_LIBS=""
13874 else
13875 USB_LIBS=""
13879 CPPFLAGS=$ac_save_CPPFLAGS
13882 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13883 case "x$with_usb" in
13884 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13885 xno) ;;
13886 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13887 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13888 esac
13889 enable_wineusb_sys=${enable_wineusb_sys:-no}
13892 if test "x$with_v4l2" != "xno"
13893 then
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13895 $as_echo_n "checking for -lv4l2... " >&6; }
13896 if ${ac_cv_lib_soname_v4l2+:} false; then :
13897 $as_echo_n "(cached) " >&6
13898 else
13899 ac_check_soname_save_LIBS=$LIBS
13900 LIBS="-lv4l2 $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13907 #ifdef __cplusplus
13908 extern "C"
13909 #endif
13910 char v4l2_open ();
13912 main ()
13914 return v4l2_open ();
13916 return 0;
13918 _ACEOF
13919 if ac_fn_c_try_link "$LINENO"; then :
13920 case "$LIBEXT" in
13921 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13922 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'` ;;
13923 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13924 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13925 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13926 fi ;;
13927 esac
13928 else
13929 ac_cv_lib_soname_v4l2=
13931 rm -f core conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 LIBS=$ac_check_soname_save_LIBS
13935 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13937 $as_echo "not found" >&6; }
13939 else
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13941 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13943 cat >>confdefs.h <<_ACEOF
13944 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13945 _ACEOF
13950 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13951 case "x$with_v4l2" in
13952 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13953 xno) ;;
13954 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13955 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13956 esac
13960 if test "x$with_gphoto" != "xno"
13961 then
13962 if ${GPHOTO2_CFLAGS:+false} :; then :
13963 if ${PKG_CONFIG+:} false; then :
13964 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13967 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13968 if ${GPHOTO2_LIBS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13973 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13974 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13975 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13977 ac_save_CPPFLAGS=$CPPFLAGS
13978 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13979 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13980 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13982 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13983 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13984 $as_echo_n "(cached) " >&6
13985 else
13986 ac_check_lib_save_LIBS=$LIBS
13987 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13991 /* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13994 #ifdef __cplusplus
13995 extern "C"
13996 #endif
13997 char gp_camera_new ();
13999 main ()
14001 return gp_camera_new ();
14003 return 0;
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"; then :
14007 ac_cv_lib_gphoto2_gp_camera_new=yes
14008 else
14009 ac_cv_lib_gphoto2_gp_camera_new=no
14011 rm -f core conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14016 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14017 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14019 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14021 else
14022 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14025 else
14026 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14030 CPPFLAGS=$ac_save_CPPFLAGS
14032 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14033 if ${PKG_CONFIG+:} false; then :
14034 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14037 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14038 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14039 if ${PKG_CONFIG+:} false; then :
14040 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14043 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14044 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14045 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14047 ac_save_CPPFLAGS=$CPPFLAGS
14048 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14049 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14050 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14052 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14053 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_check_lib_save_LIBS=$LIBS
14057 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14061 /* Override any GCC internal prototype to avoid an error.
14062 Use char because int might match the return type of a GCC
14063 builtin and then its argument prototype would still apply. */
14064 #ifdef __cplusplus
14065 extern "C"
14066 #endif
14067 char gp_port_info_list_new ();
14069 main ()
14071 return gp_port_info_list_new ();
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14078 else
14079 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_lib_save_LIBS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14086 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14087 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14089 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14091 else
14092 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14095 else
14096 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14100 CPPFLAGS=$ac_save_CPPFLAGS
14103 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14104 case "x$with_gphoto" in
14105 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14106 xno) ;;
14107 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14108 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14109 esac
14112 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14113 case "x$with_gphoto" in
14114 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14115 xno) ;;
14116 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14117 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14118 esac
14123 if test "$ac_cv_header_resolv_h" = "yes"
14124 then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14126 $as_echo_n "checking for resolver library... " >&6; }
14127 if ${ac_cv_have_resolv+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_save_LIBS="$LIBS"
14131 for lib in '' -lresolv
14133 LIBS="$lib $ac_save_LIBS"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 #ifdef HAVE_NETINET_IN_H
14137 #include <netinet/in.h>
14138 #endif
14139 #include <resolv.h>
14141 main ()
14143 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_have_resolv=${lib:-"none required"}
14150 else
14151 ac_cv_have_resolv="not found"
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 test "x$ac_cv_have_resolv" = "xnot found" || break
14156 done
14157 LIBS="$ac_save_LIBS"
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14160 $as_echo "$ac_cv_have_resolv" >&6; }
14162 case "$ac_cv_have_resolv" in
14163 "not found") ;;
14164 "none required")
14166 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14169 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14171 RESOLV_LIBS=$ac_cv_have_resolv
14173 esac
14175 if test "x$ac_cv_have_resolv" != "xnot found"
14176 then
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14178 $as_echo_n "checking for res_getservers... " >&6; }
14179 if ${ac_cv_have_res_getservers+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 ac_save_LIBS="$LIBS"
14183 LIBS="$RESOLV_LIBS $LIBS"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 #include <resolv.h>
14188 main ()
14190 res_getservers(NULL, NULL, 0);
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"; then :
14196 ac_cv_have_res_getservers=yes
14197 else
14198 ac_cv_have_res_getservers=no
14200 rm -f core conftest.err conftest.$ac_objext \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS="$ac_save_LIBS"
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14205 $as_echo "$ac_cv_have_res_getservers" >&6; }
14206 if test "$ac_cv_have_res_getservers" = "yes"
14207 then
14209 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14215 if test "x$with_cms" != "xno"
14216 then
14217 if ${LCMS2_CFLAGS:+false} :; then :
14218 if ${PKG_CONFIG+:} false; then :
14219 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14223 if ${LCMS2_LIBS:+false} :; then :
14224 if ${PKG_CONFIG+:} false; then :
14225 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14229 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14230 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14231 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14232 ac_save_CPPFLAGS=$CPPFLAGS
14233 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14234 for ac_header in lcms2.h
14235 do :
14236 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14237 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14238 cat >>confdefs.h <<_ACEOF
14239 #define HAVE_LCMS2_H 1
14240 _ACEOF
14244 done
14246 if test "$ac_cv_header_lcms2_h" = "yes"
14247 then
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14249 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14250 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 ac_check_lib_save_LIBS=$LIBS
14254 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply. */
14261 #ifdef __cplusplus
14262 extern "C"
14263 #endif
14264 char cmsOpenProfileFromFile ();
14266 main ()
14268 return cmsOpenProfileFromFile ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14275 else
14276 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 LIBS=$ac_check_lib_save_LIBS
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14283 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14284 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14286 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14288 else
14289 LCMS2_LIBS=""
14292 else
14293 LCMS2_CFLAGS=""
14294 LCMS2_LIBS=""
14296 CPPFLAGS=$ac_save_CPPFLAGS
14299 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14300 case "x$with_cms" in
14301 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14302 xno) ;;
14303 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14304 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14305 esac
14309 if test "x$with_freetype" != "xno"
14310 then
14311 if ${FREETYPE_CFLAGS:+false} :; then :
14312 if ${PKG_CONFIG+:} false; then :
14313 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14316 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14317 if ${FREETYPE_LIBS:+false} :; then :
14318 if ${PKG_CONFIG+:} false; then :
14319 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14322 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14323 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14324 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14325 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14326 ac_save_CPPFLAGS=$CPPFLAGS
14327 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14328 for ac_header in ft2build.h
14329 do :
14330 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14331 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14332 cat >>confdefs.h <<_ACEOF
14333 #define HAVE_FT2BUILD_H 1
14334 _ACEOF
14338 done
14340 if test "$ac_cv_header_ft2build_h" = "yes"
14341 then
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14343 $as_echo_n "checking for -lfreetype... " >&6; }
14344 if ${ac_cv_lib_soname_freetype+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 ac_check_soname_save_LIBS=$LIBS
14348 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14352 /* Override any GCC internal prototype to avoid an error.
14353 Use char because int might match the return type of a GCC
14354 builtin and then its argument prototype would still apply. */
14355 #ifdef __cplusplus
14356 extern "C"
14357 #endif
14358 char FT_Init_FreeType ();
14360 main ()
14362 return FT_Init_FreeType ();
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 case "$LIBEXT" in
14369 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14370 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'` ;;
14371 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14372 if ${ac_cv_lib_soname_freetype:+false} :; then :
14373 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14374 fi ;;
14375 esac
14376 else
14377 ac_cv_lib_soname_freetype=
14379 rm -f core conftest.err conftest.$ac_objext \
14380 conftest$ac_exeext conftest.$ac_ext
14381 LIBS=$ac_check_soname_save_LIBS
14383 if ${ac_cv_lib_soname_freetype:+false} :; then :
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14385 $as_echo "not found" >&6; }
14386 FREETYPE_LIBS=""
14387 else
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14389 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14391 cat >>confdefs.h <<_ACEOF
14392 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14393 _ACEOF
14396 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14398 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14399 #include FT_MODULE_H
14401 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14403 cat >>confdefs.h <<_ACEOF
14404 #define HAVE_FT_TRUETYPEENGINETYPE 1
14405 _ACEOF
14411 else
14412 FREETYPE_CFLAGS=""
14413 FREETYPE_LIBS=""
14415 CPPFLAGS=$ac_save_CPPFLAGS
14418 if test "x$ac_cv_lib_soname_freetype" = x; then :
14419 case "x$with_freetype" in
14420 xno) ;;
14421 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14422 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14423 esac
14424 enable_fonts=${enable_fonts:-no}
14427 ac_wine_check_funcs_save_LIBS="$LIBS"
14428 LIBS="$LIBS $PTHREAD_LIBS"
14429 for ac_func in \
14430 pthread_getthreadid_np
14431 do :
14432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14435 cat >>confdefs.h <<_ACEOF
14436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14437 _ACEOF
14440 done
14442 LIBS="$ac_wine_check_funcs_save_LIBS"
14444 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14445 then
14446 if test "$ac_cv_header_gettext_po_h" = "yes"
14447 then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14449 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14450 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14451 $as_echo_n "(cached) " >&6
14452 else
14453 ac_check_lib_save_LIBS=$LIBS
14454 LIBS="-lgettextpo $LIBS"
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14461 #ifdef __cplusplus
14462 extern "C"
14463 #endif
14464 char po_message_msgctxt ();
14466 main ()
14468 return po_message_msgctxt ();
14470 return 0;
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14475 else
14476 ac_cv_lib_gettextpo_po_message_msgctxt=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_lib_save_LIBS
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14483 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14484 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14486 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14488 GETTEXTPO_LIBS="-lgettextpo"
14493 if test "x$GETTEXTPO_LIBS" = "x"; then :
14494 case "x$with_gettextpo" in
14495 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14496 xno) ;;
14497 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14498 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14499 esac
14502 if test "$srcdir" != .; then :
14503 case "x$with_gettextpo" in
14504 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14505 xno) ;;
14506 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14507 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14508 esac
14513 if test "x$with_pulse" != "xno";
14514 then
14515 if ${PULSE_CFLAGS:+false} :; then :
14516 if ${PKG_CONFIG+:} false; then :
14517 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14521 if ${PULSE_LIBS:+false} :; then :
14522 if ${PKG_CONFIG+:} false; then :
14523 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14528 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14529 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14530 ac_save_CPPFLAGS=$CPPFLAGS
14531 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14532 for ac_header in pulse/pulseaudio.h
14533 do :
14534 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14535 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14536 cat >>confdefs.h <<_ACEOF
14537 #define HAVE_PULSE_PULSEAUDIO_H 1
14538 _ACEOF
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14540 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14541 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_check_lib_save_LIBS=$LIBS
14545 LIBS="-lpulse $PULSE_LIBS $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 #ifdef __cplusplus
14553 extern "C"
14554 #endif
14555 char pa_stream_is_corked ();
14557 main ()
14559 return pa_stream_is_corked ();
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_lib_pulse_pa_stream_is_corked=yes
14566 else
14567 ac_cv_lib_pulse_pa_stream_is_corked=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_lib_save_LIBS
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14574 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14575 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14577 else
14578 PULSE_LIBS=""
14581 else
14582 PULSE_LIBS=""
14585 done
14587 CPPFLAGS=$ac_save_CPPFLAGS
14590 if test -z "$PULSE_LIBS"; then :
14591 case "x$with_pulse" in
14592 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14593 xno) ;;
14594 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14595 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14596 esac
14597 enable_winepulse_drv=${enable_winepulse_drv:-no}
14600 if test "x$with_gstreamer" != "xno"
14601 then
14602 if ${GSTREAMER_CFLAGS:+false} :; then :
14603 if ${PKG_CONFIG+:} false; then :
14604 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14608 if ${GSTREAMER_LIBS:+false} :; then :
14609 if ${PKG_CONFIG+:} false; then :
14610 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14615 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14617 ac_save_CPPFLAGS=$CPPFLAGS
14618 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14619 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14620 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14622 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 #include <gst/gst.h>
14627 main ()
14629 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14631 return 0;
14633 _ACEOF
14634 if ac_fn_c_try_compile "$LINENO"; then :
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14636 $as_echo "yes" >&6; }
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14638 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14639 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 ac_check_lib_save_LIBS=$LIBS
14643 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 #ifdef __cplusplus
14651 extern "C"
14652 #endif
14653 char gst_pad_new ();
14655 main ()
14657 return gst_pad_new ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"; then :
14663 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14664 else
14665 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14667 rm -f core conftest.err conftest.$ac_objext \
14668 conftest$ac_exeext conftest.$ac_ext
14669 LIBS=$ac_check_lib_save_LIBS
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14672 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14673 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14677 else
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14679 $as_echo "no" >&6; }
14680 ac_glib2_broken=yes
14681 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 CPPFLAGS=$ac_save_CPPFLAGS
14690 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14691 then
14692 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14693 case "x$with_gstreamer" in
14694 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14695 xno) ;;
14696 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14697 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14698 esac
14702 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14704 ALSA_LIBS=""
14706 if test "x$with_alsa" != "xno"
14707 then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14709 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14710 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 ac_check_lib_save_LIBS=$LIBS
14714 LIBS="-lasound $LIBS"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14718 /* Override any GCC internal prototype to avoid an error.
14719 Use char because int might match the return type of a GCC
14720 builtin and then its argument prototype would still apply. */
14721 #ifdef __cplusplus
14722 extern "C"
14723 #endif
14724 char snd_pcm_hw_params_get_access_mask ();
14726 main ()
14728 return snd_pcm_hw_params_get_access_mask ();
14730 return 0;
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14735 else
14736 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 LIBS=$ac_check_lib_save_LIBS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14743 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14744 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14746 /* end confdefs.h. */
14747 #include <alsa/asoundlib.h>
14749 main ()
14751 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14753 return 0;
14755 _ACEOF
14756 if ac_fn_c_try_compile "$LINENO"; then :
14757 ALSA_LIBS="-lasound"
14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14763 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14765 if test "x$with_oss" != xno
14766 then
14767 ac_save_CPPFLAGS="$CPPFLAGS"
14768 if test -f /etc/oss.conf
14769 then
14770 . /etc/oss.conf
14772 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14773 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14774 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14775 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14776 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14778 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14780 cat >>confdefs.h <<_ACEOF
14781 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14782 _ACEOF
14784 OSS4_CFLAGS="$ac_oss_incl"
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14787 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14788 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lossaudio $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 char _oss_ioctl ();
14804 main ()
14806 return _oss_ioctl ();
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_lib_ossaudio__oss_ioctl=yes
14813 else
14814 ac_cv_lib_ossaudio__oss_ioctl=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 LIBS=$ac_check_lib_save_LIBS
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14821 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14822 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14823 OSS4_LIBS="-lossaudio"
14832 CPPFLAGS="$ac_save_CPPFLAGS"
14834 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14835 case "x$with_oss" in
14836 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14837 xno) ;;
14838 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14839 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14840 esac
14841 enable_wineoss_drv=${enable_wineoss_drv:-no}
14844 if test "x$with_udev" != "xno"
14845 then
14846 if ${UDEV_CFLAGS:+false} :; then :
14847 if ${PKG_CONFIG+:} false; then :
14848 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14852 if ${UDEV_LIBS:+false} :; then :
14853 if ${PKG_CONFIG+:} false; then :
14854 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14858 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14859 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14860 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14861 ac_save_CPPFLAGS=$CPPFLAGS
14862 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14863 for ac_header in libudev.h
14864 do :
14865 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14866 if test "x$ac_cv_header_libudev_h" = xyes; then :
14867 cat >>confdefs.h <<_ACEOF
14868 #define HAVE_LIBUDEV_H 1
14869 _ACEOF
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14871 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14872 if ${ac_cv_lib_udev_udev_new+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_check_lib_save_LIBS=$LIBS
14876 LIBS="-ludev $UDEV_LIBS $LIBS"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 #ifdef __cplusplus
14884 extern "C"
14885 #endif
14886 char udev_new ();
14888 main ()
14890 return udev_new ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_lib_udev_udev_new=yes
14897 else
14898 ac_cv_lib_udev_udev_new=no
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14902 LIBS=$ac_check_lib_save_LIBS
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14905 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14906 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14908 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14910 else
14911 UDEV_LIBS=""
14914 else
14915 UDEV_LIBS=""
14918 done
14920 CPPFLAGS=$ac_save_CPPFLAGS
14923 if test "x$UDEV_LIBS" = "x"; then :
14924 case "x$with_udev" in
14925 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14926 xno) ;;
14927 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14928 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14929 esac
14933 if test "x$with_unwind" != xno
14934 then
14935 if ${UNWIND_CFLAGS:+false} :; then :
14936 if ${PKG_CONFIG+:} false; then :
14937 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14941 if ${UNWIND_LIBS:+false} :; then :
14942 if ${PKG_CONFIG+:} false; then :
14943 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14947 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14948 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14949 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14950 ac_save_CPPFLAGS=$CPPFLAGS
14951 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14953 $as_echo_n "checking for unw_step... " >&6; }
14954 if ${wine_cv_have_unw_step+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14959 #define UNW_LOCAL_ONLY
14960 #include <libunwind.h>
14962 main ()
14964 unw_cursor_t cursor; unw_step( &cursor );
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 wine_cv_have_unw_step="yes"
14971 else
14972 wine_cv_have_unw_step="no"
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14978 $as_echo "$wine_cv_have_unw_step" >&6; }
14979 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14980 then
14981 save_libs=$LIBS
14982 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14983 LIBS="$UNWIND_LIBS $LIBS"
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14985 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14986 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14987 $as_echo_n "(cached) " >&6
14988 else
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 #define UNW_LOCAL_ONLY
14992 #include <libunwind.h>
14994 main ()
14996 unw_cursor_t cursor; unw_step( &cursor );
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"; then :
15002 wine_cv_have_libunwind_unw_step="yes"
15003 else
15004 wine_cv_have_libunwind_unw_step="no"
15006 rm -f core conftest.err conftest.$ac_objext \
15007 conftest$ac_exeext conftest.$ac_ext
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15010 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15011 LIBS=$save_libs
15013 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15014 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15015 then
15017 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15020 CPPFLAGS=$ac_save_CPPFLAGS
15023 case $host in
15024 aarch64*|*-darwin*)
15025 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15026 case "x$with_unwind" in
15027 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15028 xno) ;;
15029 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15030 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15031 esac
15033 fi ;;
15034 esac
15036 if test "x$with_sdl" != "xno"
15037 then
15038 if ${SDL2_CFLAGS:+false} :; then :
15039 if ${PKG_CONFIG+:} false; then :
15040 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15044 if ${SDL2_LIBS:+false} :; then :
15045 if ${PKG_CONFIG+:} false; then :
15046 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15050 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15051 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15052 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15053 ac_save_CPPFLAGS=$CPPFLAGS
15054 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15055 for ac_header in SDL.h
15056 do :
15057 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15058 if test "x$ac_cv_header_SDL_h" = xyes; then :
15059 cat >>confdefs.h <<_ACEOF
15060 #define HAVE_SDL_H 1
15061 _ACEOF
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15063 $as_echo_n "checking for -lSDL2... " >&6; }
15064 if ${ac_cv_lib_soname_SDL2+:} false; then :
15065 $as_echo_n "(cached) " >&6
15066 else
15067 ac_check_soname_save_LIBS=$LIBS
15068 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15075 #ifdef __cplusplus
15076 extern "C"
15077 #endif
15078 char SDL_Init ();
15080 main ()
15082 return SDL_Init ();
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_link "$LINENO"; then :
15088 case "$LIBEXT" in
15089 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15090 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'` ;;
15091 *) 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'`
15092 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15093 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15094 fi ;;
15095 esac
15096 else
15097 ac_cv_lib_soname_SDL2=
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15105 $as_echo "not found" >&6; }
15107 else
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15109 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15111 cat >>confdefs.h <<_ACEOF
15112 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15113 _ACEOF
15119 done
15121 CPPFLAGS=$ac_save_CPPFLAGS
15124 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15125 case "x$with_sdl" in
15126 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15127 xno) ;;
15128 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15129 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15130 esac
15134 if test "x$with_faudio" != "xno"
15135 then
15136 if ${FAUDIO_CFLAGS:+false} :; then :
15137 if ${PKG_CONFIG+:} false; then :
15138 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15142 if ${FAUDIO_LIBS:+false} :; then :
15143 if ${PKG_CONFIG+:} false; then :
15144 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15148 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15149 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15150 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15151 ac_save_CPPFLAGS=$CPPFLAGS
15152 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15153 for ac_header in FAudio.h
15154 do :
15155 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15156 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define HAVE_FAUDIO_H 1
15159 _ACEOF
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15161 $as_echo_n "checking for -lFAudio... " >&6; }
15162 if ${ac_cv_lib_soname_FAudio+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 ac_check_soname_save_LIBS=$LIBS
15166 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15173 #ifdef __cplusplus
15174 extern "C"
15175 #endif
15176 char FAudioCreate ();
15178 main ()
15180 return FAudioCreate ();
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 case "$LIBEXT" in
15187 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15188 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'` ;;
15189 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15190 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15191 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15192 fi ;;
15193 esac
15194 else
15195 ac_cv_lib_soname_FAudio=
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199 LIBS=$ac_check_soname_save_LIBS
15201 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15203 $as_echo "not found" >&6; }
15205 else
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15207 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15209 cat >>confdefs.h <<_ACEOF
15210 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15211 _ACEOF
15217 done
15219 ac_wine_check_funcs_save_LIBS="$LIBS"
15220 LIBS="$LIBS $FAUDIO_LIBS"
15221 for ac_func in FAudio_CommitOperationSet \
15222 F3DAudioInitialize8 \
15223 FAudioLinkedVersion \
15224 FAudioCreateReverb9WithCustomAllocatorEXT
15225 do :
15226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15231 _ACEOF
15234 done
15236 LIBS="$ac_wine_check_funcs_save_LIBS"
15238 CPPFLAGS=$ac_save_CPPFLAGS
15241 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15242 case "x$with_faudio" in
15243 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15244 xno) ;;
15245 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15246 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15247 esac
15251 if test "x$with_capi" != "xno"
15252 then
15253 if ${CAPI20_CFLAGS:+false} :; then :
15254 if ${PKG_CONFIG+:} false; then :
15255 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15259 if ${CAPI20_LIBS:+false} :; then :
15260 if ${PKG_CONFIG+:} false; then :
15261 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15266 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15267 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15268 ac_save_CPPFLAGS=$CPPFLAGS
15269 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15270 for ac_header in capi20.h linux/capi.h
15271 do :
15272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15278 _ACEOF
15282 done
15284 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15285 then
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15287 $as_echo_n "checking for -lcapi20... " >&6; }
15288 if ${ac_cv_lib_soname_capi20+:} false; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 ac_check_soname_save_LIBS=$LIBS
15292 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char capi20_register ();
15304 main ()
15306 return capi20_register ();
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 case "$LIBEXT" in
15313 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15316 if ${ac_cv_lib_soname_capi20:+false} :; then :
15317 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15318 fi ;;
15319 esac
15320 else
15321 ac_cv_lib_soname_capi20=
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_soname_save_LIBS
15327 if ${ac_cv_lib_soname_capi20:+false} :; then :
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15329 $as_echo "not found" >&6; }
15331 else
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15333 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15335 cat >>confdefs.h <<_ACEOF
15336 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15337 _ACEOF
15342 CPPFLAGS=$ac_save_CPPFLAGS
15345 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15346 case "x$with_capi" in
15347 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15348 xno) ;;
15349 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15350 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15351 esac
15355 if test "x$with_cups" != "xno"
15356 then
15357 if ${CUPS_CFLAGS:+false} :; then :
15358 if ${PKG_CONFIG+:} false; then :
15359 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15362 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15363 if ${CUPS_LIBS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15368 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15369 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15370 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15371 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15372 ac_save_CPPFLAGS=$CPPFLAGS
15373 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15374 for ac_header in cups/cups.h cups/ppd.h
15375 do :
15376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15377 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15379 cat >>confdefs.h <<_ACEOF
15380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15381 _ACEOF
15385 done
15387 if test "$ac_cv_header_cups_cups_h" = "yes"
15388 then
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15390 $as_echo_n "checking for -lcups... " >&6; }
15391 if ${ac_cv_lib_soname_cups+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_check_soname_save_LIBS=$LIBS
15395 LIBS="-lcups $CUPS_LIBS $LIBS"
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15402 #ifdef __cplusplus
15403 extern "C"
15404 #endif
15405 char cupsGetDefault ();
15407 main ()
15409 return cupsGetDefault ();
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 case "$LIBEXT" in
15416 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_cups:+false} :; then :
15420 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15421 fi ;;
15422 esac
15423 else
15424 ac_cv_lib_soname_cups=
15426 rm -f core conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext conftest.$ac_ext
15428 LIBS=$ac_check_soname_save_LIBS
15430 if ${ac_cv_lib_soname_cups:+false} :; then :
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15432 $as_echo "not found" >&6; }
15433 CUPS_LIBS=""
15434 else
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15436 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15438 cat >>confdefs.h <<_ACEOF
15439 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15440 _ACEOF
15444 else
15445 CUPS_CFLAGS=""
15446 CUPS_LIBS=""
15448 CPPFLAGS=$ac_save_CPPFLAGS
15451 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15452 case "x$with_cups" in
15453 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15454 xno) ;;
15455 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15456 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15457 esac
15461 if test "x$with_fontconfig" != "xno"
15462 then
15463 if ${FONTCONFIG_CFLAGS:+false} :; then :
15464 if ${PKG_CONFIG+:} false; then :
15465 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15468 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15469 if ${FONTCONFIG_LIBS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15474 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15476 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15477 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15478 ac_save_CPPFLAGS=$CPPFLAGS
15479 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15480 for ac_header in fontconfig/fontconfig.h
15481 do :
15482 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15483 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15486 _ACEOF
15490 done
15492 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15493 then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15495 $as_echo_n "checking for -lfontconfig... " >&6; }
15496 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15497 $as_echo_n "(cached) " >&6
15498 else
15499 ac_check_soname_save_LIBS=$LIBS
15500 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15507 #ifdef __cplusplus
15508 extern "C"
15509 #endif
15510 char FcInit ();
15512 main ()
15514 return FcInit ();
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 case "$LIBEXT" in
15521 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15522 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'` ;;
15523 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15524 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15525 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15526 fi ;;
15527 esac
15528 else
15529 ac_cv_lib_soname_fontconfig=
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15533 LIBS=$ac_check_soname_save_LIBS
15535 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15537 $as_echo "not found" >&6; }
15538 FONTCONFIG_CFLAGS=""
15539 else
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15541 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15543 cat >>confdefs.h <<_ACEOF
15544 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15545 _ACEOF
15549 else
15550 FONTCONFIG_CFLAGS=""
15552 CPPFLAGS=$ac_save_CPPFLAGS
15555 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15556 case "x$with_fontconfig" in
15557 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15558 xno) ;;
15559 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15560 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15561 esac
15565 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15566 then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15568 $as_echo_n "checking for -lgsm... " >&6; }
15569 if ${ac_cv_lib_soname_gsm+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_check_soname_save_LIBS=$LIBS
15573 LIBS="-lgsm $LIBS"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 #ifdef __cplusplus
15581 extern "C"
15582 #endif
15583 char gsm_create ();
15585 main ()
15587 return gsm_create ();
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 case "$LIBEXT" in
15594 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15595 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'` ;;
15596 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15597 if ${ac_cv_lib_soname_gsm:+false} :; then :
15598 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15599 fi ;;
15600 esac
15601 else
15602 ac_cv_lib_soname_gsm=
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_soname_save_LIBS
15608 if ${ac_cv_lib_soname_gsm:+false} :; then :
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15610 $as_echo "not found" >&6; }
15612 else
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15614 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15616 cat >>confdefs.h <<_ACEOF
15617 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15618 _ACEOF
15623 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15624 case "x$with_gsm" in
15625 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15626 xno) ;;
15627 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15628 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15629 esac
15633 if test "x$with_krb5" != "xno"
15634 then
15635 if ${KRB5_CFLAGS:+false} :; then :
15636 if ${PKG_CONFIG+:} false; then :
15637 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15640 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15641 if ${KRB5_LIBS:+false} :; then :
15642 if ${PKG_CONFIG+:} false; then :
15643 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15646 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15648 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15649 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15650 ac_save_CPPFLAGS=$CPPFLAGS
15651 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15652 for ac_header in krb5/krb5.h
15653 do :
15654 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15655 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15656 cat >>confdefs.h <<_ACEOF
15657 #define HAVE_KRB5_KRB5_H 1
15658 _ACEOF
15662 done
15664 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15665 then
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15667 $as_echo_n "checking for -lkrb5... " >&6; }
15668 if ${ac_cv_lib_soname_krb5+:} false; then :
15669 $as_echo_n "(cached) " >&6
15670 else
15671 ac_check_soname_save_LIBS=$LIBS
15672 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15679 #ifdef __cplusplus
15680 extern "C"
15681 #endif
15682 char krb5_is_config_principal ();
15684 main ()
15686 return krb5_is_config_principal ();
15688 return 0;
15690 _ACEOF
15691 if ac_fn_c_try_link "$LINENO"; then :
15692 case "$LIBEXT" in
15693 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15694 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'` ;;
15695 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15696 if ${ac_cv_lib_soname_krb5:+false} :; then :
15697 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15698 fi ;;
15699 esac
15700 else
15701 ac_cv_lib_soname_krb5=
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15705 LIBS=$ac_check_soname_save_LIBS
15707 if ${ac_cv_lib_soname_krb5:+false} :; then :
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15709 $as_echo "not found" >&6; }
15710 KRB5_CFLAGS=""
15711 else
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15713 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15715 cat >>confdefs.h <<_ACEOF
15716 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15717 _ACEOF
15721 else
15722 KRB5_CFLAGS=""
15724 CPPFLAGS=$ac_save_CPPFLAGS
15727 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15728 case "x$with_krb5" in
15729 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15730 xno) ;;
15731 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15732 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15733 esac
15736 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15738 if test "x$with_gssapi" != "xno"
15739 then
15740 if ${GSSAPI_CFLAGS:+false} :; then :
15741 if ${PKG_CONFIG+:} false; then :
15742 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15745 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15746 if ${GSSAPI_LIBS:+false} :; then :
15747 if ${PKG_CONFIG+:} false; then :
15748 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15751 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15753 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15754 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15755 ac_save_CPPFLAGS=$CPPFLAGS
15756 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15757 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15758 do :
15759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15760 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15764 _ACEOF
15768 done
15770 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15771 then
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15773 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15774 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15775 $as_echo_n "(cached) " >&6
15776 else
15777 ac_check_soname_save_LIBS=$LIBS
15778 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15782 /* Override any GCC internal prototype to avoid an error.
15783 Use char because int might match the return type of a GCC
15784 builtin and then its argument prototype would still apply. */
15785 #ifdef __cplusplus
15786 extern "C"
15787 #endif
15788 char gss_init_sec_context ();
15790 main ()
15792 return gss_init_sec_context ();
15794 return 0;
15796 _ACEOF
15797 if ac_fn_c_try_link "$LINENO"; then :
15798 case "$LIBEXT" in
15799 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15800 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'` ;;
15801 *) 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'`
15802 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15803 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15804 fi ;;
15805 esac
15806 else
15807 ac_cv_lib_soname_gssapi_krb5=
15809 rm -f core conftest.err conftest.$ac_objext \
15810 conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_soname_save_LIBS
15813 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15815 $as_echo "not found" >&6; }
15816 GSSAPI_CFLAGS=""
15817 else
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15819 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15821 cat >>confdefs.h <<_ACEOF
15822 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15823 _ACEOF
15827 else
15828 GSSAPI_CFLAGS=""
15830 CPPFLAGS=$ac_save_CPPFLAGS
15833 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15834 case "x$with_gssapi" in
15835 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15836 xno) ;;
15837 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15838 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15839 esac
15843 if test "x$with_jpeg" != "xno"
15844 then
15845 if ${JPEG_CFLAGS:+false} :; then :
15846 if ${PKG_CONFIG+:} false; then :
15847 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15851 if ${JPEG_LIBS:+false} :; then :
15852 if ${PKG_CONFIG+:} false; then :
15853 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15858 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15860 ac_save_CPPFLAGS=$CPPFLAGS
15861 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15862 for ac_header in jpeglib.h
15863 do :
15864 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15865 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_JPEGLIB_H 1
15868 _ACEOF
15872 done
15874 if test "$ac_cv_header_jpeglib_h" = "yes"
15875 then
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15877 $as_echo_n "checking for -ljpeg... " >&6; }
15878 if ${ac_cv_lib_soname_jpeg+:} false; then :
15879 $as_echo_n "(cached) " >&6
15880 else
15881 ac_check_soname_save_LIBS=$LIBS
15882 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15886 /* Override any GCC internal prototype to avoid an error.
15887 Use char because int might match the return type of a GCC
15888 builtin and then its argument prototype would still apply. */
15889 #ifdef __cplusplus
15890 extern "C"
15891 #endif
15892 char jpeg_start_decompress ();
15894 main ()
15896 return jpeg_start_decompress ();
15898 return 0;
15900 _ACEOF
15901 if ac_fn_c_try_link "$LINENO"; then :
15902 case "$LIBEXT" in
15903 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15904 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'` ;;
15905 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15906 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15907 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15908 fi ;;
15909 esac
15910 else
15911 ac_cv_lib_soname_jpeg=
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext conftest.$ac_ext
15915 LIBS=$ac_check_soname_save_LIBS
15917 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15919 $as_echo "not found" >&6; }
15920 JPEG_CFLAGS=""
15921 else
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15923 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15925 cat >>confdefs.h <<_ACEOF
15926 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15927 _ACEOF
15931 else
15932 JPEG_CFLAGS=""
15934 CPPFLAGS=$ac_save_CPPFLAGS
15937 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15938 case "x$with_jpeg" in
15939 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15940 xno) ;;
15941 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15942 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15943 esac
15947 if test "x$with_jxrlib" != "xno"
15948 then
15949 if ${JXRLIB_CFLAGS:+false} :; then :
15950 if ${PKG_CONFIG+:} false; then :
15951 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15954 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15955 if ${JXRLIB_LIBS:+false} :; then :
15956 if ${PKG_CONFIG+:} false; then :
15957 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15962 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15963 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15964 ac_save_CPPFLAGS=$CPPFLAGS
15965 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15966 for ac_header in JXRGlue.h
15967 do :
15968 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15970 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_JXRGLUE_H 1
15973 _ACEOF
15977 done
15979 if test "$ac_cv_header_JXRGlue_h" = "yes"
15980 then
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15982 $as_echo_n "checking for -ljxrglue... " >&6; }
15983 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 ac_check_soname_save_LIBS=$LIBS
15987 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15991 /* Override any GCC internal prototype to avoid an error.
15992 Use char because int might match the return type of a GCC
15993 builtin and then its argument prototype would still apply. */
15994 #ifdef __cplusplus
15995 extern "C"
15996 #endif
15997 char PKImageDecode_Create_WMP ();
15999 main ()
16001 return PKImageDecode_Create_WMP ();
16003 return 0;
16005 _ACEOF
16006 if ac_fn_c_try_link "$LINENO"; then :
16007 case "$LIBEXT" in
16008 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16009 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'` ;;
16010 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16011 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16012 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16013 fi ;;
16014 esac
16015 else
16016 ac_cv_lib_soname_jxrglue=
16018 rm -f core conftest.err conftest.$ac_objext \
16019 conftest$ac_exeext conftest.$ac_ext
16020 LIBS=$ac_check_soname_save_LIBS
16022 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16024 $as_echo "not found" >&6; }
16025 JXRLIB_CFLAGS=""
16026 else
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16028 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16030 cat >>confdefs.h <<_ACEOF
16031 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16032 _ACEOF
16036 else
16037 JXRLIB_CFLAGS=""
16039 CPPFLAGS=$ac_save_CPPFLAGS
16042 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16043 case "x$with_jxrlib" in
16044 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16045 xno) ;;
16046 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16047 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16048 esac
16052 if test "x$with_png" != "xno"
16053 then
16054 if ${PNG_CFLAGS:+false} :; then :
16055 if ${PKG_CONFIG+:} false; then :
16056 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16059 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16060 if ${PNG_LIBS:+false} :; then :
16061 if ${PKG_CONFIG+:} false; then :
16062 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16065 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16067 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16068 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16069 ac_save_CPPFLAGS=$CPPFLAGS
16070 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16071 for ac_header in png.h
16072 do :
16073 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16074 if test "x$ac_cv_header_png_h" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_PNG_H 1
16077 _ACEOF
16081 done
16083 if test "$ac_cv_header_png_h" = "yes"
16084 then
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16086 $as_echo_n "checking for -lpng... " >&6; }
16087 if ${ac_cv_lib_soname_png+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_check_soname_save_LIBS=$LIBS
16091 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char png_create_read_struct ();
16103 main ()
16105 return png_create_read_struct ();
16107 return 0;
16109 _ACEOF
16110 if ac_fn_c_try_link "$LINENO"; then :
16111 case "$LIBEXT" in
16112 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16113 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'` ;;
16114 *) 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'`
16115 if ${ac_cv_lib_soname_png:+false} :; then :
16116 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16117 fi ;;
16118 esac
16119 else
16120 ac_cv_lib_soname_png=
16122 rm -f core conftest.err conftest.$ac_objext \
16123 conftest$ac_exeext conftest.$ac_ext
16124 LIBS=$ac_check_soname_save_LIBS
16126 if ${ac_cv_lib_soname_png:+false} :; then :
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16128 $as_echo "not found" >&6; }
16129 PNG_CFLAGS=""
16130 else
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16132 $as_echo "$ac_cv_lib_soname_png" >&6; }
16134 cat >>confdefs.h <<_ACEOF
16135 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16136 _ACEOF
16140 else
16141 PNG_CFLAGS=""
16143 CPPFLAGS=$ac_save_CPPFLAGS
16146 if test "x$ac_cv_lib_soname_png" = "x"; then :
16147 case "x$with_png" in
16148 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16149 xno) ;;
16150 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16151 This is an error since --with-png was requested." "$LINENO" 5 ;;
16152 esac
16156 if test "x$with_tiff" != "xno"
16157 then
16158 if ${TIFF_CFLAGS:+false} :; then :
16159 if ${PKG_CONFIG+:} false; then :
16160 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16164 if ${TIFF_LIBS:+false} :; then :
16165 if ${PKG_CONFIG+:} false; then :
16166 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16171 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16172 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16173 ac_save_CPPFLAGS=$CPPFLAGS
16174 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16175 for ac_header in tiffio.h
16176 do :
16177 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16178 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_TIFFIO_H 1
16181 _ACEOF
16185 done
16187 if test "$ac_cv_header_tiffio_h" = "yes"
16188 then
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16190 $as_echo_n "checking for -ltiff... " >&6; }
16191 if ${ac_cv_lib_soname_tiff+:} false; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 ac_check_soname_save_LIBS=$LIBS
16195 LIBS="-ltiff $TIFF_LIBS $LIBS"
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16202 #ifdef __cplusplus
16203 extern "C"
16204 #endif
16205 char TIFFClientOpen ();
16207 main ()
16209 return TIFFClientOpen ();
16211 return 0;
16213 _ACEOF
16214 if ac_fn_c_try_link "$LINENO"; then :
16215 case "$LIBEXT" in
16216 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16217 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'` ;;
16218 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16219 if ${ac_cv_lib_soname_tiff:+false} :; then :
16220 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16221 fi ;;
16222 esac
16223 else
16224 ac_cv_lib_soname_tiff=
16226 rm -f core conftest.err conftest.$ac_objext \
16227 conftest$ac_exeext conftest.$ac_ext
16228 LIBS=$ac_check_soname_save_LIBS
16230 if ${ac_cv_lib_soname_tiff:+false} :; then :
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16232 $as_echo "not found" >&6; }
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16236 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16238 cat >>confdefs.h <<_ACEOF
16239 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16240 _ACEOF
16245 CPPFLAGS=$ac_save_CPPFLAGS
16248 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16249 case "x$with_tiff" in
16250 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16251 xno) ;;
16252 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16253 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16254 esac
16258 if test "x$with_mpg123" != "xno"
16259 then
16260 if ${MPG123_CFLAGS:+false} :; then :
16261 if ${PKG_CONFIG+:} false; then :
16262 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16266 if ${MPG123_LIBS:+false} :; then :
16267 if ${PKG_CONFIG+:} false; then :
16268 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16272 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16273 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16274 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16275 ac_save_CPPFLAGS=$CPPFLAGS
16276 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16277 for ac_header in mpg123.h
16278 do :
16279 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16280 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_MPG123_H 1
16283 _ACEOF
16287 done
16289 if test "$ac_cv_header_mpg123_h" = "yes"
16290 then
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16292 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16293 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16294 $as_echo_n "(cached) " >&6
16295 else
16296 ac_check_lib_save_LIBS=$LIBS
16297 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h. */
16301 /* Override any GCC internal prototype to avoid an error.
16302 Use char because int might match the return type of a GCC
16303 builtin and then its argument prototype would still apply. */
16304 #ifdef __cplusplus
16305 extern "C"
16306 #endif
16307 char mpg123_feed ();
16309 main ()
16311 return mpg123_feed ();
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"; then :
16317 ac_cv_lib_mpg123_mpg123_feed=yes
16318 else
16319 ac_cv_lib_mpg123_mpg123_feed=no
16321 rm -f core conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16326 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16327 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16329 else
16330 MPG123_LIBS=""
16333 else
16334 MPG123_CFLAGS=""
16335 MPG123_LIBS=""
16337 CPPFLAGS=$ac_save_CPPFLAGS
16340 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16341 case "x$with_mpg123" in
16342 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16343 xno) ;;
16344 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16345 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16346 esac
16347 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16349 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16351 if test "$ac_cv_header_AL_al_h" = "yes"
16352 then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16354 $as_echo_n "checking for -lopenal... " >&6; }
16355 if ${ac_cv_lib_soname_openal+:} false; then :
16356 $as_echo_n "(cached) " >&6
16357 else
16358 ac_check_soname_save_LIBS=$LIBS
16359 LIBS="-lopenal $LIBS"
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16363 /* Override any GCC internal prototype to avoid an error.
16364 Use char because int might match the return type of a GCC
16365 builtin and then its argument prototype would still apply. */
16366 #ifdef __cplusplus
16367 extern "C"
16368 #endif
16369 char alGetSource3i ();
16371 main ()
16373 return alGetSource3i ();
16375 return 0;
16377 _ACEOF
16378 if ac_fn_c_try_link "$LINENO"; then :
16379 case "$LIBEXT" in
16380 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16381 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'` ;;
16382 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16383 if ${ac_cv_lib_soname_openal:+false} :; then :
16384 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16385 fi ;;
16386 esac
16387 else
16388 ac_cv_lib_soname_openal=
16390 rm -f core conftest.err conftest.$ac_objext \
16391 conftest$ac_exeext conftest.$ac_ext
16392 LIBS=$ac_check_soname_save_LIBS
16394 if ${ac_cv_lib_soname_openal:+false} :; then :
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16396 $as_echo "not found" >&6; }
16398 else
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16400 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16402 cat >>confdefs.h <<_ACEOF
16403 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16404 _ACEOF
16406 OPENAL_LIBS="-lopenal"
16408 ac_cv_lib_openal=yes
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_OPENAL 1
16412 _ACEOF
16416 if test "x$ac_cv_lib_openal" != xyes; then :
16417 case "x$with_openal" in
16418 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16419 xno) ;;
16420 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16421 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16422 esac
16423 enable_openal32=${enable_openal32:-no}
16426 if test "x$ac_cv_lib_soname_FAudio" = "x"
16427 then
16428 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16429 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16430 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16431 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16432 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16433 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16434 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16435 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16436 enable_xactengine2_0=${enable_xactengine2_0:-no}
16437 enable_xactengine2_4=${enable_xactengine2_4:-no}
16438 enable_xactengine2_7=${enable_xactengine2_7:-no}
16439 enable_xactengine2_9=${enable_xactengine2_9:-no}
16440 enable_xactengine3_0=${enable_xactengine3_0:-no}
16441 enable_xactengine3_1=${enable_xactengine3_1:-no}
16442 enable_xactengine3_2=${enable_xactengine3_2:-no}
16443 enable_xactengine3_3=${enable_xactengine3_3:-no}
16444 enable_xactengine3_4=${enable_xactengine3_4:-no}
16445 enable_xactengine3_5=${enable_xactengine3_5:-no}
16446 enable_xactengine3_6=${enable_xactengine3_6:-no}
16447 enable_xactengine3_7=${enable_xactengine3_7:-no}
16448 enable_xapofx1_1=${enable_xapofx1_1:-no}
16449 enable_xapofx1_2=${enable_xapofx1_2:-no}
16450 enable_xapofx1_3=${enable_xapofx1_3:-no}
16451 enable_xapofx1_4=${enable_xapofx1_4:-no}
16452 enable_xapofx1_5=${enable_xapofx1_5:-no}
16453 enable_xaudio2_0=${enable_xaudio2_0:-no}
16454 enable_xaudio2_1=${enable_xaudio2_1:-no}
16455 enable_xaudio2_2=${enable_xaudio2_2:-no}
16456 enable_xaudio2_3=${enable_xaudio2_3:-no}
16457 enable_xaudio2_4=${enable_xaudio2_4:-no}
16458 enable_xaudio2_5=${enable_xaudio2_5:-no}
16459 enable_xaudio2_6=${enable_xaudio2_6:-no}
16460 enable_xaudio2_7=${enable_xaudio2_7:-no}
16461 enable_xaudio2_8=${enable_xaudio2_8:-no}
16462 enable_xaudio2_9=${enable_xaudio2_9:-no}
16465 if test "$ac_cv_header_kstat_h" = "yes"
16466 then
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16468 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16469 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16470 $as_echo_n "(cached) " >&6
16471 else
16472 ac_check_lib_save_LIBS=$LIBS
16473 LIBS="-lkstat $LIBS"
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16477 /* Override any GCC internal prototype to avoid an error.
16478 Use char because int might match the return type of a GCC
16479 builtin and then its argument prototype would still apply. */
16480 #ifdef __cplusplus
16481 extern "C"
16482 #endif
16483 char kstat_open ();
16485 main ()
16487 return kstat_open ();
16489 return 0;
16491 _ACEOF
16492 if ac_fn_c_try_link "$LINENO"; then :
16493 ac_cv_lib_kstat_kstat_open=yes
16494 else
16495 ac_cv_lib_kstat_kstat_open=no
16497 rm -f core conftest.err conftest.$ac_objext \
16498 conftest$ac_exeext conftest.$ac_ext
16499 LIBS=$ac_check_lib_save_LIBS
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16502 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16503 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16505 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16507 KSTAT_LIBS="-lkstat"
16513 if test "$ac_cv_header_libprocstat_h" = "yes"
16514 then
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16516 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16517 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 ac_check_lib_save_LIBS=$LIBS
16521 LIBS="-lprocstat $LIBS"
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16525 /* Override any GCC internal prototype to avoid an error.
16526 Use char because int might match the return type of a GCC
16527 builtin and then its argument prototype would still apply. */
16528 #ifdef __cplusplus
16529 extern "C"
16530 #endif
16531 char procstat_open_sysctl ();
16533 main ()
16535 return procstat_open_sysctl ();
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_lib_procstat_procstat_open_sysctl=yes
16542 else
16543 ac_cv_lib_procstat_procstat_open_sysctl=no
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16547 LIBS=$ac_check_lib_save_LIBS
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16550 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16551 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16553 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16555 PROCSTAT_LIBS="-lprocstat"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16562 $as_echo_n "checking for -lodbc... " >&6; }
16563 if ${ac_cv_lib_soname_odbc+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_soname_save_LIBS=$LIBS
16567 LIBS="-lodbc $LIBS"
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 #ifdef __cplusplus
16575 extern "C"
16576 #endif
16577 char SQLConnect ();
16579 main ()
16581 return SQLConnect ();
16583 return 0;
16585 _ACEOF
16586 if ac_fn_c_try_link "$LINENO"; then :
16587 case "$LIBEXT" in
16588 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16589 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'` ;;
16590 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16591 if ${ac_cv_lib_soname_odbc:+false} :; then :
16592 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16593 fi ;;
16594 esac
16595 else
16596 ac_cv_lib_soname_odbc=
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_soname_save_LIBS
16602 if ${ac_cv_lib_soname_odbc:+false} :; then :
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16604 $as_echo "not found" >&6; }
16605 cat >>confdefs.h <<_ACEOF
16606 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16607 _ACEOF
16609 else
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16611 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16613 cat >>confdefs.h <<_ACEOF
16614 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16615 _ACEOF
16620 if test "x$with_netapi" != "xno"
16621 then
16622 if ${NETAPI_CFLAGS:+false} :; then :
16623 if ${PKG_CONFIG+:} false; then :
16624 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16628 if ${NETAPI_LIBS:+false} :; then :
16629 if ${PKG_CONFIG+:} false; then :
16630 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16635 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16636 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16637 ac_save_CPPFLAGS=$CPPFLAGS
16638 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16640 $as_echo_n "checking for -lnetapi... " >&6; }
16641 if ${ac_cv_lib_soname_netapi+:} false; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 ac_check_soname_save_LIBS=$LIBS
16645 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16649 /* Override any GCC internal prototype to avoid an error.
16650 Use char because int might match the return type of a GCC
16651 builtin and then its argument prototype would still apply. */
16652 #ifdef __cplusplus
16653 extern "C"
16654 #endif
16655 char libnetapi_init ();
16657 main ()
16659 return libnetapi_init ();
16661 return 0;
16663 _ACEOF
16664 if ac_fn_c_try_link "$LINENO"; then :
16665 case "$LIBEXT" in
16666 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16667 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'` ;;
16668 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16669 if ${ac_cv_lib_soname_netapi:+false} :; then :
16670 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16671 fi ;;
16672 esac
16673 else
16674 ac_cv_lib_soname_netapi=
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_soname_save_LIBS
16680 if ${ac_cv_lib_soname_netapi:+false} :; then :
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16682 $as_echo "not found" >&6; }
16683 cat >>confdefs.h <<_ACEOF
16684 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16685 _ACEOF
16687 else
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16689 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16691 cat >>confdefs.h <<_ACEOF
16692 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16693 _ACEOF
16697 CPPFLAGS=$ac_save_CPPFLAGS
16701 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16702 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16703 then
16704 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16707 if test "x$with_vulkan" != "xno"
16708 then
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16710 $as_echo_n "checking for -lvulkan... " >&6; }
16711 if ${ac_cv_lib_soname_vulkan+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 ac_check_soname_save_LIBS=$LIBS
16715 LIBS="-lvulkan $LIBS"
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16722 #ifdef __cplusplus
16723 extern "C"
16724 #endif
16725 char vkGetInstanceProcAddr ();
16727 main ()
16729 return vkGetInstanceProcAddr ();
16731 return 0;
16733 _ACEOF
16734 if ac_fn_c_try_link "$LINENO"; then :
16735 case "$LIBEXT" in
16736 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16737 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'` ;;
16738 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16739 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16740 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16741 fi ;;
16742 esac
16743 else
16744 ac_cv_lib_soname_vulkan=
16746 rm -f core conftest.err conftest.$ac_objext \
16747 conftest$ac_exeext conftest.$ac_ext
16748 LIBS=$ac_check_soname_save_LIBS
16750 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16752 $as_echo "not found" >&6; }
16754 else
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16756 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16758 cat >>confdefs.h <<_ACEOF
16759 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16760 _ACEOF
16764 if test "x$ac_cv_lib_soname_vulkan" = "x"
16765 then
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16767 $as_echo_n "checking for -lMoltenVK... " >&6; }
16768 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 ac_check_soname_save_LIBS=$LIBS
16772 LIBS="-lMoltenVK $LIBS"
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16776 /* Override any GCC internal prototype to avoid an error.
16777 Use char because int might match the return type of a GCC
16778 builtin and then its argument prototype would still apply. */
16779 #ifdef __cplusplus
16780 extern "C"
16781 #endif
16782 char vkGetInstanceProcAddr ();
16784 main ()
16786 return vkGetInstanceProcAddr ();
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 case "$LIBEXT" in
16793 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16794 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'` ;;
16795 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16796 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16797 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16798 fi ;;
16799 esac
16800 else
16801 ac_cv_lib_soname_MoltenVK=
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext conftest.$ac_ext
16805 LIBS=$ac_check_soname_save_LIBS
16807 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16809 $as_echo "not found" >&6; }
16811 else
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16813 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16815 cat >>confdefs.h <<_ACEOF
16816 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16817 _ACEOF
16823 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16824 case "x$with_vulkan" in
16825 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16826 xno) ;;
16827 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16828 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16829 esac
16833 if test "x$with_vkd3d" != "xno"
16834 then
16835 if ${VKD3D_CFLAGS:+false} :; then :
16836 if ${PKG_CONFIG+:} false; then :
16837 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16841 if ${VKD3D_LIBS:+false} :; then :
16842 if ${PKG_CONFIG+:} false; then :
16843 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16848 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16849 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16850 ac_save_CPPFLAGS=$CPPFLAGS
16851 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16853 $as_echo_n "checking for -lvkd3d... " >&6; }
16854 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16855 $as_echo_n "(cached) " >&6
16856 else
16857 ac_check_soname_save_LIBS=$LIBS
16858 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16865 #ifdef __cplusplus
16866 extern "C"
16867 #endif
16868 char vkd3d_serialize_versioned_root_signature ();
16870 main ()
16872 return vkd3d_serialize_versioned_root_signature ();
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 case "$LIBEXT" in
16879 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16880 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'` ;;
16881 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16882 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16883 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16884 fi ;;
16885 esac
16886 else
16887 ac_cv_lib_soname_vkd3d=
16889 rm -f core conftest.err conftest.$ac_objext \
16890 conftest$ac_exeext conftest.$ac_ext
16891 LIBS=$ac_check_soname_save_LIBS
16893 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16895 $as_echo "not found" >&6; }
16897 else
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16899 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16901 cat >>confdefs.h <<_ACEOF
16902 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16903 _ACEOF
16907 CPPFLAGS=$ac_save_CPPFLAGS
16909 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16910 if ${PKG_CONFIG+:} false; then :
16911 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16915 if ${VKD3D_SHADER_LIBS:+false} :; then :
16916 if ${PKG_CONFIG+:} false; then :
16917 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16922 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16923 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16924 ac_save_CPPFLAGS=$CPPFLAGS
16925 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16927 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16928 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_check_soname_save_LIBS=$LIBS
16932 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16936 /* Override any GCC internal prototype to avoid an error.
16937 Use char because int might match the return type of a GCC
16938 builtin and then its argument prototype would still apply. */
16939 #ifdef __cplusplus
16940 extern "C"
16941 #endif
16942 char vkd3d_shader_compile ();
16944 main ()
16946 return vkd3d_shader_compile ();
16948 return 0;
16950 _ACEOF
16951 if ac_fn_c_try_link "$LINENO"; then :
16952 case "$LIBEXT" in
16953 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16954 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'` ;;
16955 *) 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'`
16956 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16957 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16958 fi ;;
16959 esac
16960 else
16961 ac_cv_lib_soname_vkd3d_shader=
16963 rm -f core conftest.err conftest.$ac_objext \
16964 conftest$ac_exeext conftest.$ac_ext
16965 LIBS=$ac_check_soname_save_LIBS
16967 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16969 $as_echo "not found" >&6; }
16971 else
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16973 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16975 cat >>confdefs.h <<_ACEOF
16976 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16977 _ACEOF
16981 CPPFLAGS=$ac_save_CPPFLAGS
16984 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16985 case "x$with_vkd3d" in
16986 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16987 xno) ;;
16988 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16989 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16990 esac
16993 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16996 EXTRACFLAGS=""
16998 if test "x${GCC}" = "xyes"
16999 then
17000 EXTRACFLAGS="-Wall -pipe"
17002 saved_CFLAGS=$CFLAGS
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17004 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17005 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 ac_wine_try_cflags_saved=$CFLAGS
17009 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 int main(int argc, char **argv) { return 0; }
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_cflags__Werror_unknown_warning_option=yes
17016 else
17017 ac_cv_cflags__Werror_unknown_warning_option=no
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17021 CFLAGS=$ac_wine_try_cflags_saved
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17024 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17025 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17029 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17030 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 ac_wine_try_cflags_saved=$CFLAGS
17034 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 int main(int argc, char **argv) { return 0; }
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"; then :
17040 ac_cv_cflags__Werror_unused_command_line_argument=yes
17041 else
17042 ac_cv_cflags__Werror_unused_command_line_argument=no
17044 rm -f core conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17046 CFLAGS=$ac_wine_try_cflags_saved
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17049 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17050 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17051 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17054 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17055 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 ac_wine_try_cflags_saved=$CFLAGS
17059 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 int main(int argc, char **argv) { return 0; }
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17066 else
17067 ac_cv_cflags__Werror_ignored_optimization_argument=no
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17074 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17075 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17076 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17079 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17080 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 ac_wine_try_cflags_saved=$CFLAGS
17084 CFLAGS="$CFLAGS -fcf-protection=none"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 int main(int argc, char **argv) { return 0; }
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_cflags__fcf_protection_none=yes
17091 else
17092 ac_cv_cflags__fcf_protection_none=no
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 CFLAGS=$ac_wine_try_cflags_saved
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17099 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17100 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17101 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17104 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17105 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 ac_wine_try_cflags_saved=$CFLAGS
17109 CFLAGS="$CFLAGS -fno-stack-protector"
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 int main(int argc, char **argv) { return 0; }
17113 _ACEOF
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_cflags__fno_stack_protector=yes
17116 else
17117 ac_cv_cflags__fno_stack_protector=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 CFLAGS=$ac_wine_try_cflags_saved
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17124 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17125 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17126 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17129 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17130 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 ac_wine_try_cflags_saved=$CFLAGS
17134 CFLAGS="$CFLAGS -fno-strict-aliasing"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 int main(int argc, char **argv) { return 0; }
17138 _ACEOF
17139 if ac_fn_c_try_link "$LINENO"; then :
17140 ac_cv_cflags__fno_strict_aliasing=yes
17141 else
17142 ac_cv_cflags__fno_strict_aliasing=no
17144 rm -f core conftest.err conftest.$ac_objext \
17145 conftest$ac_exeext conftest.$ac_ext
17146 CFLAGS=$ac_wine_try_cflags_saved
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17149 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17150 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17151 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17154 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17155 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 int main(int argc, char **argv) { return 0; }
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_cflags__Wdeclaration_after_statement=yes
17166 else
17167 ac_cv_cflags__Wdeclaration_after_statement=no
17169 rm -f core conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 CFLAGS=$ac_wine_try_cflags_saved
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17174 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17175 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17176 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17179 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17180 if ${ac_cv_cflags__Wempty_body+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -Wempty-body"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 int main(int argc, char **argv) { return 0; }
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_cflags__Wempty_body=yes
17191 else
17192 ac_cv_cflags__Wempty_body=no
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17196 CFLAGS=$ac_wine_try_cflags_saved
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17199 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17200 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17204 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17205 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -Wignored-qualifiers"
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 int main(int argc, char **argv) { return 0; }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_cflags__Wignored_qualifiers=yes
17216 else
17217 ac_cv_cflags__Wignored_qualifiers=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17221 CFLAGS=$ac_wine_try_cflags_saved
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17224 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17225 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17226 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17229 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17230 if ${ac_cv_cflags__Winit_self+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_wine_try_cflags_saved=$CFLAGS
17234 CFLAGS="$CFLAGS -Winit-self"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 int main(int argc, char **argv) { return 0; }
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_cflags__Winit_self=yes
17241 else
17242 ac_cv_cflags__Winit_self=no
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246 CFLAGS=$ac_wine_try_cflags_saved
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17249 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17250 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17251 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17254 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17255 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 ac_wine_try_cflags_saved=$CFLAGS
17259 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 int main(int argc, char **argv) { return 0; }
17263 _ACEOF
17264 if ac_fn_c_try_link "$LINENO"; then :
17265 ac_cv_cflags__Wpacked_not_aligned=yes
17266 else
17267 ac_cv_cflags__Wpacked_not_aligned=no
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 CFLAGS=$ac_wine_try_cflags_saved
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17274 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17275 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17276 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17279 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17280 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17283 ac_wine_try_cflags_saved=$CFLAGS
17284 CFLAGS="$CFLAGS -Wpragma-pack"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 int main(int argc, char **argv) { return 0; }
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"; then :
17290 ac_cv_cflags__Wpragma_pack=yes
17291 else
17292 ac_cv_cflags__Wpragma_pack=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 CFLAGS=$ac_wine_try_cflags_saved
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17299 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17300 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17301 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17304 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17305 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 ac_wine_try_cflags_saved=$CFLAGS
17309 CFLAGS="$CFLAGS -Wshift-overflow=2"
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 int main(int argc, char **argv) { return 0; }
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 ac_cv_cflags__Wshift_overflow_2=yes
17316 else
17317 ac_cv_cflags__Wshift_overflow_2=no
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17321 CFLAGS=$ac_wine_try_cflags_saved
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17324 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17325 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17326 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17329 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17330 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 ac_wine_try_cflags_saved=$CFLAGS
17334 CFLAGS="$CFLAGS -Wstrict-prototypes"
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 int main(int argc, char **argv) { return 0; }
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_cflags__Wstrict_prototypes=yes
17341 else
17342 ac_cv_cflags__Wstrict_prototypes=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 CFLAGS=$ac_wine_try_cflags_saved
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17349 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17350 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17351 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17354 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17355 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 ac_wine_try_cflags_saved=$CFLAGS
17359 CFLAGS="$CFLAGS -Wtype-limits"
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17362 int main(int argc, char **argv) { return 0; }
17363 _ACEOF
17364 if ac_fn_c_try_link "$LINENO"; then :
17365 ac_cv_cflags__Wtype_limits=yes
17366 else
17367 ac_cv_cflags__Wtype_limits=no
17369 rm -f core conftest.err conftest.$ac_objext \
17370 conftest$ac_exeext conftest.$ac_ext
17371 CFLAGS=$ac_wine_try_cflags_saved
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17374 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17375 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17376 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17379 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17380 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 ac_wine_try_cflags_saved=$CFLAGS
17384 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 int main(int argc, char **argv) { return 0; }
17388 _ACEOF
17389 if ac_fn_c_try_link "$LINENO"; then :
17390 ac_cv_cflags__Wunused_but_set_parameter=yes
17391 else
17392 ac_cv_cflags__Wunused_but_set_parameter=no
17394 rm -f core conftest.err conftest.$ac_objext \
17395 conftest$ac_exeext conftest.$ac_ext
17396 CFLAGS=$ac_wine_try_cflags_saved
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17399 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17400 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17401 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17404 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17405 if ${ac_cv_cflags__Wvla+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408 ac_wine_try_cflags_saved=$CFLAGS
17409 CFLAGS="$CFLAGS -Wvla"
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 int main(int argc, char **argv) { return 0; }
17413 _ACEOF
17414 if ac_fn_c_try_link "$LINENO"; then :
17415 ac_cv_cflags__Wvla=yes
17416 else
17417 ac_cv_cflags__Wvla=no
17419 rm -f core conftest.err conftest.$ac_objext \
17420 conftest$ac_exeext conftest.$ac_ext
17421 CFLAGS=$ac_wine_try_cflags_saved
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17424 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17425 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17426 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17429 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17430 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 ac_wine_try_cflags_saved=$CFLAGS
17434 CFLAGS="$CFLAGS -Wwrite-strings"
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 int main(int argc, char **argv) { return 0; }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_cflags__Wwrite_strings=yes
17441 else
17442 ac_cv_cflags__Wwrite_strings=no
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 CFLAGS=$ac_wine_try_cflags_saved
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17449 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17450 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17451 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17454 if test -z "$CROSSTARGET"
17455 then
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17457 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17458 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 ac_wine_try_cflags_saved=$CFLAGS
17462 CFLAGS="$CFLAGS -fexcess-precision=standard"
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 int main(int argc, char **argv) { return 0; }
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"; then :
17468 ac_cv_cflags__fexcess_precision_standard=yes
17469 else
17470 ac_cv_cflags__fexcess_precision_standard=no
17472 rm -f core conftest.err conftest.$ac_objext \
17473 conftest$ac_exeext conftest.$ac_ext
17474 CFLAGS=$ac_wine_try_cflags_saved
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17477 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17478 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17479 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17485 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17486 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 ac_wine_try_cflags_saved=$CFLAGS
17490 CFLAGS="$CFLAGS -Wpointer-arith"
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 int main(int argc, char **argv) { return 0; }
17494 _ACEOF
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_cflags__Wpointer_arith=yes
17497 else
17498 ac_cv_cflags__Wpointer_arith=no
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 CFLAGS=$ac_wine_try_cflags_saved
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17505 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17506 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17507 saved_string_h_CFLAGS=$CFLAGS
17508 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17510 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17511 if ${ac_cv_c_string_h_warnings+:} false; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 #include <string.h>
17518 main ()
17522 return 0;
17524 _ACEOF
17525 if ac_fn_c_try_compile "$LINENO"; then :
17526 ac_cv_c_string_h_warnings=no
17527 else
17528 ac_cv_c_string_h_warnings=yes
17530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17533 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17534 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17535 CFLAGS=$saved_string_h_CFLAGS
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17539 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17540 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_wine_try_cflags_saved=$CFLAGS
17544 CFLAGS="$CFLAGS -Wlogical-op"
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 int main(int argc, char **argv) { return 0; }
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_cflags__Wlogical_op=yes
17551 else
17552 ac_cv_cflags__Wlogical_op=no
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 CFLAGS=$ac_wine_try_cflags_saved
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17559 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17560 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17561 saved_string_h_CFLAGS=$CFLAGS
17562 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17564 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17565 if ${ac_cv_c_logicalop_noisy+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #include <string.h>
17571 char*f(const char *h,char n) {return strchr(h,n);}
17573 main ()
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_compile "$LINENO"; then :
17581 ac_cv_c_logicalop_noisy=no
17582 else
17583 ac_cv_c_logicalop_noisy=yes
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17588 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17589 CFLAGS=$saved_string_h_CFLAGS
17590 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17594 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17595 if ${wine_cv_64bit_compare_swap+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17601 #error no
17602 #endif
17604 main ()
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_compile "$LINENO"; then :
17612 wine_cv_64bit_compare_swap="none needed"
17613 else
17614 case $host_cpu in
17615 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17616 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17617 *) wine_cv_64bit_compare_swap="unknown" ;;
17618 esac
17619 if test "x$wine_cv_64bit_compare_swap" != xunknown
17620 then
17621 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17625 #error no
17626 #endif
17628 main ()
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17637 else
17638 wine_cv_64bit_compare_swap="unknown"
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641 CFLAGS=$saved_CFLAGS
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17647 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17648 case "$wine_cv_64bit_compare_swap" in
17649 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17650 "none needed") ;;
17651 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17652 esac
17654 for ac_flag in $CFLAGS; do
17655 case $ac_flag in
17656 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17657 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17658 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_wine_try_cflags_saved=$CFLAGS
17662 CFLAGS="$CFLAGS -gdwarf-2"
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 int main(int argc, char **argv) { return 0; }
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_cflags__gdwarf_2=yes
17669 else
17670 ac_cv_cflags__gdwarf_2=no
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17674 CFLAGS=$ac_wine_try_cflags_saved
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17677 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17678 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17679 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17682 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17683 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 ac_wine_try_cflags_saved=$CFLAGS
17687 CFLAGS="$CFLAGS -gstrict-dwarf"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 int main(int argc, char **argv) { return 0; }
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_cflags__gstrict_dwarf=yes
17694 else
17695 ac_cv_cflags__gstrict_dwarf=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 CFLAGS=$ac_wine_try_cflags_saved
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17702 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17703 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17704 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17705 fi ;;
17706 esac
17707 done
17709 MSVCRTFLAGS=""
17711 case $host_os in
17712 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17713 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17714 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 ac_wine_try_cflags_saved=$CFLAGS
17718 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 int main(int argc, char **argv) { return 0; }
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17725 else
17726 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 CFLAGS=$ac_wine_try_cflags_saved
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17733 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17734 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17735 DELAYLOADFLAG="-Wl,-delayload,"
17737 fi ;;
17738 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17739 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17740 if ${ac_cv_cflags__fno_builtin+:} false; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17743 ac_wine_try_cflags_saved=$CFLAGS
17744 CFLAGS="$CFLAGS -fno-builtin"
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 int main(int argc, char **argv) { return 0; }
17748 _ACEOF
17749 if ac_fn_c_try_link "$LINENO"; then :
17750 ac_cv_cflags__fno_builtin=yes
17751 else
17752 ac_cv_cflags__fno_builtin=no
17754 rm -f core conftest.err conftest.$ac_objext \
17755 conftest$ac_exeext conftest.$ac_ext
17756 CFLAGS=$ac_wine_try_cflags_saved
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17759 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17760 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17761 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17764 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17765 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 ac_wine_try_cflags_saved=$CFLAGS
17769 CFLAGS="$CFLAGS -fshort-wchar"
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 int main(int argc, char **argv) { return 0; }
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 ac_cv_cflags__fshort_wchar=yes
17776 else
17777 ac_cv_cflags__fshort_wchar=no
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17781 CFLAGS=$ac_wine_try_cflags_saved
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17784 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17785 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17786 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17787 fi ;;
17788 esac
17790 case $host_cpu in
17791 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17792 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17793 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 ac_wine_try_cflags_saved=$CFLAGS
17797 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 int main(int argc, char **argv) { return 0; }
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"; then :
17803 ac_cv_cflags__fno_omit_frame_pointer=yes
17804 else
17805 ac_cv_cflags__fno_omit_frame_pointer=no
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17809 CFLAGS=$ac_wine_try_cflags_saved
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17812 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17813 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17814 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17815 fi ;;
17816 *x86_64*)
17817 case $host_os in
17818 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17819 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17820 if ${ac_cv_cflags__Wno_format+:} false; then :
17821 $as_echo_n "(cached) " >&6
17822 else
17823 ac_wine_try_cflags_saved=$CFLAGS
17824 CFLAGS="$CFLAGS -Wno-format"
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 int main(int argc, char **argv) { return 0; }
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"; then :
17830 ac_cv_cflags__Wno_format=yes
17831 else
17832 ac_cv_cflags__Wno_format=no
17834 rm -f core conftest.err conftest.$ac_objext \
17835 conftest$ac_exeext conftest.$ac_ext
17836 CFLAGS=$ac_wine_try_cflags_saved
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17839 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17840 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17841 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17842 fi ;;
17843 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17844 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17845 if ${ac_cv_cflags__mabi_ms+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 ac_wine_try_cflags_saved=$CFLAGS
17849 CFLAGS="$CFLAGS -mabi=ms"
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 int main(int argc, char **argv) { return 0; }
17853 _ACEOF
17854 if ac_fn_c_try_link "$LINENO"; then :
17855 ac_cv_cflags__mabi_ms=yes
17856 else
17857 ac_cv_cflags__mabi_ms=no
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17861 CFLAGS=$ac_wine_try_cflags_saved
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17864 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17865 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17866 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17867 fi ;;
17868 esac ;;
17869 esac
17871 CFLAGS=$saved_CFLAGS
17873 if test "x$enable_werror" = "xyes"
17874 then
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17876 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17877 if ${ac_cv_cflags__Werror+:} false; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 ac_wine_try_cflags_saved=$CFLAGS
17881 CFLAGS="$CFLAGS -Werror"
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17884 int main(int argc, char **argv) { return 0; }
17885 _ACEOF
17886 if ac_fn_c_try_link "$LINENO"; then :
17887 ac_cv_cflags__Werror=yes
17888 else
17889 ac_cv_cflags__Werror=no
17891 rm -f core conftest.err conftest.$ac_objext \
17892 conftest$ac_exeext conftest.$ac_ext
17893 CFLAGS=$ac_wine_try_cflags_saved
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17896 $as_echo "$ac_cv_cflags__Werror" >&6; }
17897 if test "x$ac_cv_cflags__Werror" = xyes; then :
17898 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17901 if test "x$enable_build_id" = "xyes"
17902 then
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17904 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17905 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17906 $as_echo_n "(cached) " >&6
17907 else
17908 ac_wine_try_cflags_saved=$CFLAGS
17909 CFLAGS="$CFLAGS -Wl,--build-id"
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17912 int main(int argc, char **argv) { return 0; }
17913 _ACEOF
17914 if ac_fn_c_try_link "$LINENO"; then :
17915 ac_cv_cflags__Wl___build_id=yes
17916 else
17917 ac_cv_cflags__Wl___build_id=no
17919 rm -f core conftest.err conftest.$ac_objext \
17920 conftest$ac_exeext conftest.$ac_ext
17921 CFLAGS=$ac_wine_try_cflags_saved
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17924 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17925 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17926 CFLAGS="$CFLAGS -Wl,--build-id"
17927 LDFLAGS="$LDFLAGS -Wl,--build-id"
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17934 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17935 if ${ac_cv_c_fortify_enabled+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <string.h>
17942 main ()
17944 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17945 #error Fortify enabled
17946 #endif
17948 return 0;
17950 _ACEOF
17951 if ac_fn_c_try_compile "$LINENO"; then :
17952 ac_cv_c_fortify_enabled=no
17953 else
17954 ac_cv_c_fortify_enabled=yes
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17959 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17960 if test "$ac_cv_c_fortify_enabled" = yes
17961 then
17962 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17967 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17968 if ${ac_cv_c_cfi_support+:} false; then :
17969 $as_echo_n "(cached) " >&6
17970 else
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17973 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17975 main ()
17979 return 0;
17981 _ACEOF
17982 if ac_fn_c_try_compile "$LINENO"; then :
17983 ac_cv_c_cfi_support="yes"
17984 else
17985 ac_cv_c_cfi_support="no"
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17990 $as_echo "$ac_cv_c_cfi_support" >&6; }
17991 if test "$ac_cv_c_cfi_support" = "yes"
17992 then
17993 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17994 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17995 else
17996 if test "x$enable_win64" = "xyes"
17997 then
17998 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18003 case $build_os in
18004 cygwin*|mingw32*) TOOLSEXT=".exe"
18006 esac
18008 case $host_os in
18009 linux*)
18010 case $host_cpu in
18011 *i[3456789]86*|x86_64*|*aarch64*)
18012 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18013 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18015 esac
18017 esac
18020 ac_save_CFLAGS="$CFLAGS"
18021 CFLAGS="$CFLAGS $BUILTINFLAG"
18022 for ac_func in \
18023 __res_get_state \
18024 __res_getservers \
18025 _spawnvp \
18026 epoll_create \
18027 fnmatch \
18028 fork \
18029 fstatfs \
18030 futimens \
18031 futimes \
18032 futimesat \
18033 getattrlist \
18034 getauxval \
18035 getifaddrs \
18036 getopt_long_only \
18037 getrandom \
18038 kqueue \
18039 lstat \
18040 mach_continuous_time \
18041 pipe2 \
18042 poll \
18043 port_create \
18044 prctl \
18045 pread \
18046 proc_pidinfo \
18047 pwrite \
18048 readlink \
18049 sched_yield \
18050 setproctitle \
18051 setprogname \
18052 sigprocmask \
18053 symlink \
18054 tcdrain \
18055 thr_kill2
18057 do :
18058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18060 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18061 cat >>confdefs.h <<_ACEOF
18062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18063 _ACEOF
18066 done
18068 CFLAGS="$ac_save_CFLAGS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18071 $as_echo_n "checking for library containing dlopen... " >&6; }
18072 if ${ac_cv_search_dlopen+:} false; then :
18073 $as_echo_n "(cached) " >&6
18074 else
18075 ac_func_search_save_LIBS=$LIBS
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18082 #ifdef __cplusplus
18083 extern "C"
18084 #endif
18085 char dlopen ();
18087 main ()
18089 return dlopen ();
18091 return 0;
18093 _ACEOF
18094 for ac_lib in '' dl; do
18095 if test -z "$ac_lib"; then
18096 ac_res="none required"
18097 else
18098 ac_res=-l$ac_lib
18099 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_search_dlopen=$ac_res
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext
18106 if ${ac_cv_search_dlopen+:} false; then :
18107 break
18109 done
18110 if ${ac_cv_search_dlopen+:} false; then :
18112 else
18113 ac_cv_search_dlopen=no
18115 rm conftest.$ac_ext
18116 LIBS=$ac_func_search_save_LIBS
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18119 $as_echo "$ac_cv_search_dlopen" >&6; }
18120 ac_res=$ac_cv_search_dlopen
18121 if test "$ac_res" != no; then :
18122 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18126 ac_wine_check_funcs_save_LIBS="$LIBS"
18127 LIBS="$LIBS $DL_LIBS"
18128 for ac_func in dladdr dlinfo
18129 do :
18130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18133 cat >>confdefs.h <<_ACEOF
18134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18135 _ACEOF
18138 done
18140 LIBS="$ac_wine_check_funcs_save_LIBS"
18142 if test "$ac_cv_func_poll" = no
18143 then
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18145 $as_echo_n "checking for poll in -lpoll... " >&6; }
18146 if ${ac_cv_lib_poll_poll+:} false; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18149 ac_check_lib_save_LIBS=$LIBS
18150 LIBS="-lpoll $LIBS"
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18154 /* Override any GCC internal prototype to avoid an error.
18155 Use char because int might match the return type of a GCC
18156 builtin and then its argument prototype would still apply. */
18157 #ifdef __cplusplus
18158 extern "C"
18159 #endif
18160 char poll ();
18162 main ()
18164 return poll ();
18166 return 0;
18168 _ACEOF
18169 if ac_fn_c_try_link "$LINENO"; then :
18170 ac_cv_lib_poll_poll=yes
18171 else
18172 ac_cv_lib_poll_poll=no
18174 rm -f core conftest.err conftest.$ac_objext \
18175 conftest$ac_exeext conftest.$ac_ext
18176 LIBS=$ac_check_lib_save_LIBS
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18179 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18180 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18181 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18182 POLL_LIBS="-lpoll"
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18189 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18190 if ${ac_cv_search_gethostbyname+:} false; then :
18191 $as_echo_n "(cached) " >&6
18192 else
18193 ac_func_search_save_LIBS=$LIBS
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18197 /* Override any GCC internal prototype to avoid an error.
18198 Use char because int might match the return type of a GCC
18199 builtin and then its argument prototype would still apply. */
18200 #ifdef __cplusplus
18201 extern "C"
18202 #endif
18203 char gethostbyname ();
18205 main ()
18207 return gethostbyname ();
18209 return 0;
18211 _ACEOF
18212 for ac_lib in '' nsl; do
18213 if test -z "$ac_lib"; then
18214 ac_res="none required"
18215 else
18216 ac_res=-l$ac_lib
18217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18219 if ac_fn_c_try_link "$LINENO"; then :
18220 ac_cv_search_gethostbyname=$ac_res
18222 rm -f core conftest.err conftest.$ac_objext \
18223 conftest$ac_exeext
18224 if ${ac_cv_search_gethostbyname+:} false; then :
18225 break
18227 done
18228 if ${ac_cv_search_gethostbyname+:} false; then :
18230 else
18231 ac_cv_search_gethostbyname=no
18233 rm conftest.$ac_ext
18234 LIBS=$ac_func_search_save_LIBS
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18237 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18238 ac_res=$ac_cv_search_gethostbyname
18239 if test "$ac_res" != no; then :
18240 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18246 $as_echo_n "checking for library containing connect... " >&6; }
18247 if ${ac_cv_search_connect+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 ac_func_search_save_LIBS=$LIBS
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 #ifdef __cplusplus
18258 extern "C"
18259 #endif
18260 char connect ();
18262 main ()
18264 return connect ();
18266 return 0;
18268 _ACEOF
18269 for ac_lib in '' socket; do
18270 if test -z "$ac_lib"; then
18271 ac_res="none required"
18272 else
18273 ac_res=-l$ac_lib
18274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18276 if ac_fn_c_try_link "$LINENO"; then :
18277 ac_cv_search_connect=$ac_res
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext
18281 if ${ac_cv_search_connect+:} false; then :
18282 break
18284 done
18285 if ${ac_cv_search_connect+:} false; then :
18287 else
18288 ac_cv_search_connect=no
18290 rm conftest.$ac_ext
18291 LIBS=$ac_func_search_save_LIBS
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18294 $as_echo "$ac_cv_search_connect" >&6; }
18295 ac_res=$ac_cv_search_connect
18296 if test "$ac_res" != no; then :
18297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18303 $as_echo_n "checking for library containing inet_aton... " >&6; }
18304 if ${ac_cv_search_inet_aton+:} false; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18307 ac_func_search_save_LIBS=$LIBS
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char inet_aton ();
18319 main ()
18321 return inet_aton ();
18323 return 0;
18325 _ACEOF
18326 for ac_lib in '' resolv; do
18327 if test -z "$ac_lib"; then
18328 ac_res="none required"
18329 else
18330 ac_res=-l$ac_lib
18331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 ac_cv_search_inet_aton=$ac_res
18336 rm -f core conftest.err conftest.$ac_objext \
18337 conftest$ac_exeext
18338 if ${ac_cv_search_inet_aton+:} false; then :
18339 break
18341 done
18342 if ${ac_cv_search_inet_aton+:} false; then :
18344 else
18345 ac_cv_search_inet_aton=no
18347 rm conftest.$ac_ext
18348 LIBS=$ac_func_search_save_LIBS
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18351 $as_echo "$ac_cv_search_inet_aton" >&6; }
18352 ac_res=$ac_cv_search_inet_aton
18353 if test "$ac_res" != no; then :
18354 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18359 for ac_func in \
18360 getaddrinfo \
18361 getnameinfo \
18362 getservbyport \
18364 do :
18365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18368 cat >>confdefs.h <<_ACEOF
18369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18370 _ACEOF
18373 done
18376 case $host_os in
18377 darwin*|macosx*) ;;
18378 *) ac_save_LIBS=$LIBS
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18380 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18381 if ${ac_cv_search_clock_gettime+:} false; then :
18382 $as_echo_n "(cached) " >&6
18383 else
18384 ac_func_search_save_LIBS=$LIBS
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 /* Override any GCC internal prototype to avoid an error.
18389 Use char because int might match the return type of a GCC
18390 builtin and then its argument prototype would still apply. */
18391 #ifdef __cplusplus
18392 extern "C"
18393 #endif
18394 char clock_gettime ();
18396 main ()
18398 return clock_gettime ();
18400 return 0;
18402 _ACEOF
18403 for ac_lib in '' rt; do
18404 if test -z "$ac_lib"; then
18405 ac_res="none required"
18406 else
18407 ac_res=-l$ac_lib
18408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18410 if ac_fn_c_try_link "$LINENO"; then :
18411 ac_cv_search_clock_gettime=$ac_res
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext
18415 if ${ac_cv_search_clock_gettime+:} false; then :
18416 break
18418 done
18419 if ${ac_cv_search_clock_gettime+:} false; then :
18421 else
18422 ac_cv_search_clock_gettime=no
18424 rm conftest.$ac_ext
18425 LIBS=$ac_func_search_save_LIBS
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18428 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18429 ac_res=$ac_cv_search_clock_gettime
18430 if test "$ac_res" != no; then :
18431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18433 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18435 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18439 LIBS=$ac_save_LIBS
18441 esac
18443 if test "x$with_ldap" != "xno"
18444 then
18445 if ${LDAP_CFLAGS:+false} :; then :
18446 if ${PKG_CONFIG+:} false; then :
18447 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18451 if ${LDAP_LIBS:+false} :; then :
18452 if ${PKG_CONFIG+:} false; then :
18453 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18457 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18458 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18459 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18460 ac_save_CPPFLAGS=$CPPFLAGS
18461 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18462 for ac_header in ldap.h lber.h
18463 do :
18464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18467 cat >>confdefs.h <<_ACEOF
18468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18469 _ACEOF
18473 done
18475 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18476 then
18477 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18479 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18481 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18482 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18483 $as_echo_n "(cached) " >&6
18484 else
18485 ac_check_lib_save_LIBS=$LIBS
18486 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18493 #ifdef __cplusplus
18494 extern "C"
18495 #endif
18496 char ldap_initialize ();
18498 main ()
18500 return ldap_initialize ();
18502 return 0;
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"; then :
18506 ac_cv_lib_ldap_r_ldap_initialize=yes
18507 else
18508 ac_cv_lib_ldap_r_ldap_initialize=no
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18512 LIBS=$ac_check_lib_save_LIBS
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18515 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18516 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18518 $as_echo_n "checking for ber_init in -llber... " >&6; }
18519 if ${ac_cv_lib_lber_ber_init+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 ac_check_lib_save_LIBS=$LIBS
18523 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18527 /* Override any GCC internal prototype to avoid an error.
18528 Use char because int might match the return type of a GCC
18529 builtin and then its argument prototype would still apply. */
18530 #ifdef __cplusplus
18531 extern "C"
18532 #endif
18533 char ber_init ();
18535 main ()
18537 return ber_init ();
18539 return 0;
18541 _ACEOF
18542 if ac_fn_c_try_link "$LINENO"; then :
18543 ac_cv_lib_lber_ber_init=yes
18544 else
18545 ac_cv_lib_lber_ber_init=no
18547 rm -f core conftest.err conftest.$ac_objext \
18548 conftest$ac_exeext conftest.$ac_ext
18549 LIBS=$ac_check_lib_save_LIBS
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18552 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18553 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18555 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18557 else
18558 LDAP_LIBS=""
18561 else
18562 LDAP_LIBS=""
18565 else
18566 LDAP_LIBS=""
18569 ac_wine_check_funcs_save_LIBS="$LIBS"
18570 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18571 for ac_func in \
18572 ldap_count_references \
18573 ldap_first_reference \
18574 ldap_next_reference \
18575 ldap_parse_reference \
18576 ldap_parse_sort_control \
18577 ldap_parse_sortresponse_control \
18578 ldap_parse_vlv_control \
18579 ldap_parse_vlvresponse_control
18580 do :
18581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18584 cat >>confdefs.h <<_ACEOF
18585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18586 _ACEOF
18589 done
18591 LIBS="$ac_wine_check_funcs_save_LIBS"
18592 else
18593 LDAP_LIBS=""
18595 CPPFLAGS=$ac_save_CPPFLAGS
18598 if test "x$LDAP_LIBS" = "x"; then :
18599 case "x$with_ldap" in
18600 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18601 xno) ;;
18602 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18603 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18604 esac
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18609 $as_echo_n "checking for sched_setaffinity... " >&6; }
18610 if ${wine_cv_have_sched_setaffinity+:} false; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 #define _GNU_SOURCE
18616 #include <sched.h>
18618 main ()
18620 sched_setaffinity(0, 0, 0);
18622 return 0;
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"; then :
18626 wine_cv_have_sched_setaffinity=yes
18627 else
18628 wine_cv_have_sched_setaffinity=no
18630 rm -f core conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18634 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18635 if test "$wine_cv_have_sched_setaffinity" = "yes"
18636 then
18638 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18643 $as_echo_n "checking for fallocate... " >&6; }
18644 if ${wine_cv_have_fallocate+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 #define _GNU_SOURCE
18650 #include <fcntl.h>
18652 main ()
18654 fallocate(-1, 0, 0, 0);
18656 return 0;
18658 _ACEOF
18659 if ac_fn_c_try_link "$LINENO"; then :
18660 wine_cv_have_fallocate=yes
18661 else
18662 wine_cv_have_fallocate=no
18664 rm -f core conftest.err conftest.$ac_objext \
18665 conftest$ac_exeext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18668 $as_echo "$wine_cv_have_fallocate" >&6; }
18669 if test "$wine_cv_have_fallocate" = "yes"
18670 then
18672 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18678 $as_echo_n "checking for inline... " >&6; }
18679 if ${ac_cv_c_inline+:} false; then :
18680 $as_echo_n "(cached) " >&6
18681 else
18682 ac_cv_c_inline=no
18683 for ac_kw in inline __inline__ __inline; do
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18686 #ifndef __cplusplus
18687 typedef int foo_t;
18688 static $ac_kw foo_t static_foo () {return 0; }
18689 $ac_kw foo_t foo () {return 0; }
18690 #endif
18692 _ACEOF
18693 if ac_fn_c_try_compile "$LINENO"; then :
18694 ac_cv_c_inline=$ac_kw
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 test "$ac_cv_c_inline" != no && break
18698 done
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18702 $as_echo "$ac_cv_c_inline" >&6; }
18704 case $ac_cv_c_inline in
18705 inline | yes) ;;
18707 case $ac_cv_c_inline in
18708 no) ac_val=;;
18709 *) ac_val=$ac_cv_c_inline;;
18710 esac
18711 cat >>confdefs.h <<_ACEOF
18712 #ifndef __cplusplus
18713 #define inline $ac_val
18714 #endif
18715 _ACEOF
18717 esac
18719 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18720 #include <signal.h>
18722 if test "x$ac_cv_type_sigset_t" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_SIGSET_T 1
18726 _ACEOF
18731 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18733 if test "x$ac_cv_type_request_sense" = xyes; then :
18735 cat >>confdefs.h <<_ACEOF
18736 #define HAVE_REQUEST_SENSE 1
18737 _ACEOF
18743 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18744 #ifdef HAVE_SYS_SOCKET_H
18745 #include <sys/socket.h>
18746 #endif
18747 #ifdef HAVE_SYS_SOCKETVAR_H
18748 #include <sys/socketvar.h>
18749 #endif
18750 #ifdef HAVE_NET_ROUTE_H
18751 #include <net/route.h>
18752 #endif
18753 #ifdef HAVE_NETINET_IN_H
18754 #include <netinet/in.h>
18755 #endif
18756 #ifdef HAVE_NETINET_IN_SYSTM_H
18757 #include <netinet/in_systm.h>
18758 #endif
18759 #ifdef HAVE_NETINET_IP_H
18760 #include <netinet/ip.h>
18761 #endif
18762 #ifdef HAVE_NETINET_IN_PCB_H
18763 #include <netinet/in_pcb.h>
18764 #endif
18766 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_STRUCT_XINPGEN 1
18770 _ACEOF
18776 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18777 #include <linux/input.h>
18778 #endif
18780 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18784 _ACEOF
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18791 $as_echo_n "checking for if_nameindex... " >&6; }
18792 if ${wine_cv_have_if_nameindex+:} false; then :
18793 $as_echo_n "(cached) " >&6
18794 else
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 #ifdef HAVE_SYS_TYPES_H
18798 #include <sys/types.h>
18799 #endif
18800 #ifdef HAVE_SYS_SOCKET_H
18801 #include <sys/socket.h>
18802 #endif
18803 #ifdef HAVE_NET_IF_H
18804 # include <net/if.h>
18805 #endif
18807 main ()
18809 struct if_nameindex *p = if_nameindex(); return p->if_index;
18811 return 0;
18813 _ACEOF
18814 if ac_fn_c_try_link "$LINENO"; then :
18815 wine_cv_have_if_nameindex=yes
18816 else
18817 wine_cv_have_if_nameindex=no
18819 rm -f core conftest.err conftest.$ac_objext \
18820 conftest$ac_exeext conftest.$ac_ext
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18823 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18824 if test "$wine_cv_have_if_nameindex" = "yes"
18825 then
18827 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18832 $as_echo_n "checking for sigaddset... " >&6; }
18833 if ${wine_cv_have_sigaddset+:} false; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 #include <signal.h>
18840 main ()
18842 sigset_t set; sigaddset(&set,SIGTERM);
18844 return 0;
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"; then :
18848 wine_cv_have_sigaddset=yes
18849 else
18850 wine_cv_have_sigaddset=no
18852 rm -f core conftest.err conftest.$ac_objext \
18853 conftest$ac_exeext conftest.$ac_ext
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18856 $as_echo "$wine_cv_have_sigaddset" >&6; }
18857 if test "$wine_cv_have_sigaddset" = "yes"
18858 then
18860 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18866 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18867 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18868 $as_echo_n "(cached) " >&6
18869 else
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 #include <netdb.h>
18874 main ()
18877 char *name=0;
18878 struct hostent he;
18879 struct hostent *result;
18880 char *buf=0;
18881 int bufsize=0;
18882 int errnr;
18883 char *addr=0;
18884 int addrlen=0;
18885 int addrtype=0;
18886 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18887 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18890 return 0;
18892 _ACEOF
18893 if ac_fn_c_try_link "$LINENO"; then :
18894 wine_cv_linux_gethostbyname_r_6=yes
18895 else
18896 wine_cv_linux_gethostbyname_r_6=no
18899 rm -f core conftest.err conftest.$ac_objext \
18900 conftest$ac_exeext conftest.$ac_ext
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18904 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18905 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18906 then
18908 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18912 if test "$ac_cv_header_linux_joystick_h" = "yes"
18913 then
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18915 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18916 if ${wine_cv_linux_joystick_22_api+:} false; then :
18917 $as_echo_n "(cached) " >&6
18918 else
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18922 #include <sys/ioctl.h>
18923 #include <sys/types.h>
18924 #include <linux/joystick.h>
18926 struct js_event blub;
18927 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18928 #error "no 2.2 header"
18929 #endif
18932 main ()
18934 /*empty*/
18936 return 0;
18938 _ACEOF
18939 if ac_fn_c_try_compile "$LINENO"; then :
18940 wine_cv_linux_joystick_22_api=yes
18941 else
18942 wine_cv_linux_joystick_22_api=no
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18948 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18949 if test "$wine_cv_linux_joystick_22_api" = "yes"
18950 then
18952 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18957 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18958 #ifdef HAVE_SYS_SOCKET_H
18959 # include <sys/socket.h>
18960 #endif
18961 #ifdef HAVE_SYS_UN_H
18962 # include <sys/un.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_SOCKET_H
18975 # include <sys/socket.h>
18976 #endif
18977 #ifdef HAVE_SYS_UN_H
18978 # include <sys/un.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18990 #ifdef HAVE_SYS_SOCKET_H
18991 # include <sys/socket.h>
18992 #endif
18993 #ifdef HAVE_SYS_UN_H
18994 # include <sys/un.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19001 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19008 #ifdef HAVE_SCSI_SG_H
19009 #include <scsi/sg.h>
19010 #endif
19012 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_SCSIREQ_T_CMD 1
19016 _ACEOF
19020 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>
19021 #ifdef HAVE_SCSI_SG_H
19022 #include <scsi/sg.h>
19023 #endif
19025 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19037 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_SIGINFO_T_SI_FD 1
19041 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19048 #ifdef HAVE_SYS_MTIO_H
19049 #include <sys/mtio.h>
19050 #endif
19052 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19056 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19061 #ifdef HAVE_SYS_MTIO_H
19062 #include <sys/mtio.h>
19063 #endif
19065 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19074 #ifdef HAVE_SYS_MTIO_H
19075 #include <sys/mtio.h>
19076 #endif
19078 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19082 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19089 #include <getopt.h>
19090 #endif
19092 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_OPTION_NAME 1
19096 _ACEOF
19102 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19103 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19107 _ACEOF
19111 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19112 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STRUCT_STAT_ST_MTIM 1
19116 _ACEOF
19120 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19121 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19125 _ACEOF
19129 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19130 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_STAT_ST_CTIM 1
19134 _ACEOF
19138 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19139 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19143 _ACEOF
19147 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19148 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_STRUCT_STAT_ST_ATIM 1
19152 _ACEOF
19156 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19157 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19161 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19166 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19170 _ACEOF
19174 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19175 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19184 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19188 _ACEOF
19192 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19193 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19197 _ACEOF
19201 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19202 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19206 _ACEOF
19212 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
19213 #include <sys/types.h>
19214 #endif
19215 #ifdef HAVE_NETINET_IN_H
19216 #include <netinet/in.h>
19217 #endif
19219 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19223 _ACEOF
19229 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IN_H
19233 #include <netinet/in.h>
19234 #endif
19235 #ifdef HAVE_RESOLV_H
19236 #include <resolv.h>
19237 #endif
19239 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19241 cat >>confdefs.h <<_ACEOF
19242 #define HAVE_STRUCT___RES_STATE 1
19243 _ACEOF
19249 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
19250 #include <resolv.h>
19251 #endif
19253 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19257 _ACEOF
19263 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19264 #include <sys/types.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IN_H
19267 # include <netinet/in.h>
19268 #endif
19269 #ifdef HAVE_ARPA_NAMESER_H
19270 # include <arpa/nameser.h>
19271 #endif
19273 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_NS_MSG__MSG_PTR 1
19277 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19284 #include <sys/types.h>
19285 #endif
19286 #ifdef HAVE_NETINET_IN_H
19287 #include <netinet/in.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IP_H
19290 #include <netinet/ip.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_ICMP_H
19293 #include <netinet/ip_icmp.h>
19294 #endif
19295 #ifdef HAVE_NETINET_ICMP_VAR_H
19296 #include <netinet/icmp_var.h>
19297 #endif
19299 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19303 _ACEOF
19309 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19310 #include <sys/types.h>
19311 #endif
19312 #ifdef HAVE_ALIAS_H
19313 #include <alias.h>
19314 #endif
19315 #ifdef HAVE_SYS_SOCKET_H
19316 #include <sys/socket.h>
19317 #endif
19318 #ifdef HAVE_SYS_SOCKETVAR_H
19319 #include <sys/socketvar.h>
19320 #endif
19321 #ifdef HAVE_SYS_TIMEOUT_H
19322 #include <sys/timeout.h>
19323 #endif
19324 #ifdef HAVE_NETINET_IN_H
19325 #include <netinet/in.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IN_SYSTM_H
19328 #include <netinet/in_systm.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_H
19331 #include <netinet/ip.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_VAR_H
19334 #include <netinet/ip_var.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_ICMP_H
19337 #include <netinet/ip_icmp.h>
19338 #endif
19339 #ifdef HAVE_NETINET_ICMP_VAR_H
19340 #include <netinet/icmp_var.h>
19341 #endif
19343 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19347 _ACEOF
19353 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19354 #include <sys/types.h>
19355 #endif
19356 #ifdef HAVE_SYS_SOCKETVAR_H
19357 #include <sys/socketvar.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IN_H
19360 #include <netinet/in.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IP_VAR_H
19363 #include <netinet/ip_var.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19370 _ACEOF
19376 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
19377 #include <netinet/ip_var.h>
19378 #endif
19380 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19384 _ACEOF
19390 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19391 #include <sys/types.h>
19392 #endif
19393 #ifdef HAVE_SYS_SOCKETVAR_H
19394 #include <sys/socketvar.h>
19395 #endif
19396 #ifdef HAVE_NETINET_IN_H
19397 #include <netinet/in.h>
19398 #endif
19399 #ifdef HAVE_NETINET_TCP_H
19400 #include <netinet/tcp.h>
19401 #endif
19402 #ifdef HAVE_NETINET_TCP_VAR_H
19403 #include <netinet/tcp_var.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19410 _ACEOF
19416 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
19417 #include <netinet/tcp_var.h>
19418 #endif
19420 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19422 cat >>confdefs.h <<_ACEOF
19423 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19424 _ACEOF
19430 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19431 #include <sys/types.h>
19432 #endif
19433 #ifdef HAVE_NETINET_IN_H
19434 #include <netinet/in.h>
19435 #endif
19436 #ifdef HAVE_NETINET_IP_VAR_H
19437 #include <netinet/ip_var.h>
19438 #endif
19439 #ifdef HAVE_NETINET_UDP_H
19440 #include <netinet/udp.h>
19441 #endif
19442 #ifdef HAVE_NETINET_UDP_VAR_H
19443 #include <netinet/udp_var.h>
19444 #endif
19446 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19450 _ACEOF
19456 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19457 #include <sys/types.h>
19458 #endif
19459 #ifdef HAVE_NET_IF_H
19460 # include <net/if.h>
19461 #endif
19463 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19467 _ACEOF
19473 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19474 # include <sys/sysinfo.h>
19475 #endif
19477 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19481 _ACEOF
19485 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19486 # include <sys/sysinfo.h>
19487 #endif
19489 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19493 _ACEOF
19499 ac_save_LIBS="$LIBS"
19500 LIBS="$LIBS -lm"
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19502 $as_echo_n "checking for isfinite... " >&6; }
19503 if ${ac_cv_have_isfinite+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #define _GNU_SOURCE
19509 #include <math.h>
19511 main ()
19513 float f = 0.0; return isfinite(f)
19515 return 0;
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519 ac_cv_have_isfinite="yes"
19520 else
19521 ac_cv_have_isfinite="no"
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19527 $as_echo "$ac_cv_have_isfinite" >&6; }
19528 if test "$ac_cv_have_isfinite" = "yes"
19529 then
19531 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19536 $as_echo_n "checking for isinf... " >&6; }
19537 if ${ac_cv_have_isinf+:} false; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <math.h>
19544 main ()
19546 float f = 0.0; return isinf(f)
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_link "$LINENO"; then :
19552 ac_cv_have_isinf="yes"
19553 else
19554 ac_cv_have_isinf="no"
19556 rm -f core conftest.err conftest.$ac_objext \
19557 conftest$ac_exeext conftest.$ac_ext
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19560 $as_echo "$ac_cv_have_isinf" >&6; }
19561 if test "$ac_cv_have_isinf" = "yes"
19562 then
19564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19569 $as_echo_n "checking for isnan... " >&6; }
19570 if ${ac_cv_have_isnan+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <math.h>
19577 main ()
19579 float f = 0.0; return isnan(f)
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_link "$LINENO"; then :
19585 ac_cv_have_isnan="yes"
19586 else
19587 ac_cv_have_isnan="no"
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext conftest.$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19593 $as_echo "$ac_cv_have_isnan" >&6; }
19594 if test "$ac_cv_have_isnan" = "yes"
19595 then
19597 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19601 LIBS="$ac_save_LIBS"
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19604 $as_echo_n "checking for __builtin_popcount... " >&6; }
19605 if ${ac_cv_have___builtin_popcount+:} false; then :
19606 $as_echo_n "(cached) " >&6
19607 else
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19612 main ()
19614 return __builtin_popcount(1)
19616 return 0;
19618 _ACEOF
19619 if ac_fn_c_try_link "$LINENO"; then :
19620 ac_cv_have___builtin_popcount="yes"
19621 else
19622 ac_cv_have___builtin_popcount="no"
19624 rm -f core conftest.err conftest.$ac_objext \
19625 conftest$ac_exeext conftest.$ac_ext
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19628 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19629 if test "$ac_cv_have___builtin_popcount" = "yes"
19630 then
19632 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19637 $as_echo_n "checking for __clear_cache... " >&6; }
19638 if ${ac_cv_have___clear_cache+:} false; then :
19639 $as_echo_n "(cached) " >&6
19640 else
19641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19645 main ()
19647 __clear_cache((void*)0, (void*)0); return 0;
19649 return 0;
19651 _ACEOF
19652 if ac_fn_c_try_link "$LINENO"; then :
19653 ac_cv_have___clear_cache="yes"
19654 else
19655 ac_cv_have___clear_cache="no"
19657 rm -f core conftest.err conftest.$ac_objext \
19658 conftest$ac_exeext conftest.$ac_ext
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19661 $as_echo "$ac_cv_have___clear_cache" >&6; }
19662 if test "$ac_cv_have___clear_cache" = "yes"
19663 then
19665 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19670 case $host_cpu in
19671 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19672 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19673 if ${ac_cv_cpp_def___i386__+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678 #ifndef __i386__
19680 #endif
19681 _ACEOF
19682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19683 $EGREP "yes" >/dev/null 2>&1; then :
19684 ac_cv_cpp_def___i386__=yes
19685 else
19686 ac_cv_cpp_def___i386__=no
19688 rm -f conftest*
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19692 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19693 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19694 CFLAGS="$CFLAGS -D__i386__"
19695 LINTFLAGS="$LINTFLAGS -D__i386__"
19696 fi ;;
19697 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19698 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19699 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19700 $as_echo_n "(cached) " >&6
19701 else
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 #ifndef __x86_64__
19706 #endif
19707 _ACEOF
19708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19709 $EGREP "yes" >/dev/null 2>&1; then :
19710 ac_cv_cpp_def___x86_64__=yes
19711 else
19712 ac_cv_cpp_def___x86_64__=no
19714 rm -f conftest*
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19718 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19719 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19720 CFLAGS="$CFLAGS -D__x86_64__"
19721 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19722 fi ;;
19723 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19724 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19725 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19726 $as_echo_n "(cached) " >&6
19727 else
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #ifndef __sparc64__
19732 #endif
19733 _ACEOF
19734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19735 $EGREP "yes" >/dev/null 2>&1; then :
19736 ac_cv_cpp_def___sparc64__=yes
19737 else
19738 ac_cv_cpp_def___sparc64__=no
19740 rm -f conftest*
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19744 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19745 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19746 CFLAGS="$CFLAGS -D__sparc64__"
19747 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19748 fi ;;
19749 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19750 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19751 if ${ac_cv_cpp_def___sparc__+:} false; then :
19752 $as_echo_n "(cached) " >&6
19753 else
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #ifndef __sparc__
19758 #endif
19759 _ACEOF
19760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19761 $EGREP "yes" >/dev/null 2>&1; then :
19762 ac_cv_cpp_def___sparc__=yes
19763 else
19764 ac_cv_cpp_def___sparc__=no
19766 rm -f conftest*
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19770 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19771 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19772 CFLAGS="$CFLAGS -D__sparc__"
19773 LINTFLAGS="$LINTFLAGS -D__sparc__"
19774 fi ;;
19775 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19776 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19777 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19778 $as_echo_n "(cached) " >&6
19779 else
19780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19782 #ifndef __powerpc64__
19784 #endif
19785 _ACEOF
19786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19787 $EGREP "yes" >/dev/null 2>&1; then :
19788 ac_cv_cpp_def___powerpc64__=yes
19789 else
19790 ac_cv_cpp_def___powerpc64__=no
19792 rm -f conftest*
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19796 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19797 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19798 CFLAGS="$CFLAGS -D__powerpc64__"
19799 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19800 fi ;;
19801 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19802 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19803 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19808 #ifndef __powerpc__
19810 #endif
19811 _ACEOF
19812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19813 $EGREP "yes" >/dev/null 2>&1; then :
19814 ac_cv_cpp_def___powerpc__=yes
19815 else
19816 ac_cv_cpp_def___powerpc__=no
19818 rm -f conftest*
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19822 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19823 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19824 CFLAGS="$CFLAGS -D__powerpc__"
19825 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19826 fi ;;
19827 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19828 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19829 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19830 $as_echo_n "(cached) " >&6
19831 else
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19834 #ifndef __aarch64__
19836 #endif
19837 _ACEOF
19838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19839 $EGREP "yes" >/dev/null 2>&1; then :
19840 ac_cv_cpp_def___aarch64__=yes
19841 else
19842 ac_cv_cpp_def___aarch64__=no
19844 rm -f conftest*
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19848 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19849 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19850 CFLAGS="$CFLAGS -D__aarch64__"
19851 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19852 fi ;;
19853 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19854 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19855 if ${ac_cv_cpp_def___arm__+:} false; then :
19856 $as_echo_n "(cached) " >&6
19857 else
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #ifndef __arm__
19862 #endif
19863 _ACEOF
19864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19865 $EGREP "yes" >/dev/null 2>&1; then :
19866 ac_cv_cpp_def___arm__=yes
19867 else
19868 ac_cv_cpp_def___arm__=no
19870 rm -f conftest*
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19874 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19875 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19876 CFLAGS="$CFLAGS -D__arm__"
19877 LINTFLAGS="$LINTFLAGS -D__arm__"
19878 fi ;;
19879 esac
19881 case $host_vendor in
19882 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19883 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19884 if ${ac_cv_cpp_def___sun__+:} false; then :
19885 $as_echo_n "(cached) " >&6
19886 else
19887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19889 #ifndef __sun__
19891 #endif
19892 _ACEOF
19893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19894 $EGREP "yes" >/dev/null 2>&1; then :
19895 ac_cv_cpp_def___sun__=yes
19896 else
19897 ac_cv_cpp_def___sun__=no
19899 rm -f conftest*
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19903 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19904 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19905 CFLAGS="$CFLAGS -D__sun__"
19906 LINTFLAGS="$LINTFLAGS -D__sun__"
19907 fi ;;
19908 esac
19914 ac_config_commands="$ac_config_commands include/stamp-h"
19916 $as_echo_n "creating Makefile rules..." >&6
19918 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19919 OPENGL_LIBS = $OPENGL_LIBS
19920 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19921 IOKIT_LIBS = $IOKIT_LIBS
19922 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19923 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19924 CORESERVICES_LIBS = $CORESERVICES_LIBS
19925 APPKIT_LIBS = $APPKIT_LIBS
19926 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19927 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19928 SECURITY_LIBS = $SECURITY_LIBS
19929 COREAUDIO_LIBS = $COREAUDIO_LIBS
19930 OPENAL_LIBS = $OPENAL_LIBS
19931 OPENCL_LIBS = $OPENCL_LIBS
19932 QUICKTIME_LIBS = $QUICKTIME_LIBS
19933 CARBON_LIBS = $CARBON_LIBS
19934 METAL_LIBS = $METAL_LIBS
19935 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19936 PTHREAD_LIBS = $PTHREAD_LIBS
19937 X_CFLAGS = $X_CFLAGS
19938 X_PRE_LIBS = $X_PRE_LIBS
19939 X_LIBS = $X_LIBS
19940 X_EXTRA_LIBS = $X_EXTRA_LIBS
19941 PCAP_LIBS = $PCAP_LIBS
19942 XML2_CFLAGS = $XML2_CFLAGS
19943 XML2_LIBS = $XML2_LIBS
19944 XSLT_CFLAGS = $XSLT_CFLAGS
19945 XSLT_LIBS = $XSLT_LIBS
19946 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19947 INOTIFY_LIBS = $INOTIFY_LIBS
19948 DBUS_CFLAGS = $DBUS_CFLAGS
19949 DBUS_LIBS = $DBUS_LIBS
19950 HAL_CFLAGS = $HAL_CFLAGS
19951 HAL_LIBS = $HAL_LIBS
19952 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19953 GNUTLS_LIBS = $GNUTLS_LIBS
19954 SANE_CFLAGS = $SANE_CFLAGS
19955 SANE_LIBS = $SANE_LIBS
19956 USB_CFLAGS = $USB_CFLAGS
19957 USB_LIBS = $USB_LIBS
19958 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19959 GPHOTO2_LIBS = $GPHOTO2_LIBS
19960 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19961 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19962 RESOLV_LIBS = $RESOLV_LIBS
19963 LCMS2_CFLAGS = $LCMS2_CFLAGS
19964 LCMS2_LIBS = $LCMS2_LIBS
19965 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19966 FREETYPE_LIBS = $FREETYPE_LIBS
19967 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19968 PULSE_CFLAGS = $PULSE_CFLAGS
19969 PULSE_LIBS = $PULSE_LIBS
19970 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19971 GSTREAMER_LIBS = $GSTREAMER_LIBS
19972 ALSA_LIBS = $ALSA_LIBS
19973 OSS4_CFLAGS = $OSS4_CFLAGS
19974 OSS4_LIBS = $OSS4_LIBS
19975 UDEV_CFLAGS = $UDEV_CFLAGS
19976 UDEV_LIBS = $UDEV_LIBS
19977 UNWIND_CFLAGS = $UNWIND_CFLAGS
19978 UNWIND_LIBS = $UNWIND_LIBS
19979 SDL2_CFLAGS = $SDL2_CFLAGS
19980 SDL2_LIBS = $SDL2_LIBS
19981 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19982 FAUDIO_LIBS = $FAUDIO_LIBS
19983 CAPI20_CFLAGS = $CAPI20_CFLAGS
19984 CAPI20_LIBS = $CAPI20_LIBS
19985 CUPS_CFLAGS = $CUPS_CFLAGS
19986 CUPS_LIBS = $CUPS_LIBS
19987 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19988 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19989 KRB5_CFLAGS = $KRB5_CFLAGS
19990 KRB5_LIBS = $KRB5_LIBS
19991 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19992 GSSAPI_LIBS = $GSSAPI_LIBS
19993 JPEG_CFLAGS = $JPEG_CFLAGS
19994 JPEG_LIBS = $JPEG_LIBS
19995 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19996 JXRLIB_LIBS = $JXRLIB_LIBS
19997 PNG_CFLAGS = $PNG_CFLAGS
19998 PNG_LIBS = $PNG_LIBS
19999 TIFF_CFLAGS = $TIFF_CFLAGS
20000 TIFF_LIBS = $TIFF_LIBS
20001 MPG123_CFLAGS = $MPG123_CFLAGS
20002 MPG123_LIBS = $MPG123_LIBS
20003 KSTAT_LIBS = $KSTAT_LIBS
20004 PROCSTAT_LIBS = $PROCSTAT_LIBS
20005 NETAPI_CFLAGS = $NETAPI_CFLAGS
20006 NETAPI_LIBS = $NETAPI_LIBS
20007 VKD3D_CFLAGS = $VKD3D_CFLAGS
20008 VKD3D_LIBS = $VKD3D_LIBS
20009 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20010 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20011 POLL_LIBS = $POLL_LIBS
20012 RT_LIBS = $RT_LIBS
20013 LDAP_CFLAGS = $LDAP_CFLAGS
20014 LDAP_LIBS = $LDAP_LIBS
20018 makedep_flags=""
20019 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20022 wine_fn_append_rule "
20023 # Rules automatically generated by configure
20025 .INIT: Makefile
20026 .MAKEFILEDEPS:
20027 all: Makefile
20028 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20029 @./config.status Make.tmp Makefile
20030 depend: \$(MAKEDEP)
20031 \$(MAKEDEP)$makedep_flags
20032 dummy:
20033 .PHONY: depend dummy"
20035 ac_config_links="$ac_config_links wine:tools/winewrapper"
20036 wine_fn_config_symlink wine
20037 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20038 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20039 wine_fn_config_symlink wine64
20042 wine_fn_config_makefile dlls/acledit enable_acledit
20043 wine_fn_config_makefile dlls/aclui enable_aclui
20044 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20045 wine_fn_config_makefile dlls/activeds enable_activeds
20046 wine_fn_config_makefile dlls/activeds/tests enable_tests
20047 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20048 wine_fn_config_makefile dlls/adsiid enable_adsiid
20049 wine_fn_config_makefile dlls/adsldp enable_adsldp
20050 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20051 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20052 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20053 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20054 wine_fn_config_makefile dlls/advpack enable_advpack
20055 wine_fn_config_makefile dlls/advpack/tests enable_tests
20056 wine_fn_config_makefile dlls/amsi enable_amsi
20057 wine_fn_config_makefile dlls/amstream enable_amstream
20058 wine_fn_config_makefile dlls/amstream/tests enable_tests
20059 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20061 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20062 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20078 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20085 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20086 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20088 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20097 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20111 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20112 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20118 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20123 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20132 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20133 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20134 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20147 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20148 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20171 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20189 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20221 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20243 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20254 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20258 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20262 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20279 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20281 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20289 wine_fn_config_makefile dlls/apphelp enable_apphelp
20290 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20291 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20292 wine_fn_config_makefile dlls/atl enable_atl
20293 wine_fn_config_makefile dlls/atl/tests enable_tests
20294 wine_fn_config_makefile dlls/atl100 enable_atl100
20295 wine_fn_config_makefile dlls/atl100/tests enable_tests
20296 wine_fn_config_makefile dlls/atl110 enable_atl110
20297 wine_fn_config_makefile dlls/atl80 enable_atl80
20298 wine_fn_config_makefile dlls/atl80/tests enable_tests
20299 wine_fn_config_makefile dlls/atl90 enable_atl90
20300 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20301 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20302 wine_fn_config_makefile dlls/atmlib enable_atmlib
20303 wine_fn_config_makefile dlls/authz enable_authz
20304 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20305 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20306 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20307 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20308 wine_fn_config_makefile dlls/avrt enable_avrt
20309 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20310 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20311 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20312 wine_fn_config_makefile dlls/browseui enable_browseui
20313 wine_fn_config_makefile dlls/browseui/tests enable_tests
20314 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20315 wine_fn_config_makefile dlls/cabinet enable_cabinet
20316 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20317 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20318 wine_fn_config_makefile dlls/cards enable_cards
20319 wine_fn_config_makefile dlls/cdosys enable_cdosys
20320 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20321 wine_fn_config_makefile dlls/clusapi enable_clusapi
20322 wine_fn_config_makefile dlls/combase enable_combase
20323 wine_fn_config_makefile dlls/combase/tests enable_tests
20324 wine_fn_config_makefile dlls/comcat enable_comcat
20325 wine_fn_config_makefile dlls/comcat/tests enable_tests
20326 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20327 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20328 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20329 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20330 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20331 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20332 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20333 wine_fn_config_makefile dlls/compstui enable_compstui
20334 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20335 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20336 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20337 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20338 wine_fn_config_makefile dlls/connect enable_connect
20339 wine_fn_config_makefile dlls/credui enable_credui
20340 wine_fn_config_makefile dlls/credui/tests enable_tests
20341 wine_fn_config_makefile dlls/crtdll enable_crtdll
20342 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20343 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20344 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20345 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20346 wine_fn_config_makefile dlls/cryptext enable_cryptext
20347 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20348 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20349 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20350 wine_fn_config_makefile dlls/cryptui enable_cryptui
20351 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20352 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20353 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20354 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20355 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20356 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20357 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20358 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20359 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20360 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20361 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20362 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20363 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20364 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20365 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20366 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20367 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20368 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20369 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20370 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20371 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20372 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20373 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20374 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20375 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20376 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20377 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20378 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20379 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20380 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20381 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20382 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20383 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20384 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20385 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20386 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20387 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20388 wine_fn_config_makefile dlls/d3dim enable_d3dim
20389 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20390 wine_fn_config_makefile dlls/d3drm enable_d3drm
20391 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20392 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20393 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20394 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20395 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20396 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20397 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20398 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20399 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20400 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20401 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20402 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20403 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20404 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20405 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20406 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20407 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20408 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20409 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20410 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20411 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20412 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20413 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20414 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20415 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20416 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20417 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20418 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20419 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20420 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20421 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20422 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20423 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20424 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20425 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20426 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20427 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20428 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20429 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20430 wine_fn_config_makefile dlls/davclnt enable_davclnt
20431 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20432 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20433 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20434 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20435 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20436 wine_fn_config_makefile dlls/dcomp enable_dcomp
20437 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20438 wine_fn_config_makefile dlls/ddraw enable_ddraw
20439 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20440 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20441 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20442 wine_fn_config_makefile dlls/devenum enable_devenum
20443 wine_fn_config_makefile dlls/devenum/tests enable_tests
20444 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20445 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20446 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20447 wine_fn_config_makefile dlls/difxapi enable_difxapi
20448 wine_fn_config_makefile dlls/dinput enable_dinput
20449 wine_fn_config_makefile dlls/dinput/tests enable_tests
20450 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20451 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20452 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20453 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20454 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20455 wine_fn_config_makefile dlls/dispex enable_dispex
20456 wine_fn_config_makefile dlls/dispex/tests enable_tests
20457 wine_fn_config_makefile dlls/display.drv16 enable_win16
20458 wine_fn_config_makefile dlls/dmband enable_dmband
20459 wine_fn_config_makefile dlls/dmband/tests enable_tests
20460 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20461 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20462 wine_fn_config_makefile dlls/dmime enable_dmime
20463 wine_fn_config_makefile dlls/dmime/tests enable_tests
20464 wine_fn_config_makefile dlls/dmloader enable_dmloader
20465 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20466 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20467 wine_fn_config_makefile dlls/dmscript enable_dmscript
20468 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20469 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20470 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20471 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20472 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20473 wine_fn_config_makefile dlls/dmusic enable_dmusic
20474 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20475 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20476 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20477 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20478 wine_fn_config_makefile dlls/dplay enable_dplay
20479 wine_fn_config_makefile dlls/dplayx enable_dplayx
20480 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20481 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20482 wine_fn_config_makefile dlls/dpnet enable_dpnet
20483 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20484 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20485 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20486 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20487 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20488 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20489 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20490 wine_fn_config_makefile dlls/drmclien enable_drmclien
20491 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20492 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20493 wine_fn_config_makefile dlls/dsound enable_dsound
20494 wine_fn_config_makefile dlls/dsound/tests enable_tests
20495 wine_fn_config_makefile dlls/dsquery enable_dsquery
20496 wine_fn_config_makefile dlls/dssenh enable_dssenh
20497 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20498 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20499 wine_fn_config_makefile dlls/dswave enable_dswave
20500 wine_fn_config_makefile dlls/dswave/tests enable_tests
20501 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20502 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20503 wine_fn_config_makefile dlls/dwrite enable_dwrite
20504 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20505 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20506 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20507 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20508 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20509 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20510 wine_fn_config_makefile dlls/dxgi enable_dxgi
20511 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20512 wine_fn_config_makefile dlls/dxguid enable_dxguid
20513 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20514 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20515 wine_fn_config_makefile dlls/esent enable_esent
20516 wine_fn_config_makefile dlls/evr enable_evr
20517 wine_fn_config_makefile dlls/evr/tests enable_tests
20518 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20519 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20520 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20521 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20522 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20525 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20526 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20533 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20534 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20554 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20560 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
20561 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20571 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20572 wine_fn_config_makefile dlls/faultrep enable_faultrep
20573 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20574 wine_fn_config_makefile dlls/feclient enable_feclient
20575 wine_fn_config_makefile dlls/fltlib enable_fltlib
20576 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20577 wine_fn_config_makefile dlls/fntcache enable_fntcache
20578 wine_fn_config_makefile dlls/fontsub enable_fontsub
20579 wine_fn_config_makefile dlls/fusion enable_fusion
20580 wine_fn_config_makefile dlls/fusion/tests enable_tests
20581 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20582 wine_fn_config_makefile dlls/gameux enable_gameux
20583 wine_fn_config_makefile dlls/gameux/tests enable_tests
20584 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20585 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20586 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20587 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20588 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20589 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20590 wine_fn_config_makefile dlls/glu32 enable_glu32
20591 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20592 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20593 wine_fn_config_makefile dlls/hal enable_hal
20594 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20595 wine_fn_config_makefile dlls/hid enable_hid
20596 wine_fn_config_makefile dlls/hid/tests enable_tests
20597 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20598 wine_fn_config_makefile dlls/hlink enable_hlink
20599 wine_fn_config_makefile dlls/hlink/tests enable_tests
20600 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20601 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20602 wine_fn_config_makefile dlls/http.sys enable_http_sys
20603 wine_fn_config_makefile dlls/httpapi enable_httpapi
20604 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20605 wine_fn_config_makefile dlls/iccvid enable_iccvid
20606 wine_fn_config_makefile dlls/icmp enable_icmp
20607 wine_fn_config_makefile dlls/ieframe enable_ieframe
20608 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20609 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20610 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20611 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20612 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20613 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20614 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20615 wine_fn_config_makefile dlls/imm32 enable_imm32
20616 wine_fn_config_makefile dlls/imm32/tests enable_tests
20617 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20618 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20619 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20620 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20621 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20622 wine_fn_config_makefile dlls/infosoft enable_infosoft
20623 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20624 wine_fn_config_makefile dlls/initpki enable_initpki
20625 wine_fn_config_makefile dlls/inkobj enable_inkobj
20626 wine_fn_config_makefile dlls/inseng enable_inseng
20627 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20628 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20629 wine_fn_config_makefile dlls/iprop enable_iprop
20630 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20631 wine_fn_config_makefile dlls/itircl enable_itircl
20632 wine_fn_config_makefile dlls/itss enable_itss
20633 wine_fn_config_makefile dlls/itss/tests enable_tests
20634 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20635 wine_fn_config_makefile dlls/jscript enable_jscript
20636 wine_fn_config_makefile dlls/jscript/tests enable_tests
20637 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20638 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20639 wine_fn_config_makefile dlls/kerberos enable_kerberos
20640 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20641 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20642 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20643 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20644 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20645 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20646 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20647 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20648 wine_fn_config_makefile dlls/ksuser enable_ksuser
20649 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20650 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20651 wine_fn_config_makefile dlls/loadperf enable_loadperf
20652 wine_fn_config_makefile dlls/localspl enable_localspl
20653 wine_fn_config_makefile dlls/localspl/tests enable_tests
20654 wine_fn_config_makefile dlls/localui enable_localui
20655 wine_fn_config_makefile dlls/localui/tests enable_tests
20656 wine_fn_config_makefile dlls/lz32 enable_lz32
20657 wine_fn_config_makefile dlls/lz32/tests enable_tests
20658 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20659 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20660 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20661 wine_fn_config_makefile dlls/mapistub enable_mapistub
20662 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20663 wine_fn_config_makefile dlls/mcicda enable_mcicda
20664 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20665 wine_fn_config_makefile dlls/mciseq enable_mciseq
20666 wine_fn_config_makefile dlls/mciwave enable_mciwave
20667 wine_fn_config_makefile dlls/mf enable_mf
20668 wine_fn_config_makefile dlls/mf/tests enable_tests
20669 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20670 wine_fn_config_makefile dlls/mferror enable_mferror
20671 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20672 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20673 wine_fn_config_makefile dlls/mfplat enable_mfplat
20674 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20675 wine_fn_config_makefile dlls/mfplay enable_mfplay
20676 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20677 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20678 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20679 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20680 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20681 wine_fn_config_makefile dlls/midimap enable_midimap
20682 wine_fn_config_makefile dlls/mlang enable_mlang
20683 wine_fn_config_makefile dlls/mlang/tests enable_tests
20684 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20685 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20686 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20687 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20688 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20689 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20690 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20691 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20692 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20693 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20694 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20695 wine_fn_config_makefile dlls/mpr enable_mpr
20696 wine_fn_config_makefile dlls/mpr/tests enable_tests
20697 wine_fn_config_makefile dlls/mprapi enable_mprapi
20698 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20699 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20700 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20701 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20702 wine_fn_config_makefile dlls/msado15 enable_msado15
20703 wine_fn_config_makefile dlls/msado15/tests enable_tests
20704 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20705 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20706 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20707 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20708 wine_fn_config_makefile dlls/mscms enable_mscms
20709 wine_fn_config_makefile dlls/mscms/tests enable_tests
20710 wine_fn_config_makefile dlls/mscoree enable_mscoree
20711 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20712 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20713 wine_fn_config_makefile dlls/msctf enable_msctf
20714 wine_fn_config_makefile dlls/msctf/tests enable_tests
20715 wine_fn_config_makefile dlls/msctfp enable_msctfp
20716 wine_fn_config_makefile dlls/msdaps enable_msdaps
20717 wine_fn_config_makefile dlls/msdelta enable_msdelta
20718 wine_fn_config_makefile dlls/msdmo enable_msdmo
20719 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20720 wine_fn_config_makefile dlls/msdrm enable_msdrm
20721 wine_fn_config_makefile dlls/msftedit enable_msftedit
20722 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20723 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20724 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20725 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20726 wine_fn_config_makefile dlls/mshtml enable_mshtml
20727 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20728 wine_fn_config_makefile dlls/msi enable_msi
20729 wine_fn_config_makefile dlls/msi/tests enable_tests
20730 wine_fn_config_makefile dlls/msident enable_msident
20731 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20732 wine_fn_config_makefile dlls/msimsg enable_msimsg
20733 wine_fn_config_makefile dlls/msimtf enable_msimtf
20734 wine_fn_config_makefile dlls/msisip enable_msisip
20735 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20736 wine_fn_config_makefile dlls/msls31 enable_msls31
20737 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20738 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20739 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20740 wine_fn_config_makefile dlls/msports enable_msports
20741 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20742 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20743 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20744 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20745 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20746 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20747 wine_fn_config_makefile dlls/mstask enable_mstask
20748 wine_fn_config_makefile dlls/mstask/tests enable_tests
20749 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20750 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20751 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20752 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20753 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20754 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20755 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20756 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20757 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20758 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20759 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20760 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20761 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20762 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20763 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20764 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20765 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20766 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20767 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20768 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20769 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20770 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20771 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20773 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20775 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20777 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20779 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20780 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20781 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20782 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20783 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20785 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20787 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20788 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20789 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20790 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20791 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20792 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20793 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20794 wine_fn_config_makefile dlls/mswsock enable_mswsock
20795 wine_fn_config_makefile dlls/msxml enable_msxml
20796 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20797 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20798 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20799 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20800 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20801 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20802 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20803 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20804 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20805 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20806 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20807 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20808 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20809 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20810 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20811 wine_fn_config_makefile dlls/netprofm enable_netprofm
20812 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20813 wine_fn_config_makefile dlls/netutils enable_netutils
20814 wine_fn_config_makefile dlls/newdev enable_newdev
20815 wine_fn_config_makefile dlls/ninput enable_ninput
20816 wine_fn_config_makefile dlls/ninput/tests enable_tests
20817 wine_fn_config_makefile dlls/normaliz enable_normaliz
20818 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20819 wine_fn_config_makefile dlls/npptools enable_npptools
20820 wine_fn_config_makefile dlls/ntdll enable_ntdll
20821 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20822 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20823 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20824 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20825 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20826 wine_fn_config_makefile dlls/ntprint enable_ntprint
20827 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20828 wine_fn_config_makefile dlls/objsel enable_objsel
20829 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20830 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20831 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20832 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20833 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20834 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20835 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20836 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20837 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20838 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20839 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20840 wine_fn_config_makefile dlls/ole32 enable_ole32
20841 wine_fn_config_makefile dlls/ole32/tests enable_tests
20842 wine_fn_config_makefile dlls/oleacc enable_oleacc
20843 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20844 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20845 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20846 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20847 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20848 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20849 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20850 wine_fn_config_makefile dlls/oledlg enable_oledlg
20851 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20852 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20853 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20854 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20855 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20856 wine_fn_config_makefile dlls/opcservices enable_opcservices
20857 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20858 wine_fn_config_makefile dlls/openal32 enable_openal32
20859 wine_fn_config_makefile dlls/opencl enable_opencl
20860 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20861 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20862 wine_fn_config_makefile dlls/packager enable_packager
20863 wine_fn_config_makefile dlls/packager/tests enable_tests
20864 wine_fn_config_makefile dlls/pdh enable_pdh
20865 wine_fn_config_makefile dlls/pdh/tests enable_tests
20866 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20867 wine_fn_config_makefile dlls/pidgen enable_pidgen
20868 wine_fn_config_makefile dlls/powrprof enable_powrprof
20869 wine_fn_config_makefile dlls/printui enable_printui
20870 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20871 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20872 wine_fn_config_makefile dlls/propsys enable_propsys
20873 wine_fn_config_makefile dlls/propsys/tests enable_tests
20874 wine_fn_config_makefile dlls/psapi enable_psapi
20875 wine_fn_config_makefile dlls/psapi/tests enable_tests
20876 wine_fn_config_makefile dlls/pstorec enable_pstorec
20877 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20878 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20879 wine_fn_config_makefile dlls/qasf enable_qasf
20880 wine_fn_config_makefile dlls/qasf/tests enable_tests
20881 wine_fn_config_makefile dlls/qcap enable_qcap
20882 wine_fn_config_makefile dlls/qcap/tests enable_tests
20883 wine_fn_config_makefile dlls/qdvd enable_qdvd
20884 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20885 wine_fn_config_makefile dlls/qedit enable_qedit
20886 wine_fn_config_makefile dlls/qedit/tests enable_tests
20887 wine_fn_config_makefile dlls/qmgr enable_qmgr
20888 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20889 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20890 wine_fn_config_makefile dlls/quartz enable_quartz
20891 wine_fn_config_makefile dlls/quartz/tests enable_tests
20892 wine_fn_config_makefile dlls/query enable_query
20893 wine_fn_config_makefile dlls/qwave enable_qwave
20894 wine_fn_config_makefile dlls/qwave/tests enable_tests
20895 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20896 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20897 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20898 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20899 wine_fn_config_makefile dlls/regapi enable_regapi
20900 wine_fn_config_makefile dlls/resutils enable_resutils
20901 wine_fn_config_makefile dlls/riched20 enable_riched20
20902 wine_fn_config_makefile dlls/riched20/tests enable_tests
20903 wine_fn_config_makefile dlls/riched32 enable_riched32
20904 wine_fn_config_makefile dlls/riched32/tests enable_tests
20905 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20906 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20907 wine_fn_config_makefile dlls/rsabase enable_rsabase
20908 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20909 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20910 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20911 wine_fn_config_makefile dlls/rtutils enable_rtutils
20912 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20913 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20914 wine_fn_config_makefile dlls/samlib enable_samlib
20915 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20916 wine_fn_config_makefile dlls/sapi enable_sapi
20917 wine_fn_config_makefile dlls/sapi/tests enable_tests
20918 wine_fn_config_makefile dlls/sas enable_sas
20919 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20920 wine_fn_config_makefile dlls/sccbase enable_sccbase
20921 wine_fn_config_makefile dlls/schannel enable_schannel
20922 wine_fn_config_makefile dlls/schannel/tests enable_tests
20923 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20924 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20925 wine_fn_config_makefile dlls/scrobj enable_scrobj
20926 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20927 wine_fn_config_makefile dlls/scrrun enable_scrrun
20928 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20929 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20930 wine_fn_config_makefile dlls/sechost enable_sechost
20931 wine_fn_config_makefile dlls/secur32 enable_secur32
20932 wine_fn_config_makefile dlls/secur32/tests enable_tests
20933 wine_fn_config_makefile dlls/security enable_security
20934 wine_fn_config_makefile dlls/sensapi enable_sensapi
20935 wine_fn_config_makefile dlls/serialui enable_serialui
20936 wine_fn_config_makefile dlls/serialui/tests enable_tests
20937 wine_fn_config_makefile dlls/setupapi enable_setupapi
20938 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20939 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20940 wine_fn_config_makefile dlls/sfc enable_sfc
20941 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20942 wine_fn_config_makefile dlls/shcore enable_shcore
20943 wine_fn_config_makefile dlls/shcore/tests enable_tests
20944 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20945 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20946 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20947 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20948 wine_fn_config_makefile dlls/shell32 enable_shell32
20949 wine_fn_config_makefile dlls/shell32/tests enable_tests
20950 wine_fn_config_makefile dlls/shfolder enable_shfolder
20951 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20952 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20953 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20954 wine_fn_config_makefile dlls/slc enable_slc
20955 wine_fn_config_makefile dlls/slc/tests enable_tests
20956 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20957 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20958 wine_fn_config_makefile dlls/softpub enable_softpub
20959 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20960 wine_fn_config_makefile dlls/spoolss enable_spoolss
20961 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20962 wine_fn_config_makefile dlls/sppc enable_sppc
20963 wine_fn_config_makefile dlls/srclient enable_srclient
20964 wine_fn_config_makefile dlls/srvcli enable_srvcli
20965 wine_fn_config_makefile dlls/sspicli enable_sspicli
20966 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20967 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20968 wine_fn_config_makefile dlls/sti enable_sti
20969 wine_fn_config_makefile dlls/sti/tests enable_tests
20970 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20971 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20972 wine_fn_config_makefile dlls/strmbase enable_strmbase
20973 wine_fn_config_makefile dlls/strmdll enable_strmdll
20974 wine_fn_config_makefile dlls/strmiids enable_strmiids
20975 wine_fn_config_makefile dlls/svrapi enable_svrapi
20976 wine_fn_config_makefile dlls/sxs enable_sxs
20977 wine_fn_config_makefile dlls/sxs/tests enable_tests
20978 wine_fn_config_makefile dlls/system.drv16 enable_win16
20979 wine_fn_config_makefile dlls/t2embed enable_t2embed
20980 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20981 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20982 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20983 wine_fn_config_makefile dlls/taskschd enable_taskschd
20984 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20985 wine_fn_config_makefile dlls/tdh enable_tdh
20986 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20987 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20988 wine_fn_config_makefile dlls/traffic enable_traffic
20989 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20990 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20991 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20992 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20993 wine_fn_config_makefile dlls/tzres enable_tzres
20994 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20995 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20996 wine_fn_config_makefile dlls/uianimation enable_uianimation
20997 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20998 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20999 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21000 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21001 wine_fn_config_makefile dlls/unicows enable_unicows
21002 wine_fn_config_makefile dlls/updspapi enable_updspapi
21003 wine_fn_config_makefile dlls/url enable_url
21004 wine_fn_config_makefile dlls/urlmon enable_urlmon
21005 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21006 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21007 wine_fn_config_makefile dlls/user.exe16 enable_win16
21008 wine_fn_config_makefile dlls/user32 enable_user32
21009 wine_fn_config_makefile dlls/user32/tests enable_tests
21010 wine_fn_config_makefile dlls/userenv enable_userenv
21011 wine_fn_config_makefile dlls/userenv/tests enable_tests
21012 wine_fn_config_makefile dlls/usp10 enable_usp10
21013 wine_fn_config_makefile dlls/usp10/tests enable_tests
21014 wine_fn_config_makefile dlls/utildll enable_utildll
21015 wine_fn_config_makefile dlls/uuid enable_uuid
21016 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21017 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21018 wine_fn_config_makefile dlls/vbscript enable_vbscript
21019 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21020 wine_fn_config_makefile dlls/vcomp enable_vcomp
21021 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21022 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21023 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21024 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21025 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21026 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21027 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21028 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21029 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21030 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21031 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21032 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21033 wine_fn_config_makefile dlls/version enable_version
21034 wine_fn_config_makefile dlls/version/tests enable_tests
21035 wine_fn_config_makefile dlls/vga enable_vga
21036 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21037 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21038 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21039 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21040 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21041 wine_fn_config_makefile dlls/vssapi enable_vssapi
21042 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21043 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21044 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21045 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21046 wine_fn_config_makefile dlls/w32skrnl enable_win16
21047 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21048 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21049 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21050 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21051 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21052 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21053 wine_fn_config_makefile dlls/wdscore enable_wdscore
21054 wine_fn_config_makefile dlls/webservices enable_webservices
21055 wine_fn_config_makefile dlls/webservices/tests enable_tests
21056 wine_fn_config_makefile dlls/websocket enable_websocket
21057 wine_fn_config_makefile dlls/wer enable_wer
21058 wine_fn_config_makefile dlls/wer/tests enable_tests
21059 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21060 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21061 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21062 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21063 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21064 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21065 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21066 wine_fn_config_makefile dlls/win32u enable_win32u
21067 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21068 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21069 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21070 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21071 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21072 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21073 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21074 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21075 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21076 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21077 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21078 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21079 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21080 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21081 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21082 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21083 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21084 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21085 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21086 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21087 wine_fn_config_makefile dlls/wined3d enable_wined3d
21088 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21089 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21090 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21091 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21092 wine_fn_config_makefile dlls/winemapi enable_winemapi
21093 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21094 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21095 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21096 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21097 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21098 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21099 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21100 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21101 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21102 wine_fn_config_makefile dlls/wing32 enable_wing32
21103 wine_fn_config_makefile dlls/winhttp enable_winhttp
21104 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21105 wine_fn_config_makefile dlls/wininet enable_wininet
21106 wine_fn_config_makefile dlls/wininet/tests enable_tests
21107 wine_fn_config_makefile dlls/winmm enable_winmm
21108 wine_fn_config_makefile dlls/winmm/tests enable_tests
21109 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21110 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21111 wine_fn_config_makefile dlls/winscard enable_winscard
21112 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21113 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21114 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21115 wine_fn_config_makefile dlls/winsta enable_winsta
21116 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21117 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21118 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21119 wine_fn_config_makefile dlls/wintrust enable_wintrust
21120 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21121 wine_fn_config_makefile dlls/winusb enable_winusb
21122 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21123 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21124 wine_fn_config_makefile dlls/wlanui enable_wlanui
21125 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21126 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21127 wine_fn_config_makefile dlls/wmasf enable_wmasf
21128 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21129 wine_fn_config_makefile dlls/wmi enable_wmi
21130 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21131 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21132 wine_fn_config_makefile dlls/wmp enable_wmp
21133 wine_fn_config_makefile dlls/wmp/tests enable_tests
21134 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21135 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21136 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21137 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21138 wine_fn_config_makefile dlls/wow32 enable_win16
21139 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21140 wine_fn_config_makefile dlls/wpc enable_wpc
21141 wine_fn_config_makefile dlls/wpc/tests enable_tests
21142 wine_fn_config_makefile dlls/wpcap enable_wpcap
21143 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21144 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21145 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21146 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21147 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21148 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21149 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21150 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21151 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21152 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21153 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21154 wine_fn_config_makefile dlls/wuapi enable_wuapi
21155 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21156 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21157 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21158 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21159 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21160 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21161 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21162 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21163 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21164 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21165 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21166 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21167 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21168 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21169 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21170 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21171 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21172 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21173 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21174 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21175 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21176 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21177 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21178 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21179 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21180 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21181 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21182 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21183 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21184 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21185 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21186 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21187 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21188 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21189 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21190 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21191 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21192 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21193 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21194 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21195 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21196 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21197 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21198 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21199 wine_fn_config_makefile dlls/xmllite enable_xmllite
21200 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21201 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21202 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21203 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21204 wine_fn_config_makefile fonts enable_fonts
21205 wine_fn_config_makefile include enable_include
21206 wine_fn_config_makefile libs/port enable_port
21207 wine_fn_config_makefile libs/wine enable_wine
21208 wine_fn_config_makefile libs/wpp enable_wpp
21209 wine_fn_config_makefile loader enable_loader
21210 wine_fn_config_makefile nls enable_nls
21211 wine_fn_config_makefile po enable_po
21212 wine_fn_config_makefile programs/arp enable_arp
21213 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21214 wine_fn_config_makefile programs/attrib enable_attrib
21215 wine_fn_config_makefile programs/cabarc enable_cabarc
21216 wine_fn_config_makefile programs/cacls enable_cacls
21217 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21218 wine_fn_config_makefile programs/clock enable_clock
21219 wine_fn_config_makefile programs/cmd enable_cmd
21220 wine_fn_config_makefile programs/cmd/tests enable_tests
21221 wine_fn_config_makefile programs/conhost enable_conhost
21222 wine_fn_config_makefile programs/conhost/tests enable_tests
21223 wine_fn_config_makefile programs/control enable_control
21224 wine_fn_config_makefile programs/cscript enable_cscript
21225 wine_fn_config_makefile programs/dism enable_dism
21226 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21227 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21228 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21229 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21230 wine_fn_config_makefile programs/eject enable_eject
21231 wine_fn_config_makefile programs/expand enable_expand
21232 wine_fn_config_makefile programs/explorer enable_explorer
21233 wine_fn_config_makefile programs/extrac32 enable_extrac32
21234 wine_fn_config_makefile programs/fc enable_fc
21235 wine_fn_config_makefile programs/find enable_find
21236 wine_fn_config_makefile programs/find/tests enable_tests
21237 wine_fn_config_makefile programs/findstr enable_findstr
21238 wine_fn_config_makefile programs/fsutil enable_fsutil
21239 wine_fn_config_makefile programs/fsutil/tests enable_tests
21240 wine_fn_config_makefile programs/hh enable_hh
21241 wine_fn_config_makefile programs/hostname enable_hostname
21242 wine_fn_config_makefile programs/icacls enable_icacls
21243 wine_fn_config_makefile programs/icinfo enable_icinfo
21244 wine_fn_config_makefile programs/iexplore enable_iexplore
21245 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21246 wine_fn_config_makefile programs/lodctr enable_lodctr
21247 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21248 wine_fn_config_makefile programs/mshta enable_mshta
21249 wine_fn_config_makefile programs/msidb enable_msidb
21250 wine_fn_config_makefile programs/msiexec enable_msiexec
21251 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21252 wine_fn_config_makefile programs/net enable_net
21253 wine_fn_config_makefile programs/netsh enable_netsh
21254 wine_fn_config_makefile programs/netstat enable_netstat
21255 wine_fn_config_makefile programs/ngen enable_ngen
21256 wine_fn_config_makefile programs/notepad enable_notepad
21257 wine_fn_config_makefile programs/oleview enable_oleview
21258 wine_fn_config_makefile programs/ping enable_ping
21259 wine_fn_config_makefile programs/plugplay enable_plugplay
21260 wine_fn_config_makefile programs/powershell enable_powershell
21261 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21262 wine_fn_config_makefile programs/progman enable_progman
21263 wine_fn_config_makefile programs/reg enable_reg
21264 wine_fn_config_makefile programs/reg/tests enable_tests
21265 wine_fn_config_makefile programs/regasm enable_regasm
21266 wine_fn_config_makefile programs/regedit enable_regedit
21267 wine_fn_config_makefile programs/regedit/tests enable_tests
21268 wine_fn_config_makefile programs/regini enable_regini
21269 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21270 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21271 wine_fn_config_makefile programs/rpcss enable_rpcss
21272 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21273 wine_fn_config_makefile programs/rundll32 enable_rundll32
21274 wine_fn_config_makefile programs/sc enable_sc
21275 wine_fn_config_makefile programs/schtasks enable_schtasks
21276 wine_fn_config_makefile programs/schtasks/tests enable_tests
21277 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21278 wine_fn_config_makefile programs/secedit enable_secedit
21279 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21280 wine_fn_config_makefile programs/services enable_services
21281 wine_fn_config_makefile programs/services/tests enable_tests
21282 wine_fn_config_makefile programs/shutdown enable_shutdown
21283 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21284 wine_fn_config_makefile programs/start enable_start
21285 wine_fn_config_makefile programs/subst enable_subst
21286 wine_fn_config_makefile programs/svchost enable_svchost
21287 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21288 wine_fn_config_makefile programs/taskkill enable_taskkill
21289 wine_fn_config_makefile programs/tasklist enable_tasklist
21290 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21291 wine_fn_config_makefile programs/termsv enable_termsv
21292 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21293 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21294 wine_fn_config_makefile programs/view enable_view
21295 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21296 wine_fn_config_makefile programs/where enable_where
21297 wine_fn_config_makefile programs/whoami enable_whoami
21298 wine_fn_config_makefile programs/wineboot enable_wineboot
21299 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21300 wine_fn_config_makefile programs/winecfg enable_winecfg
21301 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21302 wine_fn_config_makefile programs/winedbg enable_winedbg
21303 wine_fn_config_makefile programs/winedevice enable_winedevice
21304 wine_fn_config_makefile programs/winefile enable_winefile
21305 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21306 wine_fn_config_makefile programs/winemine enable_winemine
21307 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21308 wine_fn_config_makefile programs/winepath enable_winepath
21309 wine_fn_config_makefile programs/winetest enable_winetest
21310 wine_fn_config_makefile programs/winevdm enable_win16
21311 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21312 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21313 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21314 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21315 wine_fn_config_makefile programs/winver enable_winver
21316 wine_fn_config_makefile programs/wmic enable_wmic
21317 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21318 wine_fn_config_makefile programs/wordpad enable_wordpad
21319 wine_fn_config_makefile programs/write enable_write
21320 wine_fn_config_makefile programs/wscript enable_wscript
21321 wine_fn_config_makefile programs/wscript/tests enable_tests
21322 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21323 wine_fn_config_makefile programs/wusa enable_wusa
21324 wine_fn_config_makefile programs/xcopy enable_xcopy
21325 wine_fn_config_makefile programs/xcopy/tests enable_tests
21326 wine_fn_config_makefile server enable_server
21327 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21328 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21329 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21333 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21338 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21339 wine_fn_append_file CONFIGURE_TARGETS "tags"
21340 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21341 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21342 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21343 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21344 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21345 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21347 if test "x$enable_tools" != xno
21348 then
21349 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21350 ac_config_commands="$ac_config_commands tools/makedep"
21354 ac_config_commands="$ac_config_commands Makefile"
21357 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21361 if test "x$enable_maintainer_mode" = xyes
21362 then
21363 wine_fn_append_rule "configure: configure.ac aclocal.m4
21364 autoconf --warnings=all
21365 include/config.h.in: include/stamp-h.in
21366 include/stamp-h.in: configure.ac aclocal.m4
21367 autoheader --warnings=all
21368 @echo timestamp > \$@"
21371 if test "x$enable_tools" != xno
21372 then
21373 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21374 @./config.status tools/makedep
21375 Makefile: tools/makedep$ac_exeext"
21376 else
21377 wine_fn_append_rule "\$(MAKEDEP):
21378 @echo \"You need to run make in $TOOLSDIR first\" && false"
21381 if test -n "$with_wine64"
21382 then
21383 case "$with_wine64" in
21384 /*) reldir="" ;;
21385 *) reldir="../" ;;
21386 esac
21387 rm -f fonts server 2>/dev/null
21388 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21389 loader/wine64 loader/wine64-preloader:
21390 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21391 $with_wine64/loader/wine:
21392 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21393 $with_wine64/loader/wine-preloader:
21394 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21395 clean::
21396 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21397 else
21398 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21399 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21400 fonts \
21401 loader/wine.inf \
21402 nls \
21403 programs/msidb/msidb \
21404 programs/msiexec/msiexec \
21405 programs/notepad/notepad \
21406 programs/regedit/regedit \
21407 programs/regsvr32/regsvr32 \
21408 programs/wineboot/wineboot \
21409 programs/winecfg/winecfg \
21410 programs/wineconsole/wineconsole \
21411 programs/winedbg/winedbg \
21412 programs/winefile/winefile \
21413 programs/winemine/winemine \
21414 programs/winepath/winepath \
21415 server/wineserver"
21417 case $host_os in
21418 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21419 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21420 esac
21423 $as_echo " done" >&6
21424 cat >confcache <<\_ACEOF
21425 # This file is a shell script that caches the results of configure
21426 # tests run on this system so they can be shared between configure
21427 # scripts and configure runs, see configure's option --config-cache.
21428 # It is not useful on other systems. If it contains results you don't
21429 # want to keep, you may remove or edit it.
21431 # config.status only pays attention to the cache file if you give it
21432 # the --recheck option to rerun configure.
21434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21436 # following values.
21438 _ACEOF
21440 # The following way of writing the cache mishandles newlines in values,
21441 # but we know of no workaround that is simple, portable, and efficient.
21442 # So, we kill variables containing newlines.
21443 # Ultrix sh set writes to stderr and can't be redirected directly,
21444 # and sets the high bit in the cache file unless we assign to the vars.
21446 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21447 eval ac_val=\$$ac_var
21448 case $ac_val in #(
21449 *${as_nl}*)
21450 case $ac_var in #(
21451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21453 esac
21454 case $ac_var in #(
21455 _ | IFS | as_nl) ;; #(
21456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21457 *) { eval $ac_var=; unset $ac_var;} ;;
21458 esac ;;
21459 esac
21460 done
21462 (set) 2>&1 |
21463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21464 *${as_nl}ac_space=\ *)
21465 # `set' does not quote correctly, so add quotes: double-quote
21466 # substitution turns \\\\ into \\, and sed turns \\ into \.
21467 sed -n \
21468 "s/'/'\\\\''/g;
21469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21470 ;; #(
21472 # `set' quotes correctly as required by POSIX, so do not add quotes.
21473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21475 esac |
21476 sort
21478 sed '
21479 /^ac_cv_env_/b end
21480 t clear
21481 :clear
21482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21483 t end
21484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21485 :end' >>confcache
21486 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21487 if test -w "$cache_file"; then
21488 if test "x$cache_file" != "x/dev/null"; then
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21490 $as_echo "$as_me: updating cache $cache_file" >&6;}
21491 if test ! -f "$cache_file" || test -h "$cache_file"; then
21492 cat confcache >"$cache_file"
21493 else
21494 case $cache_file in #(
21495 */* | ?:*)
21496 mv -f confcache "$cache_file"$$ &&
21497 mv -f "$cache_file"$$ "$cache_file" ;; #(
21499 mv -f confcache "$cache_file" ;;
21500 esac
21503 else
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21508 rm -f confcache
21510 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21511 # Let make expand exec_prefix.
21512 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21514 DEFS=-DHAVE_CONFIG_H
21516 ac_libobjs=
21517 ac_ltlibobjs=
21519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21520 # 1. Remove the extension, and $U if already installed.
21521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21524 # will be set to the directory where LIBOBJS objects are built.
21525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21527 done
21528 LIBOBJS=$ac_libobjs
21530 LTLIBOBJS=$ac_ltlibobjs
21534 : "${CONFIG_STATUS=./config.status}"
21535 ac_write_fail=0
21536 ac_clean_files_save=$ac_clean_files
21537 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21539 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21540 as_write_fail=0
21541 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21542 #! $SHELL
21543 # Generated by $as_me.
21544 # Run this file to recreate the current configuration.
21545 # Compiler output produced by configure, useful for debugging
21546 # configure, is in config.log if it exists.
21548 debug=false
21549 ac_cs_recheck=false
21550 ac_cs_silent=false
21552 SHELL=\${CONFIG_SHELL-$SHELL}
21553 export SHELL
21554 _ASEOF
21555 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21556 ## -------------------- ##
21557 ## M4sh Initialization. ##
21558 ## -------------------- ##
21560 # Be more Bourne compatible
21561 DUALCASE=1; export DUALCASE # for MKS sh
21562 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21563 emulate sh
21564 NULLCMD=:
21565 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21566 # is contrary to our usage. Disable this feature.
21567 alias -g '${1+"$@"}'='"$@"'
21568 setopt NO_GLOB_SUBST
21569 else
21570 case `(set -o) 2>/dev/null` in #(
21571 *posix*) :
21572 set -o posix ;; #(
21573 *) :
21575 esac
21579 as_nl='
21581 export as_nl
21582 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21583 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21584 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21585 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21586 # Prefer a ksh shell builtin over an external printf program on Solaris,
21587 # but without wasting forks for bash or zsh.
21588 if test -z "$BASH_VERSION$ZSH_VERSION" \
21589 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21590 as_echo='print -r --'
21591 as_echo_n='print -rn --'
21592 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21593 as_echo='printf %s\n'
21594 as_echo_n='printf %s'
21595 else
21596 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21597 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21598 as_echo_n='/usr/ucb/echo -n'
21599 else
21600 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21601 as_echo_n_body='eval
21602 arg=$1;
21603 case $arg in #(
21604 *"$as_nl"*)
21605 expr "X$arg" : "X\\(.*\\)$as_nl";
21606 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21607 esac;
21608 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21610 export as_echo_n_body
21611 as_echo_n='sh -c $as_echo_n_body as_echo'
21613 export as_echo_body
21614 as_echo='sh -c $as_echo_body as_echo'
21617 # The user is always right.
21618 if test "${PATH_SEPARATOR+set}" != set; then
21619 PATH_SEPARATOR=:
21620 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21621 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21622 PATH_SEPARATOR=';'
21627 # IFS
21628 # We need space, tab and new line, in precisely that order. Quoting is
21629 # there to prevent editors from complaining about space-tab.
21630 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21631 # splitting by setting IFS to empty value.)
21632 IFS=" "" $as_nl"
21634 # Find who we are. Look in the path if we contain no directory separator.
21635 as_myself=
21636 case $0 in #((
21637 *[\\/]* ) as_myself=$0 ;;
21638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21639 for as_dir in $PATH
21641 IFS=$as_save_IFS
21642 test -z "$as_dir" && as_dir=.
21643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21644 done
21645 IFS=$as_save_IFS
21648 esac
21649 # We did not find ourselves, most probably we were run as `sh COMMAND'
21650 # in which case we are not to be found in the path.
21651 if test "x$as_myself" = x; then
21652 as_myself=$0
21654 if test ! -f "$as_myself"; then
21655 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21656 exit 1
21659 # Unset variables that we do not need and which cause bugs (e.g. in
21660 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21661 # suppresses any "Segmentation fault" message there. '((' could
21662 # trigger a bug in pdksh 5.2.14.
21663 for as_var in BASH_ENV ENV MAIL MAILPATH
21664 do eval test x\${$as_var+set} = xset \
21665 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21666 done
21667 PS1='$ '
21668 PS2='> '
21669 PS4='+ '
21671 # NLS nuisances.
21672 LC_ALL=C
21673 export LC_ALL
21674 LANGUAGE=C
21675 export LANGUAGE
21677 # CDPATH.
21678 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21681 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21682 # ----------------------------------------
21683 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21684 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21685 # script with STATUS, using 1 if that was 0.
21686 as_fn_error ()
21688 as_status=$1; test $as_status -eq 0 && as_status=1
21689 if test "$4"; then
21690 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21691 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21693 $as_echo "$as_me: error: $2" >&2
21694 as_fn_exit $as_status
21695 } # as_fn_error
21698 # as_fn_set_status STATUS
21699 # -----------------------
21700 # Set $? to STATUS, without forking.
21701 as_fn_set_status ()
21703 return $1
21704 } # as_fn_set_status
21706 # as_fn_exit STATUS
21707 # -----------------
21708 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21709 as_fn_exit ()
21711 set +e
21712 as_fn_set_status $1
21713 exit $1
21714 } # as_fn_exit
21716 # as_fn_unset VAR
21717 # ---------------
21718 # Portably unset VAR.
21719 as_fn_unset ()
21721 { eval $1=; unset $1;}
21723 as_unset=as_fn_unset
21724 # as_fn_append VAR VALUE
21725 # ----------------------
21726 # Append the text in VALUE to the end of the definition contained in VAR. Take
21727 # advantage of any shell optimizations that allow amortized linear growth over
21728 # repeated appends, instead of the typical quadratic growth present in naive
21729 # implementations.
21730 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21731 eval 'as_fn_append ()
21733 eval $1+=\$2
21735 else
21736 as_fn_append ()
21738 eval $1=\$$1\$2
21740 fi # as_fn_append
21742 # as_fn_arith ARG...
21743 # ------------------
21744 # Perform arithmetic evaluation on the ARGs, and store the result in the
21745 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21746 # must be portable across $(()) and expr.
21747 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21748 eval 'as_fn_arith ()
21750 as_val=$(( $* ))
21752 else
21753 as_fn_arith ()
21755 as_val=`expr "$@" || test $? -eq 1`
21757 fi # as_fn_arith
21760 if expr a : '\(a\)' >/dev/null 2>&1 &&
21761 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21762 as_expr=expr
21763 else
21764 as_expr=false
21767 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21768 as_basename=basename
21769 else
21770 as_basename=false
21773 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21774 as_dirname=dirname
21775 else
21776 as_dirname=false
21779 as_me=`$as_basename -- "$0" ||
21780 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21781 X"$0" : 'X\(//\)$' \| \
21782 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21783 $as_echo X/"$0" |
21784 sed '/^.*\/\([^/][^/]*\)\/*$/{
21785 s//\1/
21788 /^X\/\(\/\/\)$/{
21789 s//\1/
21792 /^X\/\(\/\).*/{
21793 s//\1/
21796 s/.*/./; q'`
21798 # Avoid depending upon Character Ranges.
21799 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21800 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21801 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21802 as_cr_digits='0123456789'
21803 as_cr_alnum=$as_cr_Letters$as_cr_digits
21805 ECHO_C= ECHO_N= ECHO_T=
21806 case `echo -n x` in #(((((
21807 -n*)
21808 case `echo 'xy\c'` in
21809 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21810 xy) ECHO_C='\c';;
21811 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21812 ECHO_T=' ';;
21813 esac;;
21815 ECHO_N='-n';;
21816 esac
21818 rm -f conf$$ conf$$.exe conf$$.file
21819 if test -d conf$$.dir; then
21820 rm -f conf$$.dir/conf$$.file
21821 else
21822 rm -f conf$$.dir
21823 mkdir conf$$.dir 2>/dev/null
21825 if (echo >conf$$.file) 2>/dev/null; then
21826 if ln -s conf$$.file conf$$ 2>/dev/null; then
21827 as_ln_s='ln -s'
21828 # ... but there are two gotchas:
21829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21831 # In both cases, we have to default to `cp -pR'.
21832 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21833 as_ln_s='cp -pR'
21834 elif ln conf$$.file conf$$ 2>/dev/null; then
21835 as_ln_s=ln
21836 else
21837 as_ln_s='cp -pR'
21839 else
21840 as_ln_s='cp -pR'
21842 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21843 rmdir conf$$.dir 2>/dev/null
21846 # as_fn_mkdir_p
21847 # -------------
21848 # Create "$as_dir" as a directory, including parents if necessary.
21849 as_fn_mkdir_p ()
21852 case $as_dir in #(
21853 -*) as_dir=./$as_dir;;
21854 esac
21855 test -d "$as_dir" || eval $as_mkdir_p || {
21856 as_dirs=
21857 while :; do
21858 case $as_dir in #(
21859 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21860 *) as_qdir=$as_dir;;
21861 esac
21862 as_dirs="'$as_qdir' $as_dirs"
21863 as_dir=`$as_dirname -- "$as_dir" ||
21864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21865 X"$as_dir" : 'X\(//\)[^/]' \| \
21866 X"$as_dir" : 'X\(//\)$' \| \
21867 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21868 $as_echo X"$as_dir" |
21869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21870 s//\1/
21873 /^X\(\/\/\)[^/].*/{
21874 s//\1/
21877 /^X\(\/\/\)$/{
21878 s//\1/
21881 /^X\(\/\).*/{
21882 s//\1/
21885 s/.*/./; q'`
21886 test -d "$as_dir" && break
21887 done
21888 test -z "$as_dirs" || eval "mkdir $as_dirs"
21889 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21892 } # as_fn_mkdir_p
21893 if mkdir -p . 2>/dev/null; then
21894 as_mkdir_p='mkdir -p "$as_dir"'
21895 else
21896 test -d ./-p && rmdir ./-p
21897 as_mkdir_p=false
21901 # as_fn_executable_p FILE
21902 # -----------------------
21903 # Test if FILE is an executable regular file.
21904 as_fn_executable_p ()
21906 test -f "$1" && test -x "$1"
21907 } # as_fn_executable_p
21908 as_test_x='test -x'
21909 as_executable_p=as_fn_executable_p
21911 # Sed expression to map a string onto a valid CPP name.
21912 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21914 # Sed expression to map a string onto a valid variable name.
21915 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21918 exec 6>&1
21919 ## ----------------------------------- ##
21920 ## Main body of $CONFIG_STATUS script. ##
21921 ## ----------------------------------- ##
21922 _ASEOF
21923 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21926 # Save the log message, to keep $0 and so on meaningful, and to
21927 # report actual input values of CONFIG_FILES etc. instead of their
21928 # values after options handling.
21929 ac_log="
21930 This file was extended by Wine $as_me 6.11, which was
21931 generated by GNU Autoconf 2.69. Invocation command line was
21933 CONFIG_FILES = $CONFIG_FILES
21934 CONFIG_HEADERS = $CONFIG_HEADERS
21935 CONFIG_LINKS = $CONFIG_LINKS
21936 CONFIG_COMMANDS = $CONFIG_COMMANDS
21937 $ $0 $@
21939 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21942 _ACEOF
21944 case $ac_config_files in *"
21945 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21946 esac
21948 case $ac_config_headers in *"
21949 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21950 esac
21953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21954 # Files that config.status was made for.
21955 config_files="$ac_config_files"
21956 config_headers="$ac_config_headers"
21957 config_links="$ac_config_links"
21958 config_commands="$ac_config_commands"
21960 _ACEOF
21962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963 ac_cs_usage="\
21964 \`$as_me' instantiates files and other configuration actions
21965 from templates according to the current configuration. Unless the files
21966 and actions are specified as TAGs, all are instantiated by default.
21968 Usage: $0 [OPTION]... [TAG]...
21970 -h, --help print this help, then exit
21971 -V, --version print version number and configuration settings, then exit
21972 --config print configuration, then exit
21973 -q, --quiet, --silent
21974 do not print progress messages
21975 -d, --debug don't remove temporary files
21976 --recheck update $as_me by reconfiguring in the same conditions
21977 --file=FILE[:TEMPLATE]
21978 instantiate the configuration file FILE
21979 --header=FILE[:TEMPLATE]
21980 instantiate the configuration header FILE
21982 Configuration files:
21983 $config_files
21985 Configuration headers:
21986 $config_headers
21988 Configuration links:
21989 $config_links
21991 Configuration commands:
21992 $config_commands
21994 Report bugs to <wine-devel@winehq.org>.
21995 Wine home page: <https://www.winehq.org>."
21997 _ACEOF
21998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21999 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22000 ac_cs_version="\\
22001 Wine config.status 6.11
22002 configured by $0, generated by GNU Autoconf 2.69,
22003 with options \\"\$ac_cs_config\\"
22005 Copyright (C) 2012 Free Software Foundation, Inc.
22006 This config.status script is free software; the Free Software Foundation
22007 gives unlimited permission to copy, distribute and modify it."
22009 ac_pwd='$ac_pwd'
22010 srcdir='$srcdir'
22011 test -n "\$AWK" || AWK=awk
22012 _ACEOF
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22015 # The default lists apply if the user does not specify any file.
22016 ac_need_defaults=:
22017 while test $# != 0
22019 case $1 in
22020 --*=?*)
22021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22023 ac_shift=:
22025 --*=)
22026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22027 ac_optarg=
22028 ac_shift=:
22031 ac_option=$1
22032 ac_optarg=$2
22033 ac_shift=shift
22035 esac
22037 case $ac_option in
22038 # Handling of the options.
22039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22040 ac_cs_recheck=: ;;
22041 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22042 $as_echo "$ac_cs_version"; exit ;;
22043 --config | --confi | --conf | --con | --co | --c )
22044 $as_echo "$ac_cs_config"; exit ;;
22045 --debug | --debu | --deb | --de | --d | -d )
22046 debug=: ;;
22047 --file | --fil | --fi | --f )
22048 $ac_shift
22049 case $ac_optarg in
22050 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22051 '') as_fn_error $? "missing file argument" ;;
22052 esac
22053 as_fn_append CONFIG_FILES " '$ac_optarg'"
22054 ac_need_defaults=false;;
22055 --header | --heade | --head | --hea )
22056 $ac_shift
22057 case $ac_optarg in
22058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22059 esac
22060 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22061 ac_need_defaults=false;;
22062 --he | --h)
22063 # Conflict between --help and --header
22064 as_fn_error $? "ambiguous option: \`$1'
22065 Try \`$0 --help' for more information.";;
22066 --help | --hel | -h )
22067 $as_echo "$ac_cs_usage"; exit ;;
22068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22070 ac_cs_silent=: ;;
22072 # This is an error.
22073 -*) as_fn_error $? "unrecognized option: \`$1'
22074 Try \`$0 --help' for more information." ;;
22076 *) as_fn_append ac_config_targets " $1"
22077 ac_need_defaults=false ;;
22079 esac
22080 shift
22081 done
22083 ac_configure_extra_args=
22085 if $ac_cs_silent; then
22086 exec 6>/dev/null
22087 ac_configure_extra_args="$ac_configure_extra_args --silent"
22090 _ACEOF
22091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22092 if \$ac_cs_recheck; then
22093 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22094 shift
22095 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22096 CONFIG_SHELL='$SHELL'
22097 export CONFIG_SHELL
22098 exec "\$@"
22101 _ACEOF
22102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22103 exec 5>>config.log
22105 echo
22106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22107 ## Running $as_me. ##
22108 _ASBOX
22109 $as_echo "$ac_log"
22110 } >&5
22112 _ACEOF
22113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22115 # INIT-COMMANDS
22117 wine_fn_output_makedep ()
22119 as_dir=tools; as_fn_mkdir_p
22120 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22122 wine_fn_output_makefile ()
22124 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22125 `cat $wine_rules_file`
22126 _WINE_EOF
22127 as_fn_error $? "could not create Makefile" "$LINENO" 5
22130 _ACEOF
22132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22134 # Handling of arguments.
22135 for ac_config_target in $ac_config_targets
22137 case $ac_config_target in
22138 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22139 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22140 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22141 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22142 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22143 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22144 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22146 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22147 esac
22148 done
22151 # If the user did not use the arguments to specify the items to instantiate,
22152 # then the envvar interface is used. Set only those that are not.
22153 # We use the long form for the default assignment because of an extremely
22154 # bizarre bug on SunOS 4.1.3.
22155 if $ac_need_defaults; then
22156 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22157 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22158 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22162 # Have a temporary directory for convenience. Make it in the build tree
22163 # simply because there is no reason against having it here, and in addition,
22164 # creating and moving files from /tmp can sometimes cause problems.
22165 # Hook for its removal unless debugging.
22166 # Note that there is a small window in which the directory will not be cleaned:
22167 # after its creation but before its name has been assigned to `$tmp'.
22168 $debug ||
22170 tmp= ac_tmp=
22171 trap 'exit_status=$?
22172 : "${ac_tmp:=$tmp}"
22173 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22175 trap 'as_fn_exit 1' 1 2 13 15
22177 # Create a (secure) tmp directory for tmp files.
22180 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22181 test -d "$tmp"
22182 } ||
22184 tmp=./conf$$-$RANDOM
22185 (umask 077 && mkdir "$tmp")
22186 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22187 ac_tmp=$tmp
22189 # Set up the scripts for CONFIG_FILES section.
22190 # No need to generate them if there are no CONFIG_FILES.
22191 # This happens for instance with `./config.status config.h'.
22192 if test -n "$CONFIG_FILES"; then
22195 ac_cr=`echo X | tr X '\015'`
22196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22197 # But we know of no other shell where ac_cr would be empty at this
22198 # point, so we can use a bashism as a fallback.
22199 if test "x$ac_cr" = x; then
22200 eval ac_cr=\$\'\\r\'
22202 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22204 ac_cs_awk_cr='\\r'
22205 else
22206 ac_cs_awk_cr=$ac_cr
22209 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22210 _ACEOF
22214 echo "cat >conf$$subs.awk <<_ACEOF" &&
22215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22216 echo "_ACEOF"
22217 } >conf$$subs.sh ||
22218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22220 ac_delim='%!_!# '
22221 for ac_last_try in false false false false false :; do
22222 . ./conf$$subs.sh ||
22223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22225 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22226 if test $ac_delim_n = $ac_delim_num; then
22227 break
22228 elif $ac_last_try; then
22229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22230 else
22231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22233 done
22234 rm -f conf$$subs.sh
22236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22237 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22238 _ACEOF
22239 sed -n '
22241 s/^/S["/; s/!.*/"]=/
22244 s/^[^!]*!//
22245 :repl
22246 t repl
22247 s/'"$ac_delim"'$//
22248 t delim
22251 s/\(.\{148\}\)..*/\1/
22252 t more1
22253 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22256 b repl
22257 :more1
22258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22261 s/.\{148\}//
22262 t nl
22263 :delim
22265 s/\(.\{148\}\)..*/\1/
22266 t more2
22267 s/["\\]/\\&/g; s/^/"/; s/$/"/
22270 :more2
22271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22274 s/.\{148\}//
22275 t delim
22276 ' <conf$$subs.awk | sed '
22277 /^[^""]/{
22279 s/\n//
22281 ' >>$CONFIG_STATUS || ac_write_fail=1
22282 rm -f conf$$subs.awk
22283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22284 _ACAWK
22285 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22286 for (key in S) S_is_set[key] = 1
22287 FS = "\a"
22291 line = $ 0
22292 nfields = split(line, field, "@")
22293 substed = 0
22294 len = length(field[1])
22295 for (i = 2; i < nfields; i++) {
22296 key = field[i]
22297 keylen = length(key)
22298 if (S_is_set[key]) {
22299 value = S[key]
22300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22301 len += length(value) + length(field[++i])
22302 substed = 1
22303 } else
22304 len += 1 + keylen
22307 print line
22310 _ACAWK
22311 _ACEOF
22312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22313 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22314 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22315 else
22317 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22318 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22319 _ACEOF
22321 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22322 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22323 # trailing colons and then remove the whole line if VPATH becomes empty
22324 # (actually we leave an empty line to preserve line numbers).
22325 if test "x$srcdir" = x.; then
22326 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22328 s///
22329 s/^/:/
22330 s/[ ]*$/:/
22331 s/:\$(srcdir):/:/g
22332 s/:\${srcdir}:/:/g
22333 s/:@srcdir@:/:/g
22334 s/^:*//
22335 s/:*$//
22337 s/\(=[ ]*\).*/\1/
22339 s/\n//
22340 s/^[^=]*=[ ]*$//
22344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22345 fi # test -n "$CONFIG_FILES"
22347 # Set up the scripts for CONFIG_HEADERS section.
22348 # No need to generate them if there are no CONFIG_HEADERS.
22349 # This happens for instance with `./config.status Makefile'.
22350 if test -n "$CONFIG_HEADERS"; then
22351 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22352 BEGIN {
22353 _ACEOF
22355 # Transform confdefs.h into an awk script `defines.awk', embedded as
22356 # here-document in config.status, that substitutes the proper values into
22357 # config.h.in to produce config.h.
22359 # Create a delimiter string that does not exist in confdefs.h, to ease
22360 # handling of long lines.
22361 ac_delim='%!_!# '
22362 for ac_last_try in false false :; do
22363 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22364 if test -z "$ac_tt"; then
22365 break
22366 elif $ac_last_try; then
22367 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22368 else
22369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22371 done
22373 # For the awk script, D is an array of macro values keyed by name,
22374 # likewise P contains macro parameters if any. Preserve backslash
22375 # newline sequences.
22377 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22378 sed -n '
22379 s/.\{148\}/&'"$ac_delim"'/g
22380 t rset
22381 :rset
22382 s/^[ ]*#[ ]*define[ ][ ]*/ /
22383 t def
22385 :def
22386 s/\\$//
22387 t bsnl
22388 s/["\\]/\\&/g
22389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22390 D["\1"]=" \3"/p
22391 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22393 :bsnl
22394 s/["\\]/\\&/g
22395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22396 D["\1"]=" \3\\\\\\n"\\/p
22397 t cont
22398 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22399 t cont
22401 :cont
22403 s/.\{148\}/&'"$ac_delim"'/g
22404 t clear
22405 :clear
22406 s/\\$//
22407 t bsnlc
22408 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22410 :bsnlc
22411 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22412 b cont
22413 ' <confdefs.h | sed '
22414 s/'"$ac_delim"'/"\\\
22415 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22418 for (key in D) D_is_set[key] = 1
22419 FS = "\a"
22421 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22422 line = \$ 0
22423 split(line, arg, " ")
22424 if (arg[1] == "#") {
22425 defundef = arg[2]
22426 mac1 = arg[3]
22427 } else {
22428 defundef = substr(arg[1], 2)
22429 mac1 = arg[2]
22431 split(mac1, mac2, "(") #)
22432 macro = mac2[1]
22433 prefix = substr(line, 1, index(line, defundef) - 1)
22434 if (D_is_set[macro]) {
22435 # Preserve the white space surrounding the "#".
22436 print prefix "define", macro P[macro] D[macro]
22437 next
22438 } else {
22439 # Replace #undef with comments. This is necessary, for example,
22440 # in the case of _POSIX_SOURCE, which is predefined and required
22441 # on some systems where configure will not decide to define it.
22442 if (defundef == "undef") {
22443 print "/*", prefix defundef, macro, "*/"
22444 next
22448 { print }
22449 _ACAWK
22450 _ACEOF
22451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22452 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22453 fi # test -n "$CONFIG_HEADERS"
22456 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22457 shift
22458 for ac_tag
22460 case $ac_tag in
22461 :[FHLC]) ac_mode=$ac_tag; continue;;
22462 esac
22463 case $ac_mode$ac_tag in
22464 :[FHL]*:*);;
22465 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22466 :[FH]-) ac_tag=-:-;;
22467 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22468 esac
22469 ac_save_IFS=$IFS
22470 IFS=:
22471 set x $ac_tag
22472 IFS=$ac_save_IFS
22473 shift
22474 ac_file=$1
22475 shift
22477 case $ac_mode in
22478 :L) ac_source=$1;;
22479 :[FH])
22480 ac_file_inputs=
22481 for ac_f
22483 case $ac_f in
22484 -) ac_f="$ac_tmp/stdin";;
22485 *) # Look for the file first in the build tree, then in the source tree
22486 # (if the path is not absolute). The absolute path cannot be DOS-style,
22487 # because $ac_f cannot contain `:'.
22488 test -f "$ac_f" ||
22489 case $ac_f in
22490 [\\/$]*) false;;
22491 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22492 esac ||
22493 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22494 esac
22495 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22496 as_fn_append ac_file_inputs " '$ac_f'"
22497 done
22499 # Let's still pretend it is `configure' which instantiates (i.e., don't
22500 # use $as_me), people would be surprised to read:
22501 # /* config.h. Generated by config.status. */
22502 configure_input='Generated from '`
22503 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22504 `' by configure.'
22505 if test x"$ac_file" != x-; then
22506 configure_input="$ac_file. $configure_input"
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22508 $as_echo "$as_me: creating $ac_file" >&6;}
22510 # Neutralize special characters interpreted by sed in replacement strings.
22511 case $configure_input in #(
22512 *\&* | *\|* | *\\* )
22513 ac_sed_conf_input=`$as_echo "$configure_input" |
22514 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22515 *) ac_sed_conf_input=$configure_input;;
22516 esac
22518 case $ac_tag in
22519 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22521 esac
22523 esac
22525 ac_dir=`$as_dirname -- "$ac_file" ||
22526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22527 X"$ac_file" : 'X\(//\)[^/]' \| \
22528 X"$ac_file" : 'X\(//\)$' \| \
22529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22530 $as_echo X"$ac_file" |
22531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22532 s//\1/
22535 /^X\(\/\/\)[^/].*/{
22536 s//\1/
22539 /^X\(\/\/\)$/{
22540 s//\1/
22543 /^X\(\/\).*/{
22544 s//\1/
22547 s/.*/./; q'`
22548 as_dir="$ac_dir"; as_fn_mkdir_p
22549 ac_builddir=.
22551 case "$ac_dir" in
22552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22555 # A ".." for each directory in $ac_dir_suffix.
22556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22557 case $ac_top_builddir_sub in
22558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22560 esac ;;
22561 esac
22562 ac_abs_top_builddir=$ac_pwd
22563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22564 # for backward compatibility:
22565 ac_top_builddir=$ac_top_build_prefix
22567 case $srcdir in
22568 .) # We are building in place.
22569 ac_srcdir=.
22570 ac_top_srcdir=$ac_top_builddir_sub
22571 ac_abs_top_srcdir=$ac_pwd ;;
22572 [\\/]* | ?:[\\/]* ) # Absolute name.
22573 ac_srcdir=$srcdir$ac_dir_suffix;
22574 ac_top_srcdir=$srcdir
22575 ac_abs_top_srcdir=$srcdir ;;
22576 *) # Relative name.
22577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22578 ac_top_srcdir=$ac_top_build_prefix$srcdir
22579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22580 esac
22581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22584 case $ac_mode in
22587 # CONFIG_FILE
22590 _ACEOF
22592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22593 # If the template does not know about datarootdir, expand it.
22594 # FIXME: This hack should be removed a few years after 2.60.
22595 ac_datarootdir_hack=; ac_datarootdir_seen=
22596 ac_sed_dataroot='
22597 /datarootdir/ {
22601 /@datadir@/p
22602 /@docdir@/p
22603 /@infodir@/p
22604 /@localedir@/p
22605 /@mandir@/p'
22606 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22607 *datarootdir*) ac_datarootdir_seen=yes;;
22608 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22610 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22611 _ACEOF
22612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22613 ac_datarootdir_hack='
22614 s&@datadir@&$datadir&g
22615 s&@docdir@&$docdir&g
22616 s&@infodir@&$infodir&g
22617 s&@localedir@&$localedir&g
22618 s&@mandir@&$mandir&g
22619 s&\\\${datarootdir}&$datarootdir&g' ;;
22620 esac
22621 _ACEOF
22623 # Neutralize VPATH when `$srcdir' = `.'.
22624 # Shell code in configure.ac might set extrasub.
22625 # FIXME: do we really want to maintain this feature?
22626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22627 ac_sed_extra="$ac_vpsub
22628 $extrasub
22629 _ACEOF
22630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22632 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22633 s|@configure_input@|$ac_sed_conf_input|;t t
22634 s&@top_builddir@&$ac_top_builddir_sub&;t t
22635 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22636 s&@srcdir@&$ac_srcdir&;t t
22637 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22638 s&@top_srcdir@&$ac_top_srcdir&;t t
22639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22640 s&@builddir@&$ac_builddir&;t t
22641 s&@abs_builddir@&$ac_abs_builddir&;t t
22642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22643 $ac_datarootdir_hack
22645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22646 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22649 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22651 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22653 which seems to be undefined. Please make sure it is defined" >&5
22654 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22655 which seems to be undefined. Please make sure it is defined" >&2;}
22657 rm -f "$ac_tmp/stdin"
22658 case $ac_file in
22659 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22660 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22661 esac \
22662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22666 # CONFIG_HEADER
22668 if test x"$ac_file" != x-; then
22670 $as_echo "/* $configure_input */" \
22671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22672 } >"$ac_tmp/config.h" \
22673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22674 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22676 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22677 else
22678 rm -f "$ac_file"
22679 mv "$ac_tmp/config.h" "$ac_file" \
22680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22682 else
22683 $as_echo "/* $configure_input */" \
22684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22685 || as_fn_error $? "could not create -" "$LINENO" 5
22690 # CONFIG_LINK
22693 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22695 else
22696 # Prefer the file from the source tree if names are identical.
22697 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22698 ac_source=$srcdir/$ac_source
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22702 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22704 if test ! -r "$ac_source"; then
22705 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22707 rm -f "$ac_file"
22709 # Try a relative symlink, then a hard link, then a copy.
22710 case $ac_source in
22711 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22712 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22713 esac
22714 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22715 ln "$ac_source" "$ac_file" 2>/dev/null ||
22716 cp -p "$ac_source" "$ac_file" ||
22717 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22720 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22721 $as_echo "$as_me: executing $ac_file commands" >&6;}
22723 esac
22726 case $ac_file$ac_mode in
22727 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22728 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22729 "Makefile":C) wine_fn_output_makefile Makefile ;;
22731 esac
22732 done # for ac_tag
22735 as_fn_exit 0
22736 _ACEOF
22737 ac_clean_files=$ac_clean_files_save
22739 test $ac_write_fail = 0 ||
22740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22743 # configure is writing to config.log, and then calls config.status.
22744 # config.status does its own redirection, appending to config.log.
22745 # Unfortunately, on DOS this fails, as config.log is still kept open
22746 # by configure, so config.status won't be able to write to it; its
22747 # output is simply discarded. So we exec the FD to /dev/null,
22748 # effectively closing config.log, so it can be properly (re)opened and
22749 # appended to by config.status. When coming back to configure, we
22750 # need to make the FD available again.
22751 if test "$no_create" != yes; then
22752 ac_cs_success=:
22753 ac_config_status_args=
22754 test "$silent" = yes &&
22755 ac_config_status_args="$ac_config_status_args --quiet"
22756 exec 5>/dev/null
22757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22758 exec 5>>config.log
22759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22760 # would make configure fail if this is the last instruction.
22761 $ac_cs_success || as_fn_exit 1
22763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22769 if test "$no_create" = "yes"
22770 then
22771 exit 0
22774 ac_save_IFS="$IFS"
22775 if test "x$wine_notices" != x; then
22776 echo >&6
22777 IFS="|"
22778 for msg in $wine_notices; do
22779 IFS="$ac_save_IFS"
22780 if ${msg:+false} :; then :
22782 else
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22784 $as_echo "$as_me: $msg" >&6;}
22786 done
22788 IFS="|"
22789 for msg in $wine_warnings; do
22790 IFS="$ac_save_IFS"
22791 if ${msg:+false} :; then :
22793 else
22794 echo >&2
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22796 $as_echo "$as_me: WARNING: $msg" >&2;}
22798 done
22799 IFS="$ac_save_IFS"
22801 $as_echo "
22802 $as_me: Finished. Do '${ac_make}' to compile Wine.
22803 " >&6