gdi32: Use get_dc_attr in SetArcDirection.
[wine.git] / configure
blob5e5a1e473188311f104c2ba61f202070a4d475f1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.13.
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.13'
584 PACKAGE_STRING='Wine 6.13'
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_console_l3_2_0
940 enable_api_ms_win_core_crt_l1_1_0
941 enable_api_ms_win_core_crt_l2_1_0
942 enable_api_ms_win_core_datetime_l1_1_0
943 enable_api_ms_win_core_datetime_l1_1_1
944 enable_api_ms_win_core_debug_l1_1_0
945 enable_api_ms_win_core_debug_l1_1_1
946 enable_api_ms_win_core_delayload_l1_1_0
947 enable_api_ms_win_core_delayload_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_0
949 enable_api_ms_win_core_errorhandling_l1_1_1
950 enable_api_ms_win_core_errorhandling_l1_1_2
951 enable_api_ms_win_core_errorhandling_l1_1_3
952 enable_api_ms_win_core_featurestaging_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_0
954 enable_api_ms_win_core_fibers_l1_1_1
955 enable_api_ms_win_core_file_ansi_l2_1_0
956 enable_api_ms_win_core_file_fromapp_l1_1_0
957 enable_api_ms_win_core_file_l1_1_0
958 enable_api_ms_win_core_file_l1_2_0
959 enable_api_ms_win_core_file_l1_2_1
960 enable_api_ms_win_core_file_l1_2_2
961 enable_api_ms_win_core_file_l2_1_0
962 enable_api_ms_win_core_file_l2_1_1
963 enable_api_ms_win_core_file_l2_1_2
964 enable_api_ms_win_core_handle_l1_1_0
965 enable_api_ms_win_core_heap_l1_1_0
966 enable_api_ms_win_core_heap_l1_2_0
967 enable_api_ms_win_core_heap_l2_1_0
968 enable_api_ms_win_core_heap_obsolete_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_1_0
970 enable_api_ms_win_core_interlocked_l1_2_0
971 enable_api_ms_win_core_io_l1_1_0
972 enable_api_ms_win_core_io_l1_1_1
973 enable_api_ms_win_core_job_l1_1_0
974 enable_api_ms_win_core_job_l2_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_0
976 enable_api_ms_win_core_kernel32_legacy_l1_1_1
977 enable_api_ms_win_core_kernel32_legacy_l1_1_2
978 enable_api_ms_win_core_kernel32_legacy_l1_1_5
979 enable_api_ms_win_core_kernel32_private_l1_1_1
980 enable_api_ms_win_core_largeinteger_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_0
982 enable_api_ms_win_core_libraryloader_l1_1_1
983 enable_api_ms_win_core_libraryloader_l1_2_0
984 enable_api_ms_win_core_libraryloader_l1_2_1
985 enable_api_ms_win_core_libraryloader_l1_2_2
986 enable_api_ms_win_core_libraryloader_l2_1_0
987 enable_api_ms_win_core_localization_l1_1_0
988 enable_api_ms_win_core_localization_l1_2_0
989 enable_api_ms_win_core_localization_l1_2_1
990 enable_api_ms_win_core_localization_l1_2_2
991 enable_api_ms_win_core_localization_l2_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_1_0
993 enable_api_ms_win_core_localization_obsolete_l1_2_0
994 enable_api_ms_win_core_localization_obsolete_l1_3_0
995 enable_api_ms_win_core_localization_private_l1_1_0
996 enable_api_ms_win_core_localregistry_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_0
998 enable_api_ms_win_core_memory_l1_1_1
999 enable_api_ms_win_core_memory_l1_1_2
1000 enable_api_ms_win_core_memory_l1_1_3
1001 enable_api_ms_win_core_memory_l1_1_4
1002 enable_api_ms_win_core_misc_l1_1_0
1003 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_1_0
1005 enable_api_ms_win_core_namedpipe_l1_2_0
1006 enable_api_ms_win_core_namespace_l1_1_0
1007 enable_api_ms_win_core_normalization_l1_1_0
1008 enable_api_ms_win_core_path_l1_1_0
1009 enable_api_ms_win_core_privateprofile_l1_1_1
1010 enable_api_ms_win_core_processenvironment_l1_1_0
1011 enable_api_ms_win_core_processenvironment_l1_2_0
1012 enable_api_ms_win_core_processthreads_l1_1_0
1013 enable_api_ms_win_core_processthreads_l1_1_1
1014 enable_api_ms_win_core_processthreads_l1_1_2
1015 enable_api_ms_win_core_processthreads_l1_1_3
1016 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1017 enable_api_ms_win_core_profile_l1_1_0
1018 enable_api_ms_win_core_psapi_ansi_l1_1_0
1019 enable_api_ms_win_core_psapi_l1_1_0
1020 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_quirks_l1_1_0
1022 enable_api_ms_win_core_realtime_l1_1_0
1023 enable_api_ms_win_core_registry_l1_1_0
1024 enable_api_ms_win_core_registry_l2_1_0
1025 enable_api_ms_win_core_registry_l2_2_0
1026 enable_api_ms_win_core_registryuserspecific_l1_1_0
1027 enable_api_ms_win_core_rtlsupport_l1_1_0
1028 enable_api_ms_win_core_rtlsupport_l1_2_0
1029 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1030 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1031 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1032 enable_api_ms_win_core_shutdown_l1_1_0
1033 enable_api_ms_win_core_sidebyside_l1_1_0
1034 enable_api_ms_win_core_string_l1_1_0
1035 enable_api_ms_win_core_string_l2_1_0
1036 enable_api_ms_win_core_string_obsolete_l1_1_0
1037 enable_api_ms_win_core_stringansi_l1_1_0
1038 enable_api_ms_win_core_stringloader_l1_1_1
1039 enable_api_ms_win_core_synch_ansi_l1_1_0
1040 enable_api_ms_win_core_synch_l1_1_0
1041 enable_api_ms_win_core_synch_l1_2_0
1042 enable_api_ms_win_core_synch_l1_2_1
1043 enable_api_ms_win_core_sysinfo_l1_1_0
1044 enable_api_ms_win_core_sysinfo_l1_2_0
1045 enable_api_ms_win_core_sysinfo_l1_2_1
1046 enable_api_ms_win_core_systemtopology_l1_1_0
1047 enable_api_ms_win_core_threadpool_l1_1_0
1048 enable_api_ms_win_core_threadpool_l1_2_0
1049 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1050 enable_api_ms_win_core_threadpool_private_l1_1_0
1051 enable_api_ms_win_core_timezone_l1_1_0
1052 enable_api_ms_win_core_toolhelp_l1_1_0
1053 enable_api_ms_win_core_url_l1_1_0
1054 enable_api_ms_win_core_util_l1_1_0
1055 enable_api_ms_win_core_version_l1_1_0
1056 enable_api_ms_win_core_version_l1_1_1
1057 enable_api_ms_win_core_version_private_l1_1_0
1058 enable_api_ms_win_core_versionansi_l1_1_0
1059 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1060 enable_api_ms_win_core_winrt_error_l1_1_0
1061 enable_api_ms_win_core_winrt_error_l1_1_1
1062 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1063 enable_api_ms_win_core_winrt_l1_1_0
1064 enable_api_ms_win_core_winrt_registration_l1_1_0
1065 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1066 enable_api_ms_win_core_winrt_string_l1_1_0
1067 enable_api_ms_win_core_winrt_string_l1_1_1
1068 enable_api_ms_win_core_wow64_l1_1_0
1069 enable_api_ms_win_core_wow64_l1_1_1
1070 enable_api_ms_win_core_xstate_l1_1_0
1071 enable_api_ms_win_core_xstate_l2_1_0
1072 enable_api_ms_win_crt_conio_l1_1_0
1073 enable_api_ms_win_crt_convert_l1_1_0
1074 enable_api_ms_win_crt_environment_l1_1_0
1075 enable_api_ms_win_crt_filesystem_l1_1_0
1076 enable_api_ms_win_crt_heap_l1_1_0
1077 enable_api_ms_win_crt_locale_l1_1_0
1078 enable_api_ms_win_crt_math_l1_1_0
1079 enable_api_ms_win_crt_multibyte_l1_1_0
1080 enable_api_ms_win_crt_private_l1_1_0
1081 enable_api_ms_win_crt_process_l1_1_0
1082 enable_api_ms_win_crt_runtime_l1_1_0
1083 enable_api_ms_win_crt_stdio_l1_1_0
1084 enable_api_ms_win_crt_string_l1_1_0
1085 enable_api_ms_win_crt_time_l1_1_0
1086 enable_api_ms_win_crt_utility_l1_1_0
1087 enable_api_ms_win_devices_config_l1_1_0
1088 enable_api_ms_win_devices_config_l1_1_1
1089 enable_api_ms_win_devices_query_l1_1_1
1090 enable_api_ms_win_downlevel_advapi32_l1_1_0
1091 enable_api_ms_win_downlevel_advapi32_l2_1_0
1092 enable_api_ms_win_downlevel_kernel32_l2_1_0
1093 enable_api_ms_win_downlevel_normaliz_l1_1_0
1094 enable_api_ms_win_downlevel_ole32_l1_1_0
1095 enable_api_ms_win_downlevel_shell32_l1_1_0
1096 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1097 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1098 enable_api_ms_win_downlevel_user32_l1_1_0
1099 enable_api_ms_win_downlevel_version_l1_1_0
1100 enable_api_ms_win_dx_d3dkmt_l1_1_0
1101 enable_api_ms_win_eventing_classicprovider_l1_1_0
1102 enable_api_ms_win_eventing_consumer_l1_1_0
1103 enable_api_ms_win_eventing_controller_l1_1_0
1104 enable_api_ms_win_eventing_legacy_l1_1_0
1105 enable_api_ms_win_eventing_provider_l1_1_0
1106 enable_api_ms_win_eventlog_legacy_l1_1_0
1107 enable_api_ms_win_gaming_tcui_l1_1_0
1108 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1109 enable_api_ms_win_mm_joystick_l1_1_0
1110 enable_api_ms_win_mm_misc_l1_1_1
1111 enable_api_ms_win_mm_mme_l1_1_0
1112 enable_api_ms_win_mm_time_l1_1_0
1113 enable_api_ms_win_ntuser_dc_access_l1_1_0
1114 enable_api_ms_win_ntuser_rectangle_l1_1_0
1115 enable_api_ms_win_ntuser_sysparams_l1_1_0
1116 enable_api_ms_win_perf_legacy_l1_1_0
1117 enable_api_ms_win_power_base_l1_1_0
1118 enable_api_ms_win_power_setting_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1122 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1123 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1124 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1125 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1126 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1127 enable_api_ms_win_security_audit_l1_1_1
1128 enable_api_ms_win_security_base_l1_1_0
1129 enable_api_ms_win_security_base_l1_2_0
1130 enable_api_ms_win_security_base_private_l1_1_1
1131 enable_api_ms_win_security_credentials_l1_1_0
1132 enable_api_ms_win_security_cryptoapi_l1_1_0
1133 enable_api_ms_win_security_grouppolicy_l1_1_0
1134 enable_api_ms_win_security_lsalookup_l1_1_0
1135 enable_api_ms_win_security_lsalookup_l1_1_1
1136 enable_api_ms_win_security_lsalookup_l2_1_0
1137 enable_api_ms_win_security_lsalookup_l2_1_1
1138 enable_api_ms_win_security_lsapolicy_l1_1_0
1139 enable_api_ms_win_security_provider_l1_1_0
1140 enable_api_ms_win_security_sddl_l1_1_0
1141 enable_api_ms_win_security_systemfunctions_l1_1_0
1142 enable_api_ms_win_service_core_l1_1_0
1143 enable_api_ms_win_service_core_l1_1_1
1144 enable_api_ms_win_service_management_l1_1_0
1145 enable_api_ms_win_service_management_l2_1_0
1146 enable_api_ms_win_service_private_l1_1_1
1147 enable_api_ms_win_service_winsvc_l1_1_0
1148 enable_api_ms_win_service_winsvc_l1_2_0
1149 enable_api_ms_win_shcore_obsolete_l1_1_0
1150 enable_api_ms_win_shcore_scaling_l1_1_0
1151 enable_api_ms_win_shcore_scaling_l1_1_1
1152 enable_api_ms_win_shcore_stream_l1_1_0
1153 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1154 enable_api_ms_win_shcore_thread_l1_1_0
1155 enable_api_ms_win_shell_shellcom_l1_1_0
1156 enable_api_ms_win_shell_shellfolders_l1_1_0
1157 enable_apphelp
1158 enable_appwiz_cpl
1159 enable_atl
1160 enable_atl100
1161 enable_atl110
1162 enable_atl80
1163 enable_atl90
1164 enable_atlthunk
1165 enable_atmlib
1166 enable_authz
1167 enable_avicap32
1168 enable_avifil32
1169 enable_avrt
1170 enable_bcrypt
1171 enable_bluetoothapis
1172 enable_browseui
1173 enable_bthprops_cpl
1174 enable_cabinet
1175 enable_capi2032
1176 enable_cards
1177 enable_cdosys
1178 enable_cfgmgr32
1179 enable_clusapi
1180 enable_combase
1181 enable_comcat
1182 enable_comctl32
1183 enable_comdlg32
1184 enable_compstui
1185 enable_comsvcs
1186 enable_concrt140
1187 enable_connect
1188 enable_credui
1189 enable_crtdll
1190 enable_crypt32
1191 enable_cryptdlg
1192 enable_cryptdll
1193 enable_cryptext
1194 enable_cryptnet
1195 enable_cryptsp
1196 enable_cryptui
1197 enable_ctapi32
1198 enable_ctl3d32
1199 enable_d2d1
1200 enable_d3d10
1201 enable_d3d10_1
1202 enable_d3d10core
1203 enable_d3d11
1204 enable_d3d12
1205 enable_d3d8
1206 enable_d3d8thk
1207 enable_d3d9
1208 enable_d3dcompiler_33
1209 enable_d3dcompiler_34
1210 enable_d3dcompiler_35
1211 enable_d3dcompiler_36
1212 enable_d3dcompiler_37
1213 enable_d3dcompiler_38
1214 enable_d3dcompiler_39
1215 enable_d3dcompiler_40
1216 enable_d3dcompiler_41
1217 enable_d3dcompiler_42
1218 enable_d3dcompiler_43
1219 enable_d3dcompiler_46
1220 enable_d3dcompiler_47
1221 enable_d3dim
1222 enable_d3dim700
1223 enable_d3drm
1224 enable_d3dx10_33
1225 enable_d3dx10_34
1226 enable_d3dx10_35
1227 enable_d3dx10_36
1228 enable_d3dx10_37
1229 enable_d3dx10_38
1230 enable_d3dx10_39
1231 enable_d3dx10_40
1232 enable_d3dx10_41
1233 enable_d3dx10_42
1234 enable_d3dx10_43
1235 enable_d3dx11_42
1236 enable_d3dx11_43
1237 enable_d3dx9_24
1238 enable_d3dx9_25
1239 enable_d3dx9_26
1240 enable_d3dx9_27
1241 enable_d3dx9_28
1242 enable_d3dx9_29
1243 enable_d3dx9_30
1244 enable_d3dx9_31
1245 enable_d3dx9_32
1246 enable_d3dx9_33
1247 enable_d3dx9_34
1248 enable_d3dx9_35
1249 enable_d3dx9_36
1250 enable_d3dx9_37
1251 enable_d3dx9_38
1252 enable_d3dx9_39
1253 enable_d3dx9_40
1254 enable_d3dx9_41
1255 enable_d3dx9_42
1256 enable_d3dx9_43
1257 enable_d3dxof
1258 enable_davclnt
1259 enable_dbgeng
1260 enable_dbghelp
1261 enable_dciman32
1262 enable_dcomp
1263 enable_ddraw
1264 enable_ddrawex
1265 enable_devenum
1266 enable_dhcpcsvc
1267 enable_dhtmled_ocx
1268 enable_difxapi
1269 enable_dinput
1270 enable_dinput8
1271 enable_directmanipulation
1272 enable_dispex
1273 enable_dmband
1274 enable_dmcompos
1275 enable_dmime
1276 enable_dmloader
1277 enable_dmoguids
1278 enable_dmscript
1279 enable_dmstyle
1280 enable_dmsynth
1281 enable_dmusic
1282 enable_dmusic32
1283 enable_dnsapi
1284 enable_dplay
1285 enable_dplayx
1286 enable_dpnaddr
1287 enable_dpnet
1288 enable_dpnhpast
1289 enable_dpnhupnp
1290 enable_dpnlobby
1291 enable_dpvoice
1292 enable_dpwsockx
1293 enable_drmclien
1294 enable_dsdmo
1295 enable_dsound
1296 enable_dsquery
1297 enable_dssenh
1298 enable_dsuiext
1299 enable_dswave
1300 enable_dwmapi
1301 enable_dwrite
1302 enable_dx8vb
1303 enable_dxdiagn
1304 enable_dxerr8
1305 enable_dxerr9
1306 enable_dxgi
1307 enable_dxguid
1308 enable_dxva2
1309 enable_esent
1310 enable_evr
1311 enable_explorerframe
1312 enable_ext_ms_win_authz_context_l1_1_0
1313 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1314 enable_ext_ms_win_dwmapi_ext_l1_1_0
1315 enable_ext_ms_win_gdi_dc_create_l1_1_0
1316 enable_ext_ms_win_gdi_dc_create_l1_1_1
1317 enable_ext_ms_win_gdi_dc_l1_2_0
1318 enable_ext_ms_win_gdi_devcaps_l1_1_0
1319 enable_ext_ms_win_gdi_draw_l1_1_0
1320 enable_ext_ms_win_gdi_draw_l1_1_1
1321 enable_ext_ms_win_gdi_font_l1_1_0
1322 enable_ext_ms_win_gdi_font_l1_1_1
1323 enable_ext_ms_win_gdi_render_l1_1_0
1324 enable_ext_ms_win_kernel32_package_current_l1_1_0
1325 enable_ext_ms_win_kernel32_package_l1_1_1
1326 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1327 enable_ext_ms_win_ntuser_draw_l1_1_0
1328 enable_ext_ms_win_ntuser_gui_l1_1_0
1329 enable_ext_ms_win_ntuser_gui_l1_3_0
1330 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1331 enable_ext_ms_win_ntuser_message_l1_1_0
1332 enable_ext_ms_win_ntuser_message_l1_1_1
1333 enable_ext_ms_win_ntuser_misc_l1_1_0
1334 enable_ext_ms_win_ntuser_misc_l1_2_0
1335 enable_ext_ms_win_ntuser_misc_l1_5_1
1336 enable_ext_ms_win_ntuser_mouse_l1_1_0
1337 enable_ext_ms_win_ntuser_private_l1_1_1
1338 enable_ext_ms_win_ntuser_private_l1_3_1
1339 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1340 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1341 enable_ext_ms_win_ntuser_window_l1_1_0
1342 enable_ext_ms_win_ntuser_window_l1_1_1
1343 enable_ext_ms_win_ntuser_window_l1_1_4
1344 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1345 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1346 enable_ext_ms_win_oleacc_l1_1_0
1347 enable_ext_ms_win_ras_rasapi32_l1_1_0
1348 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1349 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1350 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1355 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1356 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1357 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1358 enable_ext_ms_win_security_credui_l1_1_0
1359 enable_ext_ms_win_security_cryptui_l1_1_0
1360 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1361 enable_ext_ms_win_shell_comdlg32_l1_1_0
1362 enable_ext_ms_win_shell_shell32_l1_2_0
1363 enable_ext_ms_win_uxtheme_themes_l1_1_0
1364 enable_faultrep
1365 enable_feclient
1366 enable_fltlib
1367 enable_fltmgr_sys
1368 enable_fntcache
1369 enable_fontsub
1370 enable_fusion
1371 enable_fwpuclnt
1372 enable_gameux
1373 enable_gamingtcui
1374 enable_gdi32
1375 enable_gdiplus
1376 enable_glu32
1377 enable_gphoto2_ds
1378 enable_gpkcsp
1379 enable_hal
1380 enable_hhctrl_ocx
1381 enable_hid
1382 enable_hidclass_sys
1383 enable_hlink
1384 enable_hnetcfg
1385 enable_http_sys
1386 enable_httpapi
1387 enable_iccvid
1388 enable_icmp
1389 enable_ieframe
1390 enable_ieproxy
1391 enable_imaadp32_acm
1392 enable_imagehlp
1393 enable_imm32
1394 enable_inetcomm
1395 enable_inetcpl_cpl
1396 enable_inetmib1
1397 enable_infosoft
1398 enable_initpki
1399 enable_inkobj
1400 enable_inseng
1401 enable_iphlpapi
1402 enable_iprop
1403 enable_irprops_cpl
1404 enable_itircl
1405 enable_itss
1406 enable_joy_cpl
1407 enable_jscript
1408 enable_jsproxy
1409 enable_kerberos
1410 enable_kernel32
1411 enable_kernelbase
1412 enable_ksecdd_sys
1413 enable_ksproxy_ax
1414 enable_ksuser
1415 enable_ktmw32
1416 enable_l3codeca_acm
1417 enable_light_msstyles
1418 enable_loadperf
1419 enable_localspl
1420 enable_localui
1421 enable_lz32
1422 enable_mapi32
1423 enable_mapistub
1424 enable_mciavi32
1425 enable_mcicda
1426 enable_mciqtz32
1427 enable_mciseq
1428 enable_mciwave
1429 enable_mf
1430 enable_mf3216
1431 enable_mferror
1432 enable_mfmediaengine
1433 enable_mfplat
1434 enable_mfplay
1435 enable_mfreadwrite
1436 enable_mfuuid
1437 enable_mgmtapi
1438 enable_midimap
1439 enable_mlang
1440 enable_mmcndmgr
1441 enable_mmdevapi
1442 enable_mountmgr_sys
1443 enable_mp3dmod
1444 enable_mpr
1445 enable_mprapi
1446 enable_msacm32_drv
1447 enable_msacm32
1448 enable_msado15
1449 enable_msadp32_acm
1450 enable_msasn1
1451 enable_mscat32
1452 enable_mscms
1453 enable_mscoree
1454 enable_mscorwks
1455 enable_msctf
1456 enable_msctfp
1457 enable_msdaps
1458 enable_msdelta
1459 enable_msdmo
1460 enable_msdrm
1461 enable_msftedit
1462 enable_msg711_acm
1463 enable_msgsm32_acm
1464 enable_mshtml_tlb
1465 enable_mshtml
1466 enable_msi
1467 enable_msident
1468 enable_msimg32
1469 enable_msimsg
1470 enable_msimtf
1471 enable_msisip
1472 enable_msisys_ocx
1473 enable_msls31
1474 enable_msnet32
1475 enable_mspatcha
1476 enable_msports
1477 enable_msrle32
1478 enable_msscript_ocx
1479 enable_mssign32
1480 enable_mssip32
1481 enable_mstask
1482 enable_msv1_0
1483 enable_msvcirt
1484 enable_msvcm80
1485 enable_msvcm90
1486 enable_msvcp100
1487 enable_msvcp110
1488 enable_msvcp120
1489 enable_msvcp120_app
1490 enable_msvcp140
1491 enable_msvcp140_1
1492 enable_msvcp60
1493 enable_msvcp70
1494 enable_msvcp71
1495 enable_msvcp80
1496 enable_msvcp90
1497 enable_msvcr100
1498 enable_msvcr110
1499 enable_msvcr120
1500 enable_msvcr120_app
1501 enable_msvcr70
1502 enable_msvcr71
1503 enable_msvcr80
1504 enable_msvcr90
1505 enable_msvcrt
1506 enable_msvcrt20
1507 enable_msvcrt40
1508 enable_msvcrtd
1509 enable_msvfw32
1510 enable_msvidc32
1511 enable_mswsock
1512 enable_msxml
1513 enable_msxml2
1514 enable_msxml3
1515 enable_msxml4
1516 enable_msxml6
1517 enable_mtxdm
1518 enable_ncrypt
1519 enable_nddeapi
1520 enable_ndis_sys
1521 enable_netapi32
1522 enable_netcfgx
1523 enable_netio_sys
1524 enable_netprofm
1525 enable_netutils
1526 enable_newdev
1527 enable_ninput
1528 enable_normaliz
1529 enable_npmshtml
1530 enable_npptools
1531 enable_nsi
1532 enable_nsiproxy_sys
1533 enable_ntdll
1534 enable_ntdsapi
1535 enable_ntoskrnl_exe
1536 enable_ntprint
1537 enable_objsel
1538 enable_odbc32
1539 enable_odbcbcp
1540 enable_odbccp32
1541 enable_odbccu32
1542 enable_ole32
1543 enable_oleacc
1544 enable_oleaut32
1545 enable_olecli32
1546 enable_oledb32
1547 enable_oledlg
1548 enable_olepro32
1549 enable_olesvr32
1550 enable_olethk32
1551 enable_opcservices
1552 enable_openal32
1553 enable_opencl
1554 enable_opengl32
1555 enable_packager
1556 enable_pdh
1557 enable_photometadatahandler
1558 enable_pidgen
1559 enable_powrprof
1560 enable_printui
1561 enable_prntvpt
1562 enable_propsys
1563 enable_psapi
1564 enable_pstorec
1565 enable_pwrshplugin
1566 enable_qasf
1567 enable_qcap
1568 enable_qdvd
1569 enable_qedit
1570 enable_qmgr
1571 enable_qmgrprxy
1572 enable_quartz
1573 enable_query
1574 enable_qwave
1575 enable_rasapi32
1576 enable_rasdlg
1577 enable_regapi
1578 enable_resutils
1579 enable_riched20
1580 enable_riched32
1581 enable_rpcrt4
1582 enable_rsabase
1583 enable_rsaenh
1584 enable_rstrtmgr
1585 enable_rtutils
1586 enable_rtworkq
1587 enable_samlib
1588 enable_sane_ds
1589 enable_sapi
1590 enable_sas
1591 enable_scarddlg
1592 enable_sccbase
1593 enable_schannel
1594 enable_schedsvc
1595 enable_scrobj
1596 enable_scrrun
1597 enable_scsiport_sys
1598 enable_sechost
1599 enable_secur32
1600 enable_security
1601 enable_sensapi
1602 enable_serialui
1603 enable_setupapi
1604 enable_sfc
1605 enable_sfc_os
1606 enable_shcore
1607 enable_shdoclc
1608 enable_shdocvw
1609 enable_shell32
1610 enable_shfolder
1611 enable_shlwapi
1612 enable_slbcsp
1613 enable_slc
1614 enable_snmpapi
1615 enable_softpub
1616 enable_spoolss
1617 enable_sppc
1618 enable_srclient
1619 enable_srvcli
1620 enable_sspicli
1621 enable_stdole2_tlb
1622 enable_stdole32_tlb
1623 enable_sti
1624 enable_strmbase
1625 enable_strmdll
1626 enable_strmiids
1627 enable_svrapi
1628 enable_sxs
1629 enable_t2embed
1630 enable_tapi32
1631 enable_taskschd
1632 enable_tbs
1633 enable_tdh
1634 enable_tdi_sys
1635 enable_traffic
1636 enable_twain_32
1637 enable_tzres
1638 enable_ucrtbase
1639 enable_uianimation
1640 enable_uiautomationcore
1641 enable_uiribbon
1642 enable_unicows
1643 enable_updspapi
1644 enable_url
1645 enable_urlmon
1646 enable_usbd_sys
1647 enable_user32
1648 enable_userenv
1649 enable_usp10
1650 enable_utildll
1651 enable_uuid
1652 enable_uxtheme
1653 enable_vbscript
1654 enable_vcomp
1655 enable_vcomp100
1656 enable_vcomp110
1657 enable_vcomp120
1658 enable_vcomp140
1659 enable_vcomp90
1660 enable_vcruntime140
1661 enable_vcruntime140_1
1662 enable_vdmdbg
1663 enable_version
1664 enable_vga
1665 enable_virtdisk
1666 enable_vssapi
1667 enable_vulkan_1
1668 enable_wbemdisp
1669 enable_wbemprox
1670 enable_wbemuuid
1671 enable_wdscore
1672 enable_webservices
1673 enable_websocket
1674 enable_wer
1675 enable_wevtapi
1676 enable_wevtsvc
1677 enable_wiaservc
1678 enable_wimgapi
1679 enable_win32u
1680 enable_windows_gaming_input
1681 enable_windows_globalization
1682 enable_windows_media_devices
1683 enable_windows_media_speech
1684 enable_windowscodecs
1685 enable_windowscodecsext
1686 enable_winealsa_drv
1687 enable_wineandroid_drv
1688 enable_winebus_sys
1689 enable_winecoreaudio_drv
1690 enable_winecrt0
1691 enable_wined3d
1692 enable_winegstreamer
1693 enable_winehid_sys
1694 enable_winejoystick_drv
1695 enable_winemac_drv
1696 enable_winemapi
1697 enable_wineoss_drv
1698 enable_wineps_drv
1699 enable_winepulse_drv
1700 enable_wineqtdecoder
1701 enable_wineusb_sys
1702 enable_winevulkan
1703 enable_winex11_drv
1704 enable_wing32
1705 enable_winhttp
1706 enable_wininet
1707 enable_winmm
1708 enable_winnls32
1709 enable_winscard
1710 enable_winspool_drv
1711 enable_winsta
1712 enable_wintab32
1713 enable_wintrust
1714 enable_winusb
1715 enable_wlanapi
1716 enable_wlanui
1717 enable_wldap32
1718 enable_wmasf
1719 enable_wmcodecdspuuid
1720 enable_wmi
1721 enable_wmiutils
1722 enable_wmp
1723 enable_wmphoto
1724 enable_wmvcore
1725 enable_wnaspi32
1726 enable_wow64
1727 enable_wow64cpu
1728 enable_wow64win
1729 enable_wpc
1730 enable_wpcap
1731 enable_ws2_32
1732 enable_wsdapi
1733 enable_wshom_ocx
1734 enable_wsnmp32
1735 enable_wsock32
1736 enable_wtsapi32
1737 enable_wuapi
1738 enable_wuaueng
1739 enable_x3daudio1_0
1740 enable_x3daudio1_1
1741 enable_x3daudio1_2
1742 enable_x3daudio1_3
1743 enable_x3daudio1_4
1744 enable_x3daudio1_5
1745 enable_x3daudio1_6
1746 enable_x3daudio1_7
1747 enable_xactengine2_0
1748 enable_xactengine2_4
1749 enable_xactengine2_7
1750 enable_xactengine2_9
1751 enable_xactengine3_0
1752 enable_xactengine3_1
1753 enable_xactengine3_2
1754 enable_xactengine3_3
1755 enable_xactengine3_4
1756 enable_xactengine3_5
1757 enable_xactengine3_6
1758 enable_xactengine3_7
1759 enable_xapofx1_1
1760 enable_xapofx1_2
1761 enable_xapofx1_3
1762 enable_xapofx1_4
1763 enable_xapofx1_5
1764 enable_xaudio2_0
1765 enable_xaudio2_1
1766 enable_xaudio2_2
1767 enable_xaudio2_3
1768 enable_xaudio2_4
1769 enable_xaudio2_5
1770 enable_xaudio2_6
1771 enable_xaudio2_7
1772 enable_xaudio2_8
1773 enable_xaudio2_9
1774 enable_xinput1_1
1775 enable_xinput1_2
1776 enable_xinput1_3
1777 enable_xinput1_4
1778 enable_xinput9_1_0
1779 enable_xmllite
1780 enable_xolehlp
1781 enable_xpsprint
1782 enable_xpssvcs
1783 enable_fonts
1784 enable_include
1785 enable_port
1786 enable_wine
1787 enable_wpp
1788 enable_loader
1789 enable_nls
1790 enable_po
1791 enable_arp
1792 enable_aspnet_regiis
1793 enable_attrib
1794 enable_cabarc
1795 enable_cacls
1796 enable_chcp_com
1797 enable_clock
1798 enable_cmd
1799 enable_conhost
1800 enable_control
1801 enable_cscript
1802 enable_dism
1803 enable_dplaysvr
1804 enable_dpnsvr
1805 enable_dpvsetup
1806 enable_dxdiag
1807 enable_eject
1808 enable_expand
1809 enable_explorer
1810 enable_extrac32
1811 enable_fc
1812 enable_find
1813 enable_findstr
1814 enable_fsutil
1815 enable_hh
1816 enable_hostname
1817 enable_icacls
1818 enable_icinfo
1819 enable_iexplore
1820 enable_ipconfig
1821 enable_lodctr
1822 enable_mofcomp
1823 enable_mshta
1824 enable_msidb
1825 enable_msiexec
1826 enable_msinfo32
1827 enable_net
1828 enable_netsh
1829 enable_netstat
1830 enable_ngen
1831 enable_notepad
1832 enable_oleview
1833 enable_ping
1834 enable_plugplay
1835 enable_powershell
1836 enable_presentationfontcache
1837 enable_progman
1838 enable_reg
1839 enable_regasm
1840 enable_regedit
1841 enable_regini
1842 enable_regsvcs
1843 enable_regsvr32
1844 enable_rpcss
1845 enable_rundll32
1846 enable_sc
1847 enable_schtasks
1848 enable_sdbinst
1849 enable_secedit
1850 enable_servicemodelreg
1851 enable_services
1852 enable_shutdown
1853 enable_spoolsv
1854 enable_start
1855 enable_subst
1856 enable_svchost
1857 enable_systeminfo
1858 enable_taskkill
1859 enable_tasklist
1860 enable_taskmgr
1861 enable_termsv
1862 enable_uninstaller
1863 enable_unlodctr
1864 enable_view
1865 enable_wevtutil
1866 enable_where
1867 enable_whoami
1868 enable_wineboot
1869 enable_winebrowser
1870 enable_winecfg
1871 enable_wineconsole
1872 enable_winedbg
1873 enable_winedevice
1874 enable_winefile
1875 enable_winemenubuilder
1876 enable_winemine
1877 enable_winemsibuilder
1878 enable_winepath
1879 enable_winetest
1880 enable_winhlp32
1881 enable_winmgmt
1882 enable_winver
1883 enable_wmic
1884 enable_wmplayer
1885 enable_wordpad
1886 enable_write
1887 enable_wscript
1888 enable_wuauserv
1889 enable_wusa
1890 enable_xcopy
1891 enable_server
1892 enable_tools
1893 enable_sfnt2fon
1894 enable_widl
1895 enable_winebuild
1896 enable_winedump
1897 enable_winegcc
1898 enable_winemaker
1899 enable_wmc
1900 enable_wrc
1902 ac_precious_vars='build_alias
1903 host_alias
1904 target_alias
1906 CFLAGS
1907 LDFLAGS
1908 LIBS
1909 CPPFLAGS
1911 CXXFLAGS
1914 OBJC
1915 OBJCFLAGS
1916 OBJCPP
1917 XMKMF
1918 XML2_CFLAGS
1919 XML2_LIBS
1920 XSLT_CFLAGS
1921 XSLT_LIBS
1922 INOTIFY_CFLAGS
1923 INOTIFY_LIBS
1924 DBUS_CFLAGS
1925 DBUS_LIBS
1926 HAL_CFLAGS
1927 HAL_LIBS
1928 GNUTLS_CFLAGS
1929 GNUTLS_LIBS
1930 SANE_CFLAGS
1931 SANE_LIBS
1932 USB_CFLAGS
1933 USB_LIBS
1934 GPHOTO2_CFLAGS
1935 GPHOTO2_LIBS
1936 GPHOTO2_PORT_CFLAGS
1937 GPHOTO2_PORT_LIBS
1938 LCMS2_CFLAGS
1939 LCMS2_LIBS
1940 FREETYPE_CFLAGS
1941 FREETYPE_LIBS
1942 PULSE_CFLAGS
1943 PULSE_LIBS
1944 GSTREAMER_CFLAGS
1945 GSTREAMER_LIBS
1946 UDEV_CFLAGS
1947 UDEV_LIBS
1948 UNWIND_CFLAGS
1949 UNWIND_LIBS
1950 SDL2_CFLAGS
1951 SDL2_LIBS
1952 FAUDIO_CFLAGS
1953 FAUDIO_LIBS
1954 CAPI20_CFLAGS
1955 CAPI20_LIBS
1956 CUPS_CFLAGS
1957 CUPS_LIBS
1958 FONTCONFIG_CFLAGS
1959 FONTCONFIG_LIBS
1960 KRB5_CFLAGS
1961 KRB5_LIBS
1962 GSSAPI_CFLAGS
1963 GSSAPI_LIBS
1964 JPEG_CFLAGS
1965 JPEG_LIBS
1966 JXRLIB_CFLAGS
1967 JXRLIB_LIBS
1968 PNG_CFLAGS
1969 PNG_LIBS
1970 TIFF_CFLAGS
1971 TIFF_LIBS
1972 MPG123_CFLAGS
1973 MPG123_LIBS
1974 NETAPI_CFLAGS
1975 NETAPI_LIBS
1976 VKD3D_CFLAGS
1977 VKD3D_LIBS
1978 VKD3D_SHADER_CFLAGS
1979 VKD3D_SHADER_LIBS
1980 LDAP_CFLAGS
1981 LDAP_LIBS'
1984 # Initialize some variables set by options.
1985 ac_init_help=
1986 ac_init_version=false
1987 ac_unrecognized_opts=
1988 ac_unrecognized_sep=
1989 # The variables have the same names as the options, with
1990 # dashes changed to underlines.
1991 cache_file=/dev/null
1992 exec_prefix=NONE
1993 no_create=
1994 no_recursion=
1995 prefix=NONE
1996 program_prefix=NONE
1997 program_suffix=NONE
1998 program_transform_name=s,x,x,
1999 silent=
2000 site=
2001 srcdir=
2002 verbose=
2003 x_includes=NONE
2004 x_libraries=NONE
2006 # Installation directory options.
2007 # These are left unexpanded so users can "make install exec_prefix=/foo"
2008 # and all the variables that are supposed to be based on exec_prefix
2009 # by default will actually change.
2010 # Use braces instead of parens because sh, perl, etc. also accept them.
2011 # (The list follows the same order as the GNU Coding Standards.)
2012 bindir='${exec_prefix}/bin'
2013 sbindir='${exec_prefix}/sbin'
2014 libexecdir='${exec_prefix}/libexec'
2015 datarootdir='${prefix}/share'
2016 datadir='${datarootdir}'
2017 sysconfdir='${prefix}/etc'
2018 sharedstatedir='${prefix}/com'
2019 localstatedir='${prefix}/var'
2020 runstatedir='${localstatedir}/run'
2021 includedir='${prefix}/include'
2022 oldincludedir='/usr/include'
2023 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2024 infodir='${datarootdir}/info'
2025 htmldir='${docdir}'
2026 dvidir='${docdir}'
2027 pdfdir='${docdir}'
2028 psdir='${docdir}'
2029 libdir='${exec_prefix}/lib'
2030 localedir='${datarootdir}/locale'
2031 mandir='${datarootdir}/man'
2033 ac_prev=
2034 ac_dashdash=
2035 for ac_option
2037 # If the previous option needs an argument, assign it.
2038 if test -n "$ac_prev"; then
2039 eval $ac_prev=\$ac_option
2040 ac_prev=
2041 continue
2044 case $ac_option in
2045 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2046 *=) ac_optarg= ;;
2047 *) ac_optarg=yes ;;
2048 esac
2050 # Accept the important Cygnus configure options, so we can diagnose typos.
2052 case $ac_dashdash$ac_option in
2054 ac_dashdash=yes ;;
2056 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2057 ac_prev=bindir ;;
2058 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2059 bindir=$ac_optarg ;;
2061 -build | --build | --buil | --bui | --bu)
2062 ac_prev=build_alias ;;
2063 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2064 build_alias=$ac_optarg ;;
2066 -cache-file | --cache-file | --cache-fil | --cache-fi \
2067 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2068 ac_prev=cache_file ;;
2069 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2070 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2071 cache_file=$ac_optarg ;;
2073 --config-cache | -C)
2074 cache_file=config.cache ;;
2076 -datadir | --datadir | --datadi | --datad)
2077 ac_prev=datadir ;;
2078 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2079 datadir=$ac_optarg ;;
2081 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2082 | --dataroo | --dataro | --datar)
2083 ac_prev=datarootdir ;;
2084 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2085 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2086 datarootdir=$ac_optarg ;;
2088 -disable-* | --disable-*)
2089 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2090 # Reject names that are not valid shell variable names.
2091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2092 as_fn_error $? "invalid feature name: $ac_useropt"
2093 ac_useropt_orig=$ac_useropt
2094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2095 case $ac_user_opts in
2097 "enable_$ac_useropt"
2098 "*) ;;
2099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2100 ac_unrecognized_sep=', ';;
2101 esac
2102 eval enable_$ac_useropt=no ;;
2104 -docdir | --docdir | --docdi | --doc | --do)
2105 ac_prev=docdir ;;
2106 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2107 docdir=$ac_optarg ;;
2109 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2110 ac_prev=dvidir ;;
2111 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2112 dvidir=$ac_optarg ;;
2114 -enable-* | --enable-*)
2115 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2116 # Reject names that are not valid shell variable names.
2117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2118 as_fn_error $? "invalid feature name: $ac_useropt"
2119 ac_useropt_orig=$ac_useropt
2120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2121 case $ac_user_opts in
2123 "enable_$ac_useropt"
2124 "*) ;;
2125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2126 ac_unrecognized_sep=', ';;
2127 esac
2128 eval enable_$ac_useropt=\$ac_optarg ;;
2130 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2131 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2132 | --exec | --exe | --ex)
2133 ac_prev=exec_prefix ;;
2134 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2135 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2136 | --exec=* | --exe=* | --ex=*)
2137 exec_prefix=$ac_optarg ;;
2139 -gas | --gas | --ga | --g)
2140 # Obsolete; use --with-gas.
2141 with_gas=yes ;;
2143 -help | --help | --hel | --he | -h)
2144 ac_init_help=long ;;
2145 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2146 ac_init_help=recursive ;;
2147 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2148 ac_init_help=short ;;
2150 -host | --host | --hos | --ho)
2151 ac_prev=host_alias ;;
2152 -host=* | --host=* | --hos=* | --ho=*)
2153 host_alias=$ac_optarg ;;
2155 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2156 ac_prev=htmldir ;;
2157 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2158 | --ht=*)
2159 htmldir=$ac_optarg ;;
2161 -includedir | --includedir | --includedi | --included | --include \
2162 | --includ | --inclu | --incl | --inc)
2163 ac_prev=includedir ;;
2164 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2165 | --includ=* | --inclu=* | --incl=* | --inc=*)
2166 includedir=$ac_optarg ;;
2168 -infodir | --infodir | --infodi | --infod | --info | --inf)
2169 ac_prev=infodir ;;
2170 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2171 infodir=$ac_optarg ;;
2173 -libdir | --libdir | --libdi | --libd)
2174 ac_prev=libdir ;;
2175 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2176 libdir=$ac_optarg ;;
2178 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2179 | --libexe | --libex | --libe)
2180 ac_prev=libexecdir ;;
2181 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2182 | --libexe=* | --libex=* | --libe=*)
2183 libexecdir=$ac_optarg ;;
2185 -localedir | --localedir | --localedi | --localed | --locale)
2186 ac_prev=localedir ;;
2187 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2188 localedir=$ac_optarg ;;
2190 -localstatedir | --localstatedir | --localstatedi | --localstated \
2191 | --localstate | --localstat | --localsta | --localst | --locals)
2192 ac_prev=localstatedir ;;
2193 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2194 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2195 localstatedir=$ac_optarg ;;
2197 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2198 ac_prev=mandir ;;
2199 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2200 mandir=$ac_optarg ;;
2202 -nfp | --nfp | --nf)
2203 # Obsolete; use --without-fp.
2204 with_fp=no ;;
2206 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2207 | --no-cr | --no-c | -n)
2208 no_create=yes ;;
2210 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2211 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2212 no_recursion=yes ;;
2214 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2215 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2216 | --oldin | --oldi | --old | --ol | --o)
2217 ac_prev=oldincludedir ;;
2218 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2219 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2220 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2221 oldincludedir=$ac_optarg ;;
2223 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2224 ac_prev=prefix ;;
2225 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2226 prefix=$ac_optarg ;;
2228 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2229 | --program-pre | --program-pr | --program-p)
2230 ac_prev=program_prefix ;;
2231 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2232 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2233 program_prefix=$ac_optarg ;;
2235 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2236 | --program-suf | --program-su | --program-s)
2237 ac_prev=program_suffix ;;
2238 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2239 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2240 program_suffix=$ac_optarg ;;
2242 -program-transform-name | --program-transform-name \
2243 | --program-transform-nam | --program-transform-na \
2244 | --program-transform-n | --program-transform- \
2245 | --program-transform | --program-transfor \
2246 | --program-transfo | --program-transf \
2247 | --program-trans | --program-tran \
2248 | --progr-tra | --program-tr | --program-t)
2249 ac_prev=program_transform_name ;;
2250 -program-transform-name=* | --program-transform-name=* \
2251 | --program-transform-nam=* | --program-transform-na=* \
2252 | --program-transform-n=* | --program-transform-=* \
2253 | --program-transform=* | --program-transfor=* \
2254 | --program-transfo=* | --program-transf=* \
2255 | --program-trans=* | --program-tran=* \
2256 | --progr-tra=* | --program-tr=* | --program-t=*)
2257 program_transform_name=$ac_optarg ;;
2259 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2260 ac_prev=pdfdir ;;
2261 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2262 pdfdir=$ac_optarg ;;
2264 -psdir | --psdir | --psdi | --psd | --ps)
2265 ac_prev=psdir ;;
2266 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2267 psdir=$ac_optarg ;;
2269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2270 | -silent | --silent | --silen | --sile | --sil)
2271 silent=yes ;;
2273 -runstatedir | --runstatedir | --runstatedi | --runstated \
2274 | --runstate | --runstat | --runsta | --runst | --runs \
2275 | --run | --ru | --r)
2276 ac_prev=runstatedir ;;
2277 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2278 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2279 | --run=* | --ru=* | --r=*)
2280 runstatedir=$ac_optarg ;;
2282 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2283 ac_prev=sbindir ;;
2284 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2285 | --sbi=* | --sb=*)
2286 sbindir=$ac_optarg ;;
2288 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2289 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2290 | --sharedst | --shareds | --shared | --share | --shar \
2291 | --sha | --sh)
2292 ac_prev=sharedstatedir ;;
2293 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2294 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2295 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2296 | --sha=* | --sh=*)
2297 sharedstatedir=$ac_optarg ;;
2299 -site | --site | --sit)
2300 ac_prev=site ;;
2301 -site=* | --site=* | --sit=*)
2302 site=$ac_optarg ;;
2304 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2305 ac_prev=srcdir ;;
2306 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2307 srcdir=$ac_optarg ;;
2309 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2310 | --syscon | --sysco | --sysc | --sys | --sy)
2311 ac_prev=sysconfdir ;;
2312 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2313 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2314 sysconfdir=$ac_optarg ;;
2316 -target | --target | --targe | --targ | --tar | --ta | --t)
2317 ac_prev=target_alias ;;
2318 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2319 target_alias=$ac_optarg ;;
2321 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2322 verbose=yes ;;
2324 -version | --version | --versio | --versi | --vers | -V)
2325 ac_init_version=: ;;
2327 -with-* | --with-*)
2328 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2329 # Reject names that are not valid shell variable names.
2330 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2331 as_fn_error $? "invalid package name: $ac_useropt"
2332 ac_useropt_orig=$ac_useropt
2333 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2334 case $ac_user_opts in
2336 "with_$ac_useropt"
2337 "*) ;;
2338 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2339 ac_unrecognized_sep=', ';;
2340 esac
2341 eval with_$ac_useropt=\$ac_optarg ;;
2343 -without-* | --without-*)
2344 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2345 # Reject names that are not valid shell variable names.
2346 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2347 as_fn_error $? "invalid package name: $ac_useropt"
2348 ac_useropt_orig=$ac_useropt
2349 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2350 case $ac_user_opts in
2352 "with_$ac_useropt"
2353 "*) ;;
2354 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2355 ac_unrecognized_sep=', ';;
2356 esac
2357 eval with_$ac_useropt=no ;;
2359 --x)
2360 # Obsolete; use --with-x.
2361 with_x=yes ;;
2363 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2364 | --x-incl | --x-inc | --x-in | --x-i)
2365 ac_prev=x_includes ;;
2366 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2367 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2368 x_includes=$ac_optarg ;;
2370 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2371 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2372 ac_prev=x_libraries ;;
2373 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2374 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2375 x_libraries=$ac_optarg ;;
2377 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2378 Try \`$0 --help' for more information"
2381 *=*)
2382 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2383 # Reject names that are not valid shell variable names.
2384 case $ac_envvar in #(
2385 '' | [0-9]* | *[!_$as_cr_alnum]* )
2386 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2387 esac
2388 eval $ac_envvar=\$ac_optarg
2389 export $ac_envvar ;;
2392 # FIXME: should be removed in autoconf 3.0.
2393 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2394 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2395 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2396 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2399 esac
2400 done
2402 if test -n "$ac_prev"; then
2403 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2404 as_fn_error $? "missing argument to $ac_option"
2407 if test -n "$ac_unrecognized_opts"; then
2408 case $enable_option_checking in
2409 no) ;;
2410 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2411 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2412 esac
2415 # Check all directory arguments for consistency.
2416 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2417 datadir sysconfdir sharedstatedir localstatedir includedir \
2418 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2419 libdir localedir mandir runstatedir
2421 eval ac_val=\$$ac_var
2422 # Remove trailing slashes.
2423 case $ac_val in
2424 */ )
2425 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2426 eval $ac_var=\$ac_val;;
2427 esac
2428 # Be sure to have absolute directory names.
2429 case $ac_val in
2430 [\\/$]* | ?:[\\/]* ) continue;;
2431 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2432 esac
2433 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2434 done
2436 # There might be people who depend on the old broken behavior: `$host'
2437 # used to hold the argument of --host etc.
2438 # FIXME: To remove some day.
2439 build=$build_alias
2440 host=$host_alias
2441 target=$target_alias
2443 # FIXME: To remove some day.
2444 if test "x$host_alias" != x; then
2445 if test "x$build_alias" = x; then
2446 cross_compiling=maybe
2447 elif test "x$build_alias" != "x$host_alias"; then
2448 cross_compiling=yes
2452 ac_tool_prefix=
2453 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2455 test "$silent" = yes && exec 6>/dev/null
2458 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2459 ac_ls_di=`ls -di .` &&
2460 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2461 as_fn_error $? "working directory cannot be determined"
2462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2463 as_fn_error $? "pwd does not report name of working directory"
2466 # Find the source files, if location was not specified.
2467 if test -z "$srcdir"; then
2468 ac_srcdir_defaulted=yes
2469 # Try the directory containing this script, then the parent directory.
2470 ac_confdir=`$as_dirname -- "$as_myself" ||
2471 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2472 X"$as_myself" : 'X\(//\)[^/]' \| \
2473 X"$as_myself" : 'X\(//\)$' \| \
2474 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2475 $as_echo X"$as_myself" |
2476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2477 s//\1/
2480 /^X\(\/\/\)[^/].*/{
2481 s//\1/
2484 /^X\(\/\/\)$/{
2485 s//\1/
2488 /^X\(\/\).*/{
2489 s//\1/
2492 s/.*/./; q'`
2493 srcdir=$ac_confdir
2494 if test ! -r "$srcdir/$ac_unique_file"; then
2495 srcdir=..
2497 else
2498 ac_srcdir_defaulted=no
2500 if test ! -r "$srcdir/$ac_unique_file"; then
2501 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2502 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2504 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2505 ac_abs_confdir=`(
2506 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2507 pwd)`
2508 # When building in place, set srcdir=.
2509 if test "$ac_abs_confdir" = "$ac_pwd"; then
2510 srcdir=.
2512 # Remove unnecessary trailing slashes from srcdir.
2513 # Double slashes in file names in object file debugging info
2514 # mess up M-x gdb in Emacs.
2515 case $srcdir in
2516 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2517 esac
2518 for ac_var in $ac_precious_vars; do
2519 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2520 eval ac_env_${ac_var}_value=\$${ac_var}
2521 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2522 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2523 done
2526 # Report the --help message.
2528 if test "$ac_init_help" = "long"; then
2529 # Omit some internal or obsolete options to make the list less imposing.
2530 # This message is too long to be a string in the A/UX 3.1 sh.
2531 cat <<_ACEOF
2532 \`configure' configures Wine 6.13 to adapt to many kinds of systems.
2534 Usage: $0 [OPTION]... [VAR=VALUE]...
2536 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2537 VAR=VALUE. See below for descriptions of some of the useful variables.
2539 Defaults for the options are specified in brackets.
2541 Configuration:
2542 -h, --help display this help and exit
2543 --help=short display options specific to this package
2544 --help=recursive display the short help of all the included packages
2545 -V, --version display version information and exit
2546 -q, --quiet, --silent do not print \`checking ...' messages
2547 --cache-file=FILE cache test results in FILE [disabled]
2548 -C, --config-cache alias for \`--cache-file=config.cache'
2549 -n, --no-create do not create output files
2550 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2552 Installation directories:
2553 --prefix=PREFIX install architecture-independent files in PREFIX
2554 [$ac_default_prefix]
2555 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2556 [PREFIX]
2558 By default, \`make install' will install all the files in
2559 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2560 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2561 for instance \`--prefix=\$HOME'.
2563 For better control, use the options below.
2565 Fine tuning of the installation directories:
2566 --bindir=DIR user executables [EPREFIX/bin]
2567 --sbindir=DIR system admin executables [EPREFIX/sbin]
2568 --libexecdir=DIR program executables [EPREFIX/libexec]
2569 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2570 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2571 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2572 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2573 --libdir=DIR object code libraries [EPREFIX/lib]
2574 --includedir=DIR C header files [PREFIX/include]
2575 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2576 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2577 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2578 --infodir=DIR info documentation [DATAROOTDIR/info]
2579 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2580 --mandir=DIR man documentation [DATAROOTDIR/man]
2581 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2582 --htmldir=DIR html documentation [DOCDIR]
2583 --dvidir=DIR dvi documentation [DOCDIR]
2584 --pdfdir=DIR pdf documentation [DOCDIR]
2585 --psdir=DIR ps documentation [DOCDIR]
2586 _ACEOF
2588 cat <<\_ACEOF
2590 X features:
2591 --x-includes=DIR X include files are in DIR
2592 --x-libraries=DIR X library files are in DIR
2594 System types:
2595 --build=BUILD configure for building on BUILD [guessed]
2596 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2597 _ACEOF
2600 if test -n "$ac_init_help"; then
2601 case $ac_init_help in
2602 short | recursive ) echo "Configuration of Wine 6.13:";;
2603 esac
2604 cat <<\_ACEOF
2606 Optional Features:
2607 --disable-option-checking ignore unrecognized --enable/--with options
2608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2610 --disable-win16 do not include Win16 support
2611 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2612 binaries)
2613 --disable-tests do not build the regression tests
2614 --enable-build-id include .buildid section in output objects
2615 --enable-maintainer-mode
2616 enable maintainer-specific build rules
2617 --enable-silent-rules use silent build rules (override: "make V=1")
2618 --enable-werror treat compilation warnings as errors
2619 --disable-largefile omit support for large files
2621 Optional Packages:
2622 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2623 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2624 --without-alsa do not use the Alsa sound support
2625 --without-capi do not use CAPI (ISDN support)
2626 --without-cms do not use CMS (color management support)
2627 --without-coreaudio do not use the CoreAudio sound support
2628 --without-cups do not use CUPS
2629 --without-dbus do not use DBus (dynamic device support)
2630 --without-faudio do not use FAudio (XAudio2 support)
2631 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2632 --without-fontconfig do not use fontconfig
2633 --without-freetype do not use the FreeType library
2634 --without-gettext do not use gettext
2635 --with-gettextpo use the GetTextPO library to rebuild po files
2636 --without-gphoto do not use gphoto (Digital Camera support)
2637 --without-gnutls do not use GnuTLS (schannel support)
2638 --without-gsm do not use libgsm (GSM 06.10 codec support)
2639 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2640 --without-gstreamer do not use GStreamer (codecs support)
2641 --without-hal do not use HAL (dynamic device support)
2642 --without-inotify do not use inotify (filesystem change notifications)
2643 --without-jpeg do not use JPEG
2644 --without-jxrlib do not use JPEG-XR
2645 --without-krb5 do not use krb5 (Kerberos)
2646 --without-ldap do not use LDAP
2647 --without-mingw do not use the MinGW cross-compiler
2648 --without-mpg123 do not use the mpg123 library
2649 --without-netapi do not use the Samba NetAPI library
2650 --without-openal do not use OpenAL
2651 --without-opencl do not use OpenCL
2652 --without-opengl do not use OpenGL
2653 --without-osmesa do not use the OSMesa library
2654 --without-oss do not use the OSS sound support
2655 --without-pcap do not use the Packet Capture library
2656 --without-png do not use PNG
2657 --without-pthread do not use the pthread library
2658 --without-pulse do not use PulseAudio sound support
2659 --without-quicktime do not use QuickTime support
2660 --without-sane do not use SANE (scanner support)
2661 --without-sdl do not use SDL
2662 --without-tiff do not use TIFF
2663 --without-udev do not use udev (plug and play support)
2664 --without-unwind do not use the libunwind library (exception
2665 handling)
2666 --without-usb do not use the libusb library
2667 --without-v4l2 do not use v4l2 (video capture)
2668 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2669 --without-vulkan do not use Vulkan
2670 --without-xcomposite do not use the Xcomposite extension
2671 --without-xcursor do not use the Xcursor extension
2672 --without-xfixes do not use Xfixes for clipboard change notifications
2673 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2674 --without-xinput do not use the Xinput extension
2675 --without-xinput2 do not use the Xinput 2 extension
2676 --without-xml do not use XML
2677 --without-xrandr do not use Xrandr (multi-monitor support)
2678 --without-xrender do not use the Xrender extension
2679 --without-xshape do not use the Xshape extension
2680 --without-xshm do not use XShm (shared memory extension)
2681 --without-xslt do not use XSLT
2682 --without-xxf86vm do not use XFree video mode extension
2683 --with-wine-tools=DIR use Wine tools from directory DIR
2684 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2685 --with-x use the X Window System
2687 Some influential environment variables:
2688 CC C compiler command
2689 CFLAGS C compiler flags
2690 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2691 nonstandard directory <lib dir>
2692 LIBS libraries to pass to the linker, e.g. -l<library>
2693 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2694 you have headers in a nonstandard directory <include dir>
2695 CXX C++ compiler command
2696 CXXFLAGS C++ compiler flags
2697 CPP C preprocessor
2698 OBJC Objective C compiler command
2699 OBJCFLAGS Objective C compiler flags
2700 OBJCPP Objective C preprocessor
2701 XMKMF Path to xmkmf, Makefile generator for X Window System
2702 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2703 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2704 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2705 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2706 INOTIFY_CFLAGS
2707 C compiler flags for libinotify, overriding pkg-config
2708 INOTIFY_LIBS
2709 Linker flags for libinotify, overriding pkg-config
2710 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2711 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2712 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2713 HAL_LIBS Linker flags for hal, overriding pkg-config
2714 GNUTLS_CFLAGS
2715 C compiler flags for gnutls, overriding pkg-config
2716 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2717 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2718 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2719 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2720 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2721 GPHOTO2_CFLAGS
2722 C compiler flags for libgphoto2, overriding pkg-config
2723 GPHOTO2_LIBS
2724 Linker flags for libgphoto2, overriding pkg-config
2725 GPHOTO2_PORT_CFLAGS
2726 C compiler flags for libgphoto2_port, overriding pkg-config
2727 GPHOTO2_PORT_LIBS
2728 Linker flags for libgphoto2_port, overriding pkg-config
2729 LCMS2_CFLAGS
2730 C compiler flags for lcms2, overriding pkg-config
2731 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2732 FREETYPE_CFLAGS
2733 C compiler flags for freetype2, overriding pkg-config
2734 FREETYPE_LIBS
2735 Linker flags for freetype2, overriding pkg-config
2736 PULSE_CFLAGS
2737 C compiler flags for libpulse, overriding pkg-config
2738 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2739 GSTREAMER_CFLAGS
2740 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2741 gstreamer-audio-1.0, overriding pkg-config
2742 GSTREAMER_LIBS
2743 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2744 gstreamer-audio-1.0, overriding pkg-config
2745 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2746 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2747 UNWIND_CFLAGS
2748 C compiler flags for libunwind, overriding pkg-config
2749 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2750 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2751 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2752 FAUDIO_CFLAGS
2753 C compiler flags for FAudio, overriding pkg-config
2754 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2755 CAPI20_CFLAGS
2756 C compiler flags for capi20, overriding pkg-config
2757 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2758 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2759 CUPS_LIBS Linker flags for cups, overriding pkg-config
2760 FONTCONFIG_CFLAGS
2761 C compiler flags for fontconfig, overriding pkg-config
2762 FONTCONFIG_LIBS
2763 Linker flags for fontconfig, overriding pkg-config
2764 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2765 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2766 GSSAPI_CFLAGS
2767 C compiler flags for krb5-gssapi, overriding pkg-config
2768 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2769 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2770 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2771 JXRLIB_CFLAGS
2772 C compiler flags for jxrlib, overriding pkg-config
2773 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2774 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2775 PNG_LIBS Linker flags for libpng, overriding pkg-config
2776 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2777 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2778 MPG123_CFLAGS
2779 C compiler flags for libmpg123, overriding pkg-config
2780 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2781 NETAPI_CFLAGS
2782 C compiler flags for netapi, overriding pkg-config
2783 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2784 VKD3D_CFLAGS
2785 C compiler flags for libvkd3d, overriding pkg-config
2786 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2787 VKD3D_SHADER_CFLAGS
2788 C compiler flags for libvkd3d-shader, overriding pkg-config
2789 VKD3D_SHADER_LIBS
2790 Linker flags for libvkd3d-shader, overriding pkg-config
2791 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2792 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2794 Use these variables to override the choices made by `configure' or to help
2795 it to find libraries and programs with nonstandard names/locations.
2797 Report bugs to <wine-devel@winehq.org>.
2798 Wine home page: <https://www.winehq.org>.
2799 _ACEOF
2800 ac_status=$?
2803 if test "$ac_init_help" = "recursive"; then
2804 # If there are subdirs, report their specific --help.
2805 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2806 test -d "$ac_dir" ||
2807 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2808 continue
2809 ac_builddir=.
2811 case "$ac_dir" in
2812 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2814 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2815 # A ".." for each directory in $ac_dir_suffix.
2816 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2817 case $ac_top_builddir_sub in
2818 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2819 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2820 esac ;;
2821 esac
2822 ac_abs_top_builddir=$ac_pwd
2823 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2824 # for backward compatibility:
2825 ac_top_builddir=$ac_top_build_prefix
2827 case $srcdir in
2828 .) # We are building in place.
2829 ac_srcdir=.
2830 ac_top_srcdir=$ac_top_builddir_sub
2831 ac_abs_top_srcdir=$ac_pwd ;;
2832 [\\/]* | ?:[\\/]* ) # Absolute name.
2833 ac_srcdir=$srcdir$ac_dir_suffix;
2834 ac_top_srcdir=$srcdir
2835 ac_abs_top_srcdir=$srcdir ;;
2836 *) # Relative name.
2837 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2838 ac_top_srcdir=$ac_top_build_prefix$srcdir
2839 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2840 esac
2841 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2843 cd "$ac_dir" || { ac_status=$?; continue; }
2844 # Check for guested configure.
2845 if test -f "$ac_srcdir/configure.gnu"; then
2846 echo &&
2847 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2848 elif test -f "$ac_srcdir/configure"; then
2849 echo &&
2850 $SHELL "$ac_srcdir/configure" --help=recursive
2851 else
2852 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2853 fi || ac_status=$?
2854 cd "$ac_pwd" || { ac_status=$?; break; }
2855 done
2858 test -n "$ac_init_help" && exit $ac_status
2859 if $ac_init_version; then
2860 cat <<\_ACEOF
2861 Wine configure 6.13
2862 generated by GNU Autoconf 2.69
2864 Copyright (C) 2012 Free Software Foundation, Inc.
2865 This configure script is free software; the Free Software Foundation
2866 gives unlimited permission to copy, distribute and modify it.
2867 _ACEOF
2868 exit
2871 ## ------------------------ ##
2872 ## Autoconf initialization. ##
2873 ## ------------------------ ##
2875 # ac_fn_c_try_compile LINENO
2876 # --------------------------
2877 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2878 ac_fn_c_try_compile ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 rm -f conftest.$ac_objext
2882 if { { ac_try="$ac_compile"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 $as_echo "$ac_try_echo"; } >&5
2889 (eval "$ac_compile") 2>conftest.err
2890 ac_status=$?
2891 if test -s conftest.err; then
2892 grep -v '^ *+' conftest.err >conftest.er1
2893 cat conftest.er1 >&5
2894 mv -f conftest.er1 conftest.err
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then :
2901 ac_retval=0
2902 else
2903 $as_echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_retval=1
2908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 as_fn_set_status $ac_retval
2911 } # ac_fn_c_try_compile
2913 # ac_fn_cxx_try_compile LINENO
2914 # ----------------------------
2915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2916 ac_fn_cxx_try_compile ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 rm -f conftest.$ac_objext
2920 if { { ac_try="$ac_compile"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_compile") 2>conftest.err
2928 ac_status=$?
2929 if test -s conftest.err; then
2930 grep -v '^ *+' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 mv -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } && {
2936 test -z "$ac_cxx_werror_flag" ||
2937 test ! -s conftest.err
2938 } && test -s conftest.$ac_objext; then :
2939 ac_retval=0
2940 else
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_retval=1
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_cxx_try_compile
2951 # ac_fn_c_try_link LINENO
2952 # -----------------------
2953 # Try to link conftest.$ac_ext, and return whether this succeeded.
2954 ac_fn_c_try_link ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 rm -f conftest.$ac_objext conftest$ac_exeext
2958 if { { ac_try="$ac_link"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_link") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest$ac_exeext && {
2977 test "$cross_compiling" = yes ||
2978 test -x conftest$ac_exeext
2979 }; then :
2980 ac_retval=0
2981 else
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_retval=1
2987 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2988 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2989 # interfere with the next link command; also delete a directory that is
2990 # left behind by Apple's compiler. We do this before executing the actions.
2991 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2993 as_fn_set_status $ac_retval
2995 } # ac_fn_c_try_link
2997 # ac_fn_c_try_cpp LINENO
2998 # ----------------------
2999 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3000 ac_fn_c_try_cpp ()
3002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3003 if { { ac_try="$ac_cpp conftest.$ac_ext"
3004 case "(($ac_try" in
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3007 esac
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3011 ac_status=$?
3012 if test -s conftest.err; then
3013 grep -v '^ *+' conftest.err >conftest.er1
3014 cat conftest.er1 >&5
3015 mv -f conftest.er1 conftest.err
3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018 test $ac_status = 0; } > conftest.i && {
3019 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3020 test ! -s conftest.err
3021 }; then :
3022 ac_retval=0
3023 else
3024 $as_echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.$ac_ext >&5
3027 ac_retval=1
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 as_fn_set_status $ac_retval
3032 } # ac_fn_c_try_cpp
3034 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3035 # -------------------------------------------------------
3036 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3037 # the include files in INCLUDES and setting the cache variable VAR
3038 # accordingly.
3039 ac_fn_c_check_header_mongrel ()
3041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3042 if eval \${$3+:} false; then :
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3044 $as_echo_n "checking for $2... " >&6; }
3045 if eval \${$3+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 eval ac_res=\$$3
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3050 $as_echo "$ac_res" >&6; }
3051 else
3052 # Is the header compilable?
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3054 $as_echo_n "checking $2 usability... " >&6; }
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3058 #include <$2>
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"; then :
3061 ac_header_compiler=yes
3062 else
3063 ac_header_compiler=no
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3067 $as_echo "$ac_header_compiler" >&6; }
3069 # Is the header present?
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3071 $as_echo_n "checking $2 presence... " >&6; }
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3074 #include <$2>
3075 _ACEOF
3076 if ac_fn_c_try_cpp "$LINENO"; then :
3077 ac_header_preproc=yes
3078 else
3079 ac_header_preproc=no
3081 rm -f conftest.err conftest.i conftest.$ac_ext
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3083 $as_echo "$ac_header_preproc" >&6; }
3085 # So? What about this header?
3086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3087 yes:no: )
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3089 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3093 no:yes:* )
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3095 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3097 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3099 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3101 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3104 ( $as_echo "## ------------------------------------ ##
3105 ## Report this to wine-devel@winehq.org ##
3106 ## ------------------------------------ ##"
3107 ) | sed "s/^/$as_me: WARNING: /" >&2
3109 esac
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3111 $as_echo_n "checking for $2... " >&6; }
3112 if eval \${$3+:} false; then :
3113 $as_echo_n "(cached) " >&6
3114 else
3115 eval "$3=\$ac_header_compiler"
3117 eval ac_res=\$$3
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3119 $as_echo "$ac_res" >&6; }
3121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 } # ac_fn_c_check_header_mongrel
3125 # ac_fn_c_try_run LINENO
3126 # ----------------------
3127 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3128 # that executables *can* be run.
3129 ac_fn_c_try_run ()
3131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3132 if { { ac_try="$ac_link"
3133 case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_link") 2>&5
3140 ac_status=$?
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3143 { { case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3146 esac
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_try") 2>&5
3150 ac_status=$?
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; }; then :
3153 ac_retval=0
3154 else
3155 $as_echo "$as_me: program exited with status $ac_status" >&5
3156 $as_echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_retval=$ac_status
3161 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3163 as_fn_set_status $ac_retval
3165 } # ac_fn_c_try_run
3167 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3168 # -------------------------------------------------------
3169 # Tests whether HEADER exists and can be compiled using the include files in
3170 # INCLUDES, setting the cache variable VAR accordingly.
3171 ac_fn_c_check_header_compile ()
3173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3175 $as_echo_n "checking for $2... " >&6; }
3176 if eval \${$3+:} false; then :
3177 $as_echo_n "(cached) " >&6
3178 else
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3182 #include <$2>
3183 _ACEOF
3184 if ac_fn_c_try_compile "$LINENO"; then :
3185 eval "$3=yes"
3186 else
3187 eval "$3=no"
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 eval ac_res=\$$3
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3193 $as_echo "$ac_res" >&6; }
3194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3196 } # ac_fn_c_check_header_compile
3198 # ac_fn_objc_try_compile LINENO
3199 # -----------------------------
3200 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3201 ac_fn_objc_try_compile ()
3203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3204 rm -f conftest.$ac_objext
3205 if { { ac_try="$ac_compile"
3206 case "(($ac_try" in
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3209 esac
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compile") 2>conftest.err
3213 ac_status=$?
3214 if test -s conftest.err; then
3215 grep -v '^ *+' conftest.err >conftest.er1
3216 cat conftest.er1 >&5
3217 mv -f conftest.er1 conftest.err
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; } && {
3221 test -z "$ac_objc_werror_flag" ||
3222 test ! -s conftest.err
3223 } && test -s conftest.$ac_objext; then :
3224 ac_retval=0
3225 else
3226 $as_echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3229 ac_retval=1
3231 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3232 as_fn_set_status $ac_retval
3234 } # ac_fn_objc_try_compile
3236 # ac_fn_objc_try_cpp LINENO
3237 # -------------------------
3238 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3239 ac_fn_objc_try_cpp ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 if { { ac_try="$ac_cpp conftest.$ac_ext"
3243 case "(($ac_try" in
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3246 esac
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3250 ac_status=$?
3251 if test -s conftest.err; then
3252 grep -v '^ *+' conftest.err >conftest.er1
3253 cat conftest.er1 >&5
3254 mv -f conftest.er1 conftest.err
3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257 test $ac_status = 0; } > conftest.i && {
3258 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3259 test ! -s conftest.err
3260 }; then :
3261 ac_retval=0
3262 else
3263 $as_echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 ac_retval=1
3268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3269 as_fn_set_status $ac_retval
3271 } # ac_fn_objc_try_cpp
3273 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3274 # ----------------------------------------------------------
3275 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3276 # the include files in INCLUDES and setting the cache variable VAR
3277 # accordingly.
3278 ac_fn_objc_check_header_mongrel ()
3280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3281 if eval \${$3+:} false; then :
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3283 $as_echo_n "checking for $2... " >&6; }
3284 if eval \${$3+:} false; then :
3285 $as_echo_n "(cached) " >&6
3287 eval ac_res=\$$3
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3289 $as_echo "$ac_res" >&6; }
3290 else
3291 # Is the header compilable?
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3293 $as_echo_n "checking $2 usability... " >&6; }
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3297 #include <$2>
3298 _ACEOF
3299 if ac_fn_objc_try_compile "$LINENO"; then :
3300 ac_header_compiler=yes
3301 else
3302 ac_header_compiler=no
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3306 $as_echo "$ac_header_compiler" >&6; }
3308 # Is the header present?
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3310 $as_echo_n "checking $2 presence... " >&6; }
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3313 #include <$2>
3314 _ACEOF
3315 if ac_fn_objc_try_cpp "$LINENO"; then :
3316 ac_header_preproc=yes
3317 else
3318 ac_header_preproc=no
3320 rm -f conftest.err conftest.i conftest.$ac_ext
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3322 $as_echo "$ac_header_preproc" >&6; }
3324 # So? What about this header?
3325 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3326 yes:no: )
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3328 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3330 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3332 no:yes:* )
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3334 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3336 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3338 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3340 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3342 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3343 ( $as_echo "## ------------------------------------ ##
3344 ## Report this to wine-devel@winehq.org ##
3345 ## ------------------------------------ ##"
3346 ) | sed "s/^/$as_me: WARNING: /" >&2
3348 esac
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3350 $as_echo_n "checking for $2... " >&6; }
3351 if eval \${$3+:} false; then :
3352 $as_echo_n "(cached) " >&6
3353 else
3354 eval "$3=\$ac_header_compiler"
3356 eval ac_res=\$$3
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3358 $as_echo "$ac_res" >&6; }
3360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3362 } # ac_fn_objc_check_header_mongrel
3364 # ac_fn_c_check_func LINENO FUNC VAR
3365 # ----------------------------------
3366 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3367 ac_fn_c_check_func ()
3369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3371 $as_echo_n "checking for $2... " >&6; }
3372 if eval \${$3+:} false; then :
3373 $as_echo_n "(cached) " >&6
3374 else
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3377 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3379 #define $2 innocuous_$2
3381 /* System header to define __stub macros and hopefully few prototypes,
3382 which can conflict with char $2 (); below.
3383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 <limits.h> exists even on freestanding compilers. */
3386 #ifdef __STDC__
3387 # include <limits.h>
3388 #else
3389 # include <assert.h>
3390 #endif
3392 #undef $2
3394 /* Override any GCC internal prototype to avoid an error.
3395 Use char because int might match the return type of a GCC
3396 builtin and then its argument prototype would still apply. */
3397 #ifdef __cplusplus
3398 extern "C"
3399 #endif
3400 char $2 ();
3401 /* The GNU C library defines this for functions which it implements
3402 to always fail with ENOSYS. Some functions are actually named
3403 something starting with __ and the normal name is an alias. */
3404 #if defined __stub_$2 || defined __stub___$2
3405 choke me
3406 #endif
3409 main ()
3411 return $2 ();
3413 return 0;
3415 _ACEOF
3416 if ac_fn_c_try_link "$LINENO"; then :
3417 eval "$3=yes"
3418 else
3419 eval "$3=no"
3421 rm -f core conftest.err conftest.$ac_objext \
3422 conftest$ac_exeext conftest.$ac_ext
3424 eval ac_res=\$$3
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3426 $as_echo "$ac_res" >&6; }
3427 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3429 } # ac_fn_c_check_func
3431 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3432 # ----------------------------------------------------
3433 # Tries to find if the field MEMBER exists in type AGGR, after including
3434 # INCLUDES, setting cache variable VAR accordingly.
3435 ac_fn_c_check_member ()
3437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3439 $as_echo_n "checking for $2.$3... " >&6; }
3440 if eval \${$4+:} false; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3447 main ()
3449 static $2 ac_aggr;
3450 if (ac_aggr.$3)
3451 return 0;
3453 return 0;
3455 _ACEOF
3456 if ac_fn_c_try_compile "$LINENO"; then :
3457 eval "$4=yes"
3458 else
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3463 main ()
3465 static $2 ac_aggr;
3466 if (sizeof ac_aggr.$3)
3467 return 0;
3469 return 0;
3471 _ACEOF
3472 if ac_fn_c_try_compile "$LINENO"; then :
3473 eval "$4=yes"
3474 else
3475 eval "$4=no"
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 eval ac_res=\$$4
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3483 $as_echo "$ac_res" >&6; }
3484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3486 } # ac_fn_c_check_member
3488 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3489 # -------------------------------------------
3490 # Tests whether TYPE exists after having included INCLUDES, setting cache
3491 # variable VAR accordingly.
3492 ac_fn_c_check_type ()
3494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3496 $as_echo_n "checking for $2... " >&6; }
3497 if eval \${$3+:} false; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 eval "$3=no"
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3505 main ()
3507 if (sizeof ($2))
3508 return 0;
3510 return 0;
3512 _ACEOF
3513 if ac_fn_c_try_compile "$LINENO"; then :
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3518 main ()
3520 if (sizeof (($2)))
3521 return 0;
3523 return 0;
3525 _ACEOF
3526 if ac_fn_c_try_compile "$LINENO"; then :
3528 else
3529 eval "$3=yes"
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 eval ac_res=\$$3
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3537 $as_echo "$ac_res" >&6; }
3538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3540 } # ac_fn_c_check_type
3541 cat >config.log <<_ACEOF
3542 This file contains any messages produced by compilers while
3543 running configure, to aid debugging if configure makes a mistake.
3545 It was created by Wine $as_me 6.13, which was
3546 generated by GNU Autoconf 2.69. Invocation command line was
3548 $ $0 $@
3550 _ACEOF
3551 exec 5>>config.log
3553 cat <<_ASUNAME
3554 ## --------- ##
3555 ## Platform. ##
3556 ## --------- ##
3558 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3559 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3560 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3561 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3562 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3564 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3565 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3567 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3568 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3569 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3570 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3571 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3572 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3573 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3575 _ASUNAME
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH
3580 IFS=$as_save_IFS
3581 test -z "$as_dir" && as_dir=.
3582 $as_echo "PATH: $as_dir"
3583 done
3584 IFS=$as_save_IFS
3586 } >&5
3588 cat >&5 <<_ACEOF
3591 ## ----------- ##
3592 ## Core tests. ##
3593 ## ----------- ##
3595 _ACEOF
3598 # Keep a trace of the command line.
3599 # Strip out --no-create and --no-recursion so they do not pile up.
3600 # Strip out --silent because we don't want to record it for future runs.
3601 # Also quote any args containing shell meta-characters.
3602 # Make two passes to allow for proper duplicate-argument suppression.
3603 ac_configure_args=
3604 ac_configure_args0=
3605 ac_configure_args1=
3606 ac_must_keep_next=false
3607 for ac_pass in 1 2
3609 for ac_arg
3611 case $ac_arg in
3612 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3614 | -silent | --silent | --silen | --sile | --sil)
3615 continue ;;
3616 *\'*)
3617 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3618 esac
3619 case $ac_pass in
3620 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3622 as_fn_append ac_configure_args1 " '$ac_arg'"
3623 if test $ac_must_keep_next = true; then
3624 ac_must_keep_next=false # Got value, back to normal.
3625 else
3626 case $ac_arg in
3627 *=* | --config-cache | -C | -disable-* | --disable-* \
3628 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3629 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3630 | -with-* | --with-* | -without-* | --without-* | --x)
3631 case "$ac_configure_args0 " in
3632 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3633 esac
3635 -* ) ac_must_keep_next=true ;;
3636 esac
3638 as_fn_append ac_configure_args " '$ac_arg'"
3640 esac
3641 done
3642 done
3643 { ac_configure_args0=; unset ac_configure_args0;}
3644 { ac_configure_args1=; unset ac_configure_args1;}
3646 # When interrupted or exit'd, cleanup temporary files, and complete
3647 # config.log. We remove comments because anyway the quotes in there
3648 # would cause problems or look ugly.
3649 # WARNING: Use '\'' to represent an apostrophe within the trap.
3650 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3651 trap 'exit_status=$?
3652 # Save into config.log some information that might help in debugging.
3654 echo
3656 $as_echo "## ---------------- ##
3657 ## Cache variables. ##
3658 ## ---------------- ##"
3659 echo
3660 # The following way of writing the cache mishandles newlines in values,
3662 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3663 eval ac_val=\$$ac_var
3664 case $ac_val in #(
3665 *${as_nl}*)
3666 case $ac_var in #(
3667 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3668 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3669 esac
3670 case $ac_var in #(
3671 _ | IFS | as_nl) ;; #(
3672 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3673 *) { eval $ac_var=; unset $ac_var;} ;;
3674 esac ;;
3675 esac
3676 done
3677 (set) 2>&1 |
3678 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3679 *${as_nl}ac_space=\ *)
3680 sed -n \
3681 "s/'\''/'\''\\\\'\'''\''/g;
3682 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3683 ;; #(
3685 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3687 esac |
3688 sort
3690 echo
3692 $as_echo "## ----------------- ##
3693 ## Output variables. ##
3694 ## ----------------- ##"
3695 echo
3696 for ac_var in $ac_subst_vars
3698 eval ac_val=\$$ac_var
3699 case $ac_val in
3700 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3701 esac
3702 $as_echo "$ac_var='\''$ac_val'\''"
3703 done | sort
3704 echo
3706 if test -n "$ac_subst_files"; then
3707 $as_echo "## ------------------- ##
3708 ## File substitutions. ##
3709 ## ------------------- ##"
3710 echo
3711 for ac_var in $ac_subst_files
3713 eval ac_val=\$$ac_var
3714 case $ac_val in
3715 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3716 esac
3717 $as_echo "$ac_var='\''$ac_val'\''"
3718 done | sort
3719 echo
3722 if test -s confdefs.h; then
3723 $as_echo "## ----------- ##
3724 ## confdefs.h. ##
3725 ## ----------- ##"
3726 echo
3727 cat confdefs.h
3728 echo
3730 test "$ac_signal" != 0 &&
3731 $as_echo "$as_me: caught signal $ac_signal"
3732 $as_echo "$as_me: exit $exit_status"
3733 } >&5
3734 rm -f core *.core core.conftest.* &&
3735 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3736 exit $exit_status
3738 for ac_signal in 1 2 13 15; do
3739 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3740 done
3741 ac_signal=0
3743 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3744 rm -f -r conftest* confdefs.h
3746 $as_echo "/* confdefs.h */" > confdefs.h
3748 # Predefined preprocessor variables.
3750 cat >>confdefs.h <<_ACEOF
3751 #define PACKAGE_NAME "$PACKAGE_NAME"
3752 _ACEOF
3754 cat >>confdefs.h <<_ACEOF
3755 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3756 _ACEOF
3758 cat >>confdefs.h <<_ACEOF
3759 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3760 _ACEOF
3762 cat >>confdefs.h <<_ACEOF
3763 #define PACKAGE_STRING "$PACKAGE_STRING"
3764 _ACEOF
3766 cat >>confdefs.h <<_ACEOF
3767 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3768 _ACEOF
3770 cat >>confdefs.h <<_ACEOF
3771 #define PACKAGE_URL "$PACKAGE_URL"
3772 _ACEOF
3775 # Let the site file select an alternate cache file if it wants to.
3776 # Prefer an explicitly selected file to automatically selected ones.
3777 ac_site_file1=NONE
3778 ac_site_file2=NONE
3779 if test -n "$CONFIG_SITE"; then
3780 # We do not want a PATH search for config.site.
3781 case $CONFIG_SITE in #((
3782 -*) ac_site_file1=./$CONFIG_SITE;;
3783 */*) ac_site_file1=$CONFIG_SITE;;
3784 *) ac_site_file1=./$CONFIG_SITE;;
3785 esac
3786 elif test "x$prefix" != xNONE; then
3787 ac_site_file1=$prefix/share/config.site
3788 ac_site_file2=$prefix/etc/config.site
3789 else
3790 ac_site_file1=$ac_default_prefix/share/config.site
3791 ac_site_file2=$ac_default_prefix/etc/config.site
3793 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3795 test "x$ac_site_file" = xNONE && continue
3796 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3798 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3799 sed 's/^/| /' "$ac_site_file" >&5
3800 . "$ac_site_file" \
3801 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3803 as_fn_error $? "failed to load site script $ac_site_file
3804 See \`config.log' for more details" "$LINENO" 5; }
3806 done
3808 if test -r "$cache_file"; then
3809 # Some versions of bash will fail to source /dev/null (special files
3810 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3811 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3813 $as_echo "$as_me: loading cache $cache_file" >&6;}
3814 case $cache_file in
3815 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3816 *) . "./$cache_file";;
3817 esac
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3821 $as_echo "$as_me: creating cache $cache_file" >&6;}
3822 >$cache_file
3825 # Check that the precious variables saved in the cache have kept the same
3826 # value.
3827 ac_cache_corrupted=false
3828 for ac_var in $ac_precious_vars; do
3829 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3830 eval ac_new_set=\$ac_env_${ac_var}_set
3831 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3832 eval ac_new_val=\$ac_env_${ac_var}_value
3833 case $ac_old_set,$ac_new_set in
3834 set,)
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3836 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3837 ac_cache_corrupted=: ;;
3838 ,set)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3840 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3841 ac_cache_corrupted=: ;;
3842 ,);;
3844 if test "x$ac_old_val" != "x$ac_new_val"; then
3845 # differences in whitespace do not lead to failure.
3846 ac_old_val_w=`echo x $ac_old_val`
3847 ac_new_val_w=`echo x $ac_new_val`
3848 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3850 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3851 ac_cache_corrupted=:
3852 else
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3854 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3855 eval $ac_var=\$ac_old_val
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3858 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3860 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3861 fi;;
3862 esac
3863 # Pass precious variables to config.status.
3864 if test "$ac_new_set" = set; then
3865 case $ac_new_val in
3866 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3867 *) ac_arg=$ac_var=$ac_new_val ;;
3868 esac
3869 case " $ac_configure_args " in
3870 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3871 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3872 esac
3874 done
3875 if $ac_cache_corrupted; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3879 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3880 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3882 ## -------------------- ##
3883 ## Main body of script. ##
3884 ## -------------------- ##
3886 ac_ext=c
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3894 ac_config_headers="$ac_config_headers include/config.h"
3896 ac_aux_dir=
3897 for ac_dir in tools "$srcdir"/tools; do
3898 if test -f "$ac_dir/install-sh"; then
3899 ac_aux_dir=$ac_dir
3900 ac_install_sh="$ac_aux_dir/install-sh -c"
3901 break
3902 elif test -f "$ac_dir/install.sh"; then
3903 ac_aux_dir=$ac_dir
3904 ac_install_sh="$ac_aux_dir/install.sh -c"
3905 break
3906 elif test -f "$ac_dir/shtool"; then
3907 ac_aux_dir=$ac_dir
3908 ac_install_sh="$ac_aux_dir/shtool install -c"
3909 break
3911 done
3912 if test -z "$ac_aux_dir"; then
3913 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3916 # These three variables are undocumented and unsupported,
3917 # and are intended to be withdrawn in a future Autoconf release.
3918 # They can cause serious problems if a builder's source tree is in a directory
3919 # whose full name contains unusual characters.
3920 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3921 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3922 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3926 libwine_version="1.0"
3930 # Check whether --enable-win16 was given.
3931 if test "${enable_win16+set}" = set; then :
3932 enableval=$enable_win16;
3935 # Check whether --enable-win64 was given.
3936 if test "${enable_win64+set}" = set; then :
3937 enableval=$enable_win64;
3940 # Check whether --enable-tests was given.
3941 if test "${enable_tests+set}" = set; then :
3942 enableval=$enable_tests;
3945 # Check whether --enable-build-id was given.
3946 if test "${enable_build_id+set}" = set; then :
3947 enableval=$enable_build_id;
3950 # Check whether --enable-maintainer-mode was given.
3951 if test "${enable_maintainer_mode+set}" = set; then :
3952 enableval=$enable_maintainer_mode;
3955 # Check whether --enable-silent-rules was given.
3956 if test "${enable_silent_rules+set}" = set; then :
3957 enableval=$enable_silent_rules;
3960 # Check whether --enable-werror was given.
3961 if test "${enable_werror+set}" = set; then :
3962 enableval=$enable_werror;
3967 # Check whether --with-alsa was given.
3968 if test "${with_alsa+set}" = set; then :
3969 withval=$with_alsa;
3973 # Check whether --with-capi was given.
3974 if test "${with_capi+set}" = set; then :
3975 withval=$with_capi;
3979 # Check whether --with-cms was given.
3980 if test "${with_cms+set}" = set; then :
3981 withval=$with_cms;
3985 # Check whether --with-coreaudio was given.
3986 if test "${with_coreaudio+set}" = set; then :
3987 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3991 # Check whether --with-cups was given.
3992 if test "${with_cups+set}" = set; then :
3993 withval=$with_cups;
3997 # Check whether --with-dbus was given.
3998 if test "${with_dbus+set}" = set; then :
3999 withval=$with_dbus;
4003 # Check whether --with-faudio was given.
4004 if test "${with_faudio+set}" = set; then :
4005 withval=$with_faudio;
4009 # Check whether --with-float-abi was given.
4010 if test "${with_float_abi+set}" = set; then :
4011 withval=$with_float_abi;
4015 # Check whether --with-fontconfig was given.
4016 if test "${with_fontconfig+set}" = set; then :
4017 withval=$with_fontconfig;
4021 # Check whether --with-freetype was given.
4022 if test "${with_freetype+set}" = set; then :
4023 withval=$with_freetype;
4027 # Check whether --with-gettext was given.
4028 if test "${with_gettext+set}" = set; then :
4029 withval=$with_gettext;
4033 # Check whether --with-gettextpo was given.
4034 if test "${with_gettextpo+set}" = set; then :
4035 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4039 # Check whether --with-gphoto was given.
4040 if test "${with_gphoto+set}" = set; then :
4041 withval=$with_gphoto;
4045 # Check whether --with-gnutls was given.
4046 if test "${with_gnutls+set}" = set; then :
4047 withval=$with_gnutls;
4051 # Check whether --with-gsm was given.
4052 if test "${with_gsm+set}" = set; then :
4053 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4057 # Check whether --with-gssapi was given.
4058 if test "${with_gssapi+set}" = set; then :
4059 withval=$with_gssapi;
4063 # Check whether --with-gstreamer was given.
4064 if test "${with_gstreamer+set}" = set; then :
4065 withval=$with_gstreamer;
4069 # Check whether --with-hal was given.
4070 if test "${with_hal+set}" = set; then :
4071 withval=$with_hal;
4075 # Check whether --with-inotify was given.
4076 if test "${with_inotify+set}" = set; then :
4077 withval=$with_inotify;
4081 # Check whether --with-jpeg was given.
4082 if test "${with_jpeg+set}" = set; then :
4083 withval=$with_jpeg;
4087 # Check whether --with-jxrlib was given.
4088 if test "${with_jxrlib+set}" = set; then :
4089 withval=$with_jxrlib;
4093 # Check whether --with-krb5 was given.
4094 if test "${with_krb5+set}" = set; then :
4095 withval=$with_krb5;
4099 # Check whether --with-ldap was given.
4100 if test "${with_ldap+set}" = set; then :
4101 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4105 # Check whether --with-mingw was given.
4106 if test "${with_mingw+set}" = set; then :
4107 withval=$with_mingw;
4111 # Check whether --with-mpg123 was given.
4112 if test "${with_mpg123+set}" = set; then :
4113 withval=$with_mpg123;
4117 # Check whether --with-netapi was given.
4118 if test "${with_netapi+set}" = set; then :
4119 withval=$with_netapi;
4123 # Check whether --with-openal was given.
4124 if test "${with_openal+set}" = set; then :
4125 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4129 # Check whether --with-opencl was given.
4130 if test "${with_opencl+set}" = set; then :
4131 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4135 # Check whether --with-opengl was given.
4136 if test "${with_opengl+set}" = set; then :
4137 withval=$with_opengl;
4141 # Check whether --with-osmesa was given.
4142 if test "${with_osmesa+set}" = set; then :
4143 withval=$with_osmesa;
4147 # Check whether --with-oss was given.
4148 if test "${with_oss+set}" = set; then :
4149 withval=$with_oss;
4153 # Check whether --with-pcap was given.
4154 if test "${with_pcap+set}" = set; then :
4155 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4159 # Check whether --with-png was given.
4160 if test "${with_png+set}" = set; then :
4161 withval=$with_png;
4165 # Check whether --with-pthread was given.
4166 if test "${with_pthread+set}" = set; then :
4167 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4171 # Check whether --with-pulse was given.
4172 if test "${with_pulse+set}" = set; then :
4173 withval=$with_pulse;
4177 # Check whether --with-quicktime was given.
4178 if test "${with_quicktime+set}" = set; then :
4179 withval=$with_quicktime;
4183 # Check whether --with-sane was given.
4184 if test "${with_sane+set}" = set; then :
4185 withval=$with_sane;
4189 # Check whether --with-sdl was given.
4190 if test "${with_sdl+set}" = set; then :
4191 withval=$with_sdl;
4195 # Check whether --with-tiff was given.
4196 if test "${with_tiff+set}" = set; then :
4197 withval=$with_tiff;
4201 # Check whether --with-udev was given.
4202 if test "${with_udev+set}" = set; then :
4203 withval=$with_udev;
4207 # Check whether --with-unwind was given.
4208 if test "${with_unwind+set}" = set; then :
4209 withval=$with_unwind;
4213 # Check whether --with-usb was given.
4214 if test "${with_usb+set}" = set; then :
4215 withval=$with_usb;
4219 # Check whether --with-v4l2 was given.
4220 if test "${with_v4l2+set}" = set; then :
4221 withval=$with_v4l2;
4225 # Check whether --with-vkd3d was given.
4226 if test "${with_vkd3d+set}" = set; then :
4227 withval=$with_vkd3d;
4231 # Check whether --with-vulkan was given.
4232 if test "${with_vulkan+set}" = set; then :
4233 withval=$with_vulkan;
4237 # Check whether --with-xcomposite was given.
4238 if test "${with_xcomposite+set}" = set; then :
4239 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4243 # Check whether --with-xcursor was given.
4244 if test "${with_xcursor+set}" = set; then :
4245 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4249 # Check whether --with-xfixes was given.
4250 if test "${with_xfixes+set}" = set; then :
4251 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4255 # Check whether --with-xinerama was given.
4256 if test "${with_xinerama+set}" = set; then :
4257 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4261 # Check whether --with-xinput was given.
4262 if test "${with_xinput+set}" = set; then :
4263 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4267 # Check whether --with-xinput2 was given.
4268 if test "${with_xinput2+set}" = set; then :
4269 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4273 # Check whether --with-xml was given.
4274 if test "${with_xml+set}" = set; then :
4275 withval=$with_xml;
4279 # Check whether --with-xrandr was given.
4280 if test "${with_xrandr+set}" = set; then :
4281 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4285 # Check whether --with-xrender was given.
4286 if test "${with_xrender+set}" = set; then :
4287 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4291 # Check whether --with-xshape was given.
4292 if test "${with_xshape+set}" = set; then :
4293 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4297 # Check whether --with-xshm was given.
4298 if test "${with_xshm+set}" = set; then :
4299 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4303 # Check whether --with-xslt was given.
4304 if test "${with_xslt+set}" = set; then :
4305 withval=$with_xslt;
4309 # Check whether --with-xxf86vm was given.
4310 if test "${with_xxf86vm+set}" = set; then :
4311 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
4316 # Check whether --with-wine-tools was given.
4317 if test "${with_wine_tools+set}" = set; then :
4318 withval=$with_wine_tools;
4322 # Check whether --with-wine64 was given.
4323 if test "${with_wine64+set}" = set; then :
4324 withval=$with_wine64;
4328 # Make sure we can run config.sub.
4329 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4330 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4333 $as_echo_n "checking build system type... " >&6; }
4334 if ${ac_cv_build+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 ac_build_alias=$build_alias
4338 test "x$ac_build_alias" = x &&
4339 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4340 test "x$ac_build_alias" = x &&
4341 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4342 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4343 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4347 $as_echo "$ac_cv_build" >&6; }
4348 case $ac_cv_build in
4349 *-*-*) ;;
4350 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4351 esac
4352 build=$ac_cv_build
4353 ac_save_IFS=$IFS; IFS='-'
4354 set x $ac_cv_build
4355 shift
4356 build_cpu=$1
4357 build_vendor=$2
4358 shift; shift
4359 # Remember, the first character of IFS is used to create $*,
4360 # except with old shells:
4361 build_os=$*
4362 IFS=$ac_save_IFS
4363 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4367 $as_echo_n "checking host system type... " >&6; }
4368 if ${ac_cv_host+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test "x$host_alias" = x; then
4372 ac_cv_host=$ac_cv_build
4373 else
4374 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4375 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4380 $as_echo "$ac_cv_host" >&6; }
4381 case $ac_cv_host in
4382 *-*-*) ;;
4383 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4384 esac
4385 host=$ac_cv_host
4386 ac_save_IFS=$IFS; IFS='-'
4387 set x $ac_cv_host
4388 shift
4389 host_cpu=$1
4390 host_vendor=$2
4391 shift; shift
4392 # Remember, the first character of IFS is used to create $*,
4393 # except with old shells:
4394 host_os=$*
4395 IFS=$ac_save_IFS
4396 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4402 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4403 set x ${MAKE-make}
4404 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4405 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 cat >conftest.make <<\_ACEOF
4409 SHELL = /bin/sh
4410 all:
4411 @echo '@@@%%%=$(MAKE)=@@@%%%'
4412 _ACEOF
4413 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4414 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4415 *@@@%%%=?*=@@@%%%*)
4416 eval ac_cv_prog_make_${ac_make}_set=yes;;
4418 eval ac_cv_prog_make_${ac_make}_set=no;;
4419 esac
4420 rm -f conftest.make
4422 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4424 $as_echo "yes" >&6; }
4425 SET_MAKE=
4426 else
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4429 SET_MAKE="MAKE=${MAKE-make}"
4432 ac_ext=c
4433 ac_cpp='$CPP $CPPFLAGS'
4434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 else
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH
4451 IFS=$as_save_IFS
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4459 done
4460 done
4461 IFS=$as_save_IFS
4465 CC=$ac_cv_prog_CC
4466 if test -n "$CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4468 $as_echo "$CC" >&6; }
4469 else
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4476 if test -z "$ac_cv_prog_CC"; then
4477 ac_ct_CC=$CC
4478 # Extract the first word of "gcc", so it can be a program name with args.
4479 set dummy gcc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CC"; then
4486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_ac_ct_CC="gcc"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4506 if test -n "$ac_ct_CC"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4508 $as_echo "$ac_ct_CC" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4514 if test "x$ac_ct_CC" = x; then
4515 CC=""
4516 else
4517 case $cross_compiling:$ac_tool_warned in
4518 yes:)
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4521 ac_tool_warned=yes ;;
4522 esac
4523 CC=$ac_ct_CC
4525 else
4526 CC="$ac_cv_prog_CC"
4529 if test -z "$CC"; then
4530 if test -n "$ac_tool_prefix"; then
4531 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4532 set dummy ${ac_tool_prefix}cc; ac_word=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_CC+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 if test -n "$CC"; then
4539 ac_cv_prog_CC="$CC" # Let the user override the test.
4540 else
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH
4544 IFS=$as_save_IFS
4545 test -z "$as_dir" && as_dir=.
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_prog_CC="${ac_tool_prefix}cc"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 break 2
4552 done
4553 done
4554 IFS=$as_save_IFS
4558 CC=$ac_cv_prog_CC
4559 if test -n "$CC"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4561 $as_echo "$CC" >&6; }
4562 else
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4570 if test -z "$CC"; then
4571 # Extract the first word of "cc", so it can be a program name with args.
4572 set dummy cc; ac_word=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_CC+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test -n "$CC"; then
4579 ac_cv_prog_CC="$CC" # Let the user override the test.
4580 else
4581 ac_prog_rejected=no
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4585 IFS=$as_save_IFS
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4590 ac_prog_rejected=yes
4591 continue
4593 ac_cv_prog_CC="cc"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 break 2
4597 done
4598 done
4599 IFS=$as_save_IFS
4601 if test $ac_prog_rejected = yes; then
4602 # We found a bogon in the path, so make sure we never use it.
4603 set dummy $ac_cv_prog_CC
4604 shift
4605 if test $# != 0; then
4606 # We chose a different compiler from the bogus one.
4607 # However, it has the same basename, so the bogon will be chosen
4608 # first if we set CC to just the basename; use the full file name.
4609 shift
4610 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4615 CC=$ac_cv_prog_CC
4616 if test -n "$CC"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4618 $as_echo "$CC" >&6; }
4619 else
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4626 if test -z "$CC"; then
4627 if test -n "$ac_tool_prefix"; then
4628 for ac_prog in cl.exe
4630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if ${ac_cv_prog_CC+:} false; then :
4635 $as_echo_n "(cached) " >&6
4636 else
4637 if test -n "$CC"; then
4638 ac_cv_prog_CC="$CC" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4643 IFS=$as_save_IFS
4644 test -z "$as_dir" && as_dir=.
4645 for ac_exec_ext in '' $ac_executable_extensions; do
4646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4647 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 break 2
4651 done
4652 done
4653 IFS=$as_save_IFS
4657 CC=$ac_cv_prog_CC
4658 if test -n "$CC"; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4660 $as_echo "$CC" >&6; }
4661 else
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4667 test -n "$CC" && break
4668 done
4670 if test -z "$CC"; then
4671 ac_ct_CC=$CC
4672 for ac_prog in cl.exe
4674 # Extract the first word of "$ac_prog", so it can be a program name with args.
4675 set dummy $ac_prog; ac_word=$2
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4679 $as_echo_n "(cached) " >&6
4680 else
4681 if test -n "$ac_ct_CC"; then
4682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4683 else
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $PATH
4687 IFS=$as_save_IFS
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_ac_ct_CC="$ac_prog"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 break 2
4695 done
4696 done
4697 IFS=$as_save_IFS
4701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4702 if test -n "$ac_ct_CC"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4704 $as_echo "$ac_ct_CC" >&6; }
4705 else
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4711 test -n "$ac_ct_CC" && break
4712 done
4714 if test "x$ac_ct_CC" = x; then
4715 CC=""
4716 else
4717 case $cross_compiling:$ac_tool_warned in
4718 yes:)
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned=yes ;;
4722 esac
4723 CC=$ac_ct_CC
4730 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4732 as_fn_error $? "no acceptable C compiler found in \$PATH
4733 See \`config.log' for more details" "$LINENO" 5; }
4735 # Provide some information about the compiler.
4736 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4737 set X $ac_compile
4738 ac_compiler=$2
4739 for ac_option in --version -v -V -qversion; do
4740 { { ac_try="$ac_compiler $ac_option >&5"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4746 $as_echo "$ac_try_echo"; } >&5
4747 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4748 ac_status=$?
4749 if test -s conftest.err; then
4750 sed '10a\
4751 ... rest of stderr output deleted ...
4752 10q' conftest.err >conftest.er1
4753 cat conftest.er1 >&5
4755 rm -f conftest.er1 conftest.err
4756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4757 test $ac_status = 0; }
4758 done
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 main ()
4768 return 0;
4770 _ACEOF
4771 ac_clean_files_save=$ac_clean_files
4772 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4773 # Try to create an executable without -o first, disregard a.out.
4774 # It will help us diagnose broken compilers, and finding out an intuition
4775 # of exeext.
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4777 $as_echo_n "checking whether the C compiler works... " >&6; }
4778 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4780 # The possible output files:
4781 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4783 ac_rmfiles=
4784 for ac_file in $ac_files
4786 case $ac_file in
4787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4788 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4789 esac
4790 done
4791 rm -f $ac_rmfiles
4793 if { { ac_try="$ac_link_default"
4794 case "(($ac_try" in
4795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4796 *) ac_try_echo=$ac_try;;
4797 esac
4798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4799 $as_echo "$ac_try_echo"; } >&5
4800 (eval "$ac_link_default") 2>&5
4801 ac_status=$?
4802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4803 test $ac_status = 0; }; then :
4804 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4805 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4806 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4807 # so that the user can short-circuit this test for compilers unknown to
4808 # Autoconf.
4809 for ac_file in $ac_files ''
4811 test -f "$ac_file" || continue
4812 case $ac_file in
4813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4815 [ab].out )
4816 # We found the default executable, but exeext='' is most
4817 # certainly right.
4818 break;;
4819 *.* )
4820 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4821 then :; else
4822 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4824 # We set ac_cv_exeext here because the later test for it is not
4825 # safe: cross compilers may not add the suffix if given an `-o'
4826 # argument, so we may need to know it at that point already.
4827 # Even if this section looks crufty: it has the advantage of
4828 # actually working.
4829 break;;
4831 break;;
4832 esac
4833 done
4834 test "$ac_cv_exeext" = no && ac_cv_exeext=
4836 else
4837 ac_file=''
4839 if test -z "$ac_file"; then :
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4842 $as_echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4847 as_fn_error 77 "C compiler cannot create executables
4848 See \`config.log' for more details" "$LINENO" 5; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4851 $as_echo "yes" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4854 $as_echo_n "checking for C compiler default output file name... " >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4856 $as_echo "$ac_file" >&6; }
4857 ac_exeext=$ac_cv_exeext
4859 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4860 ac_clean_files=$ac_clean_files_save
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4862 $as_echo_n "checking for suffix of executables... " >&6; }
4863 if { { ac_try="$ac_link"
4864 case "(($ac_try" in
4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4866 *) ac_try_echo=$ac_try;;
4867 esac
4868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4869 $as_echo "$ac_try_echo"; } >&5
4870 (eval "$ac_link") 2>&5
4871 ac_status=$?
4872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4873 test $ac_status = 0; }; then :
4874 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4875 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4876 # work properly (i.e., refer to `conftest.exe'), while it won't with
4877 # `rm'.
4878 for ac_file in conftest.exe conftest conftest.*; do
4879 test -f "$ac_file" || continue
4880 case $ac_file in
4881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4882 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4883 break;;
4884 * ) break;;
4885 esac
4886 done
4887 else
4888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4890 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4891 See \`config.log' for more details" "$LINENO" 5; }
4893 rm -f conftest conftest$ac_cv_exeext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4895 $as_echo "$ac_cv_exeext" >&6; }
4897 rm -f conftest.$ac_ext
4898 EXEEXT=$ac_cv_exeext
4899 ac_exeext=$EXEEXT
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4902 #include <stdio.h>
4904 main ()
4906 FILE *f = fopen ("conftest.out", "w");
4907 return ferror (f) || fclose (f) != 0;
4910 return 0;
4912 _ACEOF
4913 ac_clean_files="$ac_clean_files conftest.out"
4914 # Check that the compiler produces executables we can run. If not, either
4915 # the compiler is broken, or we cross compile.
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4917 $as_echo_n "checking whether we are cross compiling... " >&6; }
4918 if test "$cross_compiling" != yes; then
4919 { { ac_try="$ac_link"
4920 case "(($ac_try" in
4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922 *) ac_try_echo=$ac_try;;
4923 esac
4924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4925 $as_echo "$ac_try_echo"; } >&5
4926 (eval "$ac_link") 2>&5
4927 ac_status=$?
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }
4930 if { ac_try='./conftest$ac_cv_exeext'
4931 { { case "(($ac_try" in
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4934 esac
4935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4936 $as_echo "$ac_try_echo"; } >&5
4937 (eval "$ac_try") 2>&5
4938 ac_status=$?
4939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4940 test $ac_status = 0; }; }; then
4941 cross_compiling=no
4942 else
4943 if test "$cross_compiling" = maybe; then
4944 cross_compiling=yes
4945 else
4946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4948 as_fn_error $? "cannot run C compiled programs.
4949 If you meant to cross compile, use \`--host'.
4950 See \`config.log' for more details" "$LINENO" 5; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4955 $as_echo "$cross_compiling" >&6; }
4957 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4958 ac_clean_files=$ac_clean_files_save
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4960 $as_echo_n "checking for suffix of object files... " >&6; }
4961 if ${ac_cv_objext+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4968 main ()
4972 return 0;
4974 _ACEOF
4975 rm -f conftest.o conftest.obj
4976 if { { ac_try="$ac_compile"
4977 case "(($ac_try" in
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4980 esac
4981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4982 $as_echo "$ac_try_echo"; } >&5
4983 (eval "$ac_compile") 2>&5
4984 ac_status=$?
4985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4986 test $ac_status = 0; }; then :
4987 for ac_file in conftest.o conftest.obj conftest.*; do
4988 test -f "$ac_file" || continue;
4989 case $ac_file in
4990 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4991 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4992 break;;
4993 esac
4994 done
4995 else
4996 $as_echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5001 as_fn_error $? "cannot compute suffix of object files: cannot compile
5002 See \`config.log' for more details" "$LINENO" 5; }
5004 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5007 $as_echo "$ac_cv_objext" >&6; }
5008 OBJEXT=$ac_cv_objext
5009 ac_objext=$OBJEXT
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5011 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5012 if ${ac_cv_c_compiler_gnu+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 main ()
5021 #ifndef __GNUC__
5022 choke me
5023 #endif
5026 return 0;
5028 _ACEOF
5029 if ac_fn_c_try_compile "$LINENO"; then :
5030 ac_compiler_gnu=yes
5031 else
5032 ac_compiler_gnu=no
5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5039 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5040 if test $ac_compiler_gnu = yes; then
5041 GCC=yes
5042 else
5043 GCC=
5045 ac_test_CFLAGS=${CFLAGS+set}
5046 ac_save_CFLAGS=$CFLAGS
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5048 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5049 if ${ac_cv_prog_cc_g+:} false; then :
5050 $as_echo_n "(cached) " >&6
5051 else
5052 ac_save_c_werror_flag=$ac_c_werror_flag
5053 ac_c_werror_flag=yes
5054 ac_cv_prog_cc_g=no
5055 CFLAGS="-g"
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5060 main ()
5064 return 0;
5066 _ACEOF
5067 if ac_fn_c_try_compile "$LINENO"; then :
5068 ac_cv_prog_cc_g=yes
5069 else
5070 CFLAGS=""
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5075 main ()
5079 return 0;
5081 _ACEOF
5082 if ac_fn_c_try_compile "$LINENO"; then :
5084 else
5085 ac_c_werror_flag=$ac_save_c_werror_flag
5086 CFLAGS="-g"
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5091 main ()
5095 return 0;
5097 _ACEOF
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099 ac_cv_prog_cc_g=yes
5101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 ac_c_werror_flag=$ac_save_c_werror_flag
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5109 $as_echo "$ac_cv_prog_cc_g" >&6; }
5110 if test "$ac_test_CFLAGS" = set; then
5111 CFLAGS=$ac_save_CFLAGS
5112 elif test $ac_cv_prog_cc_g = yes; then
5113 if test "$GCC" = yes; then
5114 CFLAGS="-g -O2"
5115 else
5116 CFLAGS="-g"
5118 else
5119 if test "$GCC" = yes; then
5120 CFLAGS="-O2"
5121 else
5122 CFLAGS=
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5126 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5127 if ${ac_cv_prog_cc_c89+:} false; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 ac_cv_prog_cc_c89=no
5131 ac_save_CC=$CC
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134 #include <stdarg.h>
5135 #include <stdio.h>
5136 struct stat;
5137 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5138 struct buf { int x; };
5139 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5140 static char *e (p, i)
5141 char **p;
5142 int i;
5144 return p[i];
5146 static char *f (char * (*g) (char **, int), char **p, ...)
5148 char *s;
5149 va_list v;
5150 va_start (v,p);
5151 s = g (p, va_arg (v,int));
5152 va_end (v);
5153 return s;
5156 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5157 function prototypes and stuff, but not '\xHH' hex character constants.
5158 These don't provoke an error unfortunately, instead are silently treated
5159 as 'x'. The following induces an error, until -std is added to get
5160 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5161 array size at least. It's necessary to write '\x00'==0 to get something
5162 that's true only with -std. */
5163 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5165 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5166 inside strings and character constants. */
5167 #define FOO(x) 'x'
5168 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5170 int test (int i, double x);
5171 struct s1 {int (*f) (int a);};
5172 struct s2 {int (*f) (double a);};
5173 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5174 int argc;
5175 char **argv;
5177 main ()
5179 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5181 return 0;
5183 _ACEOF
5184 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5185 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5187 CC="$ac_save_CC $ac_arg"
5188 if ac_fn_c_try_compile "$LINENO"; then :
5189 ac_cv_prog_cc_c89=$ac_arg
5191 rm -f core conftest.err conftest.$ac_objext
5192 test "x$ac_cv_prog_cc_c89" != "xno" && break
5193 done
5194 rm -f conftest.$ac_ext
5195 CC=$ac_save_CC
5198 # AC_CACHE_VAL
5199 case "x$ac_cv_prog_cc_c89" in
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5202 $as_echo "none needed" >&6; } ;;
5203 xno)
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5205 $as_echo "unsupported" >&6; } ;;
5207 CC="$CC $ac_cv_prog_cc_c89"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5209 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5210 esac
5211 if test "x$ac_cv_prog_cc_c89" != xno; then :
5215 ac_ext=c
5216 ac_cpp='$CPP $CPPFLAGS'
5217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221 ac_ext=cpp
5222 ac_cpp='$CXXCPP $CPPFLAGS'
5223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5226 if test -z "$CXX"; then
5227 if test -n "$CCC"; then
5228 CXX=$CCC
5229 else
5230 if test -n "$ac_tool_prefix"; then
5231 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_CXX+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 if test -n "$CXX"; then
5241 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5242 else
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 for as_dir in $PATH
5246 IFS=$as_save_IFS
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 break 2
5254 done
5255 done
5256 IFS=$as_save_IFS
5260 CXX=$ac_cv_prog_CXX
5261 if test -n "$CXX"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5263 $as_echo "$CXX" >&6; }
5264 else
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5270 test -n "$CXX" && break
5271 done
5273 if test -z "$CXX"; then
5274 ac_ct_CXX=$CXX
5275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5277 # Extract the first word of "$ac_prog", so it can be a program name with args.
5278 set dummy $ac_prog; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 if test -n "$ac_ct_CXX"; then
5285 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5286 else
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_CXX="$ac_prog"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 break 2
5298 done
5299 done
5300 IFS=$as_save_IFS
5304 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5305 if test -n "$ac_ct_CXX"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5307 $as_echo "$ac_ct_CXX" >&6; }
5308 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5314 test -n "$ac_ct_CXX" && break
5315 done
5317 if test "x$ac_ct_CXX" = x; then
5318 CXX="g++"
5319 else
5320 case $cross_compiling:$ac_tool_warned in
5321 yes:)
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324 ac_tool_warned=yes ;;
5325 esac
5326 CXX=$ac_ct_CXX
5332 # Provide some information about the compiler.
5333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5334 set X $ac_compile
5335 ac_compiler=$2
5336 for ac_option in --version -v -V -qversion; do
5337 { { ac_try="$ac_compiler $ac_option >&5"
5338 case "(($ac_try" in
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5341 esac
5342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5343 $as_echo "$ac_try_echo"; } >&5
5344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5345 ac_status=$?
5346 if test -s conftest.err; then
5347 sed '10a\
5348 ... rest of stderr output deleted ...
5349 10q' conftest.err >conftest.er1
5350 cat conftest.er1 >&5
5352 rm -f conftest.er1 conftest.err
5353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5354 test $ac_status = 0; }
5355 done
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5358 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5359 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5366 main ()
5368 #ifndef __GNUC__
5369 choke me
5370 #endif
5373 return 0;
5375 _ACEOF
5376 if ac_fn_cxx_try_compile "$LINENO"; then :
5377 ac_compiler_gnu=yes
5378 else
5379 ac_compiler_gnu=no
5381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5386 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5387 if test $ac_compiler_gnu = yes; then
5388 GXX=yes
5389 else
5390 GXX=
5392 ac_test_CXXFLAGS=${CXXFLAGS+set}
5393 ac_save_CXXFLAGS=$CXXFLAGS
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5395 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5396 if ${ac_cv_prog_cxx_g+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5400 ac_cxx_werror_flag=yes
5401 ac_cv_prog_cxx_g=no
5402 CXXFLAGS="-g"
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5407 main ()
5411 return 0;
5413 _ACEOF
5414 if ac_fn_cxx_try_compile "$LINENO"; then :
5415 ac_cv_prog_cxx_g=yes
5416 else
5417 CXXFLAGS=""
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5422 main ()
5426 return 0;
5428 _ACEOF
5429 if ac_fn_cxx_try_compile "$LINENO"; then :
5431 else
5432 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5433 CXXFLAGS="-g"
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 main ()
5442 return 0;
5444 _ACEOF
5445 if ac_fn_cxx_try_compile "$LINENO"; then :
5446 ac_cv_prog_cxx_g=yes
5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5456 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5457 if test "$ac_test_CXXFLAGS" = set; then
5458 CXXFLAGS=$ac_save_CXXFLAGS
5459 elif test $ac_cv_prog_cxx_g = yes; then
5460 if test "$GXX" = yes; then
5461 CXXFLAGS="-g -O2"
5462 else
5463 CXXFLAGS="-g"
5465 else
5466 if test "$GXX" = yes; then
5467 CXXFLAGS="-O2"
5468 else
5469 CXXFLAGS=
5472 ac_ext=c
5473 ac_cpp='$CPP $CPPFLAGS'
5474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5478 if test -n "$ac_tool_prefix"; then
5479 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5480 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_CPPBIN+:} false; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 if test -n "$CPPBIN"; then
5487 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5488 else
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 for as_dir in $PATH
5492 IFS=$as_save_IFS
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 break 2
5500 done
5501 done
5502 IFS=$as_save_IFS
5506 CPPBIN=$ac_cv_prog_CPPBIN
5507 if test -n "$CPPBIN"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5509 $as_echo "$CPPBIN" >&6; }
5510 else
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5517 if test -z "$ac_cv_prog_CPPBIN"; then
5518 ac_ct_CPPBIN=$CPPBIN
5519 # Extract the first word of "cpp", so it can be a program name with args.
5520 set dummy cpp; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$ac_ct_CPPBIN"; then
5527 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_ac_ct_CPPBIN="cpp"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5547 if test -n "$ac_ct_CPPBIN"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5549 $as_echo "$ac_ct_CPPBIN" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5555 if test "x$ac_ct_CPPBIN" = x; then
5556 CPPBIN="cpp"
5557 else
5558 case $cross_compiling:$ac_tool_warned in
5559 yes:)
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5562 ac_tool_warned=yes ;;
5563 esac
5564 CPPBIN=$ac_ct_CPPBIN
5566 else
5567 CPPBIN="$ac_cv_prog_CPPBIN"
5571 cat >>confdefs.h <<_ACEOF
5572 #define EXEEXT "$ac_exeext"
5573 _ACEOF
5575 if test -n "$ac_tool_prefix"; then
5576 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5577 set dummy ${ac_tool_prefix}ld; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if ${ac_cv_prog_LD+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 if test -n "$LD"; then
5584 ac_cv_prog_LD="$LD" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 ac_cv_prog_LD="${ac_tool_prefix}ld"
5594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5597 done
5598 done
5599 IFS=$as_save_IFS
5603 LD=$ac_cv_prog_LD
5604 if test -n "$LD"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5606 $as_echo "$LD" >&6; }
5607 else
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }
5614 if test -z "$ac_cv_prog_LD"; then
5615 ac_ct_LD=$LD
5616 # Extract the first word of "ld", so it can be a program name with args.
5617 set dummy ld; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$ac_ct_LD"; then
5624 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_ac_ct_LD="ld"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5644 if test -n "$ac_ct_LD"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5646 $as_echo "$ac_ct_LD" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5652 if test "x$ac_ct_LD" = x; then
5653 LD=""
5654 else
5655 case $cross_compiling:$ac_tool_warned in
5656 yes:)
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5659 ac_tool_warned=yes ;;
5660 esac
5661 LD=$ac_ct_LD
5663 else
5664 LD="$ac_cv_prog_LD"
5668 case $host in
5669 *-darwin*)
5670 with_fontconfig=${with_fontconfig:-no}
5672 *-mingw32*|*-cygwin*)
5673 enable_win16=${enable_win16:-no}
5674 with_mingw=${with_mingw:-no}
5675 CFLAGS="$CFLAGS -D_WIN32"
5677 esac
5680 case $host in
5681 x86_64*|amd64*)
5682 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5683 then
5684 CC="$CC -m32"
5685 CXX="$CXX -m32"
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5688 $as_echo_n "checking whether $CC works... " >&6; }
5689 if ${wine_cv_cc_m32+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5696 main ()
5700 return 0;
5702 _ACEOF
5703 if ac_fn_c_try_link "$LINENO"; then :
5704 wine_cv_cc_m32=yes
5705 else
5706 wine_cv_cc_m32=no
5708 rm -f core conftest.err conftest.$ac_objext \
5709 conftest$ac_exeext conftest.$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5712 $as_echo "$wine_cv_cc_m32" >&6; }
5713 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
5714 host_cpu="i386"
5715 notice_platform="32-bit "
5716 TARGETFLAGS="$TARGETFLAGS -m32"
5717 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5718 export PKG_CONFIG_PATH
5719 enable_win16=${enable_win16:-yes}
5720 with_unwind=${with_unwind:-no}
5721 else
5722 if test "x${GCC}" = "xyes"
5723 then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5725 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5726 if ${wine_cv_builtin_ms_va_list+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5730 /* end confdefs.h. */
5731 #include <stdarg.h>
5733 main ()
5735 void func(__builtin_ms_va_list *args);
5737 return 0;
5739 _ACEOF
5740 if ac_fn_c_try_compile "$LINENO"; then :
5741 wine_cv_builtin_ms_va_list=yes
5742 else
5743 wine_cv_builtin_ms_va_list=no
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5748 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5749 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
5751 CC="$CC -m64"
5752 CXX="$CXX -m64"
5753 host_cpu="x86_64"
5754 notice_platform="64-bit "
5755 TARGETFLAGS="$TARGETFLAGS -m64"
5756 enable_wow64=${enable_wow64:-yes}
5757 enable_wow64win=${enable_wow64win:-yes}
5758 enable_wow64cpu=${enable_wow64cpu:-yes}
5761 arm*)
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5763 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5764 if ${wine_cv_thumb2+:} false; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5771 main ()
5773 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5775 return 0;
5777 _ACEOF
5778 if ac_fn_c_try_link "$LINENO"; then :
5779 wine_cv_thumb2=yes
5780 else
5781 wine_cv_thumb2=no
5783 rm -f core conftest.err conftest.$ac_objext \
5784 conftest$ac_exeext conftest.$ac_ext
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5787 $as_echo "$wine_cv_thumb2" >&6; }
5788 if test x"$wine_cv_thumb2" = xyes
5789 then
5790 CFLAGS="$CFLAGS -mthumb"
5791 TARGETFLAGS="$TARGETFLAGS -mthumb"
5792 else
5793 CFLAGS="$CFLAGS -marm"
5794 TARGETFLAGS="$TARGETFLAGS -marm"
5796 case $with_float_abi in
5797 soft|softfp|hard)
5798 float_abi=$with_float_abi ;;
5800 case $host_os in
5801 *eabihf)
5802 float_abi=hard ;;
5804 float_abi=softfp
5805 saved_CFLAGS=$CFLAGS
5806 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5808 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5809 if ${wine_cv_float_abi+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5816 main ()
5818 asm("vmrs r2,fpscr");
5820 return 0;
5822 _ACEOF
5823 if ac_fn_c_try_link "$LINENO"; then :
5824 wine_cv_float_abi=yes
5825 else
5826 wine_cv_float_abi=no
5828 rm -f core conftest.err conftest.$ac_objext \
5829 conftest$ac_exeext conftest.$ac_ext
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5832 $as_echo "$wine_cv_float_abi" >&6; }
5833 if test $wine_cv_float_abi = no
5834 then
5835 float_abi=soft
5836 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5838 CFLAGS=$saved_CFLAGS
5839 esac
5841 esac
5842 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5843 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5845 aarch64*)
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5847 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5848 if ${wine_cv_builtin_ms_va_list+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5853 #include <stdarg.h>
5855 main ()
5857 void func(__builtin_ms_va_list *args);
5859 return 0;
5861 _ACEOF
5862 if ac_fn_c_try_compile "$LINENO"; then :
5863 wine_cv_builtin_ms_va_list=yes
5864 else
5865 wine_cv_builtin_ms_va_list=no
5867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5870 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5871 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5872 enable_wow64=${enable_wow64:-yes}
5873 enable_wow64win=${enable_wow64win:-yes}
5875 i[3456789]86*)
5876 enable_win16=${enable_win16:-yes}
5877 with_unwind=${with_unwind:-no}
5879 esac
5881 enable_win16=${enable_win16:-no}
5882 enable_win64=${enable_win64:-no}
5883 enable_wow64=${enable_wow64:-no}
5884 enable_wow64win=${enable_wow64win:-no}
5885 enable_wow64cpu=${enable_wow64cpu:-no}
5887 enable_winetest=${enable_winetest:-$enable_tests}
5889 if test "x$enable_win64" = "xyes"
5890 then
5891 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5892 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5895 case $host_cpu in
5896 *i[3456789]86*) ARCH="i386"
5898 *x86_64*) ARCH="x86_64"
5900 *aarch64*) ARCH="aarch64"
5902 *arm*) ARCH="arm"
5904 *) ARCH=""
5906 esac
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5909 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5910 if ${wine_cv_toolsdir+:} false; then :
5911 $as_echo_n "(cached) " >&6
5912 else
5913 wine_cv_toolsdir="$with_wine_tools"
5914 if test -z "$with_wine_tools"; then
5915 if test "$cross_compiling" = "yes"; then
5916 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5917 elif test -n "$with_wine64"; then
5918 wine_cv_toolsdir="$with_wine64"
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5923 $as_echo "$wine_cv_toolsdir" >&6; }
5924 if test -z "$wine_cv_toolsdir"; then
5925 wine_makedep=tools/makedep
5926 TOOLSDIR="."
5928 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5929 wine_makedep=$wine_cv_toolsdir/tools/makedep
5930 TOOLSDIR=$wine_cv_toolsdir
5932 enable_tools=${enable_tools:-no}
5933 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5934 else
5935 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5937 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5938 then
5939 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5942 for ac_prog in flex
5944 # Extract the first word of "$ac_prog", so it can be a program name with args.
5945 set dummy $ac_prog; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_FLEX+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 if test -n "$FLEX"; then
5952 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_FLEX="$ac_prog"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5965 done
5966 done
5967 IFS=$as_save_IFS
5971 FLEX=$ac_cv_prog_FLEX
5972 if test -n "$FLEX"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5974 $as_echo "$FLEX" >&6; }
5975 else
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5981 test -n "$FLEX" && break
5982 done
5983 test -n "$FLEX" || FLEX="none"
5985 if test "$FLEX" = "none"
5986 then
5987 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5990 $as_echo_n "checking whether flex is recent enough... " >&6; }
5991 if ${wine_cv_recent_flex+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 cat >conftest.l <<EOF
5995 %top{
5996 #include "prediluvian.h"
6000 if $FLEX -t conftest.l >/dev/null 2>&5
6001 then
6002 wine_cv_recent_flex=yes
6003 else
6004 wine_cv_recent_flex=no
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6008 $as_echo "$wine_cv_recent_flex" >&6; }
6009 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
6011 for ac_prog in bison
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy $ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_BISON+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$BISON"; then
6021 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_BISON="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 BISON=$ac_cv_prog_BISON
6041 if test -n "$BISON"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6043 $as_echo "$BISON" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$BISON" && break
6051 done
6052 test -n "$BISON" || BISON="none"
6054 if test "$BISON" = "none"
6055 then
6056 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6059 $as_echo_n "checking whether bison is recent enough... " >&6; }
6060 if ${wine_cv_recent_bison+:} false; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 cat >conftest.y <<EOF
6064 %define parse.error verbose
6066 empty: ;
6068 if $BISON conftest.y >/dev/null 2>&5
6069 then
6070 wine_cv_recent_bison=yes
6071 else
6072 wine_cv_recent_bison=no
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6076 $as_echo "$wine_cv_recent_bison" >&6; }
6077 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
6079 if test -n "$ac_tool_prefix"; then
6080 for ac_prog in ar gar
6082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_AR+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$AR"; then
6090 ac_cv_prog_AR="$AR" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6109 AR=$ac_cv_prog_AR
6110 if test -n "$AR"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6112 $as_echo "$AR" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6119 test -n "$AR" && break
6120 done
6122 if test -z "$AR"; then
6123 ac_ct_AR=$AR
6124 for ac_prog in ar gar
6126 # Extract the first word of "$ac_prog", so it can be a program name with args.
6127 set dummy $ac_prog; ac_word=$2
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 $as_echo_n "checking for $ac_word... " >&6; }
6130 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6131 $as_echo_n "(cached) " >&6
6132 else
6133 if test -n "$ac_ct_AR"; then
6134 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6135 else
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 for as_dir in $PATH
6139 IFS=$as_save_IFS
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6143 ac_cv_prog_ac_ct_AR="$ac_prog"
6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145 break 2
6147 done
6148 done
6149 IFS=$as_save_IFS
6153 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6154 if test -n "$ac_ct_AR"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6156 $as_echo "$ac_ct_AR" >&6; }
6157 else
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6163 test -n "$ac_ct_AR" && break
6164 done
6166 if test "x$ac_ct_AR" = x; then
6167 AR="ar"
6168 else
6169 case $cross_compiling:$ac_tool_warned in
6170 yes:)
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6173 ac_tool_warned=yes ;;
6174 esac
6175 AR=$ac_ct_AR
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}strip; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if ${ac_cv_prog_STRIP+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$STRIP"; then
6188 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6197 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 STRIP=$ac_cv_prog_STRIP
6208 if test -n "$STRIP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6210 $as_echo "$STRIP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6218 if test -z "$ac_cv_prog_STRIP"; then
6219 ac_ct_STRIP=$STRIP
6220 # Extract the first word of "strip", so it can be a program name with args.
6221 set dummy strip; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_STRIP"; then
6228 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6237 ac_cv_prog_ac_ct_STRIP="strip"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6241 done
6242 done
6243 IFS=$as_save_IFS
6247 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6248 if test -n "$ac_ct_STRIP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6250 $as_echo "$ac_ct_STRIP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6256 if test "x$ac_ct_STRIP" = x; then
6257 STRIP="strip"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 STRIP=$ac_ct_STRIP
6267 else
6268 STRIP="$ac_cv_prog_STRIP"
6271 if test -n "$ac_tool_prefix"; then
6272 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6273 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6275 $as_echo_n "checking for $ac_word... " >&6; }
6276 if ${ac_cv_prog_RANLIB+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 if test -n "$RANLIB"; then
6280 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6281 else
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH
6285 IFS=$as_save_IFS
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 break 2
6293 done
6294 done
6295 IFS=$as_save_IFS
6299 RANLIB=$ac_cv_prog_RANLIB
6300 if test -n "$RANLIB"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6302 $as_echo "$RANLIB" >&6; }
6303 else
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305 $as_echo "no" >&6; }
6310 if test -z "$ac_cv_prog_RANLIB"; then
6311 ac_ct_RANLIB=$RANLIB
6312 # Extract the first word of "ranlib", so it can be a program name with args.
6313 set dummy ranlib; ac_word=$2
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315 $as_echo_n "checking for $ac_word... " >&6; }
6316 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 if test -n "$ac_ct_RANLIB"; then
6320 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6321 else
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 for as_dir in $PATH
6325 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_ac_ct_RANLIB="ranlib"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 break 2
6333 done
6334 done
6335 IFS=$as_save_IFS
6339 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6340 if test -n "$ac_ct_RANLIB"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6342 $as_echo "$ac_ct_RANLIB" >&6; }
6343 else
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 $as_echo "no" >&6; }
6348 if test "x$ac_ct_RANLIB" = x; then
6349 RANLIB=":"
6350 else
6351 case $cross_compiling:$ac_tool_warned in
6352 yes:)
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6355 ac_tool_warned=yes ;;
6356 esac
6357 RANLIB=$ac_ct_RANLIB
6359 else
6360 RANLIB="$ac_cv_prog_RANLIB"
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6364 $as_echo_n "checking whether ln -s works... " >&6; }
6365 LN_S=$as_ln_s
6366 if test "$LN_S" = "ln -s"; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6368 $as_echo "yes" >&6; }
6369 else
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6371 $as_echo "no, using $LN_S" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6375 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6376 if ${ac_cv_path_GREP+:} false; then :
6377 $as_echo_n "(cached) " >&6
6378 else
6379 if test -z "$GREP"; then
6380 ac_path_GREP_found=false
6381 # Loop through the user's path and test for each of PROGNAME-LIST
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_prog in grep ggrep; do
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6390 as_fn_executable_p "$ac_path_GREP" || continue
6391 # Check for GNU ac_path_GREP and select it if it is found.
6392 # Check for GNU $ac_path_GREP
6393 case `"$ac_path_GREP" --version 2>&1` in
6394 *GNU*)
6395 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6397 ac_count=0
6398 $as_echo_n 0123456789 >"conftest.in"
6399 while :
6401 cat "conftest.in" "conftest.in" >"conftest.tmp"
6402 mv "conftest.tmp" "conftest.in"
6403 cp "conftest.in" "conftest.nl"
6404 $as_echo 'GREP' >> "conftest.nl"
6405 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6406 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6407 as_fn_arith $ac_count + 1 && ac_count=$as_val
6408 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6409 # Best one so far, save it but keep looking for a better one
6410 ac_cv_path_GREP="$ac_path_GREP"
6411 ac_path_GREP_max=$ac_count
6413 # 10*(2^10) chars as input seems more than enough
6414 test $ac_count -gt 10 && break
6415 done
6416 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6417 esac
6419 $ac_path_GREP_found && break 3
6420 done
6421 done
6422 done
6423 IFS=$as_save_IFS
6424 if test -z "$ac_cv_path_GREP"; then
6425 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6427 else
6428 ac_cv_path_GREP=$GREP
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6433 $as_echo "$ac_cv_path_GREP" >&6; }
6434 GREP="$ac_cv_path_GREP"
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6438 $as_echo_n "checking for egrep... " >&6; }
6439 if ${ac_cv_path_EGREP+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6443 then ac_cv_path_EGREP="$GREP -E"
6444 else
6445 if test -z "$EGREP"; then
6446 ac_path_EGREP_found=false
6447 # Loop through the user's path and test for each of PROGNAME-LIST
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6451 IFS=$as_save_IFS
6452 test -z "$as_dir" && as_dir=.
6453 for ac_prog in egrep; do
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6456 as_fn_executable_p "$ac_path_EGREP" || continue
6457 # Check for GNU ac_path_EGREP and select it if it is found.
6458 # Check for GNU $ac_path_EGREP
6459 case `"$ac_path_EGREP" --version 2>&1` in
6460 *GNU*)
6461 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6463 ac_count=0
6464 $as_echo_n 0123456789 >"conftest.in"
6465 while :
6467 cat "conftest.in" "conftest.in" >"conftest.tmp"
6468 mv "conftest.tmp" "conftest.in"
6469 cp "conftest.in" "conftest.nl"
6470 $as_echo 'EGREP' >> "conftest.nl"
6471 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6472 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6473 as_fn_arith $ac_count + 1 && ac_count=$as_val
6474 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6475 # Best one so far, save it but keep looking for a better one
6476 ac_cv_path_EGREP="$ac_path_EGREP"
6477 ac_path_EGREP_max=$ac_count
6479 # 10*(2^10) chars as input seems more than enough
6480 test $ac_count -gt 10 && break
6481 done
6482 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6483 esac
6485 $ac_path_EGREP_found && break 3
6486 done
6487 done
6488 done
6489 IFS=$as_save_IFS
6490 if test -z "$ac_cv_path_EGREP"; then
6491 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6493 else
6494 ac_cv_path_EGREP=$EGREP
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6500 $as_echo "$ac_cv_path_EGREP" >&6; }
6501 EGREP="$ac_cv_path_EGREP"
6504 # Extract the first word of "ldconfig", so it can be a program name with args.
6505 set dummy ldconfig; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_path_LDCONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 case $LDCONFIG in
6512 [\\/]* | ?:[\\/]*)
6513 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in /sbin /usr/sbin $PATH
6519 IFS=$as_save_IFS
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6531 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6533 esac
6535 LDCONFIG=$ac_cv_path_LDCONFIG
6536 if test -n "$LDCONFIG"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6538 $as_echo "$LDCONFIG" >&6; }
6539 else
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6545 for ac_prog in msgfmt
6547 # Extract the first word of "$ac_prog", so it can be a program name with args.
6548 set dummy $ac_prog; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_MSGFMT+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$MSGFMT"; then
6555 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6564 ac_cv_prog_MSGFMT="$ac_prog"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 MSGFMT=$ac_cv_prog_MSGFMT
6575 if test -n "$MSGFMT"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6577 $as_echo "$MSGFMT" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6584 test -n "$MSGFMT" && break
6585 done
6586 test -n "$MSGFMT" || MSGFMT="false"
6588 if ${ac_tool_prefix+:} false; then :
6589 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6590 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592 $as_echo_n "checking for $ac_word... " >&6; }
6593 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6594 $as_echo_n "(cached) " >&6
6595 else
6596 if test -n "$PKG_CONFIG"; then
6597 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6598 else
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600 for as_dir in $PATH
6602 IFS=$as_save_IFS
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 break 2
6610 done
6611 done
6612 IFS=$as_save_IFS
6616 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6617 if test -n "$PKG_CONFIG"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6619 $as_echo "$PKG_CONFIG" >&6; }
6620 else
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 $as_echo "no" >&6; }
6627 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6628 if test "x$cross_compiling" = xyes; then :
6630 else
6631 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6632 # Extract the first word of "pkg-config", so it can be a program name with args.
6633 set dummy pkg-config; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6637 $as_echo_n "(cached) " >&6
6638 else
6639 if test -n "$PKG_CONFIG"; then
6640 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6641 else
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 for as_dir in $PATH
6645 IFS=$as_save_IFS
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_PKG_CONFIG="pkg-config"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651 break 2
6653 done
6654 done
6655 IFS=$as_save_IFS
6659 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6660 if test -n "$PKG_CONFIG"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6662 $as_echo "$PKG_CONFIG" >&6; }
6663 else
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6670 else
6671 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6674 if test "x$enable_maintainer_mode" != "xyes"
6675 then
6676 FONTFORGE=""
6677 RSVG=""
6678 CONVERT=""
6679 ICOTOOL=""
6680 else
6681 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6682 for ac_prog in fontforge
6684 # Extract the first word of "$ac_prog", so it can be a program name with args.
6685 set dummy $ac_prog; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_FONTFORGE+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 if test -n "$FONTFORGE"; then
6692 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6697 IFS=$as_save_IFS
6698 test -z "$as_dir" && as_dir=.
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6701 ac_cv_prog_FONTFORGE="$ac_prog"
6702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 break 2
6705 done
6706 done
6707 IFS=$as_save_IFS
6711 FONTFORGE=$ac_cv_prog_FONTFORGE
6712 if test -n "$FONTFORGE"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6714 $as_echo "$FONTFORGE" >&6; }
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6721 test -n "$FONTFORGE" && break
6722 done
6723 test -n "$FONTFORGE" || FONTFORGE="false"
6725 for ac_prog in rsvg-convert rsvg
6727 # Extract the first word of "$ac_prog", so it can be a program name with args.
6728 set dummy $ac_prog; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_RSVG+:} false; then :
6732 $as_echo_n "(cached) " >&6
6733 else
6734 if test -n "$RSVG"; then
6735 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6740 IFS=$as_save_IFS
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_RSVG="$ac_prog"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 break 2
6748 done
6749 done
6750 IFS=$as_save_IFS
6754 RSVG=$ac_cv_prog_RSVG
6755 if test -n "$RSVG"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6757 $as_echo "$RSVG" >&6; }
6758 else
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6764 test -n "$RSVG" && break
6765 done
6766 test -n "$RSVG" || RSVG="false"
6768 for ac_prog in convert
6770 # Extract the first word of "$ac_prog", so it can be a program name with args.
6771 set dummy $ac_prog; ac_word=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if ${ac_cv_prog_CONVERT+:} false; then :
6775 $as_echo_n "(cached) " >&6
6776 else
6777 if test -n "$CONVERT"; then
6778 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6779 else
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 for as_dir in $PATH
6783 IFS=$as_save_IFS
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_CONVERT="$ac_prog"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 break 2
6791 done
6792 done
6793 IFS=$as_save_IFS
6797 CONVERT=$ac_cv_prog_CONVERT
6798 if test -n "$CONVERT"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6800 $as_echo "$CONVERT" >&6; }
6801 else
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 $as_echo "no" >&6; }
6807 test -n "$CONVERT" && break
6808 done
6809 test -n "$CONVERT" || CONVERT="false"
6811 for ac_prog in icotool
6813 # Extract the first word of "$ac_prog", so it can be a program name with args.
6814 set dummy $ac_prog; ac_word=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 $as_echo_n "checking for $ac_word... " >&6; }
6817 if ${ac_cv_prog_ICOTOOL+:} false; then :
6818 $as_echo_n "(cached) " >&6
6819 else
6820 if test -n "$ICOTOOL"; then
6821 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6822 else
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 for as_dir in $PATH
6826 IFS=$as_save_IFS
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_ICOTOOL="$ac_prog"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6832 break 2
6834 done
6835 done
6836 IFS=$as_save_IFS
6840 ICOTOOL=$ac_cv_prog_ICOTOOL
6841 if test -n "$ICOTOOL"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6843 $as_echo "$ICOTOOL" >&6; }
6844 else
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 $as_echo "no" >&6; }
6850 test -n "$ICOTOOL" && break
6851 done
6852 test -n "$ICOTOOL" || ICOTOOL="false"
6854 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6855 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6857 if test "$CONVERT" = false
6858 then
6859 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6860 else
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6862 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6863 convert_version=`convert --version | head -n1`
6864 if test "x$convert_version" != "x"
6865 then
6866 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6867 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6868 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6869 then
6870 CONVERT=false
6873 if test "$CONVERT" = false
6874 then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6876 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6877 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6878 else
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6880 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6884 if test "$ICOTOOL" = false
6885 then
6886 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6887 else
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6889 $as_echo_n "checking for recent enough icotool... " >&6; }
6890 icotool_version=`icotool --version | head -n1`
6891 if test "x$icotool_version" != "x"
6892 then
6893 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6894 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6895 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6896 then
6897 ICOTOOL=false
6898 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6901 if test "$ICOTOOL" = false
6902 then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6904 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6905 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6906 else
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6908 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6912 with_gettext=yes
6913 with_gettextpo=yes
6915 enable_werror=yes
6918 test "x$with_gettext" != xno || MSGFMT=false
6919 if test "$MSGFMT" != "false"
6920 then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6922 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6923 if ${wine_cv_msgfmt_contexts+:} false; then :
6924 $as_echo_n "(cached) " >&6
6925 else
6926 cat >conftest.po <<EOF
6927 # comment
6928 msgctxt "ctxt"
6929 msgid "id"
6930 msgstr "str"
6932 if $MSGFMT -o /dev/null conftest.po 2>&5
6933 then
6934 wine_cv_msgfmt_contexts=yes
6935 else
6936 wine_cv_msgfmt_contexts=no
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6940 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6941 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6943 if test "$MSGFMT" = false; then :
6944 case "x$with_gettext" in
6945 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6946 xno) ;;
6947 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6948 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6949 esac
6950 enable_po=${enable_po:-no}
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6955 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6956 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6957 $as_echo_n "(cached) " >&6
6958 else
6959 ac_check_lib_save_LIBS=$LIBS
6960 LIBS="-li386 $LIBS"
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6964 /* Override any GCC internal prototype to avoid an error.
6965 Use char because int might match the return type of a GCC
6966 builtin and then its argument prototype would still apply. */
6967 #ifdef __cplusplus
6968 extern "C"
6969 #endif
6970 char i386_set_ldt ();
6972 main ()
6974 return i386_set_ldt ();
6976 return 0;
6978 _ACEOF
6979 if ac_fn_c_try_link "$LINENO"; then :
6980 ac_cv_lib_i386_i386_set_ldt=yes
6981 else
6982 ac_cv_lib_i386_i386_set_ldt=no
6984 rm -f core conftest.err conftest.$ac_objext \
6985 conftest$ac_exeext conftest.$ac_ext
6986 LIBS=$ac_check_lib_save_LIBS
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6989 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6990 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6991 I386_LIBS="-li386"
6996 OPENGL_LIBS=""
7000 # Check whether --enable-largefile was given.
7001 if test "${enable_largefile+set}" = set; then :
7002 enableval=$enable_largefile;
7005 if test "$enable_largefile" != no; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7008 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7009 if ${ac_cv_sys_largefile_CC+:} false; then :
7010 $as_echo_n "(cached) " >&6
7011 else
7012 ac_cv_sys_largefile_CC=no
7013 if test "$GCC" != yes; then
7014 ac_save_CC=$CC
7015 while :; do
7016 # IRIX 6.2 and later do not support large files by default,
7017 # so use the C compiler's -n32 option if that helps.
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 /* Check that off_t can represent 2**63 - 1 correctly.
7022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7023 since some C++ compilers masquerading as C compilers
7024 incorrectly reject 9223372036854775807. */
7025 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7027 && LARGE_OFF_T % 2147483647 == 1)
7028 ? 1 : -1];
7030 main ()
7034 return 0;
7036 _ACEOF
7037 if ac_fn_c_try_compile "$LINENO"; then :
7038 break
7040 rm -f core conftest.err conftest.$ac_objext
7041 CC="$CC -n32"
7042 if ac_fn_c_try_compile "$LINENO"; then :
7043 ac_cv_sys_largefile_CC=' -n32'; break
7045 rm -f core conftest.err conftest.$ac_objext
7046 break
7047 done
7048 CC=$ac_save_CC
7049 rm -f conftest.$ac_ext
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7053 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7054 if test "$ac_cv_sys_largefile_CC" != no; then
7055 CC=$CC$ac_cv_sys_largefile_CC
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7059 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7060 if ${ac_cv_sys_file_offset_bits+:} false; then :
7061 $as_echo_n "(cached) " >&6
7062 else
7063 while :; do
7064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7065 /* end confdefs.h. */
7066 #include <sys/types.h>
7067 /* Check that off_t can represent 2**63 - 1 correctly.
7068 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7069 since some C++ compilers masquerading as C compilers
7070 incorrectly reject 9223372036854775807. */
7071 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7072 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7073 && LARGE_OFF_T % 2147483647 == 1)
7074 ? 1 : -1];
7076 main ()
7080 return 0;
7082 _ACEOF
7083 if ac_fn_c_try_compile "$LINENO"; then :
7084 ac_cv_sys_file_offset_bits=no; break
7086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7089 #define _FILE_OFFSET_BITS 64
7090 #include <sys/types.h>
7091 /* Check that off_t can represent 2**63 - 1 correctly.
7092 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7093 since some C++ compilers masquerading as C compilers
7094 incorrectly reject 9223372036854775807. */
7095 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7096 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7097 && LARGE_OFF_T % 2147483647 == 1)
7098 ? 1 : -1];
7100 main ()
7104 return 0;
7106 _ACEOF
7107 if ac_fn_c_try_compile "$LINENO"; then :
7108 ac_cv_sys_file_offset_bits=64; break
7110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7111 ac_cv_sys_file_offset_bits=unknown
7112 break
7113 done
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7116 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7117 case $ac_cv_sys_file_offset_bits in #(
7118 no | unknown) ;;
7120 cat >>confdefs.h <<_ACEOF
7121 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7122 _ACEOF
7124 esac
7125 rm -rf conftest*
7126 if test $ac_cv_sys_file_offset_bits = unknown; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7128 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7129 if ${ac_cv_sys_large_files+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 while :; do
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7135 #include <sys/types.h>
7136 /* Check that off_t can represent 2**63 - 1 correctly.
7137 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7138 since some C++ compilers masquerading as C compilers
7139 incorrectly reject 9223372036854775807. */
7140 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7141 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7142 && LARGE_OFF_T % 2147483647 == 1)
7143 ? 1 : -1];
7145 main ()
7149 return 0;
7151 _ACEOF
7152 if ac_fn_c_try_compile "$LINENO"; then :
7153 ac_cv_sys_large_files=no; break
7155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h. */
7158 #define _LARGE_FILES 1
7159 #include <sys/types.h>
7160 /* Check that off_t can represent 2**63 - 1 correctly.
7161 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7162 since some C++ compilers masquerading as C compilers
7163 incorrectly reject 9223372036854775807. */
7164 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7165 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7166 && LARGE_OFF_T % 2147483647 == 1)
7167 ? 1 : -1];
7169 main ()
7173 return 0;
7175 _ACEOF
7176 if ac_fn_c_try_compile "$LINENO"; then :
7177 ac_cv_sys_large_files=1; break
7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7180 ac_cv_sys_large_files=unknown
7181 break
7182 done
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7185 $as_echo "$ac_cv_sys_large_files" >&6; }
7186 case $ac_cv_sys_large_files in #(
7187 no | unknown) ;;
7189 cat >>confdefs.h <<_ACEOF
7190 #define _LARGE_FILES $ac_cv_sys_large_files
7191 _ACEOF
7193 esac
7194 rm -rf conftest*
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7207 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7208 # On Suns, sometimes $CPP names a directory.
7209 if test -n "$CPP" && test -d "$CPP"; then
7210 CPP=
7212 if test -z "$CPP"; then
7213 if ${ac_cv_prog_CPP+:} false; then :
7214 $as_echo_n "(cached) " >&6
7215 else
7216 # Double quotes because CPP needs to be expanded
7217 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7219 ac_preproc_ok=false
7220 for ac_c_preproc_warn_flag in '' yes
7222 # Use a header file that comes with gcc, so configuring glibc
7223 # with a fresh cross-compiler works.
7224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7225 # <limits.h> exists even on freestanding compilers.
7226 # On the NeXT, cc -E runs the code through the compiler's parser,
7227 # not just through cpp. "Syntax error" is here to catch this case.
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 #ifdef __STDC__
7231 # include <limits.h>
7232 #else
7233 # include <assert.h>
7234 #endif
7235 Syntax error
7236 _ACEOF
7237 if ac_fn_c_try_cpp "$LINENO"; then :
7239 else
7240 # Broken: fails on valid input.
7241 continue
7243 rm -f conftest.err conftest.i conftest.$ac_ext
7245 # OK, works on sane cases. Now check whether nonexistent headers
7246 # can be detected and how.
7247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249 #include <ac_nonexistent.h>
7250 _ACEOF
7251 if ac_fn_c_try_cpp "$LINENO"; then :
7252 # Broken: success on invalid input.
7253 continue
7254 else
7255 # Passes both tests.
7256 ac_preproc_ok=:
7257 break
7259 rm -f conftest.err conftest.i conftest.$ac_ext
7261 done
7262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7263 rm -f conftest.i conftest.err conftest.$ac_ext
7264 if $ac_preproc_ok; then :
7265 break
7268 done
7269 ac_cv_prog_CPP=$CPP
7272 CPP=$ac_cv_prog_CPP
7273 else
7274 ac_cv_prog_CPP=$CPP
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7277 $as_echo "$CPP" >&6; }
7278 ac_preproc_ok=false
7279 for ac_c_preproc_warn_flag in '' yes
7281 # Use a header file that comes with gcc, so configuring glibc
7282 # with a fresh cross-compiler works.
7283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7284 # <limits.h> exists even on freestanding compilers.
7285 # On the NeXT, cc -E runs the code through the compiler's parser,
7286 # not just through cpp. "Syntax error" is here to catch this case.
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7289 #ifdef __STDC__
7290 # include <limits.h>
7291 #else
7292 # include <assert.h>
7293 #endif
7294 Syntax error
7295 _ACEOF
7296 if ac_fn_c_try_cpp "$LINENO"; then :
7298 else
7299 # Broken: fails on valid input.
7300 continue
7302 rm -f conftest.err conftest.i conftest.$ac_ext
7304 # OK, works on sane cases. Now check whether nonexistent headers
7305 # can be detected and how.
7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7307 /* end confdefs.h. */
7308 #include <ac_nonexistent.h>
7309 _ACEOF
7310 if ac_fn_c_try_cpp "$LINENO"; then :
7311 # Broken: success on invalid input.
7312 continue
7313 else
7314 # Passes both tests.
7315 ac_preproc_ok=:
7316 break
7318 rm -f conftest.err conftest.i conftest.$ac_ext
7320 done
7321 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7322 rm -f conftest.i conftest.err conftest.$ac_ext
7323 if $ac_preproc_ok; then :
7325 else
7326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7328 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7329 See \`config.log' for more details" "$LINENO" 5; }
7332 ac_ext=c
7333 ac_cpp='$CPP $CPPFLAGS'
7334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7340 $as_echo_n "checking for ANSI C header files... " >&6; }
7341 if ${ac_cv_header_stdc+:} false; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7345 /* end confdefs.h. */
7346 #include <stdlib.h>
7347 #include <stdarg.h>
7348 #include <string.h>
7349 #include <float.h>
7352 main ()
7356 return 0;
7358 _ACEOF
7359 if ac_fn_c_try_compile "$LINENO"; then :
7360 ac_cv_header_stdc=yes
7361 else
7362 ac_cv_header_stdc=no
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366 if test $ac_cv_header_stdc = yes; then
7367 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7369 /* end confdefs.h. */
7370 #include <string.h>
7372 _ACEOF
7373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7374 $EGREP "memchr" >/dev/null 2>&1; then :
7376 else
7377 ac_cv_header_stdc=no
7379 rm -f conftest*
7383 if test $ac_cv_header_stdc = yes; then
7384 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h. */
7387 #include <stdlib.h>
7389 _ACEOF
7390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7391 $EGREP "free" >/dev/null 2>&1; then :
7393 else
7394 ac_cv_header_stdc=no
7396 rm -f conftest*
7400 if test $ac_cv_header_stdc = yes; then
7401 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7402 if test "$cross_compiling" = yes; then :
7404 else
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7407 #include <ctype.h>
7408 #include <stdlib.h>
7409 #if ((' ' & 0x0FF) == 0x020)
7410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7412 #else
7413 # define ISLOWER(c) \
7414 (('a' <= (c) && (c) <= 'i') \
7415 || ('j' <= (c) && (c) <= 'r') \
7416 || ('s' <= (c) && (c) <= 'z'))
7417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7418 #endif
7420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422 main ()
7424 int i;
7425 for (i = 0; i < 256; i++)
7426 if (XOR (islower (i), ISLOWER (i))
7427 || toupper (i) != TOUPPER (i))
7428 return 2;
7429 return 0;
7431 _ACEOF
7432 if ac_fn_c_try_run "$LINENO"; then :
7434 else
7435 ac_cv_header_stdc=no
7437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7438 conftest.$ac_objext conftest.beam conftest.$ac_ext
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7444 $as_echo "$ac_cv_header_stdc" >&6; }
7445 if test $ac_cv_header_stdc = yes; then
7447 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7451 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7452 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7453 inttypes.h stdint.h unistd.h
7454 do :
7455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7456 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7459 cat >>confdefs.h <<_ACEOF
7460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7461 _ACEOF
7465 done
7468 for ac_header in \
7469 AL/al.h \
7470 ApplicationServices/ApplicationServices.h \
7471 CL/cl.h \
7472 Carbon/Carbon.h \
7473 CommonCrypto/CommonCryptor.h \
7474 CoreAudio/CoreAudio.h \
7475 DiskArbitration/DiskArbitration.h \
7476 EGL/egl.h \
7477 IOKit/IOKitLib.h \
7478 IOKit/hid/IOHIDLib.h \
7479 OpenAL/al.h \
7480 OpenCL/opencl.h \
7481 QuickTime/ImageCompression.h \
7482 Security/Security.h \
7483 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7484 SystemConfiguration/SCNetworkConfiguration.h \
7485 alias.h \
7486 arpa/inet.h \
7487 arpa/nameser.h \
7488 asm/types.h \
7489 asm/user.h \
7490 dirent.h \
7491 dlfcn.h \
7492 elf.h \
7493 float.h \
7494 fnmatch.h \
7495 getopt.h \
7496 gettext-po.h \
7497 grp.h \
7498 gsm.h \
7499 gsm/gsm.h \
7500 ieeefp.h \
7501 inet/mib2.h \
7502 kstat.h \
7503 libproc.h \
7504 link.h \
7505 linux/cdrom.h \
7506 linux/filter.h \
7507 linux/hdreg.h \
7508 linux/hidraw.h \
7509 linux/input.h \
7510 linux/ioctl.h \
7511 linux/joystick.h \
7512 linux/major.h \
7513 linux/param.h \
7514 linux/serial.h \
7515 linux/types.h \
7516 linux/ucdrom.h \
7517 lwp.h \
7518 mach-o/loader.h \
7519 mach/mach.h \
7520 machine/cpu.h \
7521 machine/sysarch.h \
7522 mntent.h \
7523 netdb.h \
7524 netinet/in.h \
7525 netinet/in_systm.h \
7526 netinet/tcp.h \
7527 netinet/tcp_fsm.h \
7528 pcap/pcap.h \
7529 poll.h \
7530 port.h \
7531 pthread.h \
7532 pwd.h \
7533 sasl/sasl.h \
7534 sched.h \
7535 scsi/scsi.h \
7536 scsi/scsi_ioctl.h \
7537 scsi/sg.h \
7538 stdint.h \
7539 stropts.h \
7540 sys/attr.h \
7541 sys/auxv.h \
7542 sys/cdio.h \
7543 sys/epoll.h \
7544 sys/event.h \
7545 sys/filio.h \
7546 sys/ioctl.h \
7547 sys/ipc.h \
7548 sys/link.h \
7549 sys/mman.h \
7550 sys/modem.h \
7551 sys/msg.h \
7552 sys/mtio.h \
7553 sys/param.h \
7554 sys/poll.h \
7555 sys/prctl.h \
7556 sys/protosw.h \
7557 sys/ptrace.h \
7558 sys/queue.h \
7559 sys/random.h \
7560 sys/resource.h \
7561 sys/scsiio.h \
7562 sys/shm.h \
7563 sys/signal.h \
7564 sys/socket.h \
7565 sys/socketvar.h \
7566 sys/sockio.h \
7567 sys/statvfs.h \
7568 sys/strtio.h \
7569 sys/syscall.h \
7570 sys/sysinfo.h \
7571 sys/tihdr.h \
7572 sys/time.h \
7573 sys/timeout.h \
7574 sys/times.h \
7575 sys/uio.h \
7576 sys/user.h \
7577 sys/utsname.h \
7578 sys/vnode.h \
7579 sys/wait.h \
7580 syscall.h \
7581 termios.h \
7582 unistd.h \
7583 utime.h \
7584 valgrind/memcheck.h \
7585 valgrind/valgrind.h
7587 do :
7588 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7589 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7590 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7591 cat >>confdefs.h <<_ACEOF
7592 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 _ACEOF
7597 done
7599 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7600 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7602 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7607 if test $ac_cv_header_sys_mkdev_h = no; then
7608 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7609 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7611 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7618 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7619 if ${ac_cv_header_stat_broken+:} false; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7624 #include <sys/types.h>
7625 #include <sys/stat.h>
7627 #if defined S_ISBLK && defined S_IFDIR
7628 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7629 #endif
7631 #if defined S_ISBLK && defined S_IFCHR
7632 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7633 #endif
7635 #if defined S_ISLNK && defined S_IFREG
7636 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7637 #endif
7639 #if defined S_ISSOCK && defined S_IFREG
7640 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7641 #endif
7643 _ACEOF
7644 if ac_fn_c_try_compile "$LINENO"; then :
7645 ac_cv_header_stat_broken=no
7646 else
7647 ac_cv_header_stat_broken=yes
7649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7652 $as_echo "$ac_cv_header_stat_broken" >&6; }
7653 if test $ac_cv_header_stat_broken = yes; then
7655 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7661 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7662 do :
7663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7665 #ifdef HAVE_SYS_PARAM_H
7666 # include <sys/param.h>
7667 #endif
7669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7672 _ACEOF
7676 done
7679 saved_sysctl_h_CFLAGS=$CFLAGS
7680 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7681 for ac_header in sys/sysctl.h
7682 do :
7683 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7684 #ifdef HAVE_SYS_PARAM_H
7685 # include <sys/param.h>
7686 #endif
7688 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7689 cat >>confdefs.h <<_ACEOF
7690 #define HAVE_SYS_SYSCTL_H 1
7691 _ACEOF
7695 done
7697 CFLAGS=$saved_sysctl_h_CFLAGS
7699 for ac_header in \
7700 netinet/ip.h \
7701 net/if.h \
7702 net/if_arp.h \
7703 net/if_dl.h \
7704 net/if_types.h \
7705 net/route.h \
7706 netinet/if_ether.h \
7707 netinet/if_inarp.h \
7708 netinet/in_pcb.h \
7709 netinet/ip_icmp.h \
7710 netinet/ip_var.h \
7711 netinet/udp.h \
7712 netipx/ipx.h \
7713 sys/un.h \
7715 do :
7716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7717 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7718 #ifdef HAVE_SYS_SOCKET_H
7719 # include <sys/socket.h>
7720 #endif
7721 #ifdef HAVE_SYS_SOCKETVAR_H
7722 # include <sys/socketvar.h>
7723 #endif
7724 #ifdef HAVE_NET_ROUTE_H
7725 # include <net/route.h>
7726 #endif
7727 #ifdef HAVE_NETINET_IN_H
7728 # include <netinet/in.h>
7729 #endif
7730 #ifdef HAVE_NETINET_IN_SYSTM_H
7731 # include <netinet/in_systm.h>
7732 #endif
7733 #ifdef HAVE_NET_IF_H
7734 # include <net/if.h>
7735 #endif
7736 #ifdef HAVE_NETINET_IP_H
7737 # include <netinet/ip.h>
7738 #endif
7740 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 _ACEOF
7747 done
7750 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7751 do :
7752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7754 #ifdef HAVE_ALIAS_H
7755 # include <alias.h>
7756 #endif
7757 #ifdef HAVE_SYS_SOCKET_H
7758 # include <sys/socket.h>
7759 #endif
7760 #ifdef HAVE_SYS_SOCKETVAR_H
7761 # include <sys/socketvar.h>
7762 #endif
7763 #ifdef HAVE_SYS_TIMEOUT_H
7764 # include <sys/timeout.h>
7765 #endif
7766 #ifdef HAVE_NETINET_IN_H
7767 # include <netinet/in.h>
7768 #endif
7769 #ifdef HAVE_NETINET_IN_SYSTM_H
7770 # include <netinet/in_systm.h>
7771 #endif
7772 #ifdef HAVE_NETINET_IP_H
7773 # include <netinet/ip.h>
7774 #endif
7775 #ifdef HAVE_NETINET_IP_VAR_H
7776 # include <netinet/ip_var.h>
7777 #endif
7778 #ifdef HAVE_NETINET_IP_ICMP_H
7779 # include <netinet/ip_icmp.h>
7780 #endif
7781 #ifdef HAVE_NETINET_UDP_H
7782 # include <netinet/udp.h>
7783 #endif
7784 #ifdef HAVE_NETINET_TCP_H
7785 # include <netinet/tcp.h>
7786 #endif
7787 #ifdef HAVE_NETINET_TCP_TIMER_H
7788 #include <netinet/tcp_timer.h>
7789 #endif
7791 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7792 cat >>confdefs.h <<_ACEOF
7793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7794 _ACEOF
7798 done
7801 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7802 do :
7803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7804 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7805 #ifdef HAVE_ASM_TYPES_H
7806 # include <asm/types.h>
7807 #endif
7808 #ifdef HAVE_SYS_SOCKET_H
7809 # include <sys/socket.h>
7810 #endif
7811 #ifdef HAVE_LINUX_TYPES_H
7812 # include <linux/types.h>
7813 #endif
7815 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7816 cat >>confdefs.h <<_ACEOF
7817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7818 _ACEOF
7822 done
7825 for ac_header in resolv.h
7826 do :
7827 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7828 #ifdef HAVE_SYS_SOCKET_H
7829 # include <sys/socket.h>
7830 #endif
7831 #ifdef HAVE_NETINET_IN_H
7832 # include <netinet/in.h>
7833 #endif
7834 #ifdef HAVE_ARPA_NAMESER_H
7835 # include <arpa/nameser.h>
7836 #endif
7838 if test "x$ac_cv_header_resolv_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_RESOLV_H 1
7841 _ACEOF
7845 done
7848 for ac_header in ifaddrs.h
7849 do :
7850 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7852 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define HAVE_IFADDRS_H 1
7855 _ACEOF
7859 done
7862 for ac_header in sys/ucontext.h
7863 do :
7864 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7866 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_SYS_UCONTEXT_H 1
7869 _ACEOF
7873 done
7876 for ac_header in sys/thr.h
7877 do :
7878 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7879 #ifdef HAVE_SYS_UCONTEXT_H
7880 #include <sys/ucontext.h>
7881 #endif
7883 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7884 cat >>confdefs.h <<_ACEOF
7885 #define HAVE_SYS_THR_H 1
7886 _ACEOF
7890 done
7893 for ac_header in pthread_np.h
7894 do :
7895 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7896 #include <pthread.h>
7897 #endif
7899 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7900 cat >>confdefs.h <<_ACEOF
7901 #define HAVE_PTHREAD_NP_H 1
7902 _ACEOF
7906 done
7909 for ac_header in linux/videodev2.h
7910 do :
7911 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7912 #include <sys/time.h>
7913 #endif
7914 #include <sys/types.h>
7915 #ifdef HAVE_ASM_TYPES_H
7916 #include <asm/types.h>
7917 #endif
7919 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7920 cat >>confdefs.h <<_ACEOF
7921 #define HAVE_LINUX_VIDEODEV2_H 1
7922 _ACEOF
7926 done
7929 for ac_header in libprocstat.h
7930 do :
7931 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7932 #include <sys/param.h>
7933 #endif
7934 #ifdef HAVE_SYS_QUEUE_H
7935 #include <sys/queue.h>
7936 #endif
7937 #ifdef HAVE_SYS_SOCKET_H
7938 #include <sys/socket.h>
7939 #endif
7941 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7942 cat >>confdefs.h <<_ACEOF
7943 #define HAVE_LIBPROCSTAT_H 1
7944 _ACEOF
7948 done
7952 DLLFLAGS="-D_REENTRANT"
7954 LDDLLFLAGS=""
7956 LDEXECFLAGS=""
7958 TOP_INSTALL_LIB=""
7960 TOP_INSTALL_DEV=""
7962 WINELOADER_LDFLAGS=""
7964 WINEPRELOADER_LDFLAGS=""
7966 LIBEXT="so"
7967 DLLEXT=".so"
7968 # Extract the first word of "ldd", so it can be a program name with args.
7969 set dummy ldd; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_path_LDD+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 case $LDD in
7976 [\\/]* | ?:[\\/]*)
7977 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 as_dummy="/sbin:/usr/sbin:$PATH"
7982 for as_dir in $as_dummy
7984 IFS=$as_save_IFS
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 break 2
7992 done
7993 done
7994 IFS=$as_save_IFS
7996 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7998 esac
8000 LDD=$ac_cv_path_LDD
8001 if test -n "$LDD"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
8003 $as_echo "$LDD" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}otool; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_OTOOL+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$OTOOL"; then
8019 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 OTOOL=$ac_cv_prog_OTOOL
8039 if test -n "$OTOOL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8041 $as_echo "$OTOOL" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_OTOOL"; then
8050 ac_ct_OTOOL=$OTOOL
8051 # Extract the first word of "otool", so it can be a program name with args.
8052 set dummy otool; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 if test -n "$ac_ct_OTOOL"; then
8059 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8060 else
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 for as_dir in $PATH
8064 IFS=$as_save_IFS
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_OTOOL="otool"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 break 2
8072 done
8073 done
8074 IFS=$as_save_IFS
8078 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8079 if test -n "$ac_ct_OTOOL"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8081 $as_echo "$ac_ct_OTOOL" >&6; }
8082 else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_OTOOL" = x; then
8088 OTOOL="otool"
8089 else
8090 case $cross_compiling:$ac_tool_warned in
8091 yes:)
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned=yes ;;
8095 esac
8096 OTOOL=$ac_ct_OTOOL
8098 else
8099 OTOOL="$ac_cv_prog_OTOOL"
8102 if test -n "$ac_tool_prefix"; then
8103 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8104 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8106 $as_echo_n "checking for $ac_word... " >&6; }
8107 if ${ac_cv_prog_READELF+:} false; then :
8108 $as_echo_n "(cached) " >&6
8109 else
8110 if test -n "$READELF"; then
8111 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8112 else
8113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114 for as_dir in $PATH
8116 IFS=$as_save_IFS
8117 test -z "$as_dir" && as_dir=.
8118 for ac_exec_ext in '' $ac_executable_extensions; do
8119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8120 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8122 break 2
8124 done
8125 done
8126 IFS=$as_save_IFS
8130 READELF=$ac_cv_prog_READELF
8131 if test -n "$READELF"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8133 $as_echo "$READELF" >&6; }
8134 else
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8136 $as_echo "no" >&6; }
8141 if test -z "$ac_cv_prog_READELF"; then
8142 ac_ct_READELF=$READELF
8143 # Extract the first word of "readelf", so it can be a program name with args.
8144 set dummy readelf; ac_word=$2
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8146 $as_echo_n "checking for $ac_word... " >&6; }
8147 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8148 $as_echo_n "(cached) " >&6
8149 else
8150 if test -n "$ac_ct_READELF"; then
8151 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8152 else
8153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8154 for as_dir in $PATH
8156 IFS=$as_save_IFS
8157 test -z "$as_dir" && as_dir=.
8158 for ac_exec_ext in '' $ac_executable_extensions; do
8159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8160 ac_cv_prog_ac_ct_READELF="readelf"
8161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8162 break 2
8164 done
8165 done
8166 IFS=$as_save_IFS
8170 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8171 if test -n "$ac_ct_READELF"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8173 $as_echo "$ac_ct_READELF" >&6; }
8174 else
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8179 if test "x$ac_ct_READELF" = x; then
8180 READELF="true"
8181 else
8182 case $cross_compiling:$ac_tool_warned in
8183 yes:)
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8186 ac_tool_warned=yes ;;
8187 esac
8188 READELF=$ac_ct_READELF
8190 else
8191 READELF="$ac_cv_prog_READELF"
8194 wine_rules_file=conf$$rules.make
8195 rm -f $wine_rules_file
8196 SUBDIRS=""
8198 DISABLED_SUBDIRS=""
8200 CONFIGURE_TARGETS=""
8203 wine_fn_append_file ()
8205 as_fn_append $1 " \\$as_nl $2"
8208 wine_fn_append_rule ()
8210 $as_echo "$1" >>$wine_rules_file
8213 wine_fn_config_makefile ()
8215 wine_fn_append_file SUBDIRS $1
8216 if eval test \"x\$"$2"\" = x"no"; then :
8217 wine_fn_append_file DISABLED_SUBDIRS $1
8221 wine_fn_config_symlink ()
8223 ac_links=$@
8224 wine_fn_append_rule \
8225 "$ac_links:
8226 @./config.status \$@"
8227 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8230 wine_binary="wine"
8231 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8232 WINELOADER_PROGRAMS="$wine_binary"
8234 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8236 case $host_os in
8237 cygwin*|mingw32*)
8238 if test -n "$ac_tool_prefix"; then
8239 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8240 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_DLLTOOL+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 if test -n "$DLLTOOL"; then
8247 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8248 else
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 for as_dir in $PATH
8252 IFS=$as_save_IFS
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258 break 2
8260 done
8261 done
8262 IFS=$as_save_IFS
8266 DLLTOOL=$ac_cv_prog_DLLTOOL
8267 if test -n "$DLLTOOL"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8269 $as_echo "$DLLTOOL" >&6; }
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8277 if test -z "$ac_cv_prog_DLLTOOL"; then
8278 ac_ct_DLLTOOL=$DLLTOOL
8279 # Extract the first word of "dlltool", so it can be a program name with args.
8280 set dummy dlltool; ac_word=$2
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8282 $as_echo_n "checking for $ac_word... " >&6; }
8283 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 if test -n "$ac_ct_DLLTOOL"; then
8287 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8288 else
8289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290 for as_dir in $PATH
8292 IFS=$as_save_IFS
8293 test -z "$as_dir" && as_dir=.
8294 for ac_exec_ext in '' $ac_executable_extensions; do
8295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8296 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8298 break 2
8300 done
8301 done
8302 IFS=$as_save_IFS
8306 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8307 if test -n "$ac_ct_DLLTOOL"; then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8309 $as_echo "$ac_ct_DLLTOOL" >&6; }
8310 else
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8315 if test "x$ac_ct_DLLTOOL" = x; then
8316 DLLTOOL="false"
8317 else
8318 case $cross_compiling:$ac_tool_warned in
8319 yes:)
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8322 ac_tool_warned=yes ;;
8323 esac
8324 DLLTOOL=$ac_ct_DLLTOOL
8326 else
8327 DLLTOOL="$ac_cv_prog_DLLTOOL"
8330 LIBEXT="dll"
8331 DLLEXT=""
8332 case $host_cpu in
8333 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8334 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8335 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 ac_wine_try_cflags_saved=$CFLAGS
8339 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 int main(int argc, char **argv) { return 0; }
8343 _ACEOF
8344 if ac_fn_c_try_link "$LINENO"; then :
8345 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8346 else
8347 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8349 rm -f core conftest.err conftest.$ac_objext \
8350 conftest$ac_exeext conftest.$ac_ext
8351 CFLAGS=$ac_wine_try_cflags_saved
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8354 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8355 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8356 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8357 fi ;;
8358 esac
8359 enable_iphlpapi=${enable_iphlpapi:-no}
8360 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8361 enable_ws2_32=${enable_ws2_32:-no}
8362 enable_loader=${enable_loader:-no}
8363 enable_server=${enable_server:-no}
8364 with_x=${with_x:-no}
8365 with_pthread=${with_pthread:-no}
8368 darwin*|macosx*)
8369 ac_ext=m
8370 ac_cpp='$OBJCPP $CPPFLAGS'
8371 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8372 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8373 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8375 ac_ext=m
8376 ac_cpp='$OBJCPP $CPPFLAGS'
8377 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8378 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8379 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8380 if test -n "$ac_tool_prefix"; then
8381 for ac_prog in gcc objcc objc cc CC
8383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_OBJC+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 if test -n "$OBJC"; then
8391 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8396 IFS=$as_save_IFS
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 break 2
8404 done
8405 done
8406 IFS=$as_save_IFS
8410 OBJC=$ac_cv_prog_OBJC
8411 if test -n "$OBJC"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8413 $as_echo "$OBJC" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8420 test -n "$OBJC" && break
8421 done
8423 if test -z "$OBJC"; then
8424 ac_ct_OBJC=$OBJC
8425 for ac_prog in gcc objcc objc cc CC
8427 # Extract the first word of "$ac_prog", so it can be a program name with args.
8428 set dummy $ac_prog; ac_word=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8430 $as_echo_n "checking for $ac_word... " >&6; }
8431 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 if test -n "$ac_ct_OBJC"; then
8435 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8436 else
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8438 for as_dir in $PATH
8440 IFS=$as_save_IFS
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8444 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8446 break 2
8448 done
8449 done
8450 IFS=$as_save_IFS
8454 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8455 if test -n "$ac_ct_OBJC"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8457 $as_echo "$ac_ct_OBJC" >&6; }
8458 else
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8460 $as_echo "no" >&6; }
8464 test -n "$ac_ct_OBJC" && break
8465 done
8467 if test "x$ac_ct_OBJC" = x; then
8468 OBJC="gcc"
8469 else
8470 case $cross_compiling:$ac_tool_warned in
8471 yes:)
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8474 ac_tool_warned=yes ;;
8475 esac
8476 OBJC=$ac_ct_OBJC
8480 # Provide some information about the compiler.
8481 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8482 set X $ac_compile
8483 ac_compiler=$2
8484 for ac_option in --version -v -V -qversion; do
8485 { { ac_try="$ac_compiler $ac_option >&5"
8486 case "(($ac_try" in
8487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8488 *) ac_try_echo=$ac_try;;
8489 esac
8490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8491 $as_echo "$ac_try_echo"; } >&5
8492 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8493 ac_status=$?
8494 if test -s conftest.err; then
8495 sed '10a\
8496 ... rest of stderr output deleted ...
8497 10q' conftest.err >conftest.er1
8498 cat conftest.er1 >&5
8500 rm -f conftest.er1 conftest.err
8501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8502 test $ac_status = 0; }
8503 done
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8506 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8507 if ${ac_cv_objc_compiler_gnu+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8514 main ()
8516 #ifndef __GNUC__
8517 choke me
8518 #endif
8521 return 0;
8523 _ACEOF
8524 if ac_fn_objc_try_compile "$LINENO"; then :
8525 ac_compiler_gnu=yes
8526 else
8527 ac_compiler_gnu=no
8529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8530 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8534 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8535 if test $ac_compiler_gnu = yes; then
8536 GOBJC=yes
8537 else
8538 GOBJC=
8540 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8541 ac_save_OBJCFLAGS=$OBJCFLAGS
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8543 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8544 if ${ac_cv_prog_objc_g+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_save_objc_werror_flag=$ac_objc_werror_flag
8548 ac_objc_werror_flag=yes
8549 ac_cv_prog_objc_g=no
8550 OBJCFLAGS="-g"
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8555 main ()
8559 return 0;
8561 _ACEOF
8562 if ac_fn_objc_try_compile "$LINENO"; then :
8563 ac_cv_prog_objc_g=yes
8564 else
8565 OBJCFLAGS=""
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 :
8579 else
8580 ac_objc_werror_flag=$ac_save_objc_werror_flag
8581 OBJCFLAGS="-g"
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8586 main ()
8590 return 0;
8592 _ACEOF
8593 if ac_fn_objc_try_compile "$LINENO"; then :
8594 ac_cv_prog_objc_g=yes
8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8601 ac_objc_werror_flag=$ac_save_objc_werror_flag
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8604 $as_echo "$ac_cv_prog_objc_g" >&6; }
8605 if test "$ac_test_OBJCFLAGS" = set; then
8606 OBJCFLAGS=$ac_save_OBJCFLAGS
8607 elif test $ac_cv_prog_objc_g = yes; then
8608 if test "$GOBJC" = yes; then
8609 OBJCFLAGS="-g -O2"
8610 else
8611 OBJCFLAGS="-g"
8613 else
8614 if test "$GOBJC" = yes; then
8615 OBJCFLAGS="-O2"
8616 else
8617 OBJCFLAGS=
8620 ac_ext=m
8621 ac_cpp='$OBJCPP $CPPFLAGS'
8622 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8623 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8624 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8627 ac_ext=m
8628 ac_cpp='$OBJCPP $CPPFLAGS'
8629 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8630 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8631 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8633 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8634 if test -z "$OBJCPP"; then
8635 if ${ac_cv_prog_OBJCPP+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 # Double quotes because OBJCPP needs to be expanded
8639 for OBJCPP in "$OBJC -E" "/lib/cpp"
8641 ac_preproc_ok=false
8642 for ac_objc_preproc_warn_flag in '' yes
8644 # Use a header file that comes with gcc, so configuring glibc
8645 # with a fresh cross-compiler works.
8646 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8647 # <limits.h> exists even on freestanding compilers.
8648 # On the NeXT, cc -E runs the code through the compiler's parser,
8649 # not just through cpp. "Syntax error" is here to catch this case.
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 #ifdef __STDC__
8653 # include <limits.h>
8654 #else
8655 # include <assert.h>
8656 #endif
8657 Syntax error
8658 _ACEOF
8659 if ac_fn_objc_try_cpp "$LINENO"; then :
8661 else
8662 # Broken: fails on valid input.
8663 continue
8665 rm -f conftest.err conftest.i conftest.$ac_ext
8667 # OK, works on sane cases. Now check whether nonexistent headers
8668 # can be detected and how.
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 #include <ac_nonexistent.h>
8672 _ACEOF
8673 if ac_fn_objc_try_cpp "$LINENO"; then :
8674 # Broken: success on invalid input.
8675 continue
8676 else
8677 # Passes both tests.
8678 ac_preproc_ok=:
8679 break
8681 rm -f conftest.err conftest.i conftest.$ac_ext
8683 done
8684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8685 rm -f conftest.i conftest.err conftest.$ac_ext
8686 if $ac_preproc_ok; then :
8687 break
8690 done
8691 ac_cv_prog_OBJCPP=$OBJCPP
8694 OBJCPP=$ac_cv_prog_OBJCPP
8695 else
8696 ac_cv_prog_OBJCPP=$OBJCPP
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8699 $as_echo "$OBJCPP" >&6; }
8700 ac_preproc_ok=false
8701 for ac_objc_preproc_warn_flag in '' yes
8703 # Use a header file that comes with gcc, so configuring glibc
8704 # with a fresh cross-compiler works.
8705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8706 # <limits.h> exists even on freestanding compilers.
8707 # On the NeXT, cc -E runs the code through the compiler's parser,
8708 # not just through cpp. "Syntax error" is here to catch this case.
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 #ifdef __STDC__
8712 # include <limits.h>
8713 #else
8714 # include <assert.h>
8715 #endif
8716 Syntax error
8717 _ACEOF
8718 if ac_fn_objc_try_cpp "$LINENO"; then :
8720 else
8721 # Broken: fails on valid input.
8722 continue
8724 rm -f conftest.err conftest.i conftest.$ac_ext
8726 # OK, works on sane cases. Now check whether nonexistent headers
8727 # can be detected and how.
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 #include <ac_nonexistent.h>
8731 _ACEOF
8732 if ac_fn_objc_try_cpp "$LINENO"; then :
8733 # Broken: success on invalid input.
8734 continue
8735 else
8736 # Passes both tests.
8737 ac_preproc_ok=:
8738 break
8740 rm -f conftest.err conftest.i conftest.$ac_ext
8742 done
8743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8744 rm -f conftest.i conftest.err conftest.$ac_ext
8745 if $ac_preproc_ok; then :
8747 else
8748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8750 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8751 See \`config.log' for more details" "$LINENO" 5; }
8754 ac_ext=m
8755 ac_cpp='$OBJCPP $CPPFLAGS'
8756 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8757 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8758 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8761 for ac_header in Metal/Metal.h
8762 do :
8763 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8764 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8765 cat >>confdefs.h <<_ACEOF
8766 #define HAVE_METAL_METAL_H 1
8767 _ACEOF
8771 done
8773 ac_ext=c
8774 ac_cpp='$CPP $CPPFLAGS'
8775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8779 LIBEXT="dylib"
8780 DLLFLAGS="$DLLFLAGS -fPIC"
8781 LDDLLFLAGS="-fPIC"
8782 COREFOUNDATION_LIBS="-framework CoreFoundation"
8784 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8786 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8788 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8790 CORESERVICES_LIBS="-framework CoreServices"
8792 APPKIT_LIBS="-framework AppKit"
8794 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8797 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8799 wine_can_build_preloader=yes
8800 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"
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8802 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8803 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 ac_wine_try_cflags_saved=$CFLAGS
8807 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8810 int main(int argc, char **argv) { return 0; }
8811 _ACEOF
8812 if ac_fn_c_try_link "$LINENO"; then :
8813 ac_cv_cflags__Wl__no_new_main__e__main=yes
8814 else
8815 ac_cv_cflags__Wl__no_new_main__e__main=no
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 CFLAGS=$ac_wine_try_cflags_saved
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8822 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8823 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8824 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8826 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8827 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8834 int main(int argc, char **argv) { return 0; }
8835 _ACEOF
8836 if ac_fn_c_try_link "$LINENO"; then :
8837 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8838 else
8839 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8841 rm -f core conftest.err conftest.$ac_objext \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8846 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8847 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8848 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8849 else
8850 { $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
8851 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8852 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_wine_try_cflags_saved=$CFLAGS
8856 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8863 else
8864 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 { $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
8871 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8872 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8873 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8874 else
8875 wine_can_build_preloader=no
8878 else
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8880 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8881 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 ac_wine_try_cflags_saved=$CFLAGS
8885 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8888 int main(int argc, char **argv) { return 0; }
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8892 else
8893 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8897 CFLAGS=$ac_wine_try_cflags_saved
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8900 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8901 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8902 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8903 else
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8905 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8906 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 ac_wine_try_cflags_saved=$CFLAGS
8910 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8913 int main(int argc, char **argv) { return 0; }
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8917 else
8918 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8920 rm -f core conftest.err conftest.$ac_objext \
8921 conftest$ac_exeext conftest.$ac_ext
8922 CFLAGS=$ac_wine_try_cflags_saved
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8925 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8926 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8927 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8928 else
8929 wine_can_build_preloader=no
8933 if test "$wine_can_build_preloader" = "yes"
8934 then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8936 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8937 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 ac_wine_try_cflags_saved=$CFLAGS
8941 CFLAGS="$CFLAGS -Wl,-no_pie"
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8944 int main(int argc, char **argv) { return 0; }
8945 _ACEOF
8946 if ac_fn_c_try_link "$LINENO"; then :
8947 ac_cv_cflags__Wl__no_pie=yes
8948 else
8949 ac_cv_cflags__Wl__no_pie=no
8951 rm -f core conftest.err conftest.$ac_objext \
8952 conftest$ac_exeext conftest.$ac_ext
8953 CFLAGS=$ac_wine_try_cflags_saved
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8956 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8957 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8958 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8960 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8961 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8962 else
8963 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8966 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8967 then
8968 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8971 if test "$ac_cv_header_Security_Security_h" = "yes"
8972 then
8973 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8975 ac_save_LIBS="$LIBS"
8976 LIBS="$LIBS $SECURITY_LIBS"
8977 for ac_func in SSLCopyPeerCertificates
8978 do :
8979 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8980 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8981 cat >>confdefs.h <<_ACEOF
8982 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8983 _ACEOF
8986 done
8988 LIBS="$ac_save_LIBS"
8990 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8991 then
8992 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8994 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8996 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8997 then
8998 OPENAL_LIBS="-framework OpenAL"
9001 cat >>confdefs.h <<_ACEOF
9002 #define HAVE_OPENAL 1
9003 _ACEOF
9005 ac_cv_lib_openal=yes
9007 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9008 then
9009 OPENCL_LIBS="-framework OpenCL"
9011 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9013 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9014 then
9015 ac_save_LIBS="$LIBS"
9016 LIBS="$LIBS $IOKIT_LIBS"
9017 for ac_func in IOHIDManagerCreate
9018 do :
9019 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9020 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9021 cat >>confdefs.h <<_ACEOF
9022 #define HAVE_IOHIDMANAGERCREATE 1
9023 _ACEOF
9026 done
9028 LIBS="$ac_save_LIBS"
9031 if test "x$with_quicktime" != "xno"
9032 then
9033 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9034 then
9035 ac_save_LIBS="$LIBS"
9036 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9038 $as_echo_n "checking for the QuickTime framework... " >&6; }
9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9040 /* end confdefs.h. */
9041 #include <QuickTime/ImageCompression.h>
9043 main ()
9045 CodecManagerVersion(NULL);
9047 return 0;
9049 _ACEOF
9050 if ac_fn_c_try_link "$LINENO"; then :
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9052 $as_echo "yes" >&6; }
9053 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9055 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9056 else
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9058 $as_echo "no" >&6; }
9059 ac_cv_header_QuickTime_ImageCompression_h=no
9061 rm -f core conftest.err conftest.$ac_objext \
9062 conftest$ac_exeext conftest.$ac_ext
9063 LIBS="$ac_save_LIBS"
9066 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9067 case "x$with_quicktime" in
9068 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9069 xno) ;;
9070 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9071 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9072 esac
9076 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9077 then
9078 CARBON_LIBS="-framework Carbon"
9081 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9082 then
9083 METAL_LIBS="-framework Metal -framework QuartzCore"
9087 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9088 then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9090 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9091 ac_ext=m
9092 ac_cpp='$OBJCPP $CPPFLAGS'
9093 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9094 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9095 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9099 #include <Metal/Metal.h>
9101 main ()
9103 id<MTLDevice> device; device.registryID;
9105 return 0;
9107 _ACEOF
9108 if ac_fn_objc_try_compile "$LINENO"; then :
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9110 $as_echo "yes" >&6; }
9112 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9114 else
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9119 ac_ext=c
9120 ac_cpp='$CPP $CPPFLAGS'
9121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9127 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9128 then
9129 ac_save_LIBS="$LIBS"
9130 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9131 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9132 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9133 enable_winemac_drv=${enable_winemac_drv:-yes}
9136 LIBS="$ac_save_LIBS"
9139 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9141 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9143 WINELOADER_DEPENDS="wine_info.plist"
9145 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9148 linux-android*)
9149 DLLFLAGS="$DLLFLAGS -fPIC"
9150 LDDLLFLAGS="-fPIC"
9151 LDEXECFLAGS="-Wl,-pie"
9152 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9154 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9155 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 ac_wine_try_cflags_saved=$CFLAGS
9159 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 int main(int argc, char **argv) { return 0; }
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9166 else
9167 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 CFLAGS=$ac_wine_try_cflags_saved
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9174 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9175 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9176 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9178 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9181 $as_echo_n "checking for -lEGL... " >&6; }
9182 if ${ac_cv_lib_soname_EGL+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 ac_check_soname_save_LIBS=$LIBS
9186 LIBS="-lEGL $LIBS"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9193 #ifdef __cplusplus
9194 extern "C"
9195 #endif
9196 char eglGetProcAddress ();
9198 main ()
9200 return eglGetProcAddress ();
9202 return 0;
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 case "$LIBEXT" in
9207 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9212 fi ;;
9213 esac
9214 else
9215 ac_cv_lib_soname_EGL=
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 LIBS=$ac_check_soname_save_LIBS
9221 if ${ac_cv_lib_soname_EGL:+false} :; then :
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9223 $as_echo "not found" >&6; }
9225 else
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9227 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9229 cat >>confdefs.h <<_ACEOF
9230 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9231 _ACEOF
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9236 $as_echo_n "checking for -lGLESv2... " >&6; }
9237 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_soname_save_LIBS=$LIBS
9241 LIBS="-lGLESv2 $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char glFlush ();
9253 main ()
9255 return glFlush ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 case "$LIBEXT" in
9262 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9263 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'` ;;
9264 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9267 fi ;;
9268 esac
9269 else
9270 ac_cv_lib_soname_GLESv2=
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_soname_save_LIBS
9276 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9278 $as_echo "not found" >&6; }
9280 else
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9282 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9284 cat >>confdefs.h <<_ACEOF
9285 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9286 _ACEOF
9291 if test "x$exec_prefix" = xNONE
9292 then
9293 case $host_cpu in
9294 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9295 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9296 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9297 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9298 esac
9303 case $host_cpu in
9304 *i[3456789]86*)
9305 DLLFLAGS="$DLLFLAGS -fno-PIC"
9306 LDDLLFLAGS="-fno-PIC"
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9308 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9309 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_wine_try_cflags_saved=$CFLAGS
9313 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9316 int main(int argc, char **argv) { return 0; }
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9319 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9320 else
9321 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9323 rm -f core conftest.err conftest.$ac_objext \
9324 conftest$ac_exeext conftest.$ac_ext
9325 CFLAGS=$ac_wine_try_cflags_saved
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9328 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9329 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9330 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9334 DLLFLAGS="$DLLFLAGS -fPIC"
9335 LDDLLFLAGS="-fPIC" ;;
9336 esac
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9338 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9339 if ${ac_cv_c_dll_gnuelf+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_wine_try_cflags_saved=$CFLAGS
9343 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9346 void myfunc() {}
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9350 else
9351 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 CFLAGS=$ac_wine_try_cflags_saved
9356 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9357 ac_cv_c_dll_gnuelf="yes"
9358 else
9359 ac_cv_c_dll_gnuelf="no"
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9363 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9364 if test "$ac_cv_c_dll_gnuelf" = "yes"
9365 then
9366 LIBWINE_LDFLAGS="-shared"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9368 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9369 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_wine_try_cflags_saved=$CFLAGS
9373 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9376 int main(int argc, char **argv) { return 0; }
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9380 else
9381 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9388 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9389 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9390 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9391 else
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9393 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9394 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9405 else
9406 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9413 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9414 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9415 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9419 echo '{ global: *; };' >conftest.map
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9421 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9422 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9433 else
9434 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 CFLAGS=$ac_wine_try_cflags_saved
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9441 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9442 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9443 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9445 rm -f conftest.map
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9449 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_cflags__Wl___export_dynamic=yes
9460 else
9461 ac_cv_cflags__Wl___export_dynamic=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9468 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9469 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9470 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9472 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9474 case $host_cpu in
9475 *i[3456789]86* | x86_64 | *aarch64*)
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9477 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9478 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9489 else
9490 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 CFLAGS=$ac_wine_try_cflags_saved
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9497 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9498 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9499 case $host_os in
9500 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9501 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9502 esac
9503 else
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9505 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9506 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9517 else
9518 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9525 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9526 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9527 case $host_os in
9528 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9529 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9530 esac
9532 # Extract the first word of "prelink", so it can be a program name with args.
9533 set dummy prelink; ac_word=$2
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9535 $as_echo_n "checking for $ac_word... " >&6; }
9536 if ${ac_cv_path_PRELINK+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 case $PRELINK in
9540 [\\/]* | ?:[\\/]*)
9541 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 for as_dir in /sbin /usr/sbin $PATH
9547 IFS=$as_save_IFS
9548 test -z "$as_dir" && as_dir=.
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9551 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9553 break 2
9555 done
9556 done
9557 IFS=$as_save_IFS
9559 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9561 esac
9563 PRELINK=$ac_cv_path_PRELINK
9564 if test -n "$PRELINK"; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9566 $as_echo "$PRELINK" >&6; }
9567 else
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9569 $as_echo "no" >&6; }
9573 if test "x$PRELINK" = xfalse
9574 then
9575 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9579 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9580 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_wine_try_cflags_saved=$CFLAGS
9584 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9587 int main(int argc, char **argv) { return 0; }
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"; then :
9590 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9591 else
9592 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 CFLAGS=$ac_wine_try_cflags_saved
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9599 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9600 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9601 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9604 esac
9606 else
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9608 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9609 if ${ac_cv_c_dll_unixware+:} false; then :
9610 $as_echo_n "(cached) " >&6
9611 else
9612 ac_wine_try_cflags_saved=$CFLAGS
9613 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9616 void myfunc() {}
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9620 else
9621 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 CFLAGS=$ac_wine_try_cflags_saved
9626 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9627 ac_cv_c_dll_unixware="yes"
9628 else
9629 ac_cv_c_dll_unixware="no"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9633 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9634 if test "$ac_cv_c_dll_unixware" = "yes"
9635 then
9636 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9639 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9641 LIBWINE_DEPENDS="wine.map"
9643 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9645 esac
9647 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9648 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9649 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9650 enable_winemac_drv=${enable_winemac_drv:-no}
9651 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9654 if test "x$with_mingw" != xno
9655 then
9656 case "x$with_mingw" in
9657 x|xyes) case "$host_cpu" in
9658 aarch64*)
9659 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9660 arm*)
9661 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9662 i[3456789]86*)
9663 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
9664 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9665 mingw32-gcc clang" ;;
9666 x86_64)
9667 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
9668 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9670 ac_prefix_list="" ;;
9671 esac
9672 for ac_prog in $ac_prefix_list
9674 # Extract the first word of "$ac_prog", so it can be a program name with args.
9675 set dummy $ac_prog; ac_word=$2
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9677 $as_echo_n "checking for $ac_word... " >&6; }
9678 if ${ac_cv_prog_CROSSCC+:} false; then :
9679 $as_echo_n "(cached) " >&6
9680 else
9681 if test -n "$CROSSCC"; then
9682 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9683 else
9684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685 for as_dir in $PATH
9687 IFS=$as_save_IFS
9688 test -z "$as_dir" && as_dir=.
9689 for ac_exec_ext in '' $ac_executable_extensions; do
9690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9691 ac_cv_prog_CROSSCC="$ac_prog"
9692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 break 2
9695 done
9696 done
9697 IFS=$as_save_IFS
9701 CROSSCC=$ac_cv_prog_CROSSCC
9702 if test -n "$CROSSCC"; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9704 $as_echo "$CROSSCC" >&6; }
9705 else
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9707 $as_echo "no" >&6; }
9711 test -n "$CROSSCC" && break
9712 done
9713 test -n "$CROSSCC" || CROSSCC="false"
9715 *) CROSSCC=$with_mingw ;;
9716 esac
9717 if test "$CROSSCC" != "false"
9718 then
9719 ac_save_CC="$CC"
9720 saved_CFLAGS=$CFLAGS
9721 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9723 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9727 CC="$CROSSCC"
9728 CFLAGS=$CROSSCFLAGS
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9730 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9731 if ${wine_cv_crosscc+:} false; then :
9732 $as_echo_n "(cached) " >&6
9733 else
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9738 main ()
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_compile "$LINENO"; then :
9746 wine_cv_crosscc=yes
9747 else
9748 wine_cv_crosscc=no
9750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9753 $as_echo "$wine_cv_crosscc" >&6; }
9754 if test $wine_cv_crosscc = yes
9755 then
9756 set x $CROSSCC
9757 shift
9758 while test $# -ge 1
9760 case "$1" in
9761 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9762 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9763 esac
9764 shift
9765 done
9767 llvm_target=$CROSSTARGET
9768 llvm_cflags="-fuse-ld=lld"
9769 if test -z "$llvm_target"
9770 then
9771 case $host_cpu in
9772 *i[3456789]86*) llvm_target=i686-windows ;;
9773 *) llvm_target=$host_cpu-windows ;;
9774 esac
9776 case $llvm_target in
9777 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9778 esac
9779 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9781 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9782 if eval \${$as_ac_var+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_wine_try_cflags_saved=$CFLAGS
9786 ac_wine_try_cflags_saved_cc=$CC
9787 ac_wine_try_cflags_saved_exeext=$ac_exeext
9788 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9789 CC="$CROSSCC"
9790 ac_exeext=".exe"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9793 int __cdecl mainCRTStartup(void) { return 0; }
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 eval "$as_ac_var=yes"
9797 else
9798 eval "$as_ac_var=no"
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 CFLAGS=$ac_wine_try_cflags_saved
9803 CC=$ac_wine_try_cflags_saved_cc
9804 ac_exeext=$ac_wine_try_cflags_saved_exeext
9806 eval ac_res=\$$as_ac_var
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9808 $as_echo "$ac_res" >&6; }
9809 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9810 CROSSTARGET=$llvm_target
9811 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9812 DELAYLOADFLAG="-Wl,-delayload,"
9814 CFLAGS="$CFLAGS $llvm_cflags"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9818 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9819 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9820 $as_echo_n "(cached) " >&6
9821 else
9822 ac_wine_try_cflags_saved=$CFLAGS
9823 ac_wine_try_cflags_saved_cc=$CC
9824 ac_wine_try_cflags_saved_exeext=$ac_exeext
9825 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9826 CC="$CROSSCC"
9827 ac_exeext=".exe"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9830 int __cdecl mainCRTStartup(void) { return 0; }
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_crosscflags__fno_strict_aliasing=yes
9834 else
9835 ac_cv_crosscflags__fno_strict_aliasing=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 CFLAGS=$ac_wine_try_cflags_saved
9840 CC=$ac_wine_try_cflags_saved_cc
9841 ac_exeext=$ac_wine_try_cflags_saved_exeext
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9844 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9845 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9846 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9849 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9850 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_wine_try_cflags_saved=$CFLAGS
9854 ac_wine_try_cflags_saved_cc=$CC
9855 ac_wine_try_cflags_saved_exeext=$ac_exeext
9856 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9857 CC="$CROSSCC"
9858 ac_exeext=".exe"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9861 int __cdecl mainCRTStartup(void) { return 0; }
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9865 else
9866 ac_cv_crosscflags__Werror_unknown_warning_option=no
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 CFLAGS=$ac_wine_try_cflags_saved
9871 CC=$ac_wine_try_cflags_saved_cc
9872 ac_exeext=$ac_wine_try_cflags_saved_exeext
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9875 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9876 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9877 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9880 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9881 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9882 $as_echo_n "(cached) " >&6
9883 else
9884 ac_wine_try_cflags_saved=$CFLAGS
9885 ac_wine_try_cflags_saved_cc=$CC
9886 ac_wine_try_cflags_saved_exeext=$ac_exeext
9887 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9888 CC="$CROSSCC"
9889 ac_exeext=".exe"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 int __cdecl mainCRTStartup(void) { return 0; }
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9896 else
9897 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 CFLAGS=$ac_wine_try_cflags_saved
9902 CC=$ac_wine_try_cflags_saved_cc
9903 ac_exeext=$ac_wine_try_cflags_saved_exeext
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9906 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9907 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9908 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9911 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9912 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9913 $as_echo_n "(cached) " >&6
9914 else
9915 ac_wine_try_cflags_saved=$CFLAGS
9916 ac_wine_try_cflags_saved_cc=$CC
9917 ac_wine_try_cflags_saved_exeext=$ac_exeext
9918 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9919 CC="$CROSSCC"
9920 ac_exeext=".exe"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 int __cdecl mainCRTStartup(void) { return 0; }
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9927 else
9928 ac_cv_crosscflags__Wdeclaration_after_statement=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 CFLAGS=$ac_wine_try_cflags_saved
9933 CC=$ac_wine_try_cflags_saved_cc
9934 ac_exeext=$ac_wine_try_cflags_saved_exeext
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9937 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9938 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9939 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9942 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9943 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 ac_wine_try_cflags_saved_cc=$CC
9948 ac_wine_try_cflags_saved_exeext=$ac_exeext
9949 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9950 CC="$CROSSCC"
9951 ac_exeext=".exe"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9954 int __cdecl mainCRTStartup(void) { return 0; }
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 ac_cv_crosscflags__Wempty_body=yes
9958 else
9959 ac_cv_crosscflags__Wempty_body=no
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 CFLAGS=$ac_wine_try_cflags_saved
9964 CC=$ac_wine_try_cflags_saved_cc
9965 ac_exeext=$ac_wine_try_cflags_saved_exeext
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9968 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9969 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9970 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9973 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9974 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9975 $as_echo_n "(cached) " >&6
9976 else
9977 ac_wine_try_cflags_saved=$CFLAGS
9978 ac_wine_try_cflags_saved_cc=$CC
9979 ac_wine_try_cflags_saved_exeext=$ac_exeext
9980 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9981 CC="$CROSSCC"
9982 ac_exeext=".exe"
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9985 int __cdecl mainCRTStartup(void) { return 0; }
9986 _ACEOF
9987 if ac_fn_c_try_link "$LINENO"; then :
9988 ac_cv_crosscflags__Wignored_qualifiers=yes
9989 else
9990 ac_cv_crosscflags__Wignored_qualifiers=no
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 CFLAGS=$ac_wine_try_cflags_saved
9995 CC=$ac_wine_try_cflags_saved_cc
9996 ac_exeext=$ac_wine_try_cflags_saved_exeext
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9999 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10000 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10001 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10004 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10005 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_wine_try_cflags_saved=$CFLAGS
10009 ac_wine_try_cflags_saved_cc=$CC
10010 ac_wine_try_cflags_saved_exeext=$ac_exeext
10011 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10012 CC="$CROSSCC"
10013 ac_exeext=".exe"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10016 int __cdecl mainCRTStartup(void) { return 0; }
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"; then :
10019 ac_cv_crosscflags__Winit_self=yes
10020 else
10021 ac_cv_crosscflags__Winit_self=no
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 CFLAGS=$ac_wine_try_cflags_saved
10026 CC=$ac_wine_try_cflags_saved_cc
10027 ac_exeext=$ac_wine_try_cflags_saved_exeext
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10030 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10031 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10032 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10035 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10036 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_wine_try_cflags_saved=$CFLAGS
10040 ac_wine_try_cflags_saved_cc=$CC
10041 ac_wine_try_cflags_saved_exeext=$ac_exeext
10042 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10043 CC="$CROSSCC"
10044 ac_exeext=".exe"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10047 int __cdecl mainCRTStartup(void) { return 0; }
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_crosscflags__Wpacked_not_aligned=yes
10051 else
10052 ac_cv_crosscflags__Wpacked_not_aligned=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 CFLAGS=$ac_wine_try_cflags_saved
10057 CC=$ac_wine_try_cflags_saved_cc
10058 ac_exeext=$ac_wine_try_cflags_saved_exeext
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10061 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10062 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10063 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10066 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10067 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_wine_try_cflags_saved=$CFLAGS
10071 ac_wine_try_cflags_saved_cc=$CC
10072 ac_wine_try_cflags_saved_exeext=$ac_exeext
10073 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10074 CC="$CROSSCC"
10075 ac_exeext=".exe"
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10078 int __cdecl mainCRTStartup(void) { return 0; }
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 ac_cv_crosscflags__Wpragma_pack=yes
10082 else
10083 ac_cv_crosscflags__Wpragma_pack=no
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 CFLAGS=$ac_wine_try_cflags_saved
10088 CC=$ac_wine_try_cflags_saved_cc
10089 ac_exeext=$ac_wine_try_cflags_saved_exeext
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10092 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10093 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10094 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10097 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10098 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_wine_try_cflags_saved=$CFLAGS
10102 ac_wine_try_cflags_saved_cc=$CC
10103 ac_wine_try_cflags_saved_exeext=$ac_exeext
10104 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10105 CC="$CROSSCC"
10106 ac_exeext=".exe"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10109 int __cdecl mainCRTStartup(void) { return 0; }
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 ac_cv_crosscflags__Wshift_overflow_2=yes
10113 else
10114 ac_cv_crosscflags__Wshift_overflow_2=no
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 CFLAGS=$ac_wine_try_cflags_saved
10119 CC=$ac_wine_try_cflags_saved_cc
10120 ac_exeext=$ac_wine_try_cflags_saved_exeext
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10123 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10124 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10125 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10128 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10129 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10130 $as_echo_n "(cached) " >&6
10131 else
10132 ac_wine_try_cflags_saved=$CFLAGS
10133 ac_wine_try_cflags_saved_cc=$CC
10134 ac_wine_try_cflags_saved_exeext=$ac_exeext
10135 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10136 CC="$CROSSCC"
10137 ac_exeext=".exe"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int __cdecl mainCRTStartup(void) { return 0; }
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 ac_cv_crosscflags__Wstrict_prototypes=yes
10144 else
10145 ac_cv_crosscflags__Wstrict_prototypes=no
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10150 CC=$ac_wine_try_cflags_saved_cc
10151 ac_exeext=$ac_wine_try_cflags_saved_exeext
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10154 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10155 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10156 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10159 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10160 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_wine_try_cflags_saved=$CFLAGS
10164 ac_wine_try_cflags_saved_cc=$CC
10165 ac_wine_try_cflags_saved_exeext=$ac_exeext
10166 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10167 CC="$CROSSCC"
10168 ac_exeext=".exe"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10171 int __cdecl mainCRTStartup(void) { return 0; }
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then :
10174 ac_cv_crosscflags__Wtype_limits=yes
10175 else
10176 ac_cv_crosscflags__Wtype_limits=no
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_wine_try_cflags_saved
10181 CC=$ac_wine_try_cflags_saved_cc
10182 ac_exeext=$ac_wine_try_cflags_saved_exeext
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10185 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10186 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10187 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10190 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10191 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10192 $as_echo_n "(cached) " >&6
10193 else
10194 ac_wine_try_cflags_saved=$CFLAGS
10195 ac_wine_try_cflags_saved_cc=$CC
10196 ac_wine_try_cflags_saved_exeext=$ac_exeext
10197 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10198 CC="$CROSSCC"
10199 ac_exeext=".exe"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int __cdecl mainCRTStartup(void) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"; then :
10205 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10206 else
10207 ac_cv_crosscflags__Wunused_but_set_parameter=no
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 CFLAGS=$ac_wine_try_cflags_saved
10212 CC=$ac_wine_try_cflags_saved_cc
10213 ac_exeext=$ac_wine_try_cflags_saved_exeext
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10216 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10217 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10218 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10221 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10222 if ${ac_cv_crosscflags__Wvla+:} false; then :
10223 $as_echo_n "(cached) " >&6
10224 else
10225 ac_wine_try_cflags_saved=$CFLAGS
10226 ac_wine_try_cflags_saved_cc=$CC
10227 ac_wine_try_cflags_saved_exeext=$ac_exeext
10228 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10229 CC="$CROSSCC"
10230 ac_exeext=".exe"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10233 int __cdecl mainCRTStartup(void) { return 0; }
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_crosscflags__Wvla=yes
10237 else
10238 ac_cv_crosscflags__Wvla=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 CFLAGS=$ac_wine_try_cflags_saved
10243 CC=$ac_wine_try_cflags_saved_cc
10244 ac_exeext=$ac_wine_try_cflags_saved_exeext
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10247 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10248 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10249 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10252 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10253 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_wine_try_cflags_saved=$CFLAGS
10257 ac_wine_try_cflags_saved_cc=$CC
10258 ac_wine_try_cflags_saved_exeext=$ac_exeext
10259 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10260 CC="$CROSSCC"
10261 ac_exeext=".exe"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10264 int __cdecl mainCRTStartup(void) { return 0; }
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 ac_cv_crosscflags__Wwrite_strings=yes
10268 else
10269 ac_cv_crosscflags__Wwrite_strings=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 CFLAGS=$ac_wine_try_cflags_saved
10274 CC=$ac_wine_try_cflags_saved_cc
10275 ac_exeext=$ac_wine_try_cflags_saved_exeext
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10278 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10279 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10280 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10283 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10284 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 ac_wine_try_cflags_saved=$CFLAGS
10288 ac_wine_try_cflags_saved_cc=$CC
10289 ac_wine_try_cflags_saved_exeext=$ac_exeext
10290 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10291 CC="$CROSSCC"
10292 ac_exeext=".exe"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 int __cdecl mainCRTStartup(void) { return 0; }
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_crosscflags__Wpointer_arith=yes
10299 else
10300 ac_cv_crosscflags__Wpointer_arith=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 CFLAGS=$ac_wine_try_cflags_saved
10305 CC=$ac_wine_try_cflags_saved_cc
10306 ac_exeext=$ac_wine_try_cflags_saved_exeext
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10309 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10310 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10311 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10314 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10315 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10316 $as_echo_n "(cached) " >&6
10317 else
10318 ac_wine_try_cflags_saved=$CFLAGS
10319 ac_wine_try_cflags_saved_cc=$CC
10320 ac_wine_try_cflags_saved_exeext=$ac_exeext
10321 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10322 CC="$CROSSCC"
10323 ac_exeext=".exe"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 int __cdecl mainCRTStartup(void) { return 0; }
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 ac_cv_crosscflags__Wlogical_op=yes
10330 else
10331 ac_cv_crosscflags__Wlogical_op=no
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10336 CC=$ac_wine_try_cflags_saved_cc
10337 ac_exeext=$ac_wine_try_cflags_saved_exeext
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10340 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10341 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10342 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10345 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10346 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_wine_try_cflags_saved=$CFLAGS
10350 ac_wine_try_cflags_saved_cc=$CC
10351 ac_wine_try_cflags_saved_exeext=$ac_exeext
10352 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10353 CC="$CROSSCC"
10354 ac_exeext=".exe"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int __cdecl mainCRTStartup(void) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 ac_cv_crosscflags__Wabsolute_value=yes
10361 else
10362 ac_cv_crosscflags__Wabsolute_value=no
10364 rm -f core conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10367 CC=$ac_wine_try_cflags_saved_cc
10368 ac_exeext=$ac_wine_try_cflags_saved_exeext
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10371 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10372 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10373 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10376 case $host_cpu in
10377 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10378 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10379 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10380 $as_echo_n "(cached) " >&6
10381 else
10382 ac_wine_try_cflags_saved=$CFLAGS
10383 ac_wine_try_cflags_saved_cc=$CC
10384 ac_wine_try_cflags_saved_exeext=$ac_exeext
10385 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10386 CC="$CROSSCC"
10387 ac_exeext=".exe"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int __cdecl mainCRTStartup(void) { return 0; }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10394 else
10395 ac_cv_crosscflags__fno_omit_frame_pointer=no
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10400 CC=$ac_wine_try_cflags_saved_cc
10401 ac_exeext=$ac_wine_try_cflags_saved_exeext
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10404 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10405 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10406 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10407 fi ;;
10408 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10409 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10410 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10411 $as_echo_n "(cached) " >&6
10412 else
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 ac_wine_try_cflags_saved_cc=$CC
10415 ac_wine_try_cflags_saved_exeext=$ac_exeext
10416 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10417 CC="$CROSSCC"
10418 ac_exeext=".exe"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int __cdecl mainCRTStartup(void) { return 0; }
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 ac_cv_crosscflags__Wno_format=yes
10425 else
10426 ac_cv_crosscflags__Wno_format=no
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 CFLAGS=$ac_wine_try_cflags_saved
10431 CC=$ac_wine_try_cflags_saved_cc
10432 ac_exeext=$ac_wine_try_cflags_saved_exeext
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10435 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10436 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10437 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10440 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10441 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10442 $as_echo_n "(cached) " >&6
10443 else
10444 ac_wine_try_cflags_saved=$CFLAGS
10445 ac_wine_try_cflags_saved_cc=$CC
10446 ac_wine_try_cflags_saved_exeext=$ac_exeext
10447 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10448 CC="$CROSSCC"
10449 ac_exeext=".exe"
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10452 int __cdecl mainCRTStartup(void) { return 0; }
10453 _ACEOF
10454 if ac_fn_c_try_link "$LINENO"; then :
10455 ac_cv_crosscflags__Wformat_overflow=yes
10456 else
10457 ac_cv_crosscflags__Wformat_overflow=no
10459 rm -f core conftest.err conftest.$ac_objext \
10460 conftest$ac_exeext conftest.$ac_ext
10461 CFLAGS=$ac_wine_try_cflags_saved
10462 CC=$ac_wine_try_cflags_saved_cc
10463 ac_exeext=$ac_wine_try_cflags_saved_exeext
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10466 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10467 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10468 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10471 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10472 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_wine_try_cflags_saved=$CFLAGS
10476 ac_wine_try_cflags_saved_cc=$CC
10477 ac_wine_try_cflags_saved_exeext=$ac_exeext
10478 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10479 CC="$CROSSCC"
10480 ac_exeext=".exe"
10481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10483 int __cdecl mainCRTStartup(void) { return 0; }
10484 _ACEOF
10485 if ac_fn_c_try_link "$LINENO"; then :
10486 ac_cv_crosscflags__Wnonnull=yes
10487 else
10488 ac_cv_crosscflags__Wnonnull=no
10490 rm -f core conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 CFLAGS=$ac_wine_try_cflags_saved
10493 CC=$ac_wine_try_cflags_saved_cc
10494 ac_exeext=$ac_wine_try_cflags_saved_exeext
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10497 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10498 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10499 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10502 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10503 if ${ac_cv_crosscflags__mcx16+:} false; then :
10504 $as_echo_n "(cached) " >&6
10505 else
10506 ac_wine_try_cflags_saved=$CFLAGS
10507 ac_wine_try_cflags_saved_cc=$CC
10508 ac_wine_try_cflags_saved_exeext=$ac_exeext
10509 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10510 CC="$CROSSCC"
10511 ac_exeext=".exe"
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10514 int __cdecl mainCRTStartup(void) { return 0; }
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 ac_cv_crosscflags__mcx16=yes
10518 else
10519 ac_cv_crosscflags__mcx16=no
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 CFLAGS=$ac_wine_try_cflags_saved
10524 CC=$ac_wine_try_cflags_saved_cc
10525 ac_exeext=$ac_wine_try_cflags_saved_exeext
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10528 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10529 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10530 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10531 fi ;;
10532 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10533 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10534 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10535 $as_echo_n "(cached) " >&6
10536 else
10537 ac_wine_try_cflags_saved=$CFLAGS
10538 ac_wine_try_cflags_saved_cc=$CC
10539 ac_wine_try_cflags_saved_exeext=$ac_exeext
10540 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10541 CC="$CROSSCC"
10542 ac_exeext=".exe"
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10545 int __cdecl mainCRTStartup(void) { return 0; }
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 ac_cv_crosscflags__Wno_format=yes
10549 else
10550 ac_cv_crosscflags__Wno_format=no
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 CFLAGS=$ac_wine_try_cflags_saved
10555 CC=$ac_wine_try_cflags_saved_cc
10556 ac_exeext=$ac_wine_try_cflags_saved_exeext
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10559 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10560 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10561 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10562 fi ;;
10563 esac
10566 if test -z "$CROSSDEBUG"
10567 then
10568 for ac_flag in $CROSSCFLAGS; do
10569 case $ac_flag in
10570 -gdwarf*) CROSSDEBUG=dwarf ;;
10571 -gcodeview) CROSSDEBUG=pdb ;;
10572 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10573 esac
10574 done
10576 case $CROSSDEBUG in
10577 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10578 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10579 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10580 $as_echo_n "(cached) " >&6
10581 else
10582 ac_wine_try_cflags_saved=$CFLAGS
10583 ac_wine_try_cflags_saved_cc=$CC
10584 ac_wine_try_cflags_saved_exeext=$ac_exeext
10585 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10586 CC="$CROSSCC"
10587 ac_exeext=".exe"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10590 int __cdecl mainCRTStartup(void) { return 0; }
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 ac_cv_crosscflags__gdwarf_2=yes
10594 else
10595 ac_cv_crosscflags__gdwarf_2=no
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 CFLAGS=$ac_wine_try_cflags_saved
10600 CC=$ac_wine_try_cflags_saved_cc
10601 ac_exeext=$ac_wine_try_cflags_saved_exeext
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10604 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10605 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10606 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10609 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10610 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10611 $as_echo_n "(cached) " >&6
10612 else
10613 ac_wine_try_cflags_saved=$CFLAGS
10614 ac_wine_try_cflags_saved_cc=$CC
10615 ac_wine_try_cflags_saved_exeext=$ac_exeext
10616 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10617 CC="$CROSSCC"
10618 ac_exeext=".exe"
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10621 int __cdecl mainCRTStartup(void) { return 0; }
10622 _ACEOF
10623 if ac_fn_c_try_link "$LINENO"; then :
10624 ac_cv_crosscflags__gstrict_dwarf=yes
10625 else
10626 ac_cv_crosscflags__gstrict_dwarf=no
10628 rm -f core conftest.err conftest.$ac_objext \
10629 conftest$ac_exeext conftest.$ac_ext
10630 CFLAGS=$ac_wine_try_cflags_saved
10631 CC=$ac_wine_try_cflags_saved_cc
10632 ac_exeext=$ac_wine_try_cflags_saved_exeext
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10635 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10636 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10637 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10638 fi ;;
10639 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10640 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10641 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_wine_try_cflags_saved=$CFLAGS
10645 ac_wine_try_cflags_saved_cc=$CC
10646 ac_wine_try_cflags_saved_exeext=$ac_exeext
10647 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10648 CC="$CROSSCC"
10649 ac_exeext=".exe"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10652 int __cdecl mainCRTStartup(void) { return 0; }
10653 _ACEOF
10654 if ac_fn_c_try_link "$LINENO"; then :
10655 ac_cv_crosscflags__gcodeview=yes
10656 else
10657 ac_cv_crosscflags__gcodeview=no
10659 rm -f core conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10661 CFLAGS=$ac_wine_try_cflags_saved
10662 CC=$ac_wine_try_cflags_saved_cc
10663 ac_exeext=$ac_wine_try_cflags_saved_exeext
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10666 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10667 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10668 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10669 fi ;;
10670 esac
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10673 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10674 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10675 $as_echo_n "(cached) " >&6
10676 else
10677 ac_wine_try_cflags_saved=$CFLAGS
10678 ac_wine_try_cflags_saved_cc=$CC
10679 ac_wine_try_cflags_saved_exeext=$ac_exeext
10680 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10681 CC="$CROSSCC"
10682 ac_exeext=".exe"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10685 int __cdecl mainCRTStartup(void) { return 0; }
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 ac_cv_crosscflags__fexcess_precision_standard=yes
10689 else
10690 ac_cv_crosscflags__fexcess_precision_standard=no
10692 rm -f core conftest.err conftest.$ac_objext \
10693 conftest$ac_exeext conftest.$ac_ext
10694 CFLAGS=$ac_wine_try_cflags_saved
10695 CC=$ac_wine_try_cflags_saved_cc
10696 ac_exeext=$ac_wine_try_cflags_saved_exeext
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10699 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10700 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10701 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10705 if test "x$enable_werror" = "xyes"
10706 then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10708 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10709 if ${ac_cv_crosscflags__Werror+:} false; then :
10710 $as_echo_n "(cached) " >&6
10711 else
10712 ac_wine_try_cflags_saved=$CFLAGS
10713 ac_wine_try_cflags_saved_cc=$CC
10714 ac_wine_try_cflags_saved_exeext=$ac_exeext
10715 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10716 CC="$CROSSCC"
10717 ac_exeext=".exe"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 int __cdecl mainCRTStartup(void) { return 0; }
10721 _ACEOF
10722 if ac_fn_c_try_link "$LINENO"; then :
10723 ac_cv_crosscflags__Werror=yes
10724 else
10725 ac_cv_crosscflags__Werror=no
10727 rm -f core conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 CFLAGS=$ac_wine_try_cflags_saved
10730 CC=$ac_wine_try_cflags_saved_cc
10731 ac_exeext=$ac_wine_try_cflags_saved_exeext
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10734 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10735 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10736 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10739 if test "x$enable_build_id" = "xyes"
10740 then
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10742 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10743 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10744 $as_echo_n "(cached) " >&6
10745 else
10746 ac_wine_try_cflags_saved=$CFLAGS
10747 ac_wine_try_cflags_saved_cc=$CC
10748 ac_wine_try_cflags_saved_exeext=$ac_exeext
10749 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10750 CC="$CROSSCC"
10751 ac_exeext=".exe"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10754 int __cdecl mainCRTStartup(void) { return 0; }
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"; then :
10757 ac_cv_crosscflags__Wl___build_id=yes
10758 else
10759 ac_cv_crosscflags__Wl___build_id=no
10761 rm -f core conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10763 CFLAGS=$ac_wine_try_cflags_saved
10764 CC=$ac_wine_try_cflags_saved_cc
10765 ac_exeext=$ac_wine_try_cflags_saved_exeext
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10768 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10769 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10770 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10771 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10775 CFLAGS=$saved_CFLAGS
10776 CC="$ac_save_CC"
10779 if test "x$CROSSTARGET" = "x"; then :
10780 case "x$with_mingw" in
10781 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10782 xno) ;;
10783 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10784 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10785 esac
10790 if test "$ac_cv_header_pthread_h" = "yes"
10791 then
10792 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10793 if test "x$ac_cv_func_pthread_create" = xyes; then :
10795 else
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10797 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10798 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10799 $as_echo_n "(cached) " >&6
10800 else
10801 ac_check_lib_save_LIBS=$LIBS
10802 LIBS="-lpthread $LIBS"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char pthread_create ();
10814 main ()
10816 return pthread_create ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 ac_cv_lib_pthread_pthread_create=yes
10823 else
10824 ac_cv_lib_pthread_pthread_create=no
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_lib_save_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10831 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10832 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10833 PTHREAD_LIBS="-lpthread"
10840 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10841 case "x$with_pthread" in
10842 xno) ;;
10843 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10844 Wine cannot support threads without libpthread.
10845 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10846 esac
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10852 $as_echo_n "checking for X... " >&6; }
10855 # Check whether --with-x was given.
10856 if test "${with_x+set}" = set; then :
10857 withval=$with_x;
10860 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10861 if test "x$with_x" = xno; then
10862 # The user explicitly disabled X.
10863 have_x=disabled
10864 else
10865 case $x_includes,$x_libraries in #(
10866 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10867 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10868 $as_echo_n "(cached) " >&6
10869 else
10870 # One or both of the vars are not set, and there is no cached value.
10871 ac_x_includes=no ac_x_libraries=no
10872 rm -f -r conftest.dir
10873 if mkdir conftest.dir; then
10874 cd conftest.dir
10875 cat >Imakefile <<'_ACEOF'
10876 incroot:
10877 @echo incroot='${INCROOT}'
10878 usrlibdir:
10879 @echo usrlibdir='${USRLIBDIR}'
10880 libdir:
10881 @echo libdir='${LIBDIR}'
10882 _ACEOF
10883 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10884 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10885 for ac_var in incroot usrlibdir libdir; do
10886 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10887 done
10888 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10889 for ac_extension in a so sl dylib la dll; do
10890 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10891 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10892 ac_im_usrlibdir=$ac_im_libdir; break
10894 done
10895 # Screen out bogus values from the imake configuration. They are
10896 # bogus both because they are the default anyway, and because
10897 # using them would break gcc on systems where it needs fixed includes.
10898 case $ac_im_incroot in
10899 /usr/include) ac_x_includes= ;;
10900 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10901 esac
10902 case $ac_im_usrlibdir in
10903 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10904 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10905 esac
10907 cd ..
10908 rm -f -r conftest.dir
10911 # Standard set of common directories for X headers.
10912 # Check X11 before X11Rn because it is often a symlink to the current release.
10913 ac_x_header_dirs='
10914 /usr/X11/include
10915 /usr/X11R7/include
10916 /usr/X11R6/include
10917 /usr/X11R5/include
10918 /usr/X11R4/include
10920 /usr/include/X11
10921 /usr/include/X11R7
10922 /usr/include/X11R6
10923 /usr/include/X11R5
10924 /usr/include/X11R4
10926 /usr/local/X11/include
10927 /usr/local/X11R7/include
10928 /usr/local/X11R6/include
10929 /usr/local/X11R5/include
10930 /usr/local/X11R4/include
10932 /usr/local/include/X11
10933 /usr/local/include/X11R7
10934 /usr/local/include/X11R6
10935 /usr/local/include/X11R5
10936 /usr/local/include/X11R4
10938 /usr/X386/include
10939 /usr/x386/include
10940 /usr/XFree86/include/X11
10942 /usr/include
10943 /usr/local/include
10944 /usr/unsupported/include
10945 /usr/athena/include
10946 /usr/local/x11r5/include
10947 /usr/lpp/Xamples/include
10949 /usr/openwin/include
10950 /usr/openwin/share/include'
10952 if test "$ac_x_includes" = no; then
10953 # Guess where to find include files, by looking for Xlib.h.
10954 # First, try using that file with no special directory specified.
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 #include <X11/Xlib.h>
10958 _ACEOF
10959 if ac_fn_c_try_cpp "$LINENO"; then :
10960 # We can compile using X headers with no special include directory.
10961 ac_x_includes=
10962 else
10963 for ac_dir in $ac_x_header_dirs; do
10964 if test -r "$ac_dir/X11/Xlib.h"; then
10965 ac_x_includes=$ac_dir
10966 break
10968 done
10970 rm -f conftest.err conftest.i conftest.$ac_ext
10971 fi # $ac_x_includes = no
10973 if test "$ac_x_libraries" = no; then
10974 # Check for the libraries.
10975 # See if we find them without any special options.
10976 # Don't add to $LIBS permanently.
10977 ac_save_LIBS=$LIBS
10978 LIBS="-lX11 $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 #include <X11/Xlib.h>
10983 main ()
10985 XrmInitialize ()
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 LIBS=$ac_save_LIBS
10992 # We can link X programs with no special library path.
10993 ac_x_libraries=
10994 else
10995 LIBS=$ac_save_LIBS
10996 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10998 # Don't even attempt the hair of trying to link an X program!
10999 for ac_extension in a so sl dylib la dll; do
11000 if test -r "$ac_dir/libX11.$ac_extension"; then
11001 ac_x_libraries=$ac_dir
11002 break 2
11004 done
11005 done
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 fi # $ac_x_libraries = no
11011 case $ac_x_includes,$ac_x_libraries in #(
11012 no,* | *,no | *\'*)
11013 # Didn't find X, or a directory has "'" in its name.
11014 ac_cv_have_x="have_x=no";; #(
11016 # Record where we found X for the cache.
11017 ac_cv_have_x="have_x=yes\
11018 ac_x_includes='$ac_x_includes'\
11019 ac_x_libraries='$ac_x_libraries'"
11020 esac
11022 ;; #(
11023 *) have_x=yes;;
11024 esac
11025 eval "$ac_cv_have_x"
11026 fi # $with_x != no
11028 if test "$have_x" != yes; then
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11030 $as_echo "$have_x" >&6; }
11031 no_x=yes
11032 else
11033 # If each of the values was on the command line, it overrides each guess.
11034 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11035 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11036 # Update the cache value to reflect the command line values.
11037 ac_cv_have_x="have_x=yes\
11038 ac_x_includes='$x_includes'\
11039 ac_x_libraries='$x_libraries'"
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11041 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11044 if test "$no_x" = yes; then
11045 # Not all programs may use this symbol, but it does not hurt to define it.
11047 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11049 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11050 else
11051 if test -n "$x_includes"; then
11052 X_CFLAGS="$X_CFLAGS -I$x_includes"
11055 # It would also be nice to do this for all -L options, not just this one.
11056 if test -n "$x_libraries"; then
11057 X_LIBS="$X_LIBS -L$x_libraries"
11058 # For Solaris; some versions of Sun CC require a space after -R and
11059 # others require no space. Words are not sufficient . . . .
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11061 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11062 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11063 ac_xsave_c_werror_flag=$ac_c_werror_flag
11064 ac_c_werror_flag=yes
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11069 main ()
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11078 $as_echo "no" >&6; }
11079 X_LIBS="$X_LIBS -R$x_libraries"
11080 else
11081 LIBS="$ac_xsave_LIBS -R $x_libraries"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11086 main ()
11090 return 0;
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11095 $as_echo "yes" >&6; }
11096 X_LIBS="$X_LIBS -R $x_libraries"
11097 else
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11099 $as_echo "neither works" >&6; }
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 ac_c_werror_flag=$ac_xsave_c_werror_flag
11107 LIBS=$ac_xsave_LIBS
11110 # Check for system-dependent libraries X programs must link with.
11111 # Do this before checking for the system-independent R6 libraries
11112 # (-lICE), since we may need -lsocket or whatever for X linking.
11114 if test "$ISC" = yes; then
11115 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11116 else
11117 # Martyn Johnson says this is needed for Ultrix, if the X
11118 # libraries were built with DECnet support. And Karl Berry says
11119 # the Alpha needs dnet_stub (dnet does not exist).
11120 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char XOpenDisplay ();
11132 main ()
11134 return XOpenDisplay ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11141 else
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11143 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11144 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-ldnet $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char dnet_ntoa ();
11160 main ()
11162 return dnet_ntoa ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 ac_cv_lib_dnet_dnet_ntoa=yes
11169 else
11170 ac_cv_lib_dnet_dnet_ntoa=no
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11177 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11178 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11179 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11182 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11184 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11185 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11186 $as_echo_n "(cached) " >&6
11187 else
11188 ac_check_lib_save_LIBS=$LIBS
11189 LIBS="-ldnet_stub $LIBS"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 char dnet_ntoa ();
11201 main ()
11203 return dnet_ntoa ();
11205 return 0;
11207 _ACEOF
11208 if ac_fn_c_try_link "$LINENO"; then :
11209 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11210 else
11211 ac_cv_lib_dnet_stub_dnet_ntoa=no
11213 rm -f core conftest.err conftest.$ac_objext \
11214 conftest$ac_exeext conftest.$ac_ext
11215 LIBS=$ac_check_lib_save_LIBS
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11218 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11219 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS="$ac_xsave_LIBS"
11229 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11230 # to get the SysV transport functions.
11231 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11232 # needs -lnsl.
11233 # The nsl library prevents programs from opening the X display
11234 # on Irix 5.2, according to T.E. Dickey.
11235 # The functions gethostbyname, getservbyname, and inet_addr are
11236 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11237 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11238 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11242 if test $ac_cv_func_gethostbyname = no; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11244 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11245 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-lnsl $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char gethostbyname ();
11261 main ()
11263 return gethostbyname ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_nsl_gethostbyname=yes
11270 else
11271 ac_cv_lib_nsl_gethostbyname=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11278 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11279 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11280 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11283 if test $ac_cv_lib_nsl_gethostbyname = no; then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11285 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11286 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11287 $as_echo_n "(cached) " >&6
11288 else
11289 ac_check_lib_save_LIBS=$LIBS
11290 LIBS="-lbsd $LIBS"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char gethostbyname ();
11302 main ()
11304 return gethostbyname ();
11306 return 0;
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_bsd_gethostbyname=yes
11311 else
11312 ac_cv_lib_bsd_gethostbyname=no
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11319 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11320 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11327 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11328 # socket/setsockopt and other routines are undefined under SCO ODT
11329 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11330 # on later versions), says Simon Leinen: it contains gethostby*
11331 # variants that don't use the name server (or something). -lsocket
11332 # must be given before -lnsl if both are needed. We assume that
11333 # if connect needs -lnsl, so does gethostbyname.
11334 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11335 if test "x$ac_cv_func_connect" = xyes; then :
11339 if test $ac_cv_func_connect = no; then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11341 $as_echo_n "checking for connect in -lsocket... " >&6; }
11342 if ${ac_cv_lib_socket_connect+:} false; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char connect ();
11358 main ()
11360 return connect ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 ac_cv_lib_socket_connect=yes
11367 else
11368 ac_cv_lib_socket_connect=no
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11375 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11376 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11377 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11382 # Guillermo Gomez says -lposix is necessary on A/UX.
11383 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11384 if test "x$ac_cv_func_remove" = xyes; then :
11388 if test $ac_cv_func_remove = no; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11390 $as_echo_n "checking for remove in -lposix... " >&6; }
11391 if ${ac_cv_lib_posix_remove+:} false; then :
11392 $as_echo_n "(cached) " >&6
11393 else
11394 ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-lposix $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char remove ();
11407 main ()
11409 return remove ();
11411 return 0;
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 ac_cv_lib_posix_remove=yes
11416 else
11417 ac_cv_lib_posix_remove=no
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11424 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11425 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11431 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11432 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11433 if test "x$ac_cv_func_shmat" = xyes; then :
11437 if test $ac_cv_func_shmat = no; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11439 $as_echo_n "checking for shmat in -lipc... " >&6; }
11440 if ${ac_cv_lib_ipc_shmat+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-lipc $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char shmat ();
11456 main ()
11458 return shmat ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_ipc_shmat=yes
11465 else
11466 ac_cv_lib_ipc_shmat=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11473 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11474 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11475 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11481 # Check for libraries that X11R6 Xt/Xaw programs need.
11482 ac_save_LDFLAGS=$LDFLAGS
11483 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11484 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11485 # check for ICE first), but we must link in the order -lSM -lICE or
11486 # we get undefined symbols. So assume we have SM if we have ICE.
11487 # These have to be linked with before -lX11, unlike the other
11488 # libraries we check for below, so use a different variable.
11489 # John Interrante, Karl Berry
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11491 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11492 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11493 $as_echo_n "(cached) " >&6
11494 else
11495 ac_check_lib_save_LIBS=$LIBS
11496 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 #endif
11506 char IceConnectionNumber ();
11508 main ()
11510 return IceConnectionNumber ();
11512 return 0;
11514 _ACEOF
11515 if ac_fn_c_try_link "$LINENO"; then :
11516 ac_cv_lib_ICE_IceConnectionNumber=yes
11517 else
11518 ac_cv_lib_ICE_IceConnectionNumber=no
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_lib_save_LIBS
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11525 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11526 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11527 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11530 LDFLAGS=$ac_save_LDFLAGS
11535 if test "$have_x" = "yes"
11536 then
11537 ac_save_CPPFLAGS="$CPPFLAGS"
11538 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11541 $as_echo_n "checking for -lX11... " >&6; }
11542 if ${ac_cv_lib_soname_X11+:} false; then :
11543 $as_echo_n "(cached) " >&6
11544 else
11545 ac_check_soname_save_LIBS=$LIBS
11546 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11553 #ifdef __cplusplus
11554 extern "C"
11555 #endif
11556 char XCreateWindow ();
11558 main ()
11560 return XCreateWindow ();
11562 return 0;
11564 _ACEOF
11565 if ac_fn_c_try_link "$LINENO"; then :
11566 case "$LIBEXT" in
11567 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11568 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'` ;;
11569 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11570 if ${ac_cv_lib_soname_X11:+false} :; then :
11571 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11572 fi ;;
11573 esac
11574 else
11575 ac_cv_lib_soname_X11=
11577 rm -f core conftest.err conftest.$ac_objext \
11578 conftest$ac_exeext conftest.$ac_ext
11579 LIBS=$ac_check_soname_save_LIBS
11581 if ${ac_cv_lib_soname_X11:+false} :; then :
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11583 $as_echo "not found" >&6; }
11585 else
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11587 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11589 cat >>confdefs.h <<_ACEOF
11590 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11591 _ACEOF
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11596 $as_echo_n "checking for -lXext... " >&6; }
11597 if ${ac_cv_lib_soname_Xext+:} false; then :
11598 $as_echo_n "(cached) " >&6
11599 else
11600 ac_check_soname_save_LIBS=$LIBS
11601 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11605 /* Override any GCC internal prototype to avoid an error.
11606 Use char because int might match the return type of a GCC
11607 builtin and then its argument prototype would still apply. */
11608 #ifdef __cplusplus
11609 extern "C"
11610 #endif
11611 char XextCreateExtension ();
11613 main ()
11615 return XextCreateExtension ();
11617 return 0;
11619 _ACEOF
11620 if ac_fn_c_try_link "$LINENO"; then :
11621 case "$LIBEXT" in
11622 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11623 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'` ;;
11624 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11625 if ${ac_cv_lib_soname_Xext:+false} :; then :
11626 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11627 fi ;;
11628 esac
11629 else
11630 ac_cv_lib_soname_Xext=
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 LIBS=$ac_check_soname_save_LIBS
11636 if ${ac_cv_lib_soname_Xext:+false} :; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11638 $as_echo "not found" >&6; }
11640 else
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11642 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11644 cat >>confdefs.h <<_ACEOF
11645 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11646 _ACEOF
11648 X_LIBS="$X_LIBS -lXext"
11650 X_LIBS="$X_LIBS -lX11"
11652 for ac_header in X11/Xlib.h \
11653 X11/XKBlib.h \
11654 X11/Xutil.h \
11655 X11/Xcursor/Xcursor.h \
11656 X11/extensions/shape.h \
11657 X11/extensions/XInput.h \
11658 X11/extensions/XInput2.h \
11659 X11/extensions/XShm.h \
11660 X11/extensions/Xcomposite.h \
11661 X11/extensions/Xfixes.h \
11662 X11/extensions/Xinerama.h \
11663 X11/extensions/Xrandr.h \
11664 X11/extensions/Xrender.h \
11665 X11/extensions/xf86vmode.h \
11666 X11/extensions/xf86vmproto.h
11667 do :
11668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11670 # include <X11/Xlib.h>
11671 #endif
11672 #ifdef HAVE_X11_XUTIL_H
11673 # include <X11/Xutil.h>
11674 #endif
11676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11677 cat >>confdefs.h <<_ACEOF
11678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11679 _ACEOF
11683 done
11686 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11687 then
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11689 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11690 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_lib_save_LIBS=$LIBS
11694 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char XkbQueryExtension ();
11706 main ()
11708 return XkbQueryExtension ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 ac_cv_lib_X11_XkbQueryExtension=yes
11715 else
11716 ac_cv_lib_X11_XkbQueryExtension=no
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_lib_save_LIBS
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11723 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11724 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11726 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11732 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11733 then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11735 $as_echo_n "checking for -lXcursor... " >&6; }
11736 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11737 $as_echo_n "(cached) " >&6
11738 else
11739 ac_check_soname_save_LIBS=$LIBS
11740 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11747 #ifdef __cplusplus
11748 extern "C"
11749 #endif
11750 char XcursorImageLoadCursor ();
11752 main ()
11754 return XcursorImageLoadCursor ();
11756 return 0;
11758 _ACEOF
11759 if ac_fn_c_try_link "$LINENO"; then :
11760 case "$LIBEXT" in
11761 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11762 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'` ;;
11763 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11764 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11765 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11766 fi ;;
11767 esac
11768 else
11769 ac_cv_lib_soname_Xcursor=
11771 rm -f core conftest.err conftest.$ac_objext \
11772 conftest$ac_exeext conftest.$ac_ext
11773 LIBS=$ac_check_soname_save_LIBS
11775 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11777 $as_echo "not found" >&6; }
11779 else
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11781 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11783 cat >>confdefs.h <<_ACEOF
11784 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11785 _ACEOF
11790 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11791 case "x$with_xcursor" in
11792 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11793 xno) ;;
11794 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11795 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11796 esac
11800 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11801 then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11803 $as_echo_n "checking for -lXi... " >&6; }
11804 if ${ac_cv_lib_soname_Xi+:} false; then :
11805 $as_echo_n "(cached) " >&6
11806 else
11807 ac_check_soname_save_LIBS=$LIBS
11808 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11815 #ifdef __cplusplus
11816 extern "C"
11817 #endif
11818 char XOpenDevice ();
11820 main ()
11822 return XOpenDevice ();
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 case "$LIBEXT" in
11829 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11830 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'` ;;
11831 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11832 if ${ac_cv_lib_soname_Xi:+false} :; then :
11833 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11834 fi ;;
11835 esac
11836 else
11837 ac_cv_lib_soname_Xi=
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_Xi:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11849 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11851 cat >>confdefs.h <<_ACEOF
11852 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11853 _ACEOF
11858 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11859 case "x$with_xinput" in
11860 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11861 xno) ;;
11862 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11863 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11864 esac
11868 if test "x$ac_cv_lib_soname_Xi" != x
11869 then
11870 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11871 case "x$with_xinput2" in
11872 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11873 xno) ;;
11874 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11875 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11876 esac
11881 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11882 then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11884 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11885 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11886 $as_echo_n "(cached) " >&6
11887 else
11888 ac_check_lib_save_LIBS=$LIBS
11889 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11893 /* Override any GCC internal prototype to avoid an error.
11894 Use char because int might match the return type of a GCC
11895 builtin and then its argument prototype would still apply. */
11896 #ifdef __cplusplus
11897 extern "C"
11898 #endif
11899 char XShmQueryExtension ();
11901 main ()
11903 return XShmQueryExtension ();
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_link "$LINENO"; then :
11909 ac_cv_lib_Xext_XShmQueryExtension=yes
11910 else
11911 ac_cv_lib_Xext_XShmQueryExtension=no
11913 rm -f core conftest.err conftest.$ac_objext \
11914 conftest$ac_exeext conftest.$ac_ext
11915 LIBS=$ac_check_lib_save_LIBS
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11918 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11919 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11921 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11926 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11927 case "x$with_xshm" in
11928 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11929 xno) ;;
11930 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11931 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11932 esac
11936 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11937 then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11939 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11940 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 ac_check_lib_save_LIBS=$LIBS
11944 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11951 #ifdef __cplusplus
11952 extern "C"
11953 #endif
11954 char XShapeQueryExtension ();
11956 main ()
11958 return XShapeQueryExtension ();
11960 return 0;
11962 _ACEOF
11963 if ac_fn_c_try_link "$LINENO"; then :
11964 ac_cv_lib_Xext_XShapeQueryExtension=yes
11965 else
11966 ac_cv_lib_Xext_XShapeQueryExtension=no
11968 rm -f core conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11970 LIBS=$ac_check_lib_save_LIBS
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11973 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11974 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11976 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11981 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11982 case "x$with_xshape" in
11983 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11984 xno) ;;
11985 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11986 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11987 esac
11991 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11992 then
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11994 $as_echo_n "checking for -lXxf86vm... " >&6; }
11995 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_soname_save_LIBS=$LIBS
11999 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char XF86VidModeQueryExtension ();
12011 main ()
12013 return XF86VidModeQueryExtension ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 case "$LIBEXT" in
12020 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12021 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'` ;;
12022 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12023 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12024 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12025 fi ;;
12026 esac
12027 else
12028 ac_cv_lib_soname_Xxf86vm=
12030 rm -f core conftest.err conftest.$ac_objext \
12031 conftest$ac_exeext conftest.$ac_ext
12032 LIBS=$ac_check_soname_save_LIBS
12034 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12036 $as_echo "not found" >&6; }
12038 else
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12040 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12042 cat >>confdefs.h <<_ACEOF
12043 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12044 _ACEOF
12049 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12050 case "x$with_xxf86vm" in
12051 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12052 xno) ;;
12053 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12054 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12055 esac
12059 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12060 then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12062 $as_echo_n "checking for -lXrender... " >&6; }
12063 if ${ac_cv_lib_soname_Xrender+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_soname_save_LIBS=$LIBS
12067 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char XRenderQueryExtension ();
12079 main ()
12081 return XRenderQueryExtension ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 case "$LIBEXT" in
12088 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12089 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'` ;;
12090 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12091 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12092 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12093 fi ;;
12094 esac
12095 else
12096 ac_cv_lib_soname_Xrender=
12098 rm -f core conftest.err conftest.$ac_objext \
12099 conftest$ac_exeext conftest.$ac_ext
12100 LIBS=$ac_check_soname_save_LIBS
12102 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12104 $as_echo "not found" >&6; }
12106 else
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12108 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12110 cat >>confdefs.h <<_ACEOF
12111 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12112 _ACEOF
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12115 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12116 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12117 $as_echo_n "(cached) " >&6
12118 else
12119 ac_check_lib_save_LIBS=$LIBS
12120 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12124 /* Override any GCC internal prototype to avoid an error.
12125 Use char because int might match the return type of a GCC
12126 builtin and then its argument prototype would still apply. */
12127 #ifdef __cplusplus
12128 extern "C"
12129 #endif
12130 char XRenderSetPictureTransform ();
12132 main ()
12134 return XRenderSetPictureTransform ();
12136 return 0;
12138 _ACEOF
12139 if ac_fn_c_try_link "$LINENO"; then :
12140 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12141 else
12142 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12144 rm -f core conftest.err conftest.$ac_objext \
12145 conftest$ac_exeext conftest.$ac_ext
12146 LIBS=$ac_check_lib_save_LIBS
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12149 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12150 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12152 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12157 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12158 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 ac_check_lib_save_LIBS=$LIBS
12162 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 #ifdef __cplusplus
12170 extern "C"
12171 #endif
12172 char XRenderCreateLinearGradient ();
12174 main ()
12176 return XRenderCreateLinearGradient ();
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"; then :
12182 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12183 else
12184 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12186 rm -f core conftest.err conftest.$ac_objext \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_lib_save_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12191 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12192 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12194 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12201 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12202 case "x$with_xrender" in
12203 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12204 xno) ;;
12205 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12206 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12207 esac
12211 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12212 then
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12215 #include <X11/Xlib.h>
12216 #include <X11/extensions/Xrandr.h>
12218 main ()
12220 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_compile "$LINENO"; then :
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12227 $as_echo_n "checking for -lXrandr... " >&6; }
12228 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12229 $as_echo_n "(cached) " >&6
12230 else
12231 ac_check_soname_save_LIBS=$LIBS
12232 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12239 #ifdef __cplusplus
12240 extern "C"
12241 #endif
12242 char XRRQueryExtension ();
12244 main ()
12246 return XRRQueryExtension ();
12248 return 0;
12250 _ACEOF
12251 if ac_fn_c_try_link "$LINENO"; then :
12252 case "$LIBEXT" in
12253 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12254 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'` ;;
12255 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12256 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12257 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12258 fi ;;
12259 esac
12260 else
12261 ac_cv_lib_soname_Xrandr=
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_soname_save_LIBS
12267 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12269 $as_echo "not found" >&6; }
12271 else
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12273 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12275 cat >>confdefs.h <<_ACEOF
12276 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12277 _ACEOF
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 #include <X11/Xlib.h>
12282 #include <X11/extensions/Xrandr.h>
12284 main ()
12286 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_compile "$LINENO"; then :
12293 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12295 else
12296 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12303 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12304 case "x$with_xrandr" in
12305 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12306 xno) ;;
12307 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12308 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12309 esac
12313 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12314 then
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <X11/Xlib.h>
12318 #include <X11/extensions/Xfixes.h>
12320 main ()
12322 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12329 $as_echo_n "checking for -lXfixes... " >&6; }
12330 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_soname_save_LIBS=$LIBS
12334 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char XFixesQueryVersion ();
12346 main ()
12348 return XFixesQueryVersion ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 case "$LIBEXT" in
12355 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12356 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'` ;;
12357 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12358 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12359 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12360 fi ;;
12361 esac
12362 else
12363 ac_cv_lib_soname_Xfixes=
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12371 $as_echo "not found" >&6; }
12373 else
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12375 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12379 _ACEOF
12384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12387 case "x$with_xfixes" in
12388 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12389 xno) ;;
12390 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12391 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12392 esac
12396 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12397 then
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12400 #include <X11/Xlib.h>
12401 #include <X11/extensions/Xinerama.h>
12403 main ()
12405 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_compile "$LINENO"; then :
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12412 $as_echo_n "checking for -lXinerama... " >&6; }
12413 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_soname_save_LIBS=$LIBS
12417 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char XineramaQueryScreens ();
12429 main ()
12431 return XineramaQueryScreens ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 case "$LIBEXT" in
12438 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12439 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'` ;;
12440 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12442 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12443 fi ;;
12444 esac
12445 else
12446 ac_cv_lib_soname_Xinerama=
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_soname_save_LIBS
12452 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12454 $as_echo "not found" >&6; }
12456 else
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12458 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12460 cat >>confdefs.h <<_ACEOF
12461 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12462 _ACEOF
12467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12469 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12470 case "x$with_xinerama" in
12471 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12472 xno) ;;
12473 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12474 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12475 esac
12479 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12480 then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12482 $as_echo_n "checking for -lXcomposite... " >&6; }
12483 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 ac_check_soname_save_LIBS=$LIBS
12487 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char XCompositeRedirectWindow ();
12499 main ()
12501 return XCompositeRedirectWindow ();
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_link "$LINENO"; then :
12507 case "$LIBEXT" in
12508 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12509 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'` ;;
12510 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12512 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12513 fi ;;
12514 esac
12515 else
12516 ac_cv_lib_soname_Xcomposite=
12518 rm -f core conftest.err conftest.$ac_objext \
12519 conftest$ac_exeext conftest.$ac_ext
12520 LIBS=$ac_check_soname_save_LIBS
12522 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12524 $as_echo "not found" >&6; }
12526 else
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12528 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12530 cat >>confdefs.h <<_ACEOF
12531 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12532 _ACEOF
12537 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12538 case "x$with_xcomposite" in
12539 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12540 xno) ;;
12541 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12542 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12543 esac
12547 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12548 #include <X11/Xlib.h>
12549 #endif
12551 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12553 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_XICCALLBACK_CALLBACK 1
12555 _ACEOF
12559 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12560 #include <X11/Xlib.h>
12561 #endif
12563 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12565 cat >>confdefs.h <<_ACEOF
12566 #define HAVE_XEVENT_XCOOKIE 1
12567 _ACEOF
12574 opengl_msg=""
12575 if test "x$with_opengl" != "xno"
12576 then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12578 $as_echo_n "checking for -lGL... " >&6; }
12579 if ${ac_cv_lib_soname_GL+:} false; then :
12580 $as_echo_n "(cached) " >&6
12581 else
12582 ac_check_soname_save_LIBS=$LIBS
12583 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char glXCreateContext ();
12595 main ()
12597 return glXCreateContext ();
12599 return 0;
12601 _ACEOF
12602 if ac_fn_c_try_link "$LINENO"; then :
12603 case "$LIBEXT" in
12604 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12605 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'` ;;
12606 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12607 if ${ac_cv_lib_soname_GL:+false} :; then :
12608 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12609 fi ;;
12610 esac
12611 else
12612 ac_cv_lib_soname_GL=
12614 rm -f core conftest.err conftest.$ac_objext \
12615 conftest$ac_exeext conftest.$ac_ext
12616 LIBS=$ac_check_soname_save_LIBS
12618 if ${ac_cv_lib_soname_GL:+false} :; then :
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12620 $as_echo "not found" >&6; }
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12622 $as_echo_n "checking for -lGL... " >&6; }
12623 if ${ac_cv_lib_soname_GL+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_soname_save_LIBS=$LIBS
12627 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"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char glXCreateContext ();
12639 main ()
12641 return glXCreateContext ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 case "$LIBEXT" in
12648 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12649 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'` ;;
12650 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12651 if ${ac_cv_lib_soname_GL:+false} :; then :
12652 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12653 fi ;;
12654 esac
12655 else
12656 ac_cv_lib_soname_GL=
12658 rm -f core conftest.err conftest.$ac_objext \
12659 conftest$ac_exeext conftest.$ac_ext
12660 LIBS=$ac_check_soname_save_LIBS
12662 if ${ac_cv_lib_soname_GL:+false} :; then :
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12664 $as_echo "not found" >&6; }
12665 if test -f /usr/X11R6/lib/libGL.a
12666 then
12667 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12668 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12669 else
12670 opengl_msg="No OpenGL library found on this system."
12672 else
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12674 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12676 cat >>confdefs.h <<_ACEOF
12677 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12678 _ACEOF
12680 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"
12682 else
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12684 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12686 cat >>confdefs.h <<_ACEOF
12687 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12688 _ACEOF
12690 OPENGL_LIBS="-lGL"
12692 if test "x$with_osmesa" != "xno"
12693 then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12695 $as_echo_n "checking for -lOSMesa... " >&6; }
12696 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12697 $as_echo_n "(cached) " >&6
12698 else
12699 ac_check_soname_save_LIBS=$LIBS
12700 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12704 /* Override any GCC internal prototype to avoid an error.
12705 Use char because int might match the return type of a GCC
12706 builtin and then its argument prototype would still apply. */
12707 #ifdef __cplusplus
12708 extern "C"
12709 #endif
12710 char OSMesaGetProcAddress ();
12712 main ()
12714 return OSMesaGetProcAddress ();
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_link "$LINENO"; then :
12720 case "$LIBEXT" in
12721 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12722 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'` ;;
12723 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12724 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12725 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12726 fi ;;
12727 esac
12728 else
12729 ac_cv_lib_soname_OSMesa=
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_soname_save_LIBS
12735 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12737 $as_echo "not found" >&6; }
12739 else
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12741 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12743 cat >>confdefs.h <<_ACEOF
12744 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12745 _ACEOF
12749 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12750 case "x$with_osmesa" in
12751 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12754 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12755 esac
12760 if test -n "$opengl_msg"; then :
12761 case "x$with_opengl" in
12762 x) as_fn_append wine_warnings "|$opengl_msg
12763 OpenGL and Direct3D won't be supported." ;;
12764 xno) ;;
12765 *) as_fn_error $? "$opengl_msg
12766 OpenGL and Direct3D won't be supported.
12767 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12768 esac
12772 CPPFLAGS="$ac_save_CPPFLAGS"
12773 else
12774 X_CFLAGS=""
12775 X_LIBS=""
12778 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12779 then
12780 if test "x$X_LIBS" = "x"; then :
12781 case "x$with_x" in
12782 xno) ;;
12783 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12784 without X support, which probably isn't what you want. You will need
12785 to install ${notice_platform}development packages of Xlib at the very least.
12786 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12787 esac
12788 enable_winex11_drv=${enable_winex11_drv:-no}
12790 else
12791 if test "x$X_LIBS" = "x"; then :
12792 case "x$with_x" in
12793 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12794 xno) ;;
12795 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12796 This is an error since --with-x was requested." "$LINENO" 5 ;;
12797 esac
12798 enable_winex11_drv=${enable_winex11_drv:-no}
12802 if test "$ac_cv_header_CL_cl_h" = "yes"
12803 then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12805 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12806 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12807 $as_echo_n "(cached) " >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lOpenCL $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 char clGetPlatformInfo ();
12822 main ()
12824 return clGetPlatformInfo ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12831 else
12832 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12839 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12840 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12841 OPENCL_LIBS="-lOpenCL"
12846 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12847 case "x$with_opencl" in
12848 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12849 xno) ;;
12850 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12851 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12852 esac
12853 enable_opencl=${enable_opencl:-no}
12856 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12857 then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12859 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12860 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12861 $as_echo_n "(cached) " >&6
12862 else
12863 ac_check_lib_save_LIBS=$LIBS
12864 LIBS="-lpcap $LIBS"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 #ifdef __cplusplus
12872 extern "C"
12873 #endif
12874 char pcap_create ();
12876 main ()
12878 return pcap_create ();
12880 return 0;
12882 _ACEOF
12883 if ac_fn_c_try_link "$LINENO"; then :
12884 ac_cv_lib_pcap_pcap_create=yes
12885 else
12886 ac_cv_lib_pcap_pcap_create=no
12888 rm -f core conftest.err conftest.$ac_objext \
12889 conftest$ac_exeext conftest.$ac_ext
12890 LIBS=$ac_check_lib_save_LIBS
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12893 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12894 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12895 PCAP_LIBS="-lpcap"
12900 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12901 case "x$with_pcap" in
12902 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12903 xno) ;;
12904 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12905 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12906 esac
12907 enable_wpcap=${enable_wpcap:-no}
12911 if test "x$with_xml" != "xno"
12912 then
12913 if ${XML2_CFLAGS:+false} :; then :
12914 if ${PKG_CONFIG+:} false; then :
12915 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12918 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12919 if ${XML2_LIBS:+false} :; then :
12920 if ${PKG_CONFIG+:} false; then :
12921 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12924 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12925 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12926 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12928 ac_save_CPPFLAGS=$CPPFLAGS
12929 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12930 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12931 do :
12932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12933 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12934 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12935 cat >>confdefs.h <<_ACEOF
12936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12937 _ACEOF
12941 done
12943 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"
12944 then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12946 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12947 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12948 $as_echo_n "(cached) " >&6
12949 else
12950 ac_check_lib_save_LIBS=$LIBS
12951 LIBS="-lxml2 $XML2_LIBS $LIBS"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12958 #ifdef __cplusplus
12959 extern "C"
12960 #endif
12961 char xmlParseMemory ();
12963 main ()
12965 return xmlParseMemory ();
12967 return 0;
12969 _ACEOF
12970 if ac_fn_c_try_link "$LINENO"; then :
12971 ac_cv_lib_xml2_xmlParseMemory=yes
12972 else
12973 ac_cv_lib_xml2_xmlParseMemory=no
12975 rm -f core conftest.err conftest.$ac_objext \
12976 conftest$ac_exeext conftest.$ac_ext
12977 LIBS=$ac_check_lib_save_LIBS
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12980 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12981 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12983 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12985 else
12986 XML2_LIBS=""
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12990 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12991 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12992 $as_echo_n "(cached) " >&6
12993 else
12994 ac_check_lib_save_LIBS=$LIBS
12995 LIBS="-lxml2 $XML2_LIBS $LIBS"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13002 #ifdef __cplusplus
13003 extern "C"
13004 #endif
13005 char xmlReadMemory ();
13007 main ()
13009 return xmlReadMemory ();
13011 return 0;
13013 _ACEOF
13014 if ac_fn_c_try_link "$LINENO"; then :
13015 ac_cv_lib_xml2_xmlReadMemory=yes
13016 else
13017 ac_cv_lib_xml2_xmlReadMemory=no
13019 rm -f core conftest.err conftest.$ac_objext \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LIBS=$ac_check_lib_save_LIBS
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13024 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13025 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13027 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13032 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13033 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13034 $as_echo_n "(cached) " >&6
13035 else
13036 ac_check_lib_save_LIBS=$LIBS
13037 LIBS="-lxml2 $XML2_LIBS $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 char xmlNewDocPI ();
13049 main ()
13051 return xmlNewDocPI ();
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 ac_cv_lib_xml2_xmlNewDocPI=yes
13058 else
13059 ac_cv_lib_xml2_xmlNewDocPI=no
13061 rm -f core conftest.err conftest.$ac_objext \
13062 conftest$ac_exeext conftest.$ac_ext
13063 LIBS=$ac_check_lib_save_LIBS
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13066 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13067 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13069 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13074 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13075 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13076 $as_echo_n "(cached) " >&6
13077 else
13078 ac_check_lib_save_LIBS=$LIBS
13079 LIBS="-lxml2 $XML2_LIBS $LIBS"
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13083 /* Override any GCC internal prototype to avoid an error.
13084 Use char because int might match the return type of a GCC
13085 builtin and then its argument prototype would still apply. */
13086 #ifdef __cplusplus
13087 extern "C"
13088 #endif
13089 char xmlSchemaSetParserStructuredErrors ();
13091 main ()
13093 return xmlSchemaSetParserStructuredErrors ();
13095 return 0;
13097 _ACEOF
13098 if ac_fn_c_try_link "$LINENO"; then :
13099 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13100 else
13101 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13103 rm -f core conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13105 LIBS=$ac_check_lib_save_LIBS
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13108 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13109 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13111 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13116 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13117 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13118 $as_echo_n "(cached) " >&6
13119 else
13120 ac_check_lib_save_LIBS=$LIBS
13121 LIBS="-lxml2 $XML2_LIBS $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13128 #ifdef __cplusplus
13129 extern "C"
13130 #endif
13131 char xmlSchemaSetValidStructuredErrors ();
13133 main ()
13135 return xmlSchemaSetValidStructuredErrors ();
13137 return 0;
13139 _ACEOF
13140 if ac_fn_c_try_link "$LINENO"; then :
13141 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13142 else
13143 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_lib_save_LIBS
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13150 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13151 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13153 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13158 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13159 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13160 $as_echo_n "(cached) " >&6
13161 else
13162 ac_check_lib_save_LIBS=$LIBS
13163 LIBS="-lxml2 $XML2_LIBS $LIBS"
13164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13167 /* Override any GCC internal prototype to avoid an error.
13168 Use char because int might match the return type of a GCC
13169 builtin and then its argument prototype would still apply. */
13170 #ifdef __cplusplus
13171 extern "C"
13172 #endif
13173 char xmlFirstElementChild ();
13175 main ()
13177 return xmlFirstElementChild ();
13179 return 0;
13181 _ACEOF
13182 if ac_fn_c_try_link "$LINENO"; then :
13183 ac_cv_lib_xml2_xmlFirstElementChild=yes
13184 else
13185 ac_cv_lib_xml2_xmlFirstElementChild=no
13187 rm -f core conftest.err conftest.$ac_objext \
13188 conftest$ac_exeext conftest.$ac_ext
13189 LIBS=$ac_check_lib_save_LIBS
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13192 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13193 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13195 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13199 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13201 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13203 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13207 else
13208 XML2_CFLAGS=""
13209 XML2_LIBS=""
13211 CPPFLAGS=$ac_save_CPPFLAGS
13214 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13215 case "x$with_xml" in
13216 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13217 xno) ;;
13218 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13219 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13220 esac
13224 if test "x$with_xslt" != "xno"
13225 then
13226 if ${XSLT_CFLAGS:+false} :; then :
13227 if ${PKG_CONFIG+:} false; then :
13228 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13231 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13232 if ${XSLT_LIBS:+false} :; then :
13233 if ${PKG_CONFIG+:} false; then :
13234 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13237 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13238 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13239 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13241 ac_save_CPPFLAGS=$CPPFLAGS
13242 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13243 for ac_header in libxslt/pattern.h libxslt/transform.h
13244 do :
13245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13246 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13247 # include <libxslt/pattern.h>
13248 #endif
13250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13251 cat >>confdefs.h <<_ACEOF
13252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13253 _ACEOF
13257 done
13259 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13260 then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13262 $as_echo_n "checking for -lxslt... " >&6; }
13263 if ${ac_cv_lib_soname_xslt+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_soname_save_LIBS=$LIBS
13267 LIBS="-lxslt $XSLT_LIBS $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char xsltCompilePattern ();
13279 main ()
13281 return xsltCompilePattern ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 case "$LIBEXT" in
13288 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13289 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'` ;;
13290 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13291 if ${ac_cv_lib_soname_xslt:+false} :; then :
13292 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13293 fi ;;
13294 esac
13295 else
13296 ac_cv_lib_soname_xslt=
13298 rm -f core conftest.err conftest.$ac_objext \
13299 conftest$ac_exeext conftest.$ac_ext
13300 LIBS=$ac_check_soname_save_LIBS
13302 if ${ac_cv_lib_soname_xslt:+false} :; then :
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13304 $as_echo "not found" >&6; }
13306 else
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13308 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13310 cat >>confdefs.h <<_ACEOF
13311 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13312 _ACEOF
13316 else
13317 XSLT_CFLAGS=""
13319 CPPFLAGS=$ac_save_CPPFLAGS
13322 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13323 case "x$with_xslt" in
13324 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13325 xno) ;;
13326 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13327 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13328 esac
13332 if test "x$with_inotify" != "xno"
13333 then
13334 if ${INOTIFY_CFLAGS:+false} :; then :
13335 if ${PKG_CONFIG+:} false; then :
13336 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13340 if ${INOTIFY_LIBS:+false} :; then :
13341 if ${PKG_CONFIG+:} false; then :
13342 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13347 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13348 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13349 ac_save_CPPFLAGS=$CPPFLAGS
13350 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13351 for ac_header in sys/inotify.h
13352 do :
13353 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13354 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13355 cat >>confdefs.h <<_ACEOF
13356 #define HAVE_SYS_INOTIFY_H 1
13357 _ACEOF
13361 done
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13364 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13365 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13366 $as_echo_n "(cached) " >&6
13367 else
13368 ac_check_lib_save_LIBS=$LIBS
13369 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 char inotify_add_watch ();
13381 main ()
13383 return inotify_add_watch ();
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_link "$LINENO"; then :
13389 ac_cv_lib_inotify_inotify_add_watch=yes
13390 else
13391 ac_cv_lib_inotify_inotify_add_watch=no
13393 rm -f core conftest.err conftest.$ac_objext \
13394 conftest$ac_exeext conftest.$ac_ext
13395 LIBS=$ac_check_lib_save_LIBS
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13398 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13399 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13401 else
13402 INOTIFY_LIBS=""
13405 CPPFLAGS=$ac_save_CPPFLAGS
13408 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13409 case "x$with_inotify" in
13410 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13411 xno) ;;
13412 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13413 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13414 esac
13418 if test "x$with_dbus" != "xno"
13419 then
13420 if ${DBUS_CFLAGS:+false} :; then :
13421 if ${PKG_CONFIG+:} false; then :
13422 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13426 if ${DBUS_LIBS:+false} :; then :
13427 if ${PKG_CONFIG+:} false; then :
13428 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13433 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13434 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13435 ac_save_CPPFLAGS=$CPPFLAGS
13436 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13437 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13438 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13440 $as_echo_n "checking for -ldbus-1... " >&6; }
13441 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_check_soname_save_LIBS=$LIBS
13445 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char dbus_connection_close ();
13457 main ()
13459 return dbus_connection_close ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 case "$LIBEXT" in
13466 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13467 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'` ;;
13468 *) 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'`
13469 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13470 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13471 fi ;;
13472 esac
13473 else
13474 ac_cv_lib_soname_dbus_1=
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13483 DBUS_CFLAGS=""
13484 else
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13486 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13488 cat >>confdefs.h <<_ACEOF
13489 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13490 _ACEOF
13494 else
13495 DBUS_CFLAGS=""
13499 CPPFLAGS=$ac_save_CPPFLAGS
13502 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13503 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13504 case "x$with_dbus" in
13505 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13506 xno) ;;
13507 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13508 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13509 esac
13513 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13514 then
13515 if ${HAL_CFLAGS:+false} :; then :
13516 if ${PKG_CONFIG+:} false; then :
13517 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13521 if ${HAL_LIBS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13527 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13528 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13530 ac_save_CPPFLAGS=$CPPFLAGS
13531 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13532 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13533 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13535 $as_echo_n "checking for -lhal... " >&6; }
13536 if ${ac_cv_lib_soname_hal+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538 else
13539 ac_check_soname_save_LIBS=$LIBS
13540 LIBS="-lhal $HAL_LIBS $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 #ifdef __cplusplus
13548 extern "C"
13549 #endif
13550 char libhal_ctx_new ();
13552 main ()
13554 return libhal_ctx_new ();
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 case "$LIBEXT" in
13561 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13562 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'` ;;
13563 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13564 if ${ac_cv_lib_soname_hal:+false} :; then :
13565 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13566 fi ;;
13567 esac
13568 else
13569 ac_cv_lib_soname_hal=
13571 rm -f core conftest.err conftest.$ac_objext \
13572 conftest$ac_exeext conftest.$ac_ext
13573 LIBS=$ac_check_soname_save_LIBS
13575 if ${ac_cv_lib_soname_hal:+false} :; then :
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13577 $as_echo "not found" >&6; }
13578 HAL_CFLAGS=""
13579 else
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13581 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13583 cat >>confdefs.h <<_ACEOF
13584 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13585 _ACEOF
13589 else
13590 HAL_CFLAGS=""
13594 CPPFLAGS=$ac_save_CPPFLAGS
13596 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13597 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13598 case "x$with_hal" in
13599 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13600 xno) ;;
13601 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13602 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13603 esac
13608 if test "x$with_gnutls" != "xno"
13609 then
13610 if ${GNUTLS_CFLAGS:+false} :; then :
13611 if ${PKG_CONFIG+:} false; then :
13612 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13616 if ${GNUTLS_LIBS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13622 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13623 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13624 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13625 ac_save_CPPFLAGS=$CPPFLAGS
13626 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13627 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13628 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 #include <gnutls/gnutls.h>
13632 #include <gnutls/crypto.h>
13634 main ()
13636 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13638 return 0;
13640 _ACEOF
13641 if ac_fn_c_try_compile "$LINENO"; then :
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13643 $as_echo_n "checking for -lgnutls... " >&6; }
13644 if ${ac_cv_lib_soname_gnutls+:} false; then :
13645 $as_echo_n "(cached) " >&6
13646 else
13647 ac_check_soname_save_LIBS=$LIBS
13648 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13652 /* Override any GCC internal prototype to avoid an error.
13653 Use char because int might match the return type of a GCC
13654 builtin and then its argument prototype would still apply. */
13655 #ifdef __cplusplus
13656 extern "C"
13657 #endif
13658 char gnutls_global_init ();
13660 main ()
13662 return gnutls_global_init ();
13664 return 0;
13666 _ACEOF
13667 if ac_fn_c_try_link "$LINENO"; then :
13668 case "$LIBEXT" in
13669 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13670 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'` ;;
13671 *) 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'`
13672 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13673 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'`
13674 fi ;;
13675 esac
13676 else
13677 ac_cv_lib_soname_gnutls=
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 LIBS=$ac_check_soname_save_LIBS
13683 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13685 $as_echo "not found" >&6; }
13686 GNUTLS_CFLAGS=""
13687 else
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13689 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13691 cat >>confdefs.h <<_ACEOF
13692 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13693 _ACEOF
13697 ac_wine_check_funcs_save_LIBS="$LIBS"
13698 LIBS="$LIBS $GNUTLS_LIBS"
13699 for ac_func in gnutls_cipher_init
13700 do :
13701 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13702 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13703 cat >>confdefs.h <<_ACEOF
13704 #define HAVE_GNUTLS_CIPHER_INIT 1
13705 _ACEOF
13707 else
13708 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13710 done
13712 LIBS="$ac_wine_check_funcs_save_LIBS"
13714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13715 else
13716 GNUTLS_CFLAGS=""
13720 CPPFLAGS=$ac_save_CPPFLAGS
13723 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13724 case "x$with_gnutls" in
13725 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13726 xno) ;;
13727 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13728 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13729 esac
13733 if test "x$with_sane" != "xno"
13734 then
13735 if ${SANE_CFLAGS:+false} :; then :
13736 if ${PKG_CONFIG+:} false; then :
13737 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13740 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13741 if ${SANE_LIBS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13746 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13748 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13749 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13750 ac_save_CPPFLAGS=$CPPFLAGS
13751 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13752 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13753 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13755 $as_echo_n "checking for -lsane... " >&6; }
13756 if ${ac_cv_lib_soname_sane+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 ac_check_soname_save_LIBS=$LIBS
13760 LIBS="-lsane $SANE_LIBS $LIBS"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 /* Override any GCC internal prototype to avoid an error.
13765 Use char because int might match the return type of a GCC
13766 builtin and then its argument prototype would still apply. */
13767 #ifdef __cplusplus
13768 extern "C"
13769 #endif
13770 char sane_init ();
13772 main ()
13774 return sane_init ();
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 case "$LIBEXT" in
13781 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13782 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'` ;;
13783 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13784 if ${ac_cv_lib_soname_sane:+false} :; then :
13785 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13786 fi ;;
13787 esac
13788 else
13789 ac_cv_lib_soname_sane=
13791 rm -f core conftest.err conftest.$ac_objext \
13792 conftest$ac_exeext conftest.$ac_ext
13793 LIBS=$ac_check_soname_save_LIBS
13795 if ${ac_cv_lib_soname_sane:+false} :; then :
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13797 $as_echo "not found" >&6; }
13798 SANE_CFLAGS=""
13799 else
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13801 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13803 cat >>confdefs.h <<_ACEOF
13804 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13805 _ACEOF
13809 else
13810 SANE_CFLAGS=""
13814 CPPFLAGS=$ac_save_CPPFLAGS
13817 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13818 case "x$with_sane" in
13819 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13820 xno) ;;
13821 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13822 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13823 esac
13827 if test "x$with_usb" != "xno"
13828 then
13829 if ${USB_CFLAGS:+false} :; then :
13830 if ${PKG_CONFIG+:} false; then :
13831 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13835 if ${USB_LIBS:+false} :; then :
13836 if ${PKG_CONFIG+:} false; then :
13837 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13841 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13842 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13844 ac_save_CPPFLAGS=$CPPFLAGS
13845 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13846 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13847 if test "x$ac_cv_header_libusb_h" = xyes; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13849 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13850 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_check_lib_save_LIBS=$LIBS
13854 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13858 /* Override any GCC internal prototype to avoid an error.
13859 Use char because int might match the return type of a GCC
13860 builtin and then its argument prototype would still apply. */
13861 #ifdef __cplusplus
13862 extern "C"
13863 #endif
13864 char libusb_interrupt_event_handler ();
13866 main ()
13868 return libusb_interrupt_event_handler ();
13870 return 0;
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"; then :
13874 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13875 else
13876 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13878 rm -f core conftest.err conftest.$ac_objext \
13879 conftest$ac_exeext conftest.$ac_ext
13880 LIBS=$ac_check_lib_save_LIBS
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13883 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13884 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13886 else
13887 USB_LIBS=""
13890 else
13891 USB_LIBS=""
13895 CPPFLAGS=$ac_save_CPPFLAGS
13898 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13899 case "x$with_usb" in
13900 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13901 xno) ;;
13902 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13903 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13904 esac
13905 enable_wineusb_sys=${enable_wineusb_sys:-no}
13908 if test "x$with_v4l2" != "xno"
13909 then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13911 $as_echo_n "checking for -lv4l2... " >&6; }
13912 if ${ac_cv_lib_soname_v4l2+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_check_soname_save_LIBS=$LIBS
13916 LIBS="-lv4l2 $LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13923 #ifdef __cplusplus
13924 extern "C"
13925 #endif
13926 char v4l2_open ();
13928 main ()
13930 return v4l2_open ();
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 case "$LIBEXT" in
13937 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13938 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'` ;;
13939 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13940 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13941 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13942 fi ;;
13943 esac
13944 else
13945 ac_cv_lib_soname_v4l2=
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS=$ac_check_soname_save_LIBS
13951 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13953 $as_echo "not found" >&6; }
13955 else
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13957 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13959 cat >>confdefs.h <<_ACEOF
13960 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13961 _ACEOF
13966 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13967 case "x$with_v4l2" in
13968 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13969 xno) ;;
13970 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13971 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13972 esac
13976 if test "x$with_gphoto" != "xno"
13977 then
13978 if ${GPHOTO2_CFLAGS:+false} :; then :
13979 if ${PKG_CONFIG+:} false; then :
13980 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13983 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13984 if ${GPHOTO2_LIBS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13989 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13990 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13993 ac_save_CPPFLAGS=$CPPFLAGS
13994 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13995 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13996 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13998 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13999 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char gp_camera_new ();
14015 main ()
14017 return gp_camera_new ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_lib_gphoto2_gp_camera_new=yes
14024 else
14025 ac_cv_lib_gphoto2_gp_camera_new=no
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14032 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14033 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14035 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14037 else
14038 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14041 else
14042 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14046 CPPFLAGS=$ac_save_CPPFLAGS
14048 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14049 if ${PKG_CONFIG+:} false; then :
14050 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14053 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14054 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14059 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14060 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14061 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14063 ac_save_CPPFLAGS=$CPPFLAGS
14064 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14065 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14066 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14068 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14069 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_check_lib_save_LIBS=$LIBS
14073 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char gp_port_info_list_new ();
14085 main ()
14087 return gp_port_info_list_new ();
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14094 else
14095 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14097 rm -f core conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 LIBS=$ac_check_lib_save_LIBS
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14102 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14103 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14105 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14107 else
14108 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14111 else
14112 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14116 CPPFLAGS=$ac_save_CPPFLAGS
14119 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14120 case "x$with_gphoto" in
14121 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14122 xno) ;;
14123 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14124 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14125 esac
14128 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14129 case "x$with_gphoto" in
14130 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14131 xno) ;;
14132 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14133 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14134 esac
14139 if test "$ac_cv_header_resolv_h" = "yes"
14140 then
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14142 $as_echo_n "checking for resolver library... " >&6; }
14143 if ${ac_cv_have_resolv+:} false; then :
14144 $as_echo_n "(cached) " >&6
14145 else
14146 ac_save_LIBS="$LIBS"
14147 for lib in '' -lresolv
14149 LIBS="$lib $ac_save_LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 #ifdef HAVE_NETINET_IN_H
14153 #include <netinet/in.h>
14154 #endif
14155 #include <resolv.h>
14157 main ()
14159 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 ac_cv_have_resolv=${lib:-"none required"}
14166 else
14167 ac_cv_have_resolv="not found"
14169 rm -f core conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 test "x$ac_cv_have_resolv" = "xnot found" || break
14172 done
14173 LIBS="$ac_save_LIBS"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14176 $as_echo "$ac_cv_have_resolv" >&6; }
14178 case "$ac_cv_have_resolv" in
14179 "not found") ;;
14180 "none required")
14182 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14185 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14187 RESOLV_LIBS=$ac_cv_have_resolv
14189 esac
14191 if test "x$ac_cv_have_resolv" != "xnot found"
14192 then
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14194 $as_echo_n "checking for res_getservers... " >&6; }
14195 if ${ac_cv_have_res_getservers+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 ac_save_LIBS="$LIBS"
14199 LIBS="$RESOLV_LIBS $LIBS"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 #include <resolv.h>
14204 main ()
14206 res_getservers(NULL, NULL, 0);
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 ac_cv_have_res_getservers=yes
14213 else
14214 ac_cv_have_res_getservers=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS="$ac_save_LIBS"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14221 $as_echo "$ac_cv_have_res_getservers" >&6; }
14222 if test "$ac_cv_have_res_getservers" = "yes"
14223 then
14225 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14231 if test "x$with_cms" != "xno"
14232 then
14233 if ${LCMS2_CFLAGS:+false} :; then :
14234 if ${PKG_CONFIG+:} false; then :
14235 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14239 if ${LCMS2_LIBS:+false} :; then :
14240 if ${PKG_CONFIG+:} false; then :
14241 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14245 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14246 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14247 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14248 ac_save_CPPFLAGS=$CPPFLAGS
14249 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14250 for ac_header in lcms2.h
14251 do :
14252 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14253 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14254 cat >>confdefs.h <<_ACEOF
14255 #define HAVE_LCMS2_H 1
14256 _ACEOF
14260 done
14262 if test "$ac_cv_header_lcms2_h" = "yes"
14263 then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14265 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14266 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 ac_check_lib_save_LIBS=$LIBS
14270 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14274 /* Override any GCC internal prototype to avoid an error.
14275 Use char because int might match the return type of a GCC
14276 builtin and then its argument prototype would still apply. */
14277 #ifdef __cplusplus
14278 extern "C"
14279 #endif
14280 char cmsOpenProfileFromFile ();
14282 main ()
14284 return cmsOpenProfileFromFile ();
14286 return 0;
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14291 else
14292 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 LIBS=$ac_check_lib_save_LIBS
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14299 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14300 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14302 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14304 else
14305 LCMS2_LIBS=""
14308 else
14309 LCMS2_CFLAGS=""
14310 LCMS2_LIBS=""
14312 CPPFLAGS=$ac_save_CPPFLAGS
14315 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14316 case "x$with_cms" in
14317 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14318 xno) ;;
14319 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14320 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14321 esac
14325 if test "x$with_freetype" != "xno"
14326 then
14327 if ${FREETYPE_CFLAGS:+false} :; then :
14328 if ${PKG_CONFIG+:} false; then :
14329 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14332 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14333 if ${FREETYPE_LIBS:+false} :; then :
14334 if ${PKG_CONFIG+:} false; then :
14335 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14338 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14339 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14340 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14341 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14342 ac_save_CPPFLAGS=$CPPFLAGS
14343 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14344 for ac_header in ft2build.h
14345 do :
14346 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14347 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14348 cat >>confdefs.h <<_ACEOF
14349 #define HAVE_FT2BUILD_H 1
14350 _ACEOF
14354 done
14356 if test "$ac_cv_header_ft2build_h" = "yes"
14357 then
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14359 $as_echo_n "checking for -lfreetype... " >&6; }
14360 if ${ac_cv_lib_soname_freetype+:} false; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 ac_check_soname_save_LIBS=$LIBS
14364 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14368 /* Override any GCC internal prototype to avoid an error.
14369 Use char because int might match the return type of a GCC
14370 builtin and then its argument prototype would still apply. */
14371 #ifdef __cplusplus
14372 extern "C"
14373 #endif
14374 char FT_Init_FreeType ();
14376 main ()
14378 return FT_Init_FreeType ();
14380 return 0;
14382 _ACEOF
14383 if ac_fn_c_try_link "$LINENO"; then :
14384 case "$LIBEXT" in
14385 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14386 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'` ;;
14387 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14388 if ${ac_cv_lib_soname_freetype:+false} :; then :
14389 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14390 fi ;;
14391 esac
14392 else
14393 ac_cv_lib_soname_freetype=
14395 rm -f core conftest.err conftest.$ac_objext \
14396 conftest$ac_exeext conftest.$ac_ext
14397 LIBS=$ac_check_soname_save_LIBS
14399 if ${ac_cv_lib_soname_freetype:+false} :; then :
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14401 $as_echo "not found" >&6; }
14402 FREETYPE_LIBS=""
14403 else
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14405 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14407 cat >>confdefs.h <<_ACEOF
14408 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14409 _ACEOF
14412 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14414 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14415 #include FT_MODULE_H
14417 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14419 cat >>confdefs.h <<_ACEOF
14420 #define HAVE_FT_TRUETYPEENGINETYPE 1
14421 _ACEOF
14427 else
14428 FREETYPE_CFLAGS=""
14429 FREETYPE_LIBS=""
14431 CPPFLAGS=$ac_save_CPPFLAGS
14434 if test "x$ac_cv_lib_soname_freetype" = x; then :
14435 case "x$with_freetype" in
14436 xno) ;;
14437 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14438 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14439 esac
14440 enable_fonts=${enable_fonts:-no}
14443 ac_wine_check_funcs_save_LIBS="$LIBS"
14444 LIBS="$LIBS $PTHREAD_LIBS"
14445 for ac_func in \
14446 pthread_getthreadid_np
14447 do :
14448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14451 cat >>confdefs.h <<_ACEOF
14452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14453 _ACEOF
14456 done
14458 LIBS="$ac_wine_check_funcs_save_LIBS"
14460 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14461 then
14462 if test "$ac_cv_header_gettext_po_h" = "yes"
14463 then
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14465 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14466 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_check_lib_save_LIBS=$LIBS
14470 LIBS="-lgettextpo $LIBS"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14474 /* Override any GCC internal prototype to avoid an error.
14475 Use char because int might match the return type of a GCC
14476 builtin and then its argument prototype would still apply. */
14477 #ifdef __cplusplus
14478 extern "C"
14479 #endif
14480 char po_message_msgctxt ();
14482 main ()
14484 return po_message_msgctxt ();
14486 return 0;
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14491 else
14492 ac_cv_lib_gettextpo_po_message_msgctxt=no
14494 rm -f core conftest.err conftest.$ac_objext \
14495 conftest$ac_exeext conftest.$ac_ext
14496 LIBS=$ac_check_lib_save_LIBS
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14499 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14500 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14502 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14504 GETTEXTPO_LIBS="-lgettextpo"
14509 if test "x$GETTEXTPO_LIBS" = "x"; then :
14510 case "x$with_gettextpo" in
14511 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14512 xno) ;;
14513 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14514 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14515 esac
14518 if test "$srcdir" != .; then :
14519 case "x$with_gettextpo" in
14520 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14521 xno) ;;
14522 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14523 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14524 esac
14529 if test "x$with_pulse" != "xno";
14530 then
14531 if ${PULSE_CFLAGS:+false} :; then :
14532 if ${PKG_CONFIG+:} false; then :
14533 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14537 if ${PULSE_LIBS:+false} :; then :
14538 if ${PKG_CONFIG+:} false; then :
14539 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14544 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14545 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14546 ac_save_CPPFLAGS=$CPPFLAGS
14547 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14548 for ac_header in pulse/pulseaudio.h
14549 do :
14550 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14551 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14552 cat >>confdefs.h <<_ACEOF
14553 #define HAVE_PULSE_PULSEAUDIO_H 1
14554 _ACEOF
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14556 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14557 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14558 $as_echo_n "(cached) " >&6
14559 else
14560 ac_check_lib_save_LIBS=$LIBS
14561 LIBS="-lpulse $PULSE_LIBS $LIBS"
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14565 /* Override any GCC internal prototype to avoid an error.
14566 Use char because int might match the return type of a GCC
14567 builtin and then its argument prototype would still apply. */
14568 #ifdef __cplusplus
14569 extern "C"
14570 #endif
14571 char pa_stream_is_corked ();
14573 main ()
14575 return pa_stream_is_corked ();
14577 return 0;
14579 _ACEOF
14580 if ac_fn_c_try_link "$LINENO"; then :
14581 ac_cv_lib_pulse_pa_stream_is_corked=yes
14582 else
14583 ac_cv_lib_pulse_pa_stream_is_corked=no
14585 rm -f core conftest.err conftest.$ac_objext \
14586 conftest$ac_exeext conftest.$ac_ext
14587 LIBS=$ac_check_lib_save_LIBS
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14590 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14591 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14593 else
14594 PULSE_LIBS=""
14597 else
14598 PULSE_LIBS=""
14601 done
14603 CPPFLAGS=$ac_save_CPPFLAGS
14606 if test -z "$PULSE_LIBS"; then :
14607 case "x$with_pulse" in
14608 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14609 xno) ;;
14610 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14611 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14612 esac
14613 enable_winepulse_drv=${enable_winepulse_drv:-no}
14616 if test "x$with_gstreamer" != "xno"
14617 then
14618 if ${GSTREAMER_CFLAGS:+false} :; then :
14619 if ${PKG_CONFIG+:} false; then :
14620 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14624 if ${GSTREAMER_LIBS:+false} :; then :
14625 if ${PKG_CONFIG+:} false; then :
14626 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14631 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14632 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14633 ac_save_CPPFLAGS=$CPPFLAGS
14634 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14635 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14636 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14638 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14641 #include <gst/gst.h>
14643 main ()
14645 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_compile "$LINENO"; then :
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14652 $as_echo "yes" >&6; }
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14654 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14655 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14656 $as_echo_n "(cached) " >&6
14657 else
14658 ac_check_lib_save_LIBS=$LIBS
14659 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14663 /* Override any GCC internal prototype to avoid an error.
14664 Use char because int might match the return type of a GCC
14665 builtin and then its argument prototype would still apply. */
14666 #ifdef __cplusplus
14667 extern "C"
14668 #endif
14669 char gst_pad_new ();
14671 main ()
14673 return gst_pad_new ();
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14680 else
14681 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LIBS=$ac_check_lib_save_LIBS
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14688 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14689 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14693 else
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14695 $as_echo "no" >&6; }
14696 ac_glib2_broken=yes
14697 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14703 CPPFLAGS=$ac_save_CPPFLAGS
14706 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14707 then
14708 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14709 case "x$with_gstreamer" in
14710 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14711 xno) ;;
14712 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14713 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14714 esac
14718 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14720 ALSA_LIBS=""
14722 if test "x$with_alsa" != "xno"
14723 then
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14725 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14726 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 ac_check_lib_save_LIBS=$LIBS
14730 LIBS="-lasound $LIBS"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14734 /* Override any GCC internal prototype to avoid an error.
14735 Use char because int might match the return type of a GCC
14736 builtin and then its argument prototype would still apply. */
14737 #ifdef __cplusplus
14738 extern "C"
14739 #endif
14740 char snd_pcm_hw_params_get_access_mask ();
14742 main ()
14744 return snd_pcm_hw_params_get_access_mask ();
14746 return 0;
14748 _ACEOF
14749 if ac_fn_c_try_link "$LINENO"; then :
14750 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14751 else
14752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14754 rm -f core conftest.err conftest.$ac_objext \
14755 conftest$ac_exeext conftest.$ac_ext
14756 LIBS=$ac_check_lib_save_LIBS
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14759 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14760 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 #include <alsa/asoundlib.h>
14765 main ()
14767 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_compile "$LINENO"; then :
14773 ALSA_LIBS="-lasound"
14775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14779 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14781 if test "x$with_oss" != xno
14782 then
14783 ac_save_CPPFLAGS="$CPPFLAGS"
14784 if test -f /etc/oss.conf
14785 then
14786 . /etc/oss.conf
14788 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14789 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14790 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14791 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14792 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14794 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14798 _ACEOF
14800 OSS4_CFLAGS="$ac_oss_incl"
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14803 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14804 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_check_lib_save_LIBS=$LIBS
14808 LIBS="-lossaudio $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 char _oss_ioctl ();
14820 main ()
14822 return _oss_ioctl ();
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_lib_ossaudio__oss_ioctl=yes
14829 else
14830 ac_cv_lib_ossaudio__oss_ioctl=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14837 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14838 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14839 OSS4_LIBS="-lossaudio"
14848 CPPFLAGS="$ac_save_CPPFLAGS"
14850 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14851 case "x$with_oss" in
14852 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14853 xno) ;;
14854 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14855 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14856 esac
14857 enable_wineoss_drv=${enable_wineoss_drv:-no}
14860 if test "x$with_udev" != "xno"
14861 then
14862 if ${UDEV_CFLAGS:+false} :; then :
14863 if ${PKG_CONFIG+:} false; then :
14864 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14868 if ${UDEV_LIBS:+false} :; then :
14869 if ${PKG_CONFIG+:} false; then :
14870 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14874 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14875 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14877 ac_save_CPPFLAGS=$CPPFLAGS
14878 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14879 for ac_header in libudev.h
14880 do :
14881 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14882 if test "x$ac_cv_header_libudev_h" = xyes; then :
14883 cat >>confdefs.h <<_ACEOF
14884 #define HAVE_LIBUDEV_H 1
14885 _ACEOF
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14887 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14888 if ${ac_cv_lib_udev_udev_new+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 ac_check_lib_save_LIBS=$LIBS
14892 LIBS="-ludev $UDEV_LIBS $LIBS"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 /* Override any GCC internal prototype to avoid an error.
14897 Use char because int might match the return type of a GCC
14898 builtin and then its argument prototype would still apply. */
14899 #ifdef __cplusplus
14900 extern "C"
14901 #endif
14902 char udev_new ();
14904 main ()
14906 return udev_new ();
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_link "$LINENO"; then :
14912 ac_cv_lib_udev_udev_new=yes
14913 else
14914 ac_cv_lib_udev_udev_new=no
14916 rm -f core conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_lib_save_LIBS
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14921 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14922 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14924 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14926 else
14927 UDEV_LIBS=""
14930 else
14931 UDEV_LIBS=""
14934 done
14936 CPPFLAGS=$ac_save_CPPFLAGS
14939 if test "x$UDEV_LIBS" = "x"; then :
14940 case "x$with_udev" in
14941 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14942 xno) ;;
14943 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14944 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14945 esac
14949 if test "x$with_unwind" != xno
14950 then
14951 if ${UNWIND_CFLAGS:+false} :; then :
14952 if ${PKG_CONFIG+:} false; then :
14953 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14957 if ${UNWIND_LIBS:+false} :; then :
14958 if ${PKG_CONFIG+:} false; then :
14959 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14963 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14964 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14965 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14966 ac_save_CPPFLAGS=$CPPFLAGS
14967 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14969 $as_echo_n "checking for unw_step... " >&6; }
14970 if ${wine_cv_have_unw_step+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 #define UNW_LOCAL_ONLY
14976 #include <libunwind.h>
14978 main ()
14980 unw_cursor_t cursor; unw_step( &cursor );
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"; then :
14986 wine_cv_have_unw_step="yes"
14987 else
14988 wine_cv_have_unw_step="no"
14990 rm -f core conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14994 $as_echo "$wine_cv_have_unw_step" >&6; }
14995 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14996 then
14997 save_libs=$LIBS
14998 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14999 LIBS="$UNWIND_LIBS $LIBS"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15001 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15002 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #define UNW_LOCAL_ONLY
15008 #include <libunwind.h>
15010 main ()
15012 unw_cursor_t cursor; unw_step( &cursor );
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 wine_cv_have_libunwind_unw_step="yes"
15019 else
15020 wine_cv_have_libunwind_unw_step="no"
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15026 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15027 LIBS=$save_libs
15029 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15030 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15031 then
15033 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15036 CPPFLAGS=$ac_save_CPPFLAGS
15039 case $host in
15040 aarch64*|*-darwin*)
15041 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15042 case "x$with_unwind" in
15043 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15044 xno) ;;
15045 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15046 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15047 esac
15049 fi ;;
15050 esac
15052 if test "x$with_sdl" != "xno"
15053 then
15054 if ${SDL2_CFLAGS:+false} :; then :
15055 if ${PKG_CONFIG+:} false; then :
15056 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15060 if ${SDL2_LIBS:+false} :; then :
15061 if ${PKG_CONFIG+:} false; then :
15062 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15066 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15067 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15068 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15069 ac_save_CPPFLAGS=$CPPFLAGS
15070 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15071 for ac_header in SDL.h
15072 do :
15073 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15074 if test "x$ac_cv_header_SDL_h" = xyes; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define HAVE_SDL_H 1
15077 _ACEOF
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15079 $as_echo_n "checking for -lSDL2... " >&6; }
15080 if ${ac_cv_lib_soname_SDL2+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 ac_check_soname_save_LIBS=$LIBS
15084 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15088 /* Override any GCC internal prototype to avoid an error.
15089 Use char because int might match the return type of a GCC
15090 builtin and then its argument prototype would still apply. */
15091 #ifdef __cplusplus
15092 extern "C"
15093 #endif
15094 char SDL_Init ();
15096 main ()
15098 return SDL_Init ();
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 case "$LIBEXT" in
15105 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15106 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'` ;;
15107 *) 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'`
15108 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15109 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15110 fi ;;
15111 esac
15112 else
15113 ac_cv_lib_soname_SDL2=
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 LIBS=$ac_check_soname_save_LIBS
15119 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15121 $as_echo "not found" >&6; }
15123 else
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15125 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15127 cat >>confdefs.h <<_ACEOF
15128 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15129 _ACEOF
15135 done
15137 CPPFLAGS=$ac_save_CPPFLAGS
15140 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15141 case "x$with_sdl" in
15142 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15143 xno) ;;
15144 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15145 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15146 esac
15150 if test "x$with_faudio" != "xno"
15151 then
15152 if ${FAUDIO_CFLAGS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15158 if ${FAUDIO_LIBS:+false} :; then :
15159 if ${PKG_CONFIG+:} false; then :
15160 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15164 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15165 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15166 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15167 ac_save_CPPFLAGS=$CPPFLAGS
15168 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15169 for ac_header in FAudio.h
15170 do :
15171 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15172 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_FAUDIO_H 1
15175 _ACEOF
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15177 $as_echo_n "checking for -lFAudio... " >&6; }
15178 if ${ac_cv_lib_soname_FAudio+:} false; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181 ac_check_soname_save_LIBS=$LIBS
15182 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 #ifdef __cplusplus
15190 extern "C"
15191 #endif
15192 char FAudioCreate ();
15194 main ()
15196 return FAudioCreate ();
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 case "$LIBEXT" in
15203 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15204 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'` ;;
15205 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15206 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15207 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15208 fi ;;
15209 esac
15210 else
15211 ac_cv_lib_soname_FAudio=
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_soname_save_LIBS
15217 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15219 $as_echo "not found" >&6; }
15221 else
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15223 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15225 cat >>confdefs.h <<_ACEOF
15226 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15227 _ACEOF
15233 done
15235 ac_wine_check_funcs_save_LIBS="$LIBS"
15236 LIBS="$LIBS $FAUDIO_LIBS"
15237 for ac_func in FAudio_CommitOperationSet \
15238 F3DAudioInitialize8 \
15239 FAudioLinkedVersion \
15240 FAudioCreateReverb9WithCustomAllocatorEXT
15241 do :
15242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15247 _ACEOF
15250 done
15252 LIBS="$ac_wine_check_funcs_save_LIBS"
15254 CPPFLAGS=$ac_save_CPPFLAGS
15257 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15258 case "x$with_faudio" in
15259 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15260 xno) ;;
15261 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15262 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15263 esac
15267 if test "x$with_capi" != "xno"
15268 then
15269 if ${CAPI20_CFLAGS:+false} :; then :
15270 if ${PKG_CONFIG+:} false; then :
15271 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15275 if ${CAPI20_LIBS:+false} :; then :
15276 if ${PKG_CONFIG+:} false; then :
15277 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15282 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15283 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15284 ac_save_CPPFLAGS=$CPPFLAGS
15285 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15286 for ac_header in capi20.h linux/capi.h
15287 do :
15288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15289 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15292 cat >>confdefs.h <<_ACEOF
15293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15294 _ACEOF
15298 done
15300 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15301 then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15303 $as_echo_n "checking for -lcapi20... " >&6; }
15304 if ${ac_cv_lib_soname_capi20+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 #ifdef __cplusplus
15316 extern "C"
15317 #endif
15318 char capi20_register ();
15320 main ()
15322 return capi20_register ();
15324 return 0;
15326 _ACEOF
15327 if ac_fn_c_try_link "$LINENO"; then :
15328 case "$LIBEXT" in
15329 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_capi20:+false} :; then :
15333 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15336 else
15337 ac_cv_lib_soname_capi20=
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_capi20:+false} :; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 $as_echo "not found" >&6; }
15347 else
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15349 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15351 cat >>confdefs.h <<_ACEOF
15352 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15353 _ACEOF
15358 CPPFLAGS=$ac_save_CPPFLAGS
15361 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15362 case "x$with_capi" in
15363 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15364 xno) ;;
15365 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15366 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15367 esac
15371 if test "x$with_cups" != "xno"
15372 then
15373 if ${CUPS_CFLAGS:+false} :; then :
15374 if ${PKG_CONFIG+:} false; then :
15375 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15378 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15379 if ${CUPS_LIBS:+false} :; then :
15380 if ${PKG_CONFIG+:} false; then :
15381 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15384 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15385 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15386 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15387 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15388 ac_save_CPPFLAGS=$CPPFLAGS
15389 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15390 for ac_header in cups/cups.h cups/ppd.h
15391 do :
15392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15397 _ACEOF
15401 done
15403 if test "$ac_cv_header_cups_cups_h" = "yes"
15404 then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15406 $as_echo_n "checking for -lcups... " >&6; }
15407 if ${ac_cv_lib_soname_cups+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_soname_save_LIBS=$LIBS
15411 LIBS="-lcups $CUPS_LIBS $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 #ifdef __cplusplus
15419 extern "C"
15420 #endif
15421 char cupsGetDefault ();
15423 main ()
15425 return cupsGetDefault ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 case "$LIBEXT" in
15432 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15433 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'` ;;
15434 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15435 if ${ac_cv_lib_soname_cups:+false} :; then :
15436 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15437 fi ;;
15438 esac
15439 else
15440 ac_cv_lib_soname_cups=
15442 rm -f core conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15444 LIBS=$ac_check_soname_save_LIBS
15446 if ${ac_cv_lib_soname_cups:+false} :; then :
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15448 $as_echo "not found" >&6; }
15449 CUPS_LIBS=""
15450 else
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15452 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15454 cat >>confdefs.h <<_ACEOF
15455 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15456 _ACEOF
15460 else
15461 CUPS_CFLAGS=""
15462 CUPS_LIBS=""
15464 CPPFLAGS=$ac_save_CPPFLAGS
15467 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15468 case "x$with_cups" in
15469 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15470 xno) ;;
15471 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15472 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15473 esac
15477 if test "x$with_fontconfig" != "xno"
15478 then
15479 if ${FONTCONFIG_CFLAGS:+false} :; then :
15480 if ${PKG_CONFIG+:} false; then :
15481 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15484 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15485 if ${FONTCONFIG_LIBS:+false} :; then :
15486 if ${PKG_CONFIG+:} false; then :
15487 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15490 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15492 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15493 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15494 ac_save_CPPFLAGS=$CPPFLAGS
15495 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15496 for ac_header in fontconfig/fontconfig.h
15497 do :
15498 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15499 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15500 cat >>confdefs.h <<_ACEOF
15501 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15502 _ACEOF
15506 done
15508 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15509 then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15511 $as_echo_n "checking for -lfontconfig... " >&6; }
15512 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char FcInit ();
15528 main ()
15530 return FcInit ();
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 case "$LIBEXT" in
15537 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15538 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'` ;;
15539 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15540 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15541 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15542 fi ;;
15543 esac
15544 else
15545 ac_cv_lib_soname_fontconfig=
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext conftest.$ac_ext
15549 LIBS=$ac_check_soname_save_LIBS
15551 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 $as_echo "not found" >&6; }
15554 FONTCONFIG_CFLAGS=""
15555 else
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15557 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15559 cat >>confdefs.h <<_ACEOF
15560 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15561 _ACEOF
15565 else
15566 FONTCONFIG_CFLAGS=""
15568 CPPFLAGS=$ac_save_CPPFLAGS
15571 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15572 case "x$with_fontconfig" in
15573 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15574 xno) ;;
15575 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15576 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15577 esac
15581 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15582 then
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15584 $as_echo_n "checking for -lgsm... " >&6; }
15585 if ${ac_cv_lib_soname_gsm+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 ac_check_soname_save_LIBS=$LIBS
15589 LIBS="-lgsm $LIBS"
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char gsm_create ();
15601 main ()
15603 return gsm_create ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 case "$LIBEXT" in
15610 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15611 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'` ;;
15612 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15613 if ${ac_cv_lib_soname_gsm:+false} :; then :
15614 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15615 fi ;;
15616 esac
15617 else
15618 ac_cv_lib_soname_gsm=
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15622 LIBS=$ac_check_soname_save_LIBS
15624 if ${ac_cv_lib_soname_gsm:+false} :; then :
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15626 $as_echo "not found" >&6; }
15628 else
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15630 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15632 cat >>confdefs.h <<_ACEOF
15633 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15634 _ACEOF
15639 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15640 case "x$with_gsm" in
15641 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15642 xno) ;;
15643 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15644 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15645 esac
15649 if test "x$with_krb5" != "xno"
15650 then
15651 if ${KRB5_CFLAGS:+false} :; then :
15652 if ${PKG_CONFIG+:} false; then :
15653 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15656 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15657 if ${KRB5_LIBS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15662 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15664 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15666 ac_save_CPPFLAGS=$CPPFLAGS
15667 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15668 for ac_header in krb5/krb5.h
15669 do :
15670 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15671 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_KRB5_KRB5_H 1
15674 _ACEOF
15678 done
15680 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15681 then
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15683 $as_echo_n "checking for -lkrb5... " >&6; }
15684 if ${ac_cv_lib_soname_krb5+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15687 ac_check_soname_save_LIBS=$LIBS
15688 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char krb5_is_config_principal ();
15700 main ()
15702 return krb5_is_config_principal ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 case "$LIBEXT" in
15709 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15710 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'` ;;
15711 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15712 if ${ac_cv_lib_soname_krb5:+false} :; then :
15713 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15714 fi ;;
15715 esac
15716 else
15717 ac_cv_lib_soname_krb5=
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_soname_save_LIBS
15723 if ${ac_cv_lib_soname_krb5:+false} :; then :
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15725 $as_echo "not found" >&6; }
15726 KRB5_CFLAGS=""
15727 else
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15729 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15731 cat >>confdefs.h <<_ACEOF
15732 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15733 _ACEOF
15737 else
15738 KRB5_CFLAGS=""
15740 CPPFLAGS=$ac_save_CPPFLAGS
15743 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15744 case "x$with_krb5" in
15745 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15746 xno) ;;
15747 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15748 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15749 esac
15752 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15754 if test "x$with_gssapi" != "xno"
15755 then
15756 if ${GSSAPI_CFLAGS:+false} :; then :
15757 if ${PKG_CONFIG+:} false; then :
15758 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15761 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15762 if ${GSSAPI_LIBS:+false} :; then :
15763 if ${PKG_CONFIG+:} false; then :
15764 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15767 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15769 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15770 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15771 ac_save_CPPFLAGS=$CPPFLAGS
15772 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15773 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15774 do :
15775 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15776 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15780 _ACEOF
15784 done
15786 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15787 then
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15789 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15790 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15791 $as_echo_n "(cached) " >&6
15792 else
15793 ac_check_soname_save_LIBS=$LIBS
15794 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15798 /* Override any GCC internal prototype to avoid an error.
15799 Use char because int might match the return type of a GCC
15800 builtin and then its argument prototype would still apply. */
15801 #ifdef __cplusplus
15802 extern "C"
15803 #endif
15804 char gss_init_sec_context ();
15806 main ()
15808 return gss_init_sec_context ();
15810 return 0;
15812 _ACEOF
15813 if ac_fn_c_try_link "$LINENO"; then :
15814 case "$LIBEXT" in
15815 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15816 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'` ;;
15817 *) 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'`
15818 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15819 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15820 fi ;;
15821 esac
15822 else
15823 ac_cv_lib_soname_gssapi_krb5=
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 LIBS=$ac_check_soname_save_LIBS
15829 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15831 $as_echo "not found" >&6; }
15832 GSSAPI_CFLAGS=""
15833 else
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15835 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15837 cat >>confdefs.h <<_ACEOF
15838 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15839 _ACEOF
15843 else
15844 GSSAPI_CFLAGS=""
15846 CPPFLAGS=$ac_save_CPPFLAGS
15849 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15850 case "x$with_gssapi" in
15851 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15852 xno) ;;
15853 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15854 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15855 esac
15859 if test "x$with_jpeg" != "xno"
15860 then
15861 if ${JPEG_CFLAGS:+false} :; then :
15862 if ${PKG_CONFIG+:} false; then :
15863 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15867 if ${JPEG_LIBS:+false} :; then :
15868 if ${PKG_CONFIG+:} false; then :
15869 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15874 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15875 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15876 ac_save_CPPFLAGS=$CPPFLAGS
15877 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15878 for ac_header in jpeglib.h
15879 do :
15880 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15881 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_JPEGLIB_H 1
15884 _ACEOF
15888 done
15890 if test "$ac_cv_header_jpeglib_h" = "yes"
15891 then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15893 $as_echo_n "checking for -ljpeg... " >&6; }
15894 if ${ac_cv_lib_soname_jpeg+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_check_soname_save_LIBS=$LIBS
15898 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15902 /* Override any GCC internal prototype to avoid an error.
15903 Use char because int might match the return type of a GCC
15904 builtin and then its argument prototype would still apply. */
15905 #ifdef __cplusplus
15906 extern "C"
15907 #endif
15908 char jpeg_start_decompress ();
15910 main ()
15912 return jpeg_start_decompress ();
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 case "$LIBEXT" in
15919 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15920 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'` ;;
15921 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15922 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15923 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15924 fi ;;
15925 esac
15926 else
15927 ac_cv_lib_soname_jpeg=
15929 rm -f core conftest.err conftest.$ac_objext \
15930 conftest$ac_exeext conftest.$ac_ext
15931 LIBS=$ac_check_soname_save_LIBS
15933 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15935 $as_echo "not found" >&6; }
15936 JPEG_CFLAGS=""
15937 else
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15939 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15941 cat >>confdefs.h <<_ACEOF
15942 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15943 _ACEOF
15947 else
15948 JPEG_CFLAGS=""
15950 CPPFLAGS=$ac_save_CPPFLAGS
15953 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15954 case "x$with_jpeg" in
15955 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15956 xno) ;;
15957 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15958 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15959 esac
15963 if test "x$with_jxrlib" != "xno"
15964 then
15965 if ${JXRLIB_CFLAGS:+false} :; then :
15966 if ${PKG_CONFIG+:} false; then :
15967 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15970 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15971 if ${JXRLIB_LIBS:+false} :; then :
15972 if ${PKG_CONFIG+:} false; then :
15973 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15978 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15979 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15980 ac_save_CPPFLAGS=$CPPFLAGS
15981 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15982 for ac_header in JXRGlue.h
15983 do :
15984 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15986 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_JXRGLUE_H 1
15989 _ACEOF
15993 done
15995 if test "$ac_cv_header_JXRGlue_h" = "yes"
15996 then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15998 $as_echo_n "checking for -ljxrglue... " >&6; }
15999 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_check_soname_save_LIBS=$LIBS
16003 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char PKImageDecode_Create_WMP ();
16015 main ()
16017 return PKImageDecode_Create_WMP ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 case "$LIBEXT" in
16024 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16025 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'` ;;
16026 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16027 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16028 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16029 fi ;;
16030 esac
16031 else
16032 ac_cv_lib_soname_jxrglue=
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16040 $as_echo "not found" >&6; }
16041 JXRLIB_CFLAGS=""
16042 else
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16044 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16046 cat >>confdefs.h <<_ACEOF
16047 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16048 _ACEOF
16052 else
16053 JXRLIB_CFLAGS=""
16055 CPPFLAGS=$ac_save_CPPFLAGS
16058 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16059 case "x$with_jxrlib" in
16060 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16061 xno) ;;
16062 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16063 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16064 esac
16068 if test "x$with_png" != "xno"
16069 then
16070 if ${PNG_CFLAGS:+false} :; then :
16071 if ${PKG_CONFIG+:} false; then :
16072 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16075 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16076 if ${PNG_LIBS:+false} :; then :
16077 if ${PKG_CONFIG+:} false; then :
16078 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16081 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16083 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16085 ac_save_CPPFLAGS=$CPPFLAGS
16086 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16087 for ac_header in png.h
16088 do :
16089 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16090 if test "x$ac_cv_header_png_h" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_PNG_H 1
16093 _ACEOF
16097 done
16099 if test "$ac_cv_header_png_h" = "yes"
16100 then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16102 $as_echo_n "checking for -lpng... " >&6; }
16103 if ${ac_cv_lib_soname_png+:} false; then :
16104 $as_echo_n "(cached) " >&6
16105 else
16106 ac_check_soname_save_LIBS=$LIBS
16107 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char png_create_read_struct ();
16119 main ()
16121 return png_create_read_struct ();
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127 case "$LIBEXT" in
16128 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16129 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'` ;;
16130 *) 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'`
16131 if ${ac_cv_lib_soname_png:+false} :; then :
16132 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16133 fi ;;
16134 esac
16135 else
16136 ac_cv_lib_soname_png=
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext conftest.$ac_ext
16140 LIBS=$ac_check_soname_save_LIBS
16142 if ${ac_cv_lib_soname_png:+false} :; then :
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16144 $as_echo "not found" >&6; }
16145 PNG_CFLAGS=""
16146 else
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16148 $as_echo "$ac_cv_lib_soname_png" >&6; }
16150 cat >>confdefs.h <<_ACEOF
16151 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16152 _ACEOF
16156 else
16157 PNG_CFLAGS=""
16159 CPPFLAGS=$ac_save_CPPFLAGS
16162 if test "x$ac_cv_lib_soname_png" = "x"; then :
16163 case "x$with_png" in
16164 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16165 xno) ;;
16166 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16167 This is an error since --with-png was requested." "$LINENO" 5 ;;
16168 esac
16172 if test "x$with_tiff" != "xno"
16173 then
16174 if ${TIFF_CFLAGS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16180 if ${TIFF_LIBS:+false} :; then :
16181 if ${PKG_CONFIG+:} false; then :
16182 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16187 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16189 ac_save_CPPFLAGS=$CPPFLAGS
16190 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16191 for ac_header in tiffio.h
16192 do :
16193 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_TIFFIO_H 1
16197 _ACEOF
16201 done
16203 if test "$ac_cv_header_tiffio_h" = "yes"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16206 $as_echo_n "checking for -ltiff... " >&6; }
16207 if ${ac_cv_lib_soname_tiff+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_soname_save_LIBS=$LIBS
16211 LIBS="-ltiff $TIFF_LIBS $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char TIFFClientOpen ();
16223 main ()
16225 return TIFFClientOpen ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 case "$LIBEXT" in
16232 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16233 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'` ;;
16234 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16235 if ${ac_cv_lib_soname_tiff:+false} :; then :
16236 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16237 fi ;;
16238 esac
16239 else
16240 ac_cv_lib_soname_tiff=
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_soname_save_LIBS
16246 if ${ac_cv_lib_soname_tiff:+false} :; then :
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16248 $as_echo "not found" >&6; }
16250 else
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16252 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16254 cat >>confdefs.h <<_ACEOF
16255 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16256 _ACEOF
16261 CPPFLAGS=$ac_save_CPPFLAGS
16264 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16265 case "x$with_tiff" in
16266 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16267 xno) ;;
16268 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16269 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16270 esac
16274 if test "x$with_mpg123" != "xno"
16275 then
16276 if ${MPG123_CFLAGS:+false} :; then :
16277 if ${PKG_CONFIG+:} false; then :
16278 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16282 if ${MPG123_LIBS:+false} :; then :
16283 if ${PKG_CONFIG+:} false; then :
16284 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16288 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16289 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16290 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16291 ac_save_CPPFLAGS=$CPPFLAGS
16292 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16293 for ac_header in mpg123.h
16294 do :
16295 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16296 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_MPG123_H 1
16299 _ACEOF
16303 done
16305 if test "$ac_cv_header_mpg123_h" = "yes"
16306 then
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16308 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16309 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 ac_check_lib_save_LIBS=$LIBS
16313 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16317 /* Override any GCC internal prototype to avoid an error.
16318 Use char because int might match the return type of a GCC
16319 builtin and then its argument prototype would still apply. */
16320 #ifdef __cplusplus
16321 extern "C"
16322 #endif
16323 char mpg123_feed ();
16325 main ()
16327 return mpg123_feed ();
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_link "$LINENO"; then :
16333 ac_cv_lib_mpg123_mpg123_feed=yes
16334 else
16335 ac_cv_lib_mpg123_mpg123_feed=no
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16339 LIBS=$ac_check_lib_save_LIBS
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16342 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16343 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16345 else
16346 MPG123_LIBS=""
16349 else
16350 MPG123_CFLAGS=""
16351 MPG123_LIBS=""
16353 CPPFLAGS=$ac_save_CPPFLAGS
16356 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16357 case "x$with_mpg123" in
16358 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16359 xno) ;;
16360 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16361 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16362 esac
16363 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16365 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16367 if test "$ac_cv_header_AL_al_h" = "yes"
16368 then
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16370 $as_echo_n "checking for -lopenal... " >&6; }
16371 if ${ac_cv_lib_soname_openal+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 ac_check_soname_save_LIBS=$LIBS
16375 LIBS="-lopenal $LIBS"
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 char alGetSource3i ();
16387 main ()
16389 return alGetSource3i ();
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"; then :
16395 case "$LIBEXT" in
16396 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16397 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'` ;;
16398 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16399 if ${ac_cv_lib_soname_openal:+false} :; then :
16400 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16401 fi ;;
16402 esac
16403 else
16404 ac_cv_lib_soname_openal=
16406 rm -f core conftest.err conftest.$ac_objext \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_soname_save_LIBS
16410 if ${ac_cv_lib_soname_openal:+false} :; then :
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16412 $as_echo "not found" >&6; }
16414 else
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16416 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16418 cat >>confdefs.h <<_ACEOF
16419 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16420 _ACEOF
16422 OPENAL_LIBS="-lopenal"
16424 ac_cv_lib_openal=yes
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_OPENAL 1
16428 _ACEOF
16432 if test "x$ac_cv_lib_openal" != xyes; then :
16433 case "x$with_openal" in
16434 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16435 xno) ;;
16436 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16437 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16438 esac
16439 enable_openal32=${enable_openal32:-no}
16442 if test "x$ac_cv_lib_soname_FAudio" = "x"
16443 then
16444 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16445 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16446 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16447 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16448 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16449 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16450 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16451 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16452 enable_xactengine2_0=${enable_xactengine2_0:-no}
16453 enable_xactengine2_4=${enable_xactengine2_4:-no}
16454 enable_xactengine2_7=${enable_xactengine2_7:-no}
16455 enable_xactengine2_9=${enable_xactengine2_9:-no}
16456 enable_xactengine3_0=${enable_xactengine3_0:-no}
16457 enable_xactengine3_1=${enable_xactengine3_1:-no}
16458 enable_xactengine3_2=${enable_xactengine3_2:-no}
16459 enable_xactengine3_3=${enable_xactengine3_3:-no}
16460 enable_xactengine3_4=${enable_xactengine3_4:-no}
16461 enable_xactengine3_5=${enable_xactengine3_5:-no}
16462 enable_xactengine3_6=${enable_xactengine3_6:-no}
16463 enable_xactengine3_7=${enable_xactengine3_7:-no}
16464 enable_xapofx1_1=${enable_xapofx1_1:-no}
16465 enable_xapofx1_2=${enable_xapofx1_2:-no}
16466 enable_xapofx1_3=${enable_xapofx1_3:-no}
16467 enable_xapofx1_4=${enable_xapofx1_4:-no}
16468 enable_xapofx1_5=${enable_xapofx1_5:-no}
16469 enable_xaudio2_0=${enable_xaudio2_0:-no}
16470 enable_xaudio2_1=${enable_xaudio2_1:-no}
16471 enable_xaudio2_2=${enable_xaudio2_2:-no}
16472 enable_xaudio2_3=${enable_xaudio2_3:-no}
16473 enable_xaudio2_4=${enable_xaudio2_4:-no}
16474 enable_xaudio2_5=${enable_xaudio2_5:-no}
16475 enable_xaudio2_6=${enable_xaudio2_6:-no}
16476 enable_xaudio2_7=${enable_xaudio2_7:-no}
16477 enable_xaudio2_8=${enable_xaudio2_8:-no}
16478 enable_xaudio2_9=${enable_xaudio2_9:-no}
16481 if test "$ac_cv_header_kstat_h" = "yes"
16482 then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16484 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16485 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 ac_check_lib_save_LIBS=$LIBS
16489 LIBS="-lkstat $LIBS"
16490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16493 /* Override any GCC internal prototype to avoid an error.
16494 Use char because int might match the return type of a GCC
16495 builtin and then its argument prototype would still apply. */
16496 #ifdef __cplusplus
16497 extern "C"
16498 #endif
16499 char kstat_open ();
16501 main ()
16503 return kstat_open ();
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 ac_cv_lib_kstat_kstat_open=yes
16510 else
16511 ac_cv_lib_kstat_kstat_open=no
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16515 LIBS=$ac_check_lib_save_LIBS
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16518 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16519 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16521 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16523 KSTAT_LIBS="-lkstat"
16529 if test "$ac_cv_header_libprocstat_h" = "yes"
16530 then
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16532 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16533 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 ac_check_lib_save_LIBS=$LIBS
16537 LIBS="-lprocstat $LIBS"
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16541 /* Override any GCC internal prototype to avoid an error.
16542 Use char because int might match the return type of a GCC
16543 builtin and then its argument prototype would still apply. */
16544 #ifdef __cplusplus
16545 extern "C"
16546 #endif
16547 char procstat_open_sysctl ();
16549 main ()
16551 return procstat_open_sysctl ();
16553 return 0;
16555 _ACEOF
16556 if ac_fn_c_try_link "$LINENO"; then :
16557 ac_cv_lib_procstat_procstat_open_sysctl=yes
16558 else
16559 ac_cv_lib_procstat_procstat_open_sysctl=no
16561 rm -f core conftest.err conftest.$ac_objext \
16562 conftest$ac_exeext conftest.$ac_ext
16563 LIBS=$ac_check_lib_save_LIBS
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16566 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16567 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16569 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16571 PROCSTAT_LIBS="-lprocstat"
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16578 $as_echo_n "checking for -lodbc... " >&6; }
16579 if ${ac_cv_lib_soname_odbc+:} false; then :
16580 $as_echo_n "(cached) " >&6
16581 else
16582 ac_check_soname_save_LIBS=$LIBS
16583 LIBS="-lodbc $LIBS"
16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16587 /* Override any GCC internal prototype to avoid an error.
16588 Use char because int might match the return type of a GCC
16589 builtin and then its argument prototype would still apply. */
16590 #ifdef __cplusplus
16591 extern "C"
16592 #endif
16593 char SQLConnect ();
16595 main ()
16597 return SQLConnect ();
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"; then :
16603 case "$LIBEXT" in
16604 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16605 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'` ;;
16606 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16607 if ${ac_cv_lib_soname_odbc:+false} :; then :
16608 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16609 fi ;;
16610 esac
16611 else
16612 ac_cv_lib_soname_odbc=
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16616 LIBS=$ac_check_soname_save_LIBS
16618 if ${ac_cv_lib_soname_odbc:+false} :; then :
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16620 $as_echo "not found" >&6; }
16621 cat >>confdefs.h <<_ACEOF
16622 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16623 _ACEOF
16625 else
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16627 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16629 cat >>confdefs.h <<_ACEOF
16630 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16631 _ACEOF
16636 if test "x$with_netapi" != "xno"
16637 then
16638 if ${NETAPI_CFLAGS:+false} :; then :
16639 if ${PKG_CONFIG+:} false; then :
16640 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16644 if ${NETAPI_LIBS:+false} :; then :
16645 if ${PKG_CONFIG+:} false; then :
16646 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16651 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16652 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16653 ac_save_CPPFLAGS=$CPPFLAGS
16654 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16656 $as_echo_n "checking for -lnetapi... " >&6; }
16657 if ${ac_cv_lib_soname_netapi+:} false; then :
16658 $as_echo_n "(cached) " >&6
16659 else
16660 ac_check_soname_save_LIBS=$LIBS
16661 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16665 /* Override any GCC internal prototype to avoid an error.
16666 Use char because int might match the return type of a GCC
16667 builtin and then its argument prototype would still apply. */
16668 #ifdef __cplusplus
16669 extern "C"
16670 #endif
16671 char libnetapi_init ();
16673 main ()
16675 return libnetapi_init ();
16677 return 0;
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"; then :
16681 case "$LIBEXT" in
16682 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16683 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'` ;;
16684 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16685 if ${ac_cv_lib_soname_netapi:+false} :; then :
16686 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16687 fi ;;
16688 esac
16689 else
16690 ac_cv_lib_soname_netapi=
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16694 LIBS=$ac_check_soname_save_LIBS
16696 if ${ac_cv_lib_soname_netapi:+false} :; then :
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16698 $as_echo "not found" >&6; }
16699 cat >>confdefs.h <<_ACEOF
16700 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16701 _ACEOF
16703 else
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16705 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16707 cat >>confdefs.h <<_ACEOF
16708 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16709 _ACEOF
16713 CPPFLAGS=$ac_save_CPPFLAGS
16717 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16718 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16719 then
16720 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16723 if test "x$with_vulkan" != "xno"
16724 then
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16726 $as_echo_n "checking for -lvulkan... " >&6; }
16727 if ${ac_cv_lib_soname_vulkan+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 ac_check_soname_save_LIBS=$LIBS
16731 LIBS="-lvulkan $LIBS"
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16738 #ifdef __cplusplus
16739 extern "C"
16740 #endif
16741 char vkGetInstanceProcAddr ();
16743 main ()
16745 return vkGetInstanceProcAddr ();
16747 return 0;
16749 _ACEOF
16750 if ac_fn_c_try_link "$LINENO"; then :
16751 case "$LIBEXT" in
16752 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16753 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'` ;;
16754 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16755 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16756 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16757 fi ;;
16758 esac
16759 else
16760 ac_cv_lib_soname_vulkan=
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 LIBS=$ac_check_soname_save_LIBS
16766 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16768 $as_echo "not found" >&6; }
16770 else
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16772 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16774 cat >>confdefs.h <<_ACEOF
16775 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16776 _ACEOF
16780 if test "x$ac_cv_lib_soname_vulkan" = "x"
16781 then
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16783 $as_echo_n "checking for -lMoltenVK... " >&6; }
16784 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16785 $as_echo_n "(cached) " >&6
16786 else
16787 ac_check_soname_save_LIBS=$LIBS
16788 LIBS="-lMoltenVK $LIBS"
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16792 /* Override any GCC internal prototype to avoid an error.
16793 Use char because int might match the return type of a GCC
16794 builtin and then its argument prototype would still apply. */
16795 #ifdef __cplusplus
16796 extern "C"
16797 #endif
16798 char vkGetInstanceProcAddr ();
16800 main ()
16802 return vkGetInstanceProcAddr ();
16804 return 0;
16806 _ACEOF
16807 if ac_fn_c_try_link "$LINENO"; then :
16808 case "$LIBEXT" in
16809 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16810 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'` ;;
16811 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16812 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16813 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16814 fi ;;
16815 esac
16816 else
16817 ac_cv_lib_soname_MoltenVK=
16819 rm -f core conftest.err conftest.$ac_objext \
16820 conftest$ac_exeext conftest.$ac_ext
16821 LIBS=$ac_check_soname_save_LIBS
16823 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16825 $as_echo "not found" >&6; }
16827 else
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16829 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16831 cat >>confdefs.h <<_ACEOF
16832 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16833 _ACEOF
16839 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16840 case "x$with_vulkan" in
16841 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16842 xno) ;;
16843 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16844 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16845 esac
16849 if test "x$with_vkd3d" != "xno"
16850 then
16851 if ${VKD3D_CFLAGS:+false} :; then :
16852 if ${PKG_CONFIG+:} false; then :
16853 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16857 if ${VKD3D_LIBS:+false} :; then :
16858 if ${PKG_CONFIG+:} false; then :
16859 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16864 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16865 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16866 ac_save_CPPFLAGS=$CPPFLAGS
16867 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16869 $as_echo_n "checking for -lvkd3d... " >&6; }
16870 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16871 $as_echo_n "(cached) " >&6
16872 else
16873 ac_check_soname_save_LIBS=$LIBS
16874 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16878 /* Override any GCC internal prototype to avoid an error.
16879 Use char because int might match the return type of a GCC
16880 builtin and then its argument prototype would still apply. */
16881 #ifdef __cplusplus
16882 extern "C"
16883 #endif
16884 char vkd3d_serialize_versioned_root_signature ();
16886 main ()
16888 return vkd3d_serialize_versioned_root_signature ();
16890 return 0;
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 case "$LIBEXT" in
16895 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16896 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'` ;;
16897 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16898 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16899 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16900 fi ;;
16901 esac
16902 else
16903 ac_cv_lib_soname_vkd3d=
16905 rm -f core conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16907 LIBS=$ac_check_soname_save_LIBS
16909 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16911 $as_echo "not found" >&6; }
16913 else
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16915 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16917 cat >>confdefs.h <<_ACEOF
16918 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16919 _ACEOF
16923 CPPFLAGS=$ac_save_CPPFLAGS
16925 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16926 if ${PKG_CONFIG+:} false; then :
16927 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16931 if ${VKD3D_SHADER_LIBS:+false} :; then :
16932 if ${PKG_CONFIG+:} false; then :
16933 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16938 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16939 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16940 ac_save_CPPFLAGS=$CPPFLAGS
16941 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16943 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16944 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16947 ac_check_soname_save_LIBS=$LIBS
16948 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16952 /* Override any GCC internal prototype to avoid an error.
16953 Use char because int might match the return type of a GCC
16954 builtin and then its argument prototype would still apply. */
16955 #ifdef __cplusplus
16956 extern "C"
16957 #endif
16958 char vkd3d_shader_compile ();
16960 main ()
16962 return vkd3d_shader_compile ();
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 case "$LIBEXT" in
16969 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16970 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'` ;;
16971 *) 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'`
16972 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16973 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16974 fi ;;
16975 esac
16976 else
16977 ac_cv_lib_soname_vkd3d_shader=
16979 rm -f core conftest.err conftest.$ac_objext \
16980 conftest$ac_exeext conftest.$ac_ext
16981 LIBS=$ac_check_soname_save_LIBS
16983 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16985 $as_echo "not found" >&6; }
16987 else
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16989 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16991 cat >>confdefs.h <<_ACEOF
16992 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16993 _ACEOF
16997 CPPFLAGS=$ac_save_CPPFLAGS
17000 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17001 case "x$with_vkd3d" in
17002 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17003 xno) ;;
17004 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17005 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17006 esac
17009 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17012 EXTRACFLAGS=""
17014 if test "x${GCC}" = "xyes"
17015 then
17016 EXTRACFLAGS="-Wall -pipe"
17018 saved_CFLAGS=$CFLAGS
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17020 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17021 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 ac_wine_try_cflags_saved=$CFLAGS
17025 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 int main(int argc, char **argv) { return 0; }
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_cflags__Werror_unknown_warning_option=yes
17032 else
17033 ac_cv_cflags__Werror_unknown_warning_option=no
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17037 CFLAGS=$ac_wine_try_cflags_saved
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17040 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17041 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17042 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17045 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17046 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17047 $as_echo_n "(cached) " >&6
17048 else
17049 ac_wine_try_cflags_saved=$CFLAGS
17050 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 int main(int argc, char **argv) { return 0; }
17054 _ACEOF
17055 if ac_fn_c_try_link "$LINENO"; then :
17056 ac_cv_cflags__Werror_unused_command_line_argument=yes
17057 else
17058 ac_cv_cflags__Werror_unused_command_line_argument=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 CFLAGS=$ac_wine_try_cflags_saved
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17065 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17066 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17067 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17070 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17071 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 ac_wine_try_cflags_saved=$CFLAGS
17075 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 int main(int argc, char **argv) { return 0; }
17079 _ACEOF
17080 if ac_fn_c_try_link "$LINENO"; then :
17081 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17082 else
17083 ac_cv_cflags__Werror_ignored_optimization_argument=no
17085 rm -f core conftest.err conftest.$ac_objext \
17086 conftest$ac_exeext conftest.$ac_ext
17087 CFLAGS=$ac_wine_try_cflags_saved
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17090 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17091 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17092 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17095 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17096 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 ac_wine_try_cflags_saved=$CFLAGS
17100 CFLAGS="$CFLAGS -fcf-protection=none"
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17103 int main(int argc, char **argv) { return 0; }
17104 _ACEOF
17105 if ac_fn_c_try_link "$LINENO"; then :
17106 ac_cv_cflags__fcf_protection_none=yes
17107 else
17108 ac_cv_cflags__fcf_protection_none=no
17110 rm -f core conftest.err conftest.$ac_objext \
17111 conftest$ac_exeext conftest.$ac_ext
17112 CFLAGS=$ac_wine_try_cflags_saved
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17115 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17116 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17117 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17120 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17121 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17122 $as_echo_n "(cached) " >&6
17123 else
17124 ac_wine_try_cflags_saved=$CFLAGS
17125 CFLAGS="$CFLAGS -fno-stack-protector"
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 int main(int argc, char **argv) { return 0; }
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 ac_cv_cflags__fno_stack_protector=yes
17132 else
17133 ac_cv_cflags__fno_stack_protector=no
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17137 CFLAGS=$ac_wine_try_cflags_saved
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17140 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17141 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17142 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17145 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17146 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 ac_wine_try_cflags_saved=$CFLAGS
17150 CFLAGS="$CFLAGS -fno-strict-aliasing"
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 int main(int argc, char **argv) { return 0; }
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"; then :
17156 ac_cv_cflags__fno_strict_aliasing=yes
17157 else
17158 ac_cv_cflags__fno_strict_aliasing=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17162 CFLAGS=$ac_wine_try_cflags_saved
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17165 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17166 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17167 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17170 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17171 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 ac_wine_try_cflags_saved=$CFLAGS
17175 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 int main(int argc, char **argv) { return 0; }
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"; then :
17181 ac_cv_cflags__Wdeclaration_after_statement=yes
17182 else
17183 ac_cv_cflags__Wdeclaration_after_statement=no
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 CFLAGS=$ac_wine_try_cflags_saved
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17190 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17191 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17192 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17195 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17196 if ${ac_cv_cflags__Wempty_body+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 ac_wine_try_cflags_saved=$CFLAGS
17200 CFLAGS="$CFLAGS -Wempty-body"
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 int main(int argc, char **argv) { return 0; }
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"; then :
17206 ac_cv_cflags__Wempty_body=yes
17207 else
17208 ac_cv_cflags__Wempty_body=no
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17212 CFLAGS=$ac_wine_try_cflags_saved
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17215 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17216 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17217 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17220 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17221 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 ac_wine_try_cflags_saved=$CFLAGS
17225 CFLAGS="$CFLAGS -Wignored-qualifiers"
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 int main(int argc, char **argv) { return 0; }
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"; then :
17231 ac_cv_cflags__Wignored_qualifiers=yes
17232 else
17233 ac_cv_cflags__Wignored_qualifiers=no
17235 rm -f core conftest.err conftest.$ac_objext \
17236 conftest$ac_exeext conftest.$ac_ext
17237 CFLAGS=$ac_wine_try_cflags_saved
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17240 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17241 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17242 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17245 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17246 if ${ac_cv_cflags__Winit_self+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 ac_wine_try_cflags_saved=$CFLAGS
17250 CFLAGS="$CFLAGS -Winit-self"
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 int main(int argc, char **argv) { return 0; }
17254 _ACEOF
17255 if ac_fn_c_try_link "$LINENO"; then :
17256 ac_cv_cflags__Winit_self=yes
17257 else
17258 ac_cv_cflags__Winit_self=no
17260 rm -f core conftest.err conftest.$ac_objext \
17261 conftest$ac_exeext conftest.$ac_ext
17262 CFLAGS=$ac_wine_try_cflags_saved
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17265 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17266 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17267 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17270 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17271 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 ac_wine_try_cflags_saved=$CFLAGS
17275 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 int main(int argc, char **argv) { return 0; }
17279 _ACEOF
17280 if ac_fn_c_try_link "$LINENO"; then :
17281 ac_cv_cflags__Wpacked_not_aligned=yes
17282 else
17283 ac_cv_cflags__Wpacked_not_aligned=no
17285 rm -f core conftest.err conftest.$ac_objext \
17286 conftest$ac_exeext conftest.$ac_ext
17287 CFLAGS=$ac_wine_try_cflags_saved
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17290 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17291 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17292 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17295 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17296 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17297 $as_echo_n "(cached) " >&6
17298 else
17299 ac_wine_try_cflags_saved=$CFLAGS
17300 CFLAGS="$CFLAGS -Wpragma-pack"
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 int main(int argc, char **argv) { return 0; }
17304 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"; then :
17306 ac_cv_cflags__Wpragma_pack=yes
17307 else
17308 ac_cv_cflags__Wpragma_pack=no
17310 rm -f core conftest.err conftest.$ac_objext \
17311 conftest$ac_exeext conftest.$ac_ext
17312 CFLAGS=$ac_wine_try_cflags_saved
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17315 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17316 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17317 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17320 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17321 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17324 ac_wine_try_cflags_saved=$CFLAGS
17325 CFLAGS="$CFLAGS -Wshift-overflow=2"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 int main(int argc, char **argv) { return 0; }
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 ac_cv_cflags__Wshift_overflow_2=yes
17332 else
17333 ac_cv_cflags__Wshift_overflow_2=no
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17337 CFLAGS=$ac_wine_try_cflags_saved
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17340 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17341 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17342 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17345 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17346 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 ac_wine_try_cflags_saved=$CFLAGS
17350 CFLAGS="$CFLAGS -Wstrict-prototypes"
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 int main(int argc, char **argv) { return 0; }
17354 _ACEOF
17355 if ac_fn_c_try_link "$LINENO"; then :
17356 ac_cv_cflags__Wstrict_prototypes=yes
17357 else
17358 ac_cv_cflags__Wstrict_prototypes=no
17360 rm -f core conftest.err conftest.$ac_objext \
17361 conftest$ac_exeext conftest.$ac_ext
17362 CFLAGS=$ac_wine_try_cflags_saved
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17365 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17366 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17367 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17370 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17371 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 ac_wine_try_cflags_saved=$CFLAGS
17375 CFLAGS="$CFLAGS -Wtype-limits"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 int main(int argc, char **argv) { return 0; }
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_cflags__Wtype_limits=yes
17382 else
17383 ac_cv_cflags__Wtype_limits=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17387 CFLAGS=$ac_wine_try_cflags_saved
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17390 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17391 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17392 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17395 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17396 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 ac_wine_try_cflags_saved=$CFLAGS
17400 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 int main(int argc, char **argv) { return 0; }
17404 _ACEOF
17405 if ac_fn_c_try_link "$LINENO"; then :
17406 ac_cv_cflags__Wunused_but_set_parameter=yes
17407 else
17408 ac_cv_cflags__Wunused_but_set_parameter=no
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 CFLAGS=$ac_wine_try_cflags_saved
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17415 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17416 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17417 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17420 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17421 if ${ac_cv_cflags__Wvla+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 ac_wine_try_cflags_saved=$CFLAGS
17425 CFLAGS="$CFLAGS -Wvla"
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 int main(int argc, char **argv) { return 0; }
17429 _ACEOF
17430 if ac_fn_c_try_link "$LINENO"; then :
17431 ac_cv_cflags__Wvla=yes
17432 else
17433 ac_cv_cflags__Wvla=no
17435 rm -f core conftest.err conftest.$ac_objext \
17436 conftest$ac_exeext conftest.$ac_ext
17437 CFLAGS=$ac_wine_try_cflags_saved
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17440 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17441 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17442 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17445 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17446 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 ac_wine_try_cflags_saved=$CFLAGS
17450 CFLAGS="$CFLAGS -Wwrite-strings"
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 int main(int argc, char **argv) { return 0; }
17454 _ACEOF
17455 if ac_fn_c_try_link "$LINENO"; then :
17456 ac_cv_cflags__Wwrite_strings=yes
17457 else
17458 ac_cv_cflags__Wwrite_strings=no
17460 rm -f core conftest.err conftest.$ac_objext \
17461 conftest$ac_exeext conftest.$ac_ext
17462 CFLAGS=$ac_wine_try_cflags_saved
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17465 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17466 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17467 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17470 if test -z "$CROSSTARGET"
17471 then
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17473 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17474 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 ac_wine_try_cflags_saved=$CFLAGS
17478 CFLAGS="$CFLAGS -fexcess-precision=standard"
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 int main(int argc, char **argv) { return 0; }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 ac_cv_cflags__fexcess_precision_standard=yes
17485 else
17486 ac_cv_cflags__fexcess_precision_standard=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17490 CFLAGS=$ac_wine_try_cflags_saved
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17493 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17494 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17495 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17501 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17502 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 ac_wine_try_cflags_saved=$CFLAGS
17506 CFLAGS="$CFLAGS -Wpointer-arith"
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 int main(int argc, char **argv) { return 0; }
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"; then :
17512 ac_cv_cflags__Wpointer_arith=yes
17513 else
17514 ac_cv_cflags__Wpointer_arith=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17518 CFLAGS=$ac_wine_try_cflags_saved
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17521 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17522 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17523 saved_string_h_CFLAGS=$CFLAGS
17524 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17526 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17527 if ${ac_cv_c_string_h_warnings+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #include <string.h>
17534 main ()
17538 return 0;
17540 _ACEOF
17541 if ac_fn_c_try_compile "$LINENO"; then :
17542 ac_cv_c_string_h_warnings=no
17543 else
17544 ac_cv_c_string_h_warnings=yes
17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17549 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17550 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17551 CFLAGS=$saved_string_h_CFLAGS
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17555 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17556 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 ac_wine_try_cflags_saved=$CFLAGS
17560 CFLAGS="$CFLAGS -Wlogical-op"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 int main(int argc, char **argv) { return 0; }
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_cflags__Wlogical_op=yes
17567 else
17568 ac_cv_cflags__Wlogical_op=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 CFLAGS=$ac_wine_try_cflags_saved
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17575 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17576 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17577 saved_string_h_CFLAGS=$CFLAGS
17578 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17580 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17581 if ${ac_cv_c_logicalop_noisy+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17586 #include <string.h>
17587 char*f(const char *h,char n) {return strchr(h,n);}
17589 main ()
17593 return 0;
17595 _ACEOF
17596 if ac_fn_c_try_compile "$LINENO"; then :
17597 ac_cv_c_logicalop_noisy=no
17598 else
17599 ac_cv_c_logicalop_noisy=yes
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17604 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17605 CFLAGS=$saved_string_h_CFLAGS
17606 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17610 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17611 if ${wine_cv_64bit_compare_swap+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17617 #error no
17618 #endif
17620 main ()
17624 return 0;
17626 _ACEOF
17627 if ac_fn_c_try_compile "$LINENO"; then :
17628 wine_cv_64bit_compare_swap="none needed"
17629 else
17630 case $host_cpu in
17631 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17632 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17633 *) wine_cv_64bit_compare_swap="unknown" ;;
17634 esac
17635 if test "x$wine_cv_64bit_compare_swap" != xunknown
17636 then
17637 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17641 #error no
17642 #endif
17644 main ()
17648 return 0;
17650 _ACEOF
17651 if ac_fn_c_try_compile "$LINENO"; then :
17653 else
17654 wine_cv_64bit_compare_swap="unknown"
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 CFLAGS=$saved_CFLAGS
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17663 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17664 case "$wine_cv_64bit_compare_swap" in
17665 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17666 "none needed") ;;
17667 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17668 esac
17670 for ac_flag in $CFLAGS; do
17671 case $ac_flag in
17672 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17673 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17674 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 ac_wine_try_cflags_saved=$CFLAGS
17678 CFLAGS="$CFLAGS -gdwarf-2"
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 int main(int argc, char **argv) { return 0; }
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 ac_cv_cflags__gdwarf_2=yes
17685 else
17686 ac_cv_cflags__gdwarf_2=no
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17690 CFLAGS=$ac_wine_try_cflags_saved
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17693 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17694 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17695 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17698 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17699 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 ac_wine_try_cflags_saved=$CFLAGS
17703 CFLAGS="$CFLAGS -gstrict-dwarf"
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 int main(int argc, char **argv) { return 0; }
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"; then :
17709 ac_cv_cflags__gstrict_dwarf=yes
17710 else
17711 ac_cv_cflags__gstrict_dwarf=no
17713 rm -f core conftest.err conftest.$ac_objext \
17714 conftest$ac_exeext conftest.$ac_ext
17715 CFLAGS=$ac_wine_try_cflags_saved
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17718 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17719 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17720 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17721 fi ;;
17722 esac
17723 done
17725 MSVCRTFLAGS=""
17727 case $host_os in
17728 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17729 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17730 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 ac_wine_try_cflags_saved=$CFLAGS
17734 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17737 int main(int argc, char **argv) { return 0; }
17738 _ACEOF
17739 if ac_fn_c_try_link "$LINENO"; then :
17740 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17741 else
17742 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17744 rm -f core conftest.err conftest.$ac_objext \
17745 conftest$ac_exeext conftest.$ac_ext
17746 CFLAGS=$ac_wine_try_cflags_saved
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17749 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17750 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17751 DELAYLOADFLAG="-Wl,-delayload,"
17753 fi ;;
17754 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17755 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17756 if ${ac_cv_cflags__fno_builtin+:} false; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759 ac_wine_try_cflags_saved=$CFLAGS
17760 CFLAGS="$CFLAGS -fno-builtin"
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 int main(int argc, char **argv) { return 0; }
17764 _ACEOF
17765 if ac_fn_c_try_link "$LINENO"; then :
17766 ac_cv_cflags__fno_builtin=yes
17767 else
17768 ac_cv_cflags__fno_builtin=no
17770 rm -f core conftest.err conftest.$ac_objext \
17771 conftest$ac_exeext conftest.$ac_ext
17772 CFLAGS=$ac_wine_try_cflags_saved
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17775 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17776 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17777 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17780 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17781 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784 ac_wine_try_cflags_saved=$CFLAGS
17785 CFLAGS="$CFLAGS -fshort-wchar"
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 int main(int argc, char **argv) { return 0; }
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"; then :
17791 ac_cv_cflags__fshort_wchar=yes
17792 else
17793 ac_cv_cflags__fshort_wchar=no
17795 rm -f core conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17797 CFLAGS=$ac_wine_try_cflags_saved
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17800 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17801 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17802 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17803 fi ;;
17804 esac
17806 case $host_cpu in
17807 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17808 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17809 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17810 $as_echo_n "(cached) " >&6
17811 else
17812 ac_wine_try_cflags_saved=$CFLAGS
17813 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 int main(int argc, char **argv) { return 0; }
17817 _ACEOF
17818 if ac_fn_c_try_link "$LINENO"; then :
17819 ac_cv_cflags__fno_omit_frame_pointer=yes
17820 else
17821 ac_cv_cflags__fno_omit_frame_pointer=no
17823 rm -f core conftest.err conftest.$ac_objext \
17824 conftest$ac_exeext conftest.$ac_ext
17825 CFLAGS=$ac_wine_try_cflags_saved
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17828 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17829 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17830 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17831 fi ;;
17832 *x86_64*)
17833 case $host_os in
17834 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17835 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17836 if ${ac_cv_cflags__Wno_format+:} false; then :
17837 $as_echo_n "(cached) " >&6
17838 else
17839 ac_wine_try_cflags_saved=$CFLAGS
17840 CFLAGS="$CFLAGS -Wno-format"
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 int main(int argc, char **argv) { return 0; }
17844 _ACEOF
17845 if ac_fn_c_try_link "$LINENO"; then :
17846 ac_cv_cflags__Wno_format=yes
17847 else
17848 ac_cv_cflags__Wno_format=no
17850 rm -f core conftest.err conftest.$ac_objext \
17851 conftest$ac_exeext conftest.$ac_ext
17852 CFLAGS=$ac_wine_try_cflags_saved
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17855 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17856 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17857 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17858 fi ;;
17859 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17860 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17861 if ${ac_cv_cflags__mabi_ms+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 ac_wine_try_cflags_saved=$CFLAGS
17865 CFLAGS="$CFLAGS -mabi=ms"
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17868 int main(int argc, char **argv) { return 0; }
17869 _ACEOF
17870 if ac_fn_c_try_link "$LINENO"; then :
17871 ac_cv_cflags__mabi_ms=yes
17872 else
17873 ac_cv_cflags__mabi_ms=no
17875 rm -f core conftest.err conftest.$ac_objext \
17876 conftest$ac_exeext conftest.$ac_ext
17877 CFLAGS=$ac_wine_try_cflags_saved
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17880 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17881 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17882 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17883 fi ;;
17884 esac ;;
17885 esac
17887 CFLAGS=$saved_CFLAGS
17889 if test "x$enable_werror" = "xyes"
17890 then
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17892 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17893 if ${ac_cv_cflags__Werror+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896 ac_wine_try_cflags_saved=$CFLAGS
17897 CFLAGS="$CFLAGS -Werror"
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 int main(int argc, char **argv) { return 0; }
17901 _ACEOF
17902 if ac_fn_c_try_link "$LINENO"; then :
17903 ac_cv_cflags__Werror=yes
17904 else
17905 ac_cv_cflags__Werror=no
17907 rm -f core conftest.err conftest.$ac_objext \
17908 conftest$ac_exeext conftest.$ac_ext
17909 CFLAGS=$ac_wine_try_cflags_saved
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17912 $as_echo "$ac_cv_cflags__Werror" >&6; }
17913 if test "x$ac_cv_cflags__Werror" = xyes; then :
17914 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17917 if test "x$enable_build_id" = "xyes"
17918 then
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17920 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17921 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17924 ac_wine_try_cflags_saved=$CFLAGS
17925 CFLAGS="$CFLAGS -Wl,--build-id"
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17928 int main(int argc, char **argv) { return 0; }
17929 _ACEOF
17930 if ac_fn_c_try_link "$LINENO"; then :
17931 ac_cv_cflags__Wl___build_id=yes
17932 else
17933 ac_cv_cflags__Wl___build_id=no
17935 rm -f core conftest.err conftest.$ac_objext \
17936 conftest$ac_exeext conftest.$ac_ext
17937 CFLAGS=$ac_wine_try_cflags_saved
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17940 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17941 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17942 CFLAGS="$CFLAGS -Wl,--build-id"
17943 LDFLAGS="$LDFLAGS -Wl,--build-id"
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17950 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17951 if ${ac_cv_c_fortify_enabled+:} false; then :
17952 $as_echo_n "(cached) " >&6
17953 else
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #include <string.h>
17958 main ()
17960 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17961 #error Fortify enabled
17962 #endif
17964 return 0;
17966 _ACEOF
17967 if ac_fn_c_try_compile "$LINENO"; then :
17968 ac_cv_c_fortify_enabled=no
17969 else
17970 ac_cv_c_fortify_enabled=yes
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17975 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17976 if test "$ac_cv_c_fortify_enabled" = yes
17977 then
17978 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17983 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17984 if ${ac_cv_c_cfi_support+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17991 main ()
17995 return 0;
17997 _ACEOF
17998 if ac_fn_c_try_compile "$LINENO"; then :
17999 ac_cv_c_cfi_support="yes"
18000 else
18001 ac_cv_c_cfi_support="no"
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18006 $as_echo "$ac_cv_c_cfi_support" >&6; }
18007 if test "$ac_cv_c_cfi_support" = "yes"
18008 then
18009 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18010 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18011 else
18012 if test "x$enable_win64" = "xyes"
18013 then
18014 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18019 case $build_os in
18020 cygwin*|mingw32*) TOOLSEXT=".exe"
18022 esac
18024 case $host_os in
18025 linux*)
18026 case $host_cpu in
18027 *i[3456789]86*|x86_64*|*aarch64*)
18028 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18029 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18031 esac
18033 esac
18036 ac_save_CFLAGS="$CFLAGS"
18037 CFLAGS="$CFLAGS $BUILTINFLAG"
18038 for ac_func in \
18039 __res_get_state \
18040 __res_getservers \
18041 _spawnvp \
18042 epoll_create \
18043 fnmatch \
18044 fork \
18045 fstatfs \
18046 futimens \
18047 futimes \
18048 futimesat \
18049 getattrlist \
18050 getauxval \
18051 getifaddrs \
18052 getopt_long_only \
18053 getrandom \
18054 kqueue \
18055 lstat \
18056 mach_continuous_time \
18057 pipe2 \
18058 poll \
18059 port_create \
18060 prctl \
18061 pread \
18062 proc_pidinfo \
18063 pwrite \
18064 readlink \
18065 sched_yield \
18066 setproctitle \
18067 setprogname \
18068 sigprocmask \
18069 symlink \
18070 tcdrain \
18071 thr_kill2
18073 do :
18074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18077 cat >>confdefs.h <<_ACEOF
18078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18079 _ACEOF
18082 done
18084 CFLAGS="$ac_save_CFLAGS"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18087 $as_echo_n "checking for library containing dlopen... " >&6; }
18088 if ${ac_cv_search_dlopen+:} false; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18091 ac_func_search_save_LIBS=$LIBS
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18095 /* Override any GCC internal prototype to avoid an error.
18096 Use char because int might match the return type of a GCC
18097 builtin and then its argument prototype would still apply. */
18098 #ifdef __cplusplus
18099 extern "C"
18100 #endif
18101 char dlopen ();
18103 main ()
18105 return dlopen ();
18107 return 0;
18109 _ACEOF
18110 for ac_lib in '' dl; do
18111 if test -z "$ac_lib"; then
18112 ac_res="none required"
18113 else
18114 ac_res=-l$ac_lib
18115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18117 if ac_fn_c_try_link "$LINENO"; then :
18118 ac_cv_search_dlopen=$ac_res
18120 rm -f core conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext
18122 if ${ac_cv_search_dlopen+:} false; then :
18123 break
18125 done
18126 if ${ac_cv_search_dlopen+:} false; then :
18128 else
18129 ac_cv_search_dlopen=no
18131 rm conftest.$ac_ext
18132 LIBS=$ac_func_search_save_LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18135 $as_echo "$ac_cv_search_dlopen" >&6; }
18136 ac_res=$ac_cv_search_dlopen
18137 if test "$ac_res" != no; then :
18138 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18142 ac_wine_check_funcs_save_LIBS="$LIBS"
18143 LIBS="$LIBS $DL_LIBS"
18144 for ac_func in dladdr dlinfo
18145 do :
18146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18149 cat >>confdefs.h <<_ACEOF
18150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18151 _ACEOF
18154 done
18156 LIBS="$ac_wine_check_funcs_save_LIBS"
18158 if test "$ac_cv_func_poll" = no
18159 then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18161 $as_echo_n "checking for poll in -lpoll... " >&6; }
18162 if ${ac_cv_lib_poll_poll+:} false; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 ac_check_lib_save_LIBS=$LIBS
18166 LIBS="-lpoll $LIBS"
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18173 #ifdef __cplusplus
18174 extern "C"
18175 #endif
18176 char poll ();
18178 main ()
18180 return poll ();
18182 return 0;
18184 _ACEOF
18185 if ac_fn_c_try_link "$LINENO"; then :
18186 ac_cv_lib_poll_poll=yes
18187 else
18188 ac_cv_lib_poll_poll=no
18190 rm -f core conftest.err conftest.$ac_objext \
18191 conftest$ac_exeext conftest.$ac_ext
18192 LIBS=$ac_check_lib_save_LIBS
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18195 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18196 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18197 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18198 POLL_LIBS="-lpoll"
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18205 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18206 if ${ac_cv_search_gethostbyname+:} false; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18209 ac_func_search_save_LIBS=$LIBS
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18216 #ifdef __cplusplus
18217 extern "C"
18218 #endif
18219 char gethostbyname ();
18221 main ()
18223 return gethostbyname ();
18225 return 0;
18227 _ACEOF
18228 for ac_lib in '' nsl; do
18229 if test -z "$ac_lib"; then
18230 ac_res="none required"
18231 else
18232 ac_res=-l$ac_lib
18233 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18235 if ac_fn_c_try_link "$LINENO"; then :
18236 ac_cv_search_gethostbyname=$ac_res
18238 rm -f core conftest.err conftest.$ac_objext \
18239 conftest$ac_exeext
18240 if ${ac_cv_search_gethostbyname+:} false; then :
18241 break
18243 done
18244 if ${ac_cv_search_gethostbyname+:} false; then :
18246 else
18247 ac_cv_search_gethostbyname=no
18249 rm conftest.$ac_ext
18250 LIBS=$ac_func_search_save_LIBS
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18253 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18254 ac_res=$ac_cv_search_gethostbyname
18255 if test "$ac_res" != no; then :
18256 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18262 $as_echo_n "checking for library containing connect... " >&6; }
18263 if ${ac_cv_search_connect+:} false; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18266 ac_func_search_save_LIBS=$LIBS
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18270 /* Override any GCC internal prototype to avoid an error.
18271 Use char because int might match the return type of a GCC
18272 builtin and then its argument prototype would still apply. */
18273 #ifdef __cplusplus
18274 extern "C"
18275 #endif
18276 char connect ();
18278 main ()
18280 return connect ();
18282 return 0;
18284 _ACEOF
18285 for ac_lib in '' socket; do
18286 if test -z "$ac_lib"; then
18287 ac_res="none required"
18288 else
18289 ac_res=-l$ac_lib
18290 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18292 if ac_fn_c_try_link "$LINENO"; then :
18293 ac_cv_search_connect=$ac_res
18295 rm -f core conftest.err conftest.$ac_objext \
18296 conftest$ac_exeext
18297 if ${ac_cv_search_connect+:} false; then :
18298 break
18300 done
18301 if ${ac_cv_search_connect+:} false; then :
18303 else
18304 ac_cv_search_connect=no
18306 rm conftest.$ac_ext
18307 LIBS=$ac_func_search_save_LIBS
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18310 $as_echo "$ac_cv_search_connect" >&6; }
18311 ac_res=$ac_cv_search_connect
18312 if test "$ac_res" != no; then :
18313 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18319 $as_echo_n "checking for library containing inet_aton... " >&6; }
18320 if ${ac_cv_search_inet_aton+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 ac_func_search_save_LIBS=$LIBS
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18330 #ifdef __cplusplus
18331 extern "C"
18332 #endif
18333 char inet_aton ();
18335 main ()
18337 return inet_aton ();
18339 return 0;
18341 _ACEOF
18342 for ac_lib in '' resolv; do
18343 if test -z "$ac_lib"; then
18344 ac_res="none required"
18345 else
18346 ac_res=-l$ac_lib
18347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 ac_cv_search_inet_aton=$ac_res
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext
18354 if ${ac_cv_search_inet_aton+:} false; then :
18355 break
18357 done
18358 if ${ac_cv_search_inet_aton+:} false; then :
18360 else
18361 ac_cv_search_inet_aton=no
18363 rm conftest.$ac_ext
18364 LIBS=$ac_func_search_save_LIBS
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18367 $as_echo "$ac_cv_search_inet_aton" >&6; }
18368 ac_res=$ac_cv_search_inet_aton
18369 if test "$ac_res" != no; then :
18370 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18375 for ac_func in \
18376 getaddrinfo \
18377 getnameinfo \
18378 getservbyport \
18380 do :
18381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18384 cat >>confdefs.h <<_ACEOF
18385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18386 _ACEOF
18389 done
18392 case $host_os in
18393 darwin*|macosx*) ;;
18394 *) ac_save_LIBS=$LIBS
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18396 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18397 if ${ac_cv_search_clock_gettime+:} false; then :
18398 $as_echo_n "(cached) " >&6
18399 else
18400 ac_func_search_save_LIBS=$LIBS
18401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402 /* end confdefs.h. */
18404 /* Override any GCC internal prototype to avoid an error.
18405 Use char because int might match the return type of a GCC
18406 builtin and then its argument prototype would still apply. */
18407 #ifdef __cplusplus
18408 extern "C"
18409 #endif
18410 char clock_gettime ();
18412 main ()
18414 return clock_gettime ();
18416 return 0;
18418 _ACEOF
18419 for ac_lib in '' rt; do
18420 if test -z "$ac_lib"; then
18421 ac_res="none required"
18422 else
18423 ac_res=-l$ac_lib
18424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18426 if ac_fn_c_try_link "$LINENO"; then :
18427 ac_cv_search_clock_gettime=$ac_res
18429 rm -f core conftest.err conftest.$ac_objext \
18430 conftest$ac_exeext
18431 if ${ac_cv_search_clock_gettime+:} false; then :
18432 break
18434 done
18435 if ${ac_cv_search_clock_gettime+:} false; then :
18437 else
18438 ac_cv_search_clock_gettime=no
18440 rm conftest.$ac_ext
18441 LIBS=$ac_func_search_save_LIBS
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18444 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18445 ac_res=$ac_cv_search_clock_gettime
18446 if test "$ac_res" != no; then :
18447 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18449 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18451 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18455 LIBS=$ac_save_LIBS
18457 esac
18459 if test "x$with_ldap" != "xno"
18460 then
18461 if ${LDAP_CFLAGS:+false} :; then :
18462 if ${PKG_CONFIG+:} false; then :
18463 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18467 if ${LDAP_LIBS:+false} :; then :
18468 if ${PKG_CONFIG+:} false; then :
18469 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18473 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18474 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18475 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18476 ac_save_CPPFLAGS=$CPPFLAGS
18477 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18478 for ac_header in ldap.h lber.h
18479 do :
18480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18481 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18482 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18483 cat >>confdefs.h <<_ACEOF
18484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18485 _ACEOF
18489 done
18491 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18492 then
18493 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18495 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18497 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18498 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18501 ac_check_lib_save_LIBS=$LIBS
18502 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18506 /* Override any GCC internal prototype to avoid an error.
18507 Use char because int might match the return type of a GCC
18508 builtin and then its argument prototype would still apply. */
18509 #ifdef __cplusplus
18510 extern "C"
18511 #endif
18512 char ldap_initialize ();
18514 main ()
18516 return ldap_initialize ();
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_link "$LINENO"; then :
18522 ac_cv_lib_ldap_r_ldap_initialize=yes
18523 else
18524 ac_cv_lib_ldap_r_ldap_initialize=no
18526 rm -f core conftest.err conftest.$ac_objext \
18527 conftest$ac_exeext conftest.$ac_ext
18528 LIBS=$ac_check_lib_save_LIBS
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18531 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18532 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18534 $as_echo_n "checking for ber_init in -llber... " >&6; }
18535 if ${ac_cv_lib_lber_ber_init+:} false; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18538 ac_check_lib_save_LIBS=$LIBS
18539 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18543 /* Override any GCC internal prototype to avoid an error.
18544 Use char because int might match the return type of a GCC
18545 builtin and then its argument prototype would still apply. */
18546 #ifdef __cplusplus
18547 extern "C"
18548 #endif
18549 char ber_init ();
18551 main ()
18553 return ber_init ();
18555 return 0;
18557 _ACEOF
18558 if ac_fn_c_try_link "$LINENO"; then :
18559 ac_cv_lib_lber_ber_init=yes
18560 else
18561 ac_cv_lib_lber_ber_init=no
18563 rm -f core conftest.err conftest.$ac_objext \
18564 conftest$ac_exeext conftest.$ac_ext
18565 LIBS=$ac_check_lib_save_LIBS
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18568 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18569 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18571 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18573 else
18574 LDAP_LIBS=""
18577 else
18578 LDAP_LIBS=""
18581 else
18582 LDAP_LIBS=""
18585 ac_wine_check_funcs_save_LIBS="$LIBS"
18586 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18587 for ac_func in \
18588 ldap_count_references \
18589 ldap_first_reference \
18590 ldap_next_reference \
18591 ldap_parse_reference \
18592 ldap_parse_sort_control \
18593 ldap_parse_sortresponse_control \
18594 ldap_parse_vlv_control \
18595 ldap_parse_vlvresponse_control
18596 do :
18597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18599 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18600 cat >>confdefs.h <<_ACEOF
18601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18602 _ACEOF
18605 done
18607 LIBS="$ac_wine_check_funcs_save_LIBS"
18608 else
18609 LDAP_LIBS=""
18611 CPPFLAGS=$ac_save_CPPFLAGS
18614 if test "x$LDAP_LIBS" = "x"; then :
18615 case "x$with_ldap" in
18616 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18617 xno) ;;
18618 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18619 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18620 esac
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18625 $as_echo_n "checking for sched_setaffinity... " >&6; }
18626 if ${wine_cv_have_sched_setaffinity+:} false; then :
18627 $as_echo_n "(cached) " >&6
18628 else
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18631 #define _GNU_SOURCE
18632 #include <sched.h>
18634 main ()
18636 sched_setaffinity(0, 0, 0);
18638 return 0;
18640 _ACEOF
18641 if ac_fn_c_try_link "$LINENO"; then :
18642 wine_cv_have_sched_setaffinity=yes
18643 else
18644 wine_cv_have_sched_setaffinity=no
18646 rm -f core conftest.err conftest.$ac_objext \
18647 conftest$ac_exeext conftest.$ac_ext
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18650 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18651 if test "$wine_cv_have_sched_setaffinity" = "yes"
18652 then
18654 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18659 $as_echo_n "checking for fallocate... " >&6; }
18660 if ${wine_cv_have_fallocate+:} false; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #define _GNU_SOURCE
18666 #include <fcntl.h>
18668 main ()
18670 fallocate(-1, 0, 0, 0);
18672 return 0;
18674 _ACEOF
18675 if ac_fn_c_try_link "$LINENO"; then :
18676 wine_cv_have_fallocate=yes
18677 else
18678 wine_cv_have_fallocate=no
18680 rm -f core conftest.err conftest.$ac_objext \
18681 conftest$ac_exeext conftest.$ac_ext
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18684 $as_echo "$wine_cv_have_fallocate" >&6; }
18685 if test "$wine_cv_have_fallocate" = "yes"
18686 then
18688 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18694 $as_echo_n "checking for inline... " >&6; }
18695 if ${ac_cv_c_inline+:} false; then :
18696 $as_echo_n "(cached) " >&6
18697 else
18698 ac_cv_c_inline=no
18699 for ac_kw in inline __inline__ __inline; do
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #ifndef __cplusplus
18703 typedef int foo_t;
18704 static $ac_kw foo_t static_foo () {return 0; }
18705 $ac_kw foo_t foo () {return 0; }
18706 #endif
18708 _ACEOF
18709 if ac_fn_c_try_compile "$LINENO"; then :
18710 ac_cv_c_inline=$ac_kw
18712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 test "$ac_cv_c_inline" != no && break
18714 done
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18718 $as_echo "$ac_cv_c_inline" >&6; }
18720 case $ac_cv_c_inline in
18721 inline | yes) ;;
18723 case $ac_cv_c_inline in
18724 no) ac_val=;;
18725 *) ac_val=$ac_cv_c_inline;;
18726 esac
18727 cat >>confdefs.h <<_ACEOF
18728 #ifndef __cplusplus
18729 #define inline $ac_val
18730 #endif
18731 _ACEOF
18733 esac
18735 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18736 #include <signal.h>
18738 if test "x$ac_cv_type_sigset_t" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_SIGSET_T 1
18742 _ACEOF
18747 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18749 if test "x$ac_cv_type_request_sense" = xyes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_REQUEST_SENSE 1
18753 _ACEOF
18759 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18760 #ifdef HAVE_SYS_SOCKET_H
18761 #include <sys/socket.h>
18762 #endif
18763 #ifdef HAVE_SYS_SOCKETVAR_H
18764 #include <sys/socketvar.h>
18765 #endif
18766 #ifdef HAVE_NET_ROUTE_H
18767 #include <net/route.h>
18768 #endif
18769 #ifdef HAVE_NETINET_IN_H
18770 #include <netinet/in.h>
18771 #endif
18772 #ifdef HAVE_NETINET_IN_SYSTM_H
18773 #include <netinet/in_systm.h>
18774 #endif
18775 #ifdef HAVE_NETINET_IP_H
18776 #include <netinet/ip.h>
18777 #endif
18778 #ifdef HAVE_NETINET_IN_PCB_H
18779 #include <netinet/in_pcb.h>
18780 #endif
18782 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_STRUCT_XINPGEN 1
18786 _ACEOF
18792 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18793 #include <linux/input.h>
18794 #endif
18796 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18800 _ACEOF
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18807 $as_echo_n "checking for if_nameindex... " >&6; }
18808 if ${wine_cv_have_if_nameindex+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #ifdef HAVE_SYS_TYPES_H
18814 #include <sys/types.h>
18815 #endif
18816 #ifdef HAVE_SYS_SOCKET_H
18817 #include <sys/socket.h>
18818 #endif
18819 #ifdef HAVE_NET_IF_H
18820 # include <net/if.h>
18821 #endif
18823 main ()
18825 struct if_nameindex *p = if_nameindex(); return p->if_index;
18827 return 0;
18829 _ACEOF
18830 if ac_fn_c_try_link "$LINENO"; then :
18831 wine_cv_have_if_nameindex=yes
18832 else
18833 wine_cv_have_if_nameindex=no
18835 rm -f core conftest.err conftest.$ac_objext \
18836 conftest$ac_exeext conftest.$ac_ext
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18839 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18840 if test "$wine_cv_have_if_nameindex" = "yes"
18841 then
18843 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18848 $as_echo_n "checking for sigaddset... " >&6; }
18849 if ${wine_cv_have_sigaddset+:} false; then :
18850 $as_echo_n "(cached) " >&6
18851 else
18852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18853 /* end confdefs.h. */
18854 #include <signal.h>
18856 main ()
18858 sigset_t set; sigaddset(&set,SIGTERM);
18860 return 0;
18862 _ACEOF
18863 if ac_fn_c_try_link "$LINENO"; then :
18864 wine_cv_have_sigaddset=yes
18865 else
18866 wine_cv_have_sigaddset=no
18868 rm -f core conftest.err conftest.$ac_objext \
18869 conftest$ac_exeext conftest.$ac_ext
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18872 $as_echo "$wine_cv_have_sigaddset" >&6; }
18873 if test "$wine_cv_have_sigaddset" = "yes"
18874 then
18876 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18882 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18883 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18884 $as_echo_n "(cached) " >&6
18885 else
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 #include <netdb.h>
18890 main ()
18893 char *name=0;
18894 struct hostent he;
18895 struct hostent *result;
18896 char *buf=0;
18897 int bufsize=0;
18898 int errnr;
18899 char *addr=0;
18900 int addrlen=0;
18901 int addrtype=0;
18902 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18903 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18906 return 0;
18908 _ACEOF
18909 if ac_fn_c_try_link "$LINENO"; then :
18910 wine_cv_linux_gethostbyname_r_6=yes
18911 else
18912 wine_cv_linux_gethostbyname_r_6=no
18915 rm -f core conftest.err conftest.$ac_objext \
18916 conftest$ac_exeext conftest.$ac_ext
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18920 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18921 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18922 then
18924 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18928 if test "$ac_cv_header_linux_joystick_h" = "yes"
18929 then
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18931 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18932 if ${wine_cv_linux_joystick_22_api+:} false; then :
18933 $as_echo_n "(cached) " >&6
18934 else
18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18938 #include <sys/ioctl.h>
18939 #include <sys/types.h>
18940 #include <linux/joystick.h>
18942 struct js_event blub;
18943 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18944 #error "no 2.2 header"
18945 #endif
18948 main ()
18950 /*empty*/
18952 return 0;
18954 _ACEOF
18955 if ac_fn_c_try_compile "$LINENO"; then :
18956 wine_cv_linux_joystick_22_api=yes
18957 else
18958 wine_cv_linux_joystick_22_api=no
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18964 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18965 if test "$wine_cv_linux_joystick_22_api" = "yes"
18966 then
18968 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18973 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#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_msghdr_msg_accrights" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_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_sa_len" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19001 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19006 #ifdef HAVE_SYS_SOCKET_H
19007 # include <sys/socket.h>
19008 #endif
19009 #ifdef HAVE_SYS_UN_H
19010 # include <sys/un.h>
19011 #endif
19013 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19017 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19024 #ifdef HAVE_SCSI_SG_H
19025 #include <scsi/sg.h>
19026 #endif
19028 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_SCSIREQ_T_CMD 1
19032 _ACEOF
19036 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>
19037 #ifdef HAVE_SCSI_SG_H
19038 #include <scsi/sg.h>
19039 #endif
19041 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19053 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_SIGINFO_T_SI_FD 1
19057 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19064 #ifdef HAVE_SYS_MTIO_H
19065 #include <sys/mtio.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19077 #ifdef HAVE_SYS_MTIO_H
19078 #include <sys/mtio.h>
19079 #endif
19081 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19085 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19090 #ifdef HAVE_SYS_MTIO_H
19091 #include <sys/mtio.h>
19092 #endif
19094 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19105 #include <getopt.h>
19106 #endif
19108 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_OPTION_NAME 1
19112 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_MTIM 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT_ST_CTIM 1
19150 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19155 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19159 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19164 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_STAT_ST_ATIM 1
19168 _ACEOF
19172 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19173 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19177 _ACEOF
19181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19182 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19186 _ACEOF
19190 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19191 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19195 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19200 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19204 _ACEOF
19208 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19209 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19213 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19218 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19222 _ACEOF
19228 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
19229 #include <sys/types.h>
19230 #endif
19231 #ifdef HAVE_NETINET_IN_H
19232 #include <netinet/in.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19239 _ACEOF
19245 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19246 #include <sys/types.h>
19247 #endif
19248 #ifdef HAVE_NETINET_IN_H
19249 #include <netinet/in.h>
19250 #endif
19251 #ifdef HAVE_RESOLV_H
19252 #include <resolv.h>
19253 #endif
19255 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT___RES_STATE 1
19259 _ACEOF
19265 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
19266 #include <resolv.h>
19267 #endif
19269 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19273 _ACEOF
19279 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19280 #include <sys/types.h>
19281 #endif
19282 #ifdef HAVE_NETINET_IN_H
19283 # include <netinet/in.h>
19284 #endif
19285 #ifdef HAVE_ARPA_NAMESER_H
19286 # include <arpa/nameser.h>
19287 #endif
19289 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_NS_MSG__MSG_PTR 1
19293 _ACEOF
19299 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19300 #include <sys/types.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_H
19306 #include <netinet/ip.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IP_ICMP_H
19309 #include <netinet/ip_icmp.h>
19310 #endif
19311 #ifdef HAVE_NETINET_ICMP_VAR_H
19312 #include <netinet/icmp_var.h>
19313 #endif
19315 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19319 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19326 #include <sys/types.h>
19327 #endif
19328 #ifdef HAVE_ALIAS_H
19329 #include <alias.h>
19330 #endif
19331 #ifdef HAVE_SYS_SOCKET_H
19332 #include <sys/socket.h>
19333 #endif
19334 #ifdef HAVE_SYS_SOCKETVAR_H
19335 #include <sys/socketvar.h>
19336 #endif
19337 #ifdef HAVE_SYS_TIMEOUT_H
19338 #include <sys/timeout.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IN_H
19341 #include <netinet/in.h>
19342 #endif
19343 #ifdef HAVE_NETINET_IN_SYSTM_H
19344 #include <netinet/in_systm.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IP_H
19347 #include <netinet/ip.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IP_VAR_H
19350 #include <netinet/ip_var.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_ICMP_H
19353 #include <netinet/ip_icmp.h>
19354 #endif
19355 #ifdef HAVE_NETINET_ICMP_VAR_H
19356 #include <netinet/icmp_var.h>
19357 #endif
19359 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19363 _ACEOF
19369 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19370 #include <sys/types.h>
19371 #endif
19372 #ifdef HAVE_SYS_SOCKETVAR_H
19373 #include <sys/socketvar.h>
19374 #endif
19375 #ifdef HAVE_NETINET_IN_H
19376 #include <netinet/in.h>
19377 #endif
19378 #ifdef HAVE_NETINET_IP_VAR_H
19379 #include <netinet/ip_var.h>
19380 #endif
19382 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19386 _ACEOF
19392 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
19393 #include <netinet/ip_var.h>
19394 #endif
19396 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19400 _ACEOF
19406 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19407 #include <sys/types.h>
19408 #endif
19409 #ifdef HAVE_SYS_SOCKETVAR_H
19410 #include <sys/socketvar.h>
19411 #endif
19412 #ifdef HAVE_NETINET_IN_H
19413 #include <netinet/in.h>
19414 #endif
19415 #ifdef HAVE_NETINET_TCP_H
19416 #include <netinet/tcp.h>
19417 #endif
19418 #ifdef HAVE_NETINET_TCP_VAR_H
19419 #include <netinet/tcp_var.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19426 _ACEOF
19432 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
19433 #include <netinet/tcp_var.h>
19434 #endif
19436 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19438 cat >>confdefs.h <<_ACEOF
19439 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19440 _ACEOF
19446 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19447 #include <sys/types.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IN_H
19450 #include <netinet/in.h>
19451 #endif
19452 #ifdef HAVE_NETINET_IP_VAR_H
19453 #include <netinet/ip_var.h>
19454 #endif
19455 #ifdef HAVE_NETINET_UDP_H
19456 #include <netinet/udp.h>
19457 #endif
19458 #ifdef HAVE_NETINET_UDP_VAR_H
19459 #include <netinet/udp_var.h>
19460 #endif
19462 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19466 _ACEOF
19472 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19473 #include <sys/types.h>
19474 #endif
19475 #ifdef HAVE_NET_IF_H
19476 # include <net/if.h>
19477 #endif
19479 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19481 cat >>confdefs.h <<_ACEOF
19482 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19483 _ACEOF
19489 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19490 # include <sys/sysinfo.h>
19491 #endif
19493 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19497 _ACEOF
19501 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19502 # include <sys/sysinfo.h>
19503 #endif
19505 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19507 cat >>confdefs.h <<_ACEOF
19508 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19509 _ACEOF
19515 ac_save_LIBS="$LIBS"
19516 LIBS="$LIBS -lm"
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19518 $as_echo_n "checking for isfinite... " >&6; }
19519 if ${ac_cv_have_isfinite+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #define _GNU_SOURCE
19525 #include <math.h>
19527 main ()
19529 float f = 0.0; return isfinite(f)
19531 return 0;
19533 _ACEOF
19534 if ac_fn_c_try_link "$LINENO"; then :
19535 ac_cv_have_isfinite="yes"
19536 else
19537 ac_cv_have_isfinite="no"
19539 rm -f core conftest.err conftest.$ac_objext \
19540 conftest$ac_exeext conftest.$ac_ext
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19543 $as_echo "$ac_cv_have_isfinite" >&6; }
19544 if test "$ac_cv_have_isfinite" = "yes"
19545 then
19547 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19552 $as_echo_n "checking for isinf... " >&6; }
19553 if ${ac_cv_have_isinf+:} false; then :
19554 $as_echo_n "(cached) " >&6
19555 else
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <math.h>
19560 main ()
19562 float f = 0.0; return isinf(f)
19564 return 0;
19566 _ACEOF
19567 if ac_fn_c_try_link "$LINENO"; then :
19568 ac_cv_have_isinf="yes"
19569 else
19570 ac_cv_have_isinf="no"
19572 rm -f core conftest.err conftest.$ac_objext \
19573 conftest$ac_exeext conftest.$ac_ext
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19576 $as_echo "$ac_cv_have_isinf" >&6; }
19577 if test "$ac_cv_have_isinf" = "yes"
19578 then
19580 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19585 $as_echo_n "checking for isnan... " >&6; }
19586 if ${ac_cv_have_isnan+:} false; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19591 #include <math.h>
19593 main ()
19595 float f = 0.0; return isnan(f)
19597 return 0;
19599 _ACEOF
19600 if ac_fn_c_try_link "$LINENO"; then :
19601 ac_cv_have_isnan="yes"
19602 else
19603 ac_cv_have_isnan="no"
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19609 $as_echo "$ac_cv_have_isnan" >&6; }
19610 if test "$ac_cv_have_isnan" = "yes"
19611 then
19613 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19617 LIBS="$ac_save_LIBS"
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19620 $as_echo_n "checking for __builtin_popcount... " >&6; }
19621 if ${ac_cv_have___builtin_popcount+:} false; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19628 main ()
19630 return __builtin_popcount(1)
19632 return 0;
19634 _ACEOF
19635 if ac_fn_c_try_link "$LINENO"; then :
19636 ac_cv_have___builtin_popcount="yes"
19637 else
19638 ac_cv_have___builtin_popcount="no"
19640 rm -f core conftest.err conftest.$ac_objext \
19641 conftest$ac_exeext conftest.$ac_ext
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19644 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19645 if test "$ac_cv_have___builtin_popcount" = "yes"
19646 then
19648 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19653 $as_echo_n "checking for __clear_cache... " >&6; }
19654 if ${ac_cv_have___clear_cache+:} false; then :
19655 $as_echo_n "(cached) " >&6
19656 else
19657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19658 /* end confdefs.h. */
19661 main ()
19663 __clear_cache((void*)0, (void*)0); return 0;
19665 return 0;
19667 _ACEOF
19668 if ac_fn_c_try_link "$LINENO"; then :
19669 ac_cv_have___clear_cache="yes"
19670 else
19671 ac_cv_have___clear_cache="no"
19673 rm -f core conftest.err conftest.$ac_objext \
19674 conftest$ac_exeext conftest.$ac_ext
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19677 $as_echo "$ac_cv_have___clear_cache" >&6; }
19678 if test "$ac_cv_have___clear_cache" = "yes"
19679 then
19681 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19686 case $host_cpu in
19687 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19688 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19689 if ${ac_cv_cpp_def___i386__+:} false; then :
19690 $as_echo_n "(cached) " >&6
19691 else
19692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19693 /* end confdefs.h. */
19694 #ifndef __i386__
19696 #endif
19697 _ACEOF
19698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19699 $EGREP "yes" >/dev/null 2>&1; then :
19700 ac_cv_cpp_def___i386__=yes
19701 else
19702 ac_cv_cpp_def___i386__=no
19704 rm -f conftest*
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19708 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19709 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19710 CFLAGS="$CFLAGS -D__i386__"
19711 LINTFLAGS="$LINTFLAGS -D__i386__"
19712 fi ;;
19713 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19714 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19715 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19716 $as_echo_n "(cached) " >&6
19717 else
19718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19719 /* end confdefs.h. */
19720 #ifndef __x86_64__
19722 #endif
19723 _ACEOF
19724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19725 $EGREP "yes" >/dev/null 2>&1; then :
19726 ac_cv_cpp_def___x86_64__=yes
19727 else
19728 ac_cv_cpp_def___x86_64__=no
19730 rm -f conftest*
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19734 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19735 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19736 CFLAGS="$CFLAGS -D__x86_64__"
19737 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19738 fi ;;
19739 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19740 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19741 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19742 $as_echo_n "(cached) " >&6
19743 else
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19746 #ifndef __sparc64__
19748 #endif
19749 _ACEOF
19750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19751 $EGREP "yes" >/dev/null 2>&1; then :
19752 ac_cv_cpp_def___sparc64__=yes
19753 else
19754 ac_cv_cpp_def___sparc64__=no
19756 rm -f conftest*
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19760 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19761 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19762 CFLAGS="$CFLAGS -D__sparc64__"
19763 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19764 fi ;;
19765 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19766 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19767 if ${ac_cv_cpp_def___sparc__+:} false; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19772 #ifndef __sparc__
19774 #endif
19775 _ACEOF
19776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19777 $EGREP "yes" >/dev/null 2>&1; then :
19778 ac_cv_cpp_def___sparc__=yes
19779 else
19780 ac_cv_cpp_def___sparc__=no
19782 rm -f conftest*
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19786 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19787 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19788 CFLAGS="$CFLAGS -D__sparc__"
19789 LINTFLAGS="$LINTFLAGS -D__sparc__"
19790 fi ;;
19791 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19792 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19793 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19794 $as_echo_n "(cached) " >&6
19795 else
19796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19797 /* end confdefs.h. */
19798 #ifndef __powerpc64__
19800 #endif
19801 _ACEOF
19802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19803 $EGREP "yes" >/dev/null 2>&1; then :
19804 ac_cv_cpp_def___powerpc64__=yes
19805 else
19806 ac_cv_cpp_def___powerpc64__=no
19808 rm -f conftest*
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19812 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19813 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19814 CFLAGS="$CFLAGS -D__powerpc64__"
19815 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19816 fi ;;
19817 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19818 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19819 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19820 $as_echo_n "(cached) " >&6
19821 else
19822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19824 #ifndef __powerpc__
19826 #endif
19827 _ACEOF
19828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19829 $EGREP "yes" >/dev/null 2>&1; then :
19830 ac_cv_cpp_def___powerpc__=yes
19831 else
19832 ac_cv_cpp_def___powerpc__=no
19834 rm -f conftest*
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19838 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19839 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19840 CFLAGS="$CFLAGS -D__powerpc__"
19841 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19842 fi ;;
19843 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19844 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19845 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19846 $as_echo_n "(cached) " >&6
19847 else
19848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19850 #ifndef __aarch64__
19852 #endif
19853 _ACEOF
19854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19855 $EGREP "yes" >/dev/null 2>&1; then :
19856 ac_cv_cpp_def___aarch64__=yes
19857 else
19858 ac_cv_cpp_def___aarch64__=no
19860 rm -f conftest*
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19864 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19865 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19866 CFLAGS="$CFLAGS -D__aarch64__"
19867 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19868 fi ;;
19869 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19870 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19871 if ${ac_cv_cpp_def___arm__+:} false; then :
19872 $as_echo_n "(cached) " >&6
19873 else
19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19876 #ifndef __arm__
19878 #endif
19879 _ACEOF
19880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19881 $EGREP "yes" >/dev/null 2>&1; then :
19882 ac_cv_cpp_def___arm__=yes
19883 else
19884 ac_cv_cpp_def___arm__=no
19886 rm -f conftest*
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19890 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19891 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19892 CFLAGS="$CFLAGS -D__arm__"
19893 LINTFLAGS="$LINTFLAGS -D__arm__"
19894 fi ;;
19895 esac
19897 case $host_vendor in
19898 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19899 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19900 if ${ac_cv_cpp_def___sun__+:} false; then :
19901 $as_echo_n "(cached) " >&6
19902 else
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #ifndef __sun__
19907 #endif
19908 _ACEOF
19909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19910 $EGREP "yes" >/dev/null 2>&1; then :
19911 ac_cv_cpp_def___sun__=yes
19912 else
19913 ac_cv_cpp_def___sun__=no
19915 rm -f conftest*
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19919 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19920 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19921 CFLAGS="$CFLAGS -D__sun__"
19922 LINTFLAGS="$LINTFLAGS -D__sun__"
19923 fi ;;
19924 esac
19930 ac_config_commands="$ac_config_commands include/stamp-h"
19932 $as_echo_n "creating Makefile rules..." >&6
19934 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19935 OPENGL_LIBS = $OPENGL_LIBS
19936 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19937 IOKIT_LIBS = $IOKIT_LIBS
19938 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19939 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19940 CORESERVICES_LIBS = $CORESERVICES_LIBS
19941 APPKIT_LIBS = $APPKIT_LIBS
19942 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19943 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19944 SECURITY_LIBS = $SECURITY_LIBS
19945 COREAUDIO_LIBS = $COREAUDIO_LIBS
19946 OPENAL_LIBS = $OPENAL_LIBS
19947 OPENCL_LIBS = $OPENCL_LIBS
19948 QUICKTIME_LIBS = $QUICKTIME_LIBS
19949 CARBON_LIBS = $CARBON_LIBS
19950 METAL_LIBS = $METAL_LIBS
19951 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19952 PTHREAD_LIBS = $PTHREAD_LIBS
19953 X_CFLAGS = $X_CFLAGS
19954 X_PRE_LIBS = $X_PRE_LIBS
19955 X_LIBS = $X_LIBS
19956 X_EXTRA_LIBS = $X_EXTRA_LIBS
19957 PCAP_LIBS = $PCAP_LIBS
19958 XML2_CFLAGS = $XML2_CFLAGS
19959 XML2_LIBS = $XML2_LIBS
19960 XSLT_CFLAGS = $XSLT_CFLAGS
19961 XSLT_LIBS = $XSLT_LIBS
19962 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19963 INOTIFY_LIBS = $INOTIFY_LIBS
19964 DBUS_CFLAGS = $DBUS_CFLAGS
19965 DBUS_LIBS = $DBUS_LIBS
19966 HAL_CFLAGS = $HAL_CFLAGS
19967 HAL_LIBS = $HAL_LIBS
19968 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19969 GNUTLS_LIBS = $GNUTLS_LIBS
19970 SANE_CFLAGS = $SANE_CFLAGS
19971 SANE_LIBS = $SANE_LIBS
19972 USB_CFLAGS = $USB_CFLAGS
19973 USB_LIBS = $USB_LIBS
19974 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19975 GPHOTO2_LIBS = $GPHOTO2_LIBS
19976 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19977 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19978 RESOLV_LIBS = $RESOLV_LIBS
19979 LCMS2_CFLAGS = $LCMS2_CFLAGS
19980 LCMS2_LIBS = $LCMS2_LIBS
19981 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19982 FREETYPE_LIBS = $FREETYPE_LIBS
19983 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19984 PULSE_CFLAGS = $PULSE_CFLAGS
19985 PULSE_LIBS = $PULSE_LIBS
19986 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19987 GSTREAMER_LIBS = $GSTREAMER_LIBS
19988 ALSA_LIBS = $ALSA_LIBS
19989 OSS4_CFLAGS = $OSS4_CFLAGS
19990 OSS4_LIBS = $OSS4_LIBS
19991 UDEV_CFLAGS = $UDEV_CFLAGS
19992 UDEV_LIBS = $UDEV_LIBS
19993 UNWIND_CFLAGS = $UNWIND_CFLAGS
19994 UNWIND_LIBS = $UNWIND_LIBS
19995 SDL2_CFLAGS = $SDL2_CFLAGS
19996 SDL2_LIBS = $SDL2_LIBS
19997 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19998 FAUDIO_LIBS = $FAUDIO_LIBS
19999 CAPI20_CFLAGS = $CAPI20_CFLAGS
20000 CAPI20_LIBS = $CAPI20_LIBS
20001 CUPS_CFLAGS = $CUPS_CFLAGS
20002 CUPS_LIBS = $CUPS_LIBS
20003 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20004 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20005 KRB5_CFLAGS = $KRB5_CFLAGS
20006 KRB5_LIBS = $KRB5_LIBS
20007 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20008 GSSAPI_LIBS = $GSSAPI_LIBS
20009 JPEG_CFLAGS = $JPEG_CFLAGS
20010 JPEG_LIBS = $JPEG_LIBS
20011 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20012 JXRLIB_LIBS = $JXRLIB_LIBS
20013 PNG_CFLAGS = $PNG_CFLAGS
20014 PNG_LIBS = $PNG_LIBS
20015 TIFF_CFLAGS = $TIFF_CFLAGS
20016 TIFF_LIBS = $TIFF_LIBS
20017 MPG123_CFLAGS = $MPG123_CFLAGS
20018 MPG123_LIBS = $MPG123_LIBS
20019 KSTAT_LIBS = $KSTAT_LIBS
20020 PROCSTAT_LIBS = $PROCSTAT_LIBS
20021 NETAPI_CFLAGS = $NETAPI_CFLAGS
20022 NETAPI_LIBS = $NETAPI_LIBS
20023 VKD3D_CFLAGS = $VKD3D_CFLAGS
20024 VKD3D_LIBS = $VKD3D_LIBS
20025 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20026 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20027 POLL_LIBS = $POLL_LIBS
20028 RT_LIBS = $RT_LIBS
20029 LDAP_CFLAGS = $LDAP_CFLAGS
20030 LDAP_LIBS = $LDAP_LIBS
20034 makedep_flags=""
20035 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20038 wine_fn_append_rule "
20039 # Rules automatically generated by configure
20041 .INIT: Makefile
20042 .MAKEFILEDEPS:
20043 all: Makefile
20044 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20045 @./config.status Make.tmp Makefile
20046 depend: \$(MAKEDEP)
20047 \$(MAKEDEP)$makedep_flags
20048 dummy:
20049 .PHONY: depend dummy"
20051 ac_config_links="$ac_config_links wine:tools/winewrapper"
20052 wine_fn_config_symlink wine
20053 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20054 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20055 wine_fn_config_symlink wine64
20058 wine_fn_config_makefile dlls/acledit enable_acledit
20059 wine_fn_config_makefile dlls/aclui enable_aclui
20060 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20061 wine_fn_config_makefile dlls/activeds enable_activeds
20062 wine_fn_config_makefile dlls/activeds/tests enable_tests
20063 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20064 wine_fn_config_makefile dlls/adsiid enable_adsiid
20065 wine_fn_config_makefile dlls/adsldp enable_adsldp
20066 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20067 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20068 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20069 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20070 wine_fn_config_makefile dlls/advpack enable_advpack
20071 wine_fn_config_makefile dlls/advpack/tests enable_tests
20072 wine_fn_config_makefile dlls/amsi enable_amsi
20073 wine_fn_config_makefile dlls/amstream enable_amstream
20074 wine_fn_config_makefile dlls/amstream/tests enable_tests
20075 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20078 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20102 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20103 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20112 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20115 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20130 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20137 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20142 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20151 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20152 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20153 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20166 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20167 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20219 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20221 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20273 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20277 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20279 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20281 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20282 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20298 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20300 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20303 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20308 wine_fn_config_makefile dlls/apphelp enable_apphelp
20309 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20310 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20311 wine_fn_config_makefile dlls/atl enable_atl
20312 wine_fn_config_makefile dlls/atl/tests enable_tests
20313 wine_fn_config_makefile dlls/atl100 enable_atl100
20314 wine_fn_config_makefile dlls/atl100/tests enable_tests
20315 wine_fn_config_makefile dlls/atl110 enable_atl110
20316 wine_fn_config_makefile dlls/atl80 enable_atl80
20317 wine_fn_config_makefile dlls/atl80/tests enable_tests
20318 wine_fn_config_makefile dlls/atl90 enable_atl90
20319 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20320 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20321 wine_fn_config_makefile dlls/atmlib enable_atmlib
20322 wine_fn_config_makefile dlls/authz enable_authz
20323 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20324 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20325 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20326 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20327 wine_fn_config_makefile dlls/avrt enable_avrt
20328 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20329 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20330 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20331 wine_fn_config_makefile dlls/browseui enable_browseui
20332 wine_fn_config_makefile dlls/browseui/tests enable_tests
20333 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20334 wine_fn_config_makefile dlls/cabinet enable_cabinet
20335 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20336 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20337 wine_fn_config_makefile dlls/cards enable_cards
20338 wine_fn_config_makefile dlls/cdosys enable_cdosys
20339 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20340 wine_fn_config_makefile dlls/clusapi enable_clusapi
20341 wine_fn_config_makefile dlls/combase enable_combase
20342 wine_fn_config_makefile dlls/combase/tests enable_tests
20343 wine_fn_config_makefile dlls/comcat enable_comcat
20344 wine_fn_config_makefile dlls/comcat/tests enable_tests
20345 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20346 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20347 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20348 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20349 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20350 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20351 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20352 wine_fn_config_makefile dlls/compstui enable_compstui
20353 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20354 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20355 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20356 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20357 wine_fn_config_makefile dlls/connect enable_connect
20358 wine_fn_config_makefile dlls/credui enable_credui
20359 wine_fn_config_makefile dlls/credui/tests enable_tests
20360 wine_fn_config_makefile dlls/crtdll enable_crtdll
20361 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20362 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20363 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20364 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20365 wine_fn_config_makefile dlls/cryptext enable_cryptext
20366 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20367 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20368 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20369 wine_fn_config_makefile dlls/cryptui enable_cryptui
20370 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20371 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20372 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20373 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20374 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20375 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20376 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20377 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20378 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20379 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20380 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20381 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20382 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20383 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20384 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20385 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20386 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20387 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20388 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20389 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20390 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20391 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20392 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20393 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20394 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20395 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20396 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20397 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20398 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20399 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20400 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20401 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20402 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20403 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20404 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20405 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20406 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20407 wine_fn_config_makefile dlls/d3dim enable_d3dim
20408 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20409 wine_fn_config_makefile dlls/d3drm enable_d3drm
20410 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20411 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20412 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20413 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20414 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20415 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20416 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20417 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20418 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20419 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20420 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20421 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20422 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20423 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20424 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20425 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20426 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20427 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20428 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20429 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20430 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20431 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20432 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20433 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20434 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20435 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20436 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20437 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20438 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20439 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20440 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20441 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20442 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20443 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20444 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20445 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20446 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20447 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20448 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20449 wine_fn_config_makefile dlls/davclnt enable_davclnt
20450 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20451 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20452 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20453 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20454 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20455 wine_fn_config_makefile dlls/dcomp enable_dcomp
20456 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20457 wine_fn_config_makefile dlls/ddraw enable_ddraw
20458 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20459 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20460 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20461 wine_fn_config_makefile dlls/devenum enable_devenum
20462 wine_fn_config_makefile dlls/devenum/tests enable_tests
20463 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20464 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20465 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20466 wine_fn_config_makefile dlls/difxapi enable_difxapi
20467 wine_fn_config_makefile dlls/dinput enable_dinput
20468 wine_fn_config_makefile dlls/dinput/tests enable_tests
20469 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20470 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20471 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20472 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20473 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20474 wine_fn_config_makefile dlls/dispex enable_dispex
20475 wine_fn_config_makefile dlls/dispex/tests enable_tests
20476 wine_fn_config_makefile dlls/display.drv16 enable_win16
20477 wine_fn_config_makefile dlls/dmband enable_dmband
20478 wine_fn_config_makefile dlls/dmband/tests enable_tests
20479 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20480 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20481 wine_fn_config_makefile dlls/dmime enable_dmime
20482 wine_fn_config_makefile dlls/dmime/tests enable_tests
20483 wine_fn_config_makefile dlls/dmloader enable_dmloader
20484 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20485 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20486 wine_fn_config_makefile dlls/dmscript enable_dmscript
20487 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20488 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20489 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20490 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20491 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20492 wine_fn_config_makefile dlls/dmusic enable_dmusic
20493 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20494 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20495 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20496 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20497 wine_fn_config_makefile dlls/dplay enable_dplay
20498 wine_fn_config_makefile dlls/dplayx enable_dplayx
20499 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20500 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20501 wine_fn_config_makefile dlls/dpnet enable_dpnet
20502 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20503 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20504 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20505 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20506 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20507 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20508 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20509 wine_fn_config_makefile dlls/drmclien enable_drmclien
20510 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20511 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20512 wine_fn_config_makefile dlls/dsound enable_dsound
20513 wine_fn_config_makefile dlls/dsound/tests enable_tests
20514 wine_fn_config_makefile dlls/dsquery enable_dsquery
20515 wine_fn_config_makefile dlls/dssenh enable_dssenh
20516 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20517 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20518 wine_fn_config_makefile dlls/dswave enable_dswave
20519 wine_fn_config_makefile dlls/dswave/tests enable_tests
20520 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20521 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20522 wine_fn_config_makefile dlls/dwrite enable_dwrite
20523 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20524 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20525 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20526 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20527 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20528 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20529 wine_fn_config_makefile dlls/dxgi enable_dxgi
20530 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20531 wine_fn_config_makefile dlls/dxguid enable_dxguid
20532 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20533 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20534 wine_fn_config_makefile dlls/esent enable_esent
20535 wine_fn_config_makefile dlls/evr enable_evr
20536 wine_fn_config_makefile dlls/evr/tests enable_tests
20537 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20538 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20539 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20544 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20545 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20573 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20579 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
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20590 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20591 wine_fn_config_makefile dlls/faultrep enable_faultrep
20592 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20593 wine_fn_config_makefile dlls/feclient enable_feclient
20594 wine_fn_config_makefile dlls/fltlib enable_fltlib
20595 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20596 wine_fn_config_makefile dlls/fntcache enable_fntcache
20597 wine_fn_config_makefile dlls/fontsub enable_fontsub
20598 wine_fn_config_makefile dlls/fusion enable_fusion
20599 wine_fn_config_makefile dlls/fusion/tests enable_tests
20600 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20601 wine_fn_config_makefile dlls/gameux enable_gameux
20602 wine_fn_config_makefile dlls/gameux/tests enable_tests
20603 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20604 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20605 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20606 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20607 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20608 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20609 wine_fn_config_makefile dlls/glu32 enable_glu32
20610 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20611 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20612 wine_fn_config_makefile dlls/hal enable_hal
20613 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20614 wine_fn_config_makefile dlls/hid enable_hid
20615 wine_fn_config_makefile dlls/hid/tests enable_tests
20616 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20617 wine_fn_config_makefile dlls/hlink enable_hlink
20618 wine_fn_config_makefile dlls/hlink/tests enable_tests
20619 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20620 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20621 wine_fn_config_makefile dlls/http.sys enable_http_sys
20622 wine_fn_config_makefile dlls/httpapi enable_httpapi
20623 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20624 wine_fn_config_makefile dlls/iccvid enable_iccvid
20625 wine_fn_config_makefile dlls/icmp enable_icmp
20626 wine_fn_config_makefile dlls/ieframe enable_ieframe
20627 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20628 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20629 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20630 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20631 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20632 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20633 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20634 wine_fn_config_makefile dlls/imm32 enable_imm32
20635 wine_fn_config_makefile dlls/imm32/tests enable_tests
20636 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20637 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20638 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20639 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20640 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20641 wine_fn_config_makefile dlls/infosoft enable_infosoft
20642 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20643 wine_fn_config_makefile dlls/initpki enable_initpki
20644 wine_fn_config_makefile dlls/inkobj enable_inkobj
20645 wine_fn_config_makefile dlls/inseng enable_inseng
20646 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20647 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20648 wine_fn_config_makefile dlls/iprop enable_iprop
20649 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20650 wine_fn_config_makefile dlls/itircl enable_itircl
20651 wine_fn_config_makefile dlls/itss enable_itss
20652 wine_fn_config_makefile dlls/itss/tests enable_tests
20653 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20654 wine_fn_config_makefile dlls/jscript enable_jscript
20655 wine_fn_config_makefile dlls/jscript/tests enable_tests
20656 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20657 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20658 wine_fn_config_makefile dlls/kerberos enable_kerberos
20659 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20660 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20661 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20662 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20663 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20664 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20665 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20666 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20667 wine_fn_config_makefile dlls/ksuser enable_ksuser
20668 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20669 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20670 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20671 wine_fn_config_makefile dlls/loadperf enable_loadperf
20672 wine_fn_config_makefile dlls/localspl enable_localspl
20673 wine_fn_config_makefile dlls/localspl/tests enable_tests
20674 wine_fn_config_makefile dlls/localui enable_localui
20675 wine_fn_config_makefile dlls/localui/tests enable_tests
20676 wine_fn_config_makefile dlls/lz32 enable_lz32
20677 wine_fn_config_makefile dlls/lz32/tests enable_tests
20678 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20679 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20680 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20681 wine_fn_config_makefile dlls/mapistub enable_mapistub
20682 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20683 wine_fn_config_makefile dlls/mcicda enable_mcicda
20684 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20685 wine_fn_config_makefile dlls/mciseq enable_mciseq
20686 wine_fn_config_makefile dlls/mciwave enable_mciwave
20687 wine_fn_config_makefile dlls/mf enable_mf
20688 wine_fn_config_makefile dlls/mf/tests enable_tests
20689 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20690 wine_fn_config_makefile dlls/mferror enable_mferror
20691 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20692 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20693 wine_fn_config_makefile dlls/mfplat enable_mfplat
20694 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20695 wine_fn_config_makefile dlls/mfplay enable_mfplay
20696 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20697 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20698 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20699 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20700 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20701 wine_fn_config_makefile dlls/midimap enable_midimap
20702 wine_fn_config_makefile dlls/mlang enable_mlang
20703 wine_fn_config_makefile dlls/mlang/tests enable_tests
20704 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20705 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20706 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20707 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20708 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20709 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20710 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20711 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20712 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20713 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20714 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20715 wine_fn_config_makefile dlls/mpr enable_mpr
20716 wine_fn_config_makefile dlls/mpr/tests enable_tests
20717 wine_fn_config_makefile dlls/mprapi enable_mprapi
20718 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20719 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20720 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20721 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20722 wine_fn_config_makefile dlls/msado15 enable_msado15
20723 wine_fn_config_makefile dlls/msado15/tests enable_tests
20724 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20725 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20726 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20727 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20728 wine_fn_config_makefile dlls/mscms enable_mscms
20729 wine_fn_config_makefile dlls/mscms/tests enable_tests
20730 wine_fn_config_makefile dlls/mscoree enable_mscoree
20731 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20732 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20733 wine_fn_config_makefile dlls/msctf enable_msctf
20734 wine_fn_config_makefile dlls/msctf/tests enable_tests
20735 wine_fn_config_makefile dlls/msctfp enable_msctfp
20736 wine_fn_config_makefile dlls/msdaps enable_msdaps
20737 wine_fn_config_makefile dlls/msdelta enable_msdelta
20738 wine_fn_config_makefile dlls/msdmo enable_msdmo
20739 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20740 wine_fn_config_makefile dlls/msdrm enable_msdrm
20741 wine_fn_config_makefile dlls/msftedit enable_msftedit
20742 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20743 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20744 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20745 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20746 wine_fn_config_makefile dlls/mshtml enable_mshtml
20747 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20748 wine_fn_config_makefile dlls/msi enable_msi
20749 wine_fn_config_makefile dlls/msi/tests enable_tests
20750 wine_fn_config_makefile dlls/msident enable_msident
20751 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20752 wine_fn_config_makefile dlls/msimsg enable_msimsg
20753 wine_fn_config_makefile dlls/msimtf enable_msimtf
20754 wine_fn_config_makefile dlls/msisip enable_msisip
20755 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20756 wine_fn_config_makefile dlls/msls31 enable_msls31
20757 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20758 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20759 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20760 wine_fn_config_makefile dlls/msports enable_msports
20761 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20762 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20763 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20764 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20765 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20766 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20767 wine_fn_config_makefile dlls/mstask enable_mstask
20768 wine_fn_config_makefile dlls/mstask/tests enable_tests
20769 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20770 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20771 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20773 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20774 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20775 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20777 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20779 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20781 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20782 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20783 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20784 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20785 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20786 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20787 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20788 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20789 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20790 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20791 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20792 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20793 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20794 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20795 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20796 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20797 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20798 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20799 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20800 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20801 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20802 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20803 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20804 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20805 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20806 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20807 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20808 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20809 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20810 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20811 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20812 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20813 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20814 wine_fn_config_makefile dlls/mswsock enable_mswsock
20815 wine_fn_config_makefile dlls/msxml enable_msxml
20816 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20817 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20818 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20819 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20820 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20821 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20822 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20823 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20824 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20825 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20826 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20827 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20828 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20829 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20830 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20831 wine_fn_config_makefile dlls/netprofm enable_netprofm
20832 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20833 wine_fn_config_makefile dlls/netutils enable_netutils
20834 wine_fn_config_makefile dlls/newdev enable_newdev
20835 wine_fn_config_makefile dlls/ninput enable_ninput
20836 wine_fn_config_makefile dlls/ninput/tests enable_tests
20837 wine_fn_config_makefile dlls/normaliz enable_normaliz
20838 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20839 wine_fn_config_makefile dlls/npptools enable_npptools
20840 wine_fn_config_makefile dlls/nsi enable_nsi
20841 wine_fn_config_makefile dlls/nsi/tests enable_tests
20842 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20843 wine_fn_config_makefile dlls/ntdll enable_ntdll
20844 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20845 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20846 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20847 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20848 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20849 wine_fn_config_makefile dlls/ntprint enable_ntprint
20850 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20851 wine_fn_config_makefile dlls/objsel enable_objsel
20852 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20853 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20854 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20855 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20856 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20857 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20858 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20861 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20862 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20863 wine_fn_config_makefile dlls/ole32 enable_ole32
20864 wine_fn_config_makefile dlls/ole32/tests enable_tests
20865 wine_fn_config_makefile dlls/oleacc enable_oleacc
20866 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20867 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20868 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20869 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20870 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20871 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20872 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20873 wine_fn_config_makefile dlls/oledlg enable_oledlg
20874 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20875 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20876 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20877 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20878 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20879 wine_fn_config_makefile dlls/opcservices enable_opcservices
20880 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20881 wine_fn_config_makefile dlls/openal32 enable_openal32
20882 wine_fn_config_makefile dlls/opencl enable_opencl
20883 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20884 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20885 wine_fn_config_makefile dlls/packager enable_packager
20886 wine_fn_config_makefile dlls/packager/tests enable_tests
20887 wine_fn_config_makefile dlls/pdh enable_pdh
20888 wine_fn_config_makefile dlls/pdh/tests enable_tests
20889 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20890 wine_fn_config_makefile dlls/pidgen enable_pidgen
20891 wine_fn_config_makefile dlls/powrprof enable_powrprof
20892 wine_fn_config_makefile dlls/printui enable_printui
20893 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20894 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20895 wine_fn_config_makefile dlls/propsys enable_propsys
20896 wine_fn_config_makefile dlls/propsys/tests enable_tests
20897 wine_fn_config_makefile dlls/psapi enable_psapi
20898 wine_fn_config_makefile dlls/psapi/tests enable_tests
20899 wine_fn_config_makefile dlls/pstorec enable_pstorec
20900 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20901 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20902 wine_fn_config_makefile dlls/qasf enable_qasf
20903 wine_fn_config_makefile dlls/qasf/tests enable_tests
20904 wine_fn_config_makefile dlls/qcap enable_qcap
20905 wine_fn_config_makefile dlls/qcap/tests enable_tests
20906 wine_fn_config_makefile dlls/qdvd enable_qdvd
20907 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20908 wine_fn_config_makefile dlls/qedit enable_qedit
20909 wine_fn_config_makefile dlls/qedit/tests enable_tests
20910 wine_fn_config_makefile dlls/qmgr enable_qmgr
20911 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20912 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20913 wine_fn_config_makefile dlls/quartz enable_quartz
20914 wine_fn_config_makefile dlls/quartz/tests enable_tests
20915 wine_fn_config_makefile dlls/query enable_query
20916 wine_fn_config_makefile dlls/qwave enable_qwave
20917 wine_fn_config_makefile dlls/qwave/tests enable_tests
20918 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20919 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20920 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20921 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20922 wine_fn_config_makefile dlls/regapi enable_regapi
20923 wine_fn_config_makefile dlls/resutils enable_resutils
20924 wine_fn_config_makefile dlls/riched20 enable_riched20
20925 wine_fn_config_makefile dlls/riched20/tests enable_tests
20926 wine_fn_config_makefile dlls/riched32 enable_riched32
20927 wine_fn_config_makefile dlls/riched32/tests enable_tests
20928 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20929 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20930 wine_fn_config_makefile dlls/rsabase enable_rsabase
20931 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20932 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20933 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20934 wine_fn_config_makefile dlls/rtutils enable_rtutils
20935 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20936 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20937 wine_fn_config_makefile dlls/samlib enable_samlib
20938 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20939 wine_fn_config_makefile dlls/sapi enable_sapi
20940 wine_fn_config_makefile dlls/sapi/tests enable_tests
20941 wine_fn_config_makefile dlls/sas enable_sas
20942 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20943 wine_fn_config_makefile dlls/sccbase enable_sccbase
20944 wine_fn_config_makefile dlls/schannel enable_schannel
20945 wine_fn_config_makefile dlls/schannel/tests enable_tests
20946 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20947 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20948 wine_fn_config_makefile dlls/scrobj enable_scrobj
20949 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20950 wine_fn_config_makefile dlls/scrrun enable_scrrun
20951 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20952 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20953 wine_fn_config_makefile dlls/sechost enable_sechost
20954 wine_fn_config_makefile dlls/secur32 enable_secur32
20955 wine_fn_config_makefile dlls/secur32/tests enable_tests
20956 wine_fn_config_makefile dlls/security enable_security
20957 wine_fn_config_makefile dlls/sensapi enable_sensapi
20958 wine_fn_config_makefile dlls/serialui enable_serialui
20959 wine_fn_config_makefile dlls/serialui/tests enable_tests
20960 wine_fn_config_makefile dlls/setupapi enable_setupapi
20961 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20962 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20963 wine_fn_config_makefile dlls/sfc enable_sfc
20964 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20965 wine_fn_config_makefile dlls/shcore enable_shcore
20966 wine_fn_config_makefile dlls/shcore/tests enable_tests
20967 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20968 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20969 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20970 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20971 wine_fn_config_makefile dlls/shell32 enable_shell32
20972 wine_fn_config_makefile dlls/shell32/tests enable_tests
20973 wine_fn_config_makefile dlls/shfolder enable_shfolder
20974 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20975 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20976 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20977 wine_fn_config_makefile dlls/slc enable_slc
20978 wine_fn_config_makefile dlls/slc/tests enable_tests
20979 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20980 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20981 wine_fn_config_makefile dlls/softpub enable_softpub
20982 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20983 wine_fn_config_makefile dlls/spoolss enable_spoolss
20984 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20985 wine_fn_config_makefile dlls/sppc enable_sppc
20986 wine_fn_config_makefile dlls/srclient enable_srclient
20987 wine_fn_config_makefile dlls/srvcli enable_srvcli
20988 wine_fn_config_makefile dlls/sspicli enable_sspicli
20989 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20990 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20991 wine_fn_config_makefile dlls/sti enable_sti
20992 wine_fn_config_makefile dlls/sti/tests enable_tests
20993 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20994 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20995 wine_fn_config_makefile dlls/strmbase enable_strmbase
20996 wine_fn_config_makefile dlls/strmdll enable_strmdll
20997 wine_fn_config_makefile dlls/strmiids enable_strmiids
20998 wine_fn_config_makefile dlls/svrapi enable_svrapi
20999 wine_fn_config_makefile dlls/sxs enable_sxs
21000 wine_fn_config_makefile dlls/sxs/tests enable_tests
21001 wine_fn_config_makefile dlls/system.drv16 enable_win16
21002 wine_fn_config_makefile dlls/t2embed enable_t2embed
21003 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21004 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21005 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21006 wine_fn_config_makefile dlls/taskschd enable_taskschd
21007 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21008 wine_fn_config_makefile dlls/tbs enable_tbs
21009 wine_fn_config_makefile dlls/tdh enable_tdh
21010 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21011 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21012 wine_fn_config_makefile dlls/traffic enable_traffic
21013 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21014 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21015 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21016 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21017 wine_fn_config_makefile dlls/tzres enable_tzres
21018 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21019 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21020 wine_fn_config_makefile dlls/uianimation enable_uianimation
21021 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21022 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21023 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21024 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21025 wine_fn_config_makefile dlls/unicows enable_unicows
21026 wine_fn_config_makefile dlls/updspapi enable_updspapi
21027 wine_fn_config_makefile dlls/url enable_url
21028 wine_fn_config_makefile dlls/urlmon enable_urlmon
21029 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21030 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21031 wine_fn_config_makefile dlls/user.exe16 enable_win16
21032 wine_fn_config_makefile dlls/user32 enable_user32
21033 wine_fn_config_makefile dlls/user32/tests enable_tests
21034 wine_fn_config_makefile dlls/userenv enable_userenv
21035 wine_fn_config_makefile dlls/userenv/tests enable_tests
21036 wine_fn_config_makefile dlls/usp10 enable_usp10
21037 wine_fn_config_makefile dlls/usp10/tests enable_tests
21038 wine_fn_config_makefile dlls/utildll enable_utildll
21039 wine_fn_config_makefile dlls/uuid enable_uuid
21040 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21041 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21042 wine_fn_config_makefile dlls/vbscript enable_vbscript
21043 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21044 wine_fn_config_makefile dlls/vcomp enable_vcomp
21045 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21046 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21047 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21048 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21049 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21050 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21051 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21052 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21053 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21054 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21055 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21056 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21057 wine_fn_config_makefile dlls/version enable_version
21058 wine_fn_config_makefile dlls/version/tests enable_tests
21059 wine_fn_config_makefile dlls/vga enable_vga
21060 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21061 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21062 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21063 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21064 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21065 wine_fn_config_makefile dlls/vssapi enable_vssapi
21066 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21067 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21068 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21069 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21070 wine_fn_config_makefile dlls/w32skrnl enable_win16
21071 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21072 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21073 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21074 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21075 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21076 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21077 wine_fn_config_makefile dlls/wdscore enable_wdscore
21078 wine_fn_config_makefile dlls/webservices enable_webservices
21079 wine_fn_config_makefile dlls/webservices/tests enable_tests
21080 wine_fn_config_makefile dlls/websocket enable_websocket
21081 wine_fn_config_makefile dlls/wer enable_wer
21082 wine_fn_config_makefile dlls/wer/tests enable_tests
21083 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21084 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21085 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21086 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21087 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21088 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21089 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21090 wine_fn_config_makefile dlls/win32u enable_win32u
21091 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21092 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21093 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21094 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21095 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21096 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21097 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21098 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21099 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21100 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21101 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21102 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21103 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21104 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21105 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21106 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21107 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21108 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21109 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21110 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21111 wine_fn_config_makefile dlls/wined3d enable_wined3d
21112 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21113 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21114 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21115 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21116 wine_fn_config_makefile dlls/winemapi enable_winemapi
21117 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21118 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21119 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21120 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21121 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21122 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21123 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21124 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21125 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21126 wine_fn_config_makefile dlls/wing32 enable_wing32
21127 wine_fn_config_makefile dlls/winhttp enable_winhttp
21128 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21129 wine_fn_config_makefile dlls/wininet enable_wininet
21130 wine_fn_config_makefile dlls/wininet/tests enable_tests
21131 wine_fn_config_makefile dlls/winmm enable_winmm
21132 wine_fn_config_makefile dlls/winmm/tests enable_tests
21133 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21134 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21135 wine_fn_config_makefile dlls/winscard enable_winscard
21136 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21137 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21138 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21139 wine_fn_config_makefile dlls/winsta enable_winsta
21140 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21141 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21142 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21143 wine_fn_config_makefile dlls/wintrust enable_wintrust
21144 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21145 wine_fn_config_makefile dlls/winusb enable_winusb
21146 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21147 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21148 wine_fn_config_makefile dlls/wlanui enable_wlanui
21149 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21150 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21151 wine_fn_config_makefile dlls/wmasf enable_wmasf
21152 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21153 wine_fn_config_makefile dlls/wmi enable_wmi
21154 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21155 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21156 wine_fn_config_makefile dlls/wmp enable_wmp
21157 wine_fn_config_makefile dlls/wmp/tests enable_tests
21158 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21159 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21160 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21161 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21162 wine_fn_config_makefile dlls/wow32 enable_win16
21163 wine_fn_config_makefile dlls/wow64 enable_wow64
21164 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21165 wine_fn_config_makefile dlls/wow64win enable_wow64win
21166 wine_fn_config_makefile dlls/wpc enable_wpc
21167 wine_fn_config_makefile dlls/wpc/tests enable_tests
21168 wine_fn_config_makefile dlls/wpcap enable_wpcap
21169 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21170 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21171 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21172 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21173 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21174 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21175 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21176 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21177 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21178 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21179 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21180 wine_fn_config_makefile dlls/wuapi enable_wuapi
21181 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21182 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21183 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21184 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21185 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21186 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21187 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21188 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21189 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21190 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21191 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21192 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21193 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21194 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21195 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21196 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21197 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21198 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21199 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21200 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21201 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21202 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21203 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21204 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21205 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21206 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21207 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21208 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21209 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21210 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21211 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21212 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21213 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21214 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21215 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21216 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21217 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21218 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21219 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21220 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21221 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21222 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21223 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21224 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21225 wine_fn_config_makefile dlls/xmllite enable_xmllite
21226 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21227 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21228 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21229 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21230 wine_fn_config_makefile fonts enable_fonts
21231 wine_fn_config_makefile include enable_include
21232 wine_fn_config_makefile libs/port enable_port
21233 wine_fn_config_makefile libs/wine enable_wine
21234 wine_fn_config_makefile libs/wpp enable_wpp
21235 wine_fn_config_makefile loader enable_loader
21236 wine_fn_config_makefile nls enable_nls
21237 wine_fn_config_makefile po enable_po
21238 wine_fn_config_makefile programs/arp enable_arp
21239 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21240 wine_fn_config_makefile programs/attrib enable_attrib
21241 wine_fn_config_makefile programs/cabarc enable_cabarc
21242 wine_fn_config_makefile programs/cacls enable_cacls
21243 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21244 wine_fn_config_makefile programs/clock enable_clock
21245 wine_fn_config_makefile programs/cmd enable_cmd
21246 wine_fn_config_makefile programs/cmd/tests enable_tests
21247 wine_fn_config_makefile programs/conhost enable_conhost
21248 wine_fn_config_makefile programs/conhost/tests enable_tests
21249 wine_fn_config_makefile programs/control enable_control
21250 wine_fn_config_makefile programs/cscript enable_cscript
21251 wine_fn_config_makefile programs/dism enable_dism
21252 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21253 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21254 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21255 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21256 wine_fn_config_makefile programs/eject enable_eject
21257 wine_fn_config_makefile programs/expand enable_expand
21258 wine_fn_config_makefile programs/explorer enable_explorer
21259 wine_fn_config_makefile programs/extrac32 enable_extrac32
21260 wine_fn_config_makefile programs/fc enable_fc
21261 wine_fn_config_makefile programs/find enable_find
21262 wine_fn_config_makefile programs/find/tests enable_tests
21263 wine_fn_config_makefile programs/findstr enable_findstr
21264 wine_fn_config_makefile programs/fsutil enable_fsutil
21265 wine_fn_config_makefile programs/fsutil/tests enable_tests
21266 wine_fn_config_makefile programs/hh enable_hh
21267 wine_fn_config_makefile programs/hostname enable_hostname
21268 wine_fn_config_makefile programs/icacls enable_icacls
21269 wine_fn_config_makefile programs/icinfo enable_icinfo
21270 wine_fn_config_makefile programs/iexplore enable_iexplore
21271 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21272 wine_fn_config_makefile programs/lodctr enable_lodctr
21273 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21274 wine_fn_config_makefile programs/mshta enable_mshta
21275 wine_fn_config_makefile programs/msidb enable_msidb
21276 wine_fn_config_makefile programs/msiexec enable_msiexec
21277 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21278 wine_fn_config_makefile programs/net enable_net
21279 wine_fn_config_makefile programs/netsh enable_netsh
21280 wine_fn_config_makefile programs/netstat enable_netstat
21281 wine_fn_config_makefile programs/ngen enable_ngen
21282 wine_fn_config_makefile programs/notepad enable_notepad
21283 wine_fn_config_makefile programs/oleview enable_oleview
21284 wine_fn_config_makefile programs/ping enable_ping
21285 wine_fn_config_makefile programs/plugplay enable_plugplay
21286 wine_fn_config_makefile programs/powershell enable_powershell
21287 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21288 wine_fn_config_makefile programs/progman enable_progman
21289 wine_fn_config_makefile programs/reg enable_reg
21290 wine_fn_config_makefile programs/reg/tests enable_tests
21291 wine_fn_config_makefile programs/regasm enable_regasm
21292 wine_fn_config_makefile programs/regedit enable_regedit
21293 wine_fn_config_makefile programs/regedit/tests enable_tests
21294 wine_fn_config_makefile programs/regini enable_regini
21295 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21296 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21297 wine_fn_config_makefile programs/rpcss enable_rpcss
21298 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21299 wine_fn_config_makefile programs/rundll32 enable_rundll32
21300 wine_fn_config_makefile programs/sc enable_sc
21301 wine_fn_config_makefile programs/schtasks enable_schtasks
21302 wine_fn_config_makefile programs/schtasks/tests enable_tests
21303 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21304 wine_fn_config_makefile programs/secedit enable_secedit
21305 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21306 wine_fn_config_makefile programs/services enable_services
21307 wine_fn_config_makefile programs/services/tests enable_tests
21308 wine_fn_config_makefile programs/shutdown enable_shutdown
21309 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21310 wine_fn_config_makefile programs/start enable_start
21311 wine_fn_config_makefile programs/subst enable_subst
21312 wine_fn_config_makefile programs/svchost enable_svchost
21313 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21314 wine_fn_config_makefile programs/taskkill enable_taskkill
21315 wine_fn_config_makefile programs/tasklist enable_tasklist
21316 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21317 wine_fn_config_makefile programs/termsv enable_termsv
21318 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21319 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21320 wine_fn_config_makefile programs/view enable_view
21321 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21322 wine_fn_config_makefile programs/where enable_where
21323 wine_fn_config_makefile programs/whoami enable_whoami
21324 wine_fn_config_makefile programs/wineboot enable_wineboot
21325 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21326 wine_fn_config_makefile programs/winecfg enable_winecfg
21327 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21328 wine_fn_config_makefile programs/winedbg enable_winedbg
21329 wine_fn_config_makefile programs/winedevice enable_winedevice
21330 wine_fn_config_makefile programs/winefile enable_winefile
21331 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21332 wine_fn_config_makefile programs/winemine enable_winemine
21333 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21334 wine_fn_config_makefile programs/winepath enable_winepath
21335 wine_fn_config_makefile programs/winetest enable_winetest
21336 wine_fn_config_makefile programs/winevdm enable_win16
21337 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21338 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21339 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21340 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21341 wine_fn_config_makefile programs/winver enable_winver
21342 wine_fn_config_makefile programs/wmic enable_wmic
21343 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21344 wine_fn_config_makefile programs/wordpad enable_wordpad
21345 wine_fn_config_makefile programs/write enable_write
21346 wine_fn_config_makefile programs/wscript enable_wscript
21347 wine_fn_config_makefile programs/wscript/tests enable_tests
21348 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21349 wine_fn_config_makefile programs/wusa enable_wusa
21350 wine_fn_config_makefile programs/xcopy enable_xcopy
21351 wine_fn_config_makefile programs/xcopy/tests enable_tests
21352 wine_fn_config_makefile server enable_server
21353 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21354 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21355 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21356 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21357 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21358 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21359 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21360 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21361 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21364 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21365 wine_fn_append_file CONFIGURE_TARGETS "tags"
21366 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21367 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21368 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21369 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21370 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21371 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21373 if test "x$enable_tools" != xno
21374 then
21375 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21376 ac_config_commands="$ac_config_commands tools/makedep"
21380 ac_config_commands="$ac_config_commands Makefile"
21383 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21387 if test "x$enable_maintainer_mode" = xyes
21388 then
21389 wine_fn_append_rule "configure: configure.ac aclocal.m4
21390 autoconf --warnings=all
21391 include/config.h.in: include/stamp-h.in
21392 include/stamp-h.in: configure.ac aclocal.m4
21393 autoheader --warnings=all
21394 @echo timestamp > \$@"
21397 if test "x$enable_tools" != xno
21398 then
21399 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21400 @./config.status tools/makedep
21401 Makefile: tools/makedep$ac_exeext"
21402 else
21403 wine_fn_append_rule "\$(MAKEDEP):
21404 @echo \"You need to run make in $TOOLSDIR first\" && false"
21407 if test -n "$with_wine64"
21408 then
21409 case "$with_wine64" in
21410 /*) reldir="" ;;
21411 *) reldir="../" ;;
21412 esac
21413 rm -f fonts server 2>/dev/null
21414 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21415 loader/wine64 loader/wine64-preloader:
21416 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21417 $with_wine64/loader/wine:
21418 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21419 $with_wine64/loader/wine-preloader:
21420 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21421 clean::
21422 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21423 else
21424 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21425 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21426 fonts \
21427 loader/wine.inf \
21428 nls \
21429 programs/msidb/msidb \
21430 programs/msiexec/msiexec \
21431 programs/notepad/notepad \
21432 programs/regedit/regedit \
21433 programs/regsvr32/regsvr32 \
21434 programs/wineboot/wineboot \
21435 programs/winecfg/winecfg \
21436 programs/wineconsole/wineconsole \
21437 programs/winedbg/winedbg \
21438 programs/winefile/winefile \
21439 programs/winemine/winemine \
21440 programs/winepath/winepath \
21441 server/wineserver"
21443 case $host_os in
21444 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21445 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21446 esac
21449 $as_echo " done" >&6
21450 cat >confcache <<\_ACEOF
21451 # This file is a shell script that caches the results of configure
21452 # tests run on this system so they can be shared between configure
21453 # scripts and configure runs, see configure's option --config-cache.
21454 # It is not useful on other systems. If it contains results you don't
21455 # want to keep, you may remove or edit it.
21457 # config.status only pays attention to the cache file if you give it
21458 # the --recheck option to rerun configure.
21460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21462 # following values.
21464 _ACEOF
21466 # The following way of writing the cache mishandles newlines in values,
21467 # but we know of no workaround that is simple, portable, and efficient.
21468 # So, we kill variables containing newlines.
21469 # Ultrix sh set writes to stderr and can't be redirected directly,
21470 # and sets the high bit in the cache file unless we assign to the vars.
21472 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21473 eval ac_val=\$$ac_var
21474 case $ac_val in #(
21475 *${as_nl}*)
21476 case $ac_var in #(
21477 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21478 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21479 esac
21480 case $ac_var in #(
21481 _ | IFS | as_nl) ;; #(
21482 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21483 *) { eval $ac_var=; unset $ac_var;} ;;
21484 esac ;;
21485 esac
21486 done
21488 (set) 2>&1 |
21489 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21490 *${as_nl}ac_space=\ *)
21491 # `set' does not quote correctly, so add quotes: double-quote
21492 # substitution turns \\\\ into \\, and sed turns \\ into \.
21493 sed -n \
21494 "s/'/'\\\\''/g;
21495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21496 ;; #(
21498 # `set' quotes correctly as required by POSIX, so do not add quotes.
21499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21501 esac |
21502 sort
21504 sed '
21505 /^ac_cv_env_/b end
21506 t clear
21507 :clear
21508 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21509 t end
21510 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21511 :end' >>confcache
21512 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21513 if test -w "$cache_file"; then
21514 if test "x$cache_file" != "x/dev/null"; then
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21516 $as_echo "$as_me: updating cache $cache_file" >&6;}
21517 if test ! -f "$cache_file" || test -h "$cache_file"; then
21518 cat confcache >"$cache_file"
21519 else
21520 case $cache_file in #(
21521 */* | ?:*)
21522 mv -f confcache "$cache_file"$$ &&
21523 mv -f "$cache_file"$$ "$cache_file" ;; #(
21525 mv -f confcache "$cache_file" ;;
21526 esac
21529 else
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21531 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21534 rm -f confcache
21536 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21537 # Let make expand exec_prefix.
21538 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21540 DEFS=-DHAVE_CONFIG_H
21542 ac_libobjs=
21543 ac_ltlibobjs=
21545 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21546 # 1. Remove the extension, and $U if already installed.
21547 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21548 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21549 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21550 # will be set to the directory where LIBOBJS objects are built.
21551 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21552 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21553 done
21554 LIBOBJS=$ac_libobjs
21556 LTLIBOBJS=$ac_ltlibobjs
21560 : "${CONFIG_STATUS=./config.status}"
21561 ac_write_fail=0
21562 ac_clean_files_save=$ac_clean_files
21563 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21565 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21566 as_write_fail=0
21567 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21568 #! $SHELL
21569 # Generated by $as_me.
21570 # Run this file to recreate the current configuration.
21571 # Compiler output produced by configure, useful for debugging
21572 # configure, is in config.log if it exists.
21574 debug=false
21575 ac_cs_recheck=false
21576 ac_cs_silent=false
21578 SHELL=\${CONFIG_SHELL-$SHELL}
21579 export SHELL
21580 _ASEOF
21581 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21582 ## -------------------- ##
21583 ## M4sh Initialization. ##
21584 ## -------------------- ##
21586 # Be more Bourne compatible
21587 DUALCASE=1; export DUALCASE # for MKS sh
21588 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21589 emulate sh
21590 NULLCMD=:
21591 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21592 # is contrary to our usage. Disable this feature.
21593 alias -g '${1+"$@"}'='"$@"'
21594 setopt NO_GLOB_SUBST
21595 else
21596 case `(set -o) 2>/dev/null` in #(
21597 *posix*) :
21598 set -o posix ;; #(
21599 *) :
21601 esac
21605 as_nl='
21607 export as_nl
21608 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21609 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21610 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21611 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21612 # Prefer a ksh shell builtin over an external printf program on Solaris,
21613 # but without wasting forks for bash or zsh.
21614 if test -z "$BASH_VERSION$ZSH_VERSION" \
21615 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21616 as_echo='print -r --'
21617 as_echo_n='print -rn --'
21618 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21619 as_echo='printf %s\n'
21620 as_echo_n='printf %s'
21621 else
21622 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21623 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21624 as_echo_n='/usr/ucb/echo -n'
21625 else
21626 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21627 as_echo_n_body='eval
21628 arg=$1;
21629 case $arg in #(
21630 *"$as_nl"*)
21631 expr "X$arg" : "X\\(.*\\)$as_nl";
21632 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21633 esac;
21634 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21636 export as_echo_n_body
21637 as_echo_n='sh -c $as_echo_n_body as_echo'
21639 export as_echo_body
21640 as_echo='sh -c $as_echo_body as_echo'
21643 # The user is always right.
21644 if test "${PATH_SEPARATOR+set}" != set; then
21645 PATH_SEPARATOR=:
21646 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21647 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21648 PATH_SEPARATOR=';'
21653 # IFS
21654 # We need space, tab and new line, in precisely that order. Quoting is
21655 # there to prevent editors from complaining about space-tab.
21656 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21657 # splitting by setting IFS to empty value.)
21658 IFS=" "" $as_nl"
21660 # Find who we are. Look in the path if we contain no directory separator.
21661 as_myself=
21662 case $0 in #((
21663 *[\\/]* ) as_myself=$0 ;;
21664 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21665 for as_dir in $PATH
21667 IFS=$as_save_IFS
21668 test -z "$as_dir" && as_dir=.
21669 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21670 done
21671 IFS=$as_save_IFS
21674 esac
21675 # We did not find ourselves, most probably we were run as `sh COMMAND'
21676 # in which case we are not to be found in the path.
21677 if test "x$as_myself" = x; then
21678 as_myself=$0
21680 if test ! -f "$as_myself"; then
21681 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21682 exit 1
21685 # Unset variables that we do not need and which cause bugs (e.g. in
21686 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21687 # suppresses any "Segmentation fault" message there. '((' could
21688 # trigger a bug in pdksh 5.2.14.
21689 for as_var in BASH_ENV ENV MAIL MAILPATH
21690 do eval test x\${$as_var+set} = xset \
21691 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21692 done
21693 PS1='$ '
21694 PS2='> '
21695 PS4='+ '
21697 # NLS nuisances.
21698 LC_ALL=C
21699 export LC_ALL
21700 LANGUAGE=C
21701 export LANGUAGE
21703 # CDPATH.
21704 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21707 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21708 # ----------------------------------------
21709 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21710 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21711 # script with STATUS, using 1 if that was 0.
21712 as_fn_error ()
21714 as_status=$1; test $as_status -eq 0 && as_status=1
21715 if test "$4"; then
21716 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21717 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21719 $as_echo "$as_me: error: $2" >&2
21720 as_fn_exit $as_status
21721 } # as_fn_error
21724 # as_fn_set_status STATUS
21725 # -----------------------
21726 # Set $? to STATUS, without forking.
21727 as_fn_set_status ()
21729 return $1
21730 } # as_fn_set_status
21732 # as_fn_exit STATUS
21733 # -----------------
21734 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21735 as_fn_exit ()
21737 set +e
21738 as_fn_set_status $1
21739 exit $1
21740 } # as_fn_exit
21742 # as_fn_unset VAR
21743 # ---------------
21744 # Portably unset VAR.
21745 as_fn_unset ()
21747 { eval $1=; unset $1;}
21749 as_unset=as_fn_unset
21750 # as_fn_append VAR VALUE
21751 # ----------------------
21752 # Append the text in VALUE to the end of the definition contained in VAR. Take
21753 # advantage of any shell optimizations that allow amortized linear growth over
21754 # repeated appends, instead of the typical quadratic growth present in naive
21755 # implementations.
21756 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21757 eval 'as_fn_append ()
21759 eval $1+=\$2
21761 else
21762 as_fn_append ()
21764 eval $1=\$$1\$2
21766 fi # as_fn_append
21768 # as_fn_arith ARG...
21769 # ------------------
21770 # Perform arithmetic evaluation on the ARGs, and store the result in the
21771 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21772 # must be portable across $(()) and expr.
21773 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21774 eval 'as_fn_arith ()
21776 as_val=$(( $* ))
21778 else
21779 as_fn_arith ()
21781 as_val=`expr "$@" || test $? -eq 1`
21783 fi # as_fn_arith
21786 if expr a : '\(a\)' >/dev/null 2>&1 &&
21787 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21788 as_expr=expr
21789 else
21790 as_expr=false
21793 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21794 as_basename=basename
21795 else
21796 as_basename=false
21799 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21800 as_dirname=dirname
21801 else
21802 as_dirname=false
21805 as_me=`$as_basename -- "$0" ||
21806 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21807 X"$0" : 'X\(//\)$' \| \
21808 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21809 $as_echo X/"$0" |
21810 sed '/^.*\/\([^/][^/]*\)\/*$/{
21811 s//\1/
21814 /^X\/\(\/\/\)$/{
21815 s//\1/
21818 /^X\/\(\/\).*/{
21819 s//\1/
21822 s/.*/./; q'`
21824 # Avoid depending upon Character Ranges.
21825 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21826 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21827 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21828 as_cr_digits='0123456789'
21829 as_cr_alnum=$as_cr_Letters$as_cr_digits
21831 ECHO_C= ECHO_N= ECHO_T=
21832 case `echo -n x` in #(((((
21833 -n*)
21834 case `echo 'xy\c'` in
21835 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21836 xy) ECHO_C='\c';;
21837 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21838 ECHO_T=' ';;
21839 esac;;
21841 ECHO_N='-n';;
21842 esac
21844 rm -f conf$$ conf$$.exe conf$$.file
21845 if test -d conf$$.dir; then
21846 rm -f conf$$.dir/conf$$.file
21847 else
21848 rm -f conf$$.dir
21849 mkdir conf$$.dir 2>/dev/null
21851 if (echo >conf$$.file) 2>/dev/null; then
21852 if ln -s conf$$.file conf$$ 2>/dev/null; then
21853 as_ln_s='ln -s'
21854 # ... but there are two gotchas:
21855 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21856 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21857 # In both cases, we have to default to `cp -pR'.
21858 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21859 as_ln_s='cp -pR'
21860 elif ln conf$$.file conf$$ 2>/dev/null; then
21861 as_ln_s=ln
21862 else
21863 as_ln_s='cp -pR'
21865 else
21866 as_ln_s='cp -pR'
21868 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21869 rmdir conf$$.dir 2>/dev/null
21872 # as_fn_mkdir_p
21873 # -------------
21874 # Create "$as_dir" as a directory, including parents if necessary.
21875 as_fn_mkdir_p ()
21878 case $as_dir in #(
21879 -*) as_dir=./$as_dir;;
21880 esac
21881 test -d "$as_dir" || eval $as_mkdir_p || {
21882 as_dirs=
21883 while :; do
21884 case $as_dir in #(
21885 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21886 *) as_qdir=$as_dir;;
21887 esac
21888 as_dirs="'$as_qdir' $as_dirs"
21889 as_dir=`$as_dirname -- "$as_dir" ||
21890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21891 X"$as_dir" : 'X\(//\)[^/]' \| \
21892 X"$as_dir" : 'X\(//\)$' \| \
21893 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21894 $as_echo X"$as_dir" |
21895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21896 s//\1/
21899 /^X\(\/\/\)[^/].*/{
21900 s//\1/
21903 /^X\(\/\/\)$/{
21904 s//\1/
21907 /^X\(\/\).*/{
21908 s//\1/
21911 s/.*/./; q'`
21912 test -d "$as_dir" && break
21913 done
21914 test -z "$as_dirs" || eval "mkdir $as_dirs"
21915 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21918 } # as_fn_mkdir_p
21919 if mkdir -p . 2>/dev/null; then
21920 as_mkdir_p='mkdir -p "$as_dir"'
21921 else
21922 test -d ./-p && rmdir ./-p
21923 as_mkdir_p=false
21927 # as_fn_executable_p FILE
21928 # -----------------------
21929 # Test if FILE is an executable regular file.
21930 as_fn_executable_p ()
21932 test -f "$1" && test -x "$1"
21933 } # as_fn_executable_p
21934 as_test_x='test -x'
21935 as_executable_p=as_fn_executable_p
21937 # Sed expression to map a string onto a valid CPP name.
21938 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21940 # Sed expression to map a string onto a valid variable name.
21941 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21944 exec 6>&1
21945 ## ----------------------------------- ##
21946 ## Main body of $CONFIG_STATUS script. ##
21947 ## ----------------------------------- ##
21948 _ASEOF
21949 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21952 # Save the log message, to keep $0 and so on meaningful, and to
21953 # report actual input values of CONFIG_FILES etc. instead of their
21954 # values after options handling.
21955 ac_log="
21956 This file was extended by Wine $as_me 6.13, which was
21957 generated by GNU Autoconf 2.69. Invocation command line was
21959 CONFIG_FILES = $CONFIG_FILES
21960 CONFIG_HEADERS = $CONFIG_HEADERS
21961 CONFIG_LINKS = $CONFIG_LINKS
21962 CONFIG_COMMANDS = $CONFIG_COMMANDS
21963 $ $0 $@
21965 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21968 _ACEOF
21970 case $ac_config_files in *"
21971 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21972 esac
21974 case $ac_config_headers in *"
21975 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21976 esac
21979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21980 # Files that config.status was made for.
21981 config_files="$ac_config_files"
21982 config_headers="$ac_config_headers"
21983 config_links="$ac_config_links"
21984 config_commands="$ac_config_commands"
21986 _ACEOF
21988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21989 ac_cs_usage="\
21990 \`$as_me' instantiates files and other configuration actions
21991 from templates according to the current configuration. Unless the files
21992 and actions are specified as TAGs, all are instantiated by default.
21994 Usage: $0 [OPTION]... [TAG]...
21996 -h, --help print this help, then exit
21997 -V, --version print version number and configuration settings, then exit
21998 --config print configuration, then exit
21999 -q, --quiet, --silent
22000 do not print progress messages
22001 -d, --debug don't remove temporary files
22002 --recheck update $as_me by reconfiguring in the same conditions
22003 --file=FILE[:TEMPLATE]
22004 instantiate the configuration file FILE
22005 --header=FILE[:TEMPLATE]
22006 instantiate the configuration header FILE
22008 Configuration files:
22009 $config_files
22011 Configuration headers:
22012 $config_headers
22014 Configuration links:
22015 $config_links
22017 Configuration commands:
22018 $config_commands
22020 Report bugs to <wine-devel@winehq.org>.
22021 Wine home page: <https://www.winehq.org>."
22023 _ACEOF
22024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22025 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22026 ac_cs_version="\\
22027 Wine config.status 6.13
22028 configured by $0, generated by GNU Autoconf 2.69,
22029 with options \\"\$ac_cs_config\\"
22031 Copyright (C) 2012 Free Software Foundation, Inc.
22032 This config.status script is free software; the Free Software Foundation
22033 gives unlimited permission to copy, distribute and modify it."
22035 ac_pwd='$ac_pwd'
22036 srcdir='$srcdir'
22037 test -n "\$AWK" || AWK=awk
22038 _ACEOF
22040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22041 # The default lists apply if the user does not specify any file.
22042 ac_need_defaults=:
22043 while test $# != 0
22045 case $1 in
22046 --*=?*)
22047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22048 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22049 ac_shift=:
22051 --*=)
22052 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22053 ac_optarg=
22054 ac_shift=:
22057 ac_option=$1
22058 ac_optarg=$2
22059 ac_shift=shift
22061 esac
22063 case $ac_option in
22064 # Handling of the options.
22065 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22066 ac_cs_recheck=: ;;
22067 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22068 $as_echo "$ac_cs_version"; exit ;;
22069 --config | --confi | --conf | --con | --co | --c )
22070 $as_echo "$ac_cs_config"; exit ;;
22071 --debug | --debu | --deb | --de | --d | -d )
22072 debug=: ;;
22073 --file | --fil | --fi | --f )
22074 $ac_shift
22075 case $ac_optarg in
22076 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22077 '') as_fn_error $? "missing file argument" ;;
22078 esac
22079 as_fn_append CONFIG_FILES " '$ac_optarg'"
22080 ac_need_defaults=false;;
22081 --header | --heade | --head | --hea )
22082 $ac_shift
22083 case $ac_optarg in
22084 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22085 esac
22086 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22087 ac_need_defaults=false;;
22088 --he | --h)
22089 # Conflict between --help and --header
22090 as_fn_error $? "ambiguous option: \`$1'
22091 Try \`$0 --help' for more information.";;
22092 --help | --hel | -h )
22093 $as_echo "$ac_cs_usage"; exit ;;
22094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22095 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22096 ac_cs_silent=: ;;
22098 # This is an error.
22099 -*) as_fn_error $? "unrecognized option: \`$1'
22100 Try \`$0 --help' for more information." ;;
22102 *) as_fn_append ac_config_targets " $1"
22103 ac_need_defaults=false ;;
22105 esac
22106 shift
22107 done
22109 ac_configure_extra_args=
22111 if $ac_cs_silent; then
22112 exec 6>/dev/null
22113 ac_configure_extra_args="$ac_configure_extra_args --silent"
22116 _ACEOF
22117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22118 if \$ac_cs_recheck; then
22119 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22120 shift
22121 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22122 CONFIG_SHELL='$SHELL'
22123 export CONFIG_SHELL
22124 exec "\$@"
22127 _ACEOF
22128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22129 exec 5>>config.log
22131 echo
22132 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22133 ## Running $as_me. ##
22134 _ASBOX
22135 $as_echo "$ac_log"
22136 } >&5
22138 _ACEOF
22139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22141 # INIT-COMMANDS
22143 wine_fn_output_makedep ()
22145 as_dir=tools; as_fn_mkdir_p
22146 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22148 wine_fn_output_makefile ()
22150 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22151 `cat $wine_rules_file`
22152 _WINE_EOF
22153 as_fn_error $? "could not create Makefile" "$LINENO" 5
22156 _ACEOF
22158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22160 # Handling of arguments.
22161 for ac_config_target in $ac_config_targets
22163 case $ac_config_target in
22164 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22165 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22166 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22167 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22168 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22169 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22170 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22172 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22173 esac
22174 done
22177 # If the user did not use the arguments to specify the items to instantiate,
22178 # then the envvar interface is used. Set only those that are not.
22179 # We use the long form for the default assignment because of an extremely
22180 # bizarre bug on SunOS 4.1.3.
22181 if $ac_need_defaults; then
22182 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22183 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22184 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22185 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22188 # Have a temporary directory for convenience. Make it in the build tree
22189 # simply because there is no reason against having it here, and in addition,
22190 # creating and moving files from /tmp can sometimes cause problems.
22191 # Hook for its removal unless debugging.
22192 # Note that there is a small window in which the directory will not be cleaned:
22193 # after its creation but before its name has been assigned to `$tmp'.
22194 $debug ||
22196 tmp= ac_tmp=
22197 trap 'exit_status=$?
22198 : "${ac_tmp:=$tmp}"
22199 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22201 trap 'as_fn_exit 1' 1 2 13 15
22203 # Create a (secure) tmp directory for tmp files.
22206 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22207 test -d "$tmp"
22208 } ||
22210 tmp=./conf$$-$RANDOM
22211 (umask 077 && mkdir "$tmp")
22212 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22213 ac_tmp=$tmp
22215 # Set up the scripts for CONFIG_FILES section.
22216 # No need to generate them if there are no CONFIG_FILES.
22217 # This happens for instance with `./config.status config.h'.
22218 if test -n "$CONFIG_FILES"; then
22221 ac_cr=`echo X | tr X '\015'`
22222 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22223 # But we know of no other shell where ac_cr would be empty at this
22224 # point, so we can use a bashism as a fallback.
22225 if test "x$ac_cr" = x; then
22226 eval ac_cr=\$\'\\r\'
22228 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22229 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22230 ac_cs_awk_cr='\\r'
22231 else
22232 ac_cs_awk_cr=$ac_cr
22235 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22236 _ACEOF
22240 echo "cat >conf$$subs.awk <<_ACEOF" &&
22241 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22242 echo "_ACEOF"
22243 } >conf$$subs.sh ||
22244 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22245 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22246 ac_delim='%!_!# '
22247 for ac_last_try in false false false false false :; do
22248 . ./conf$$subs.sh ||
22249 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22251 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22252 if test $ac_delim_n = $ac_delim_num; then
22253 break
22254 elif $ac_last_try; then
22255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22256 else
22257 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22259 done
22260 rm -f conf$$subs.sh
22262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22263 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22264 _ACEOF
22265 sed -n '
22267 s/^/S["/; s/!.*/"]=/
22270 s/^[^!]*!//
22271 :repl
22272 t repl
22273 s/'"$ac_delim"'$//
22274 t delim
22277 s/\(.\{148\}\)..*/\1/
22278 t more1
22279 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22282 b repl
22283 :more1
22284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22287 s/.\{148\}//
22288 t nl
22289 :delim
22291 s/\(.\{148\}\)..*/\1/
22292 t more2
22293 s/["\\]/\\&/g; s/^/"/; s/$/"/
22296 :more2
22297 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22300 s/.\{148\}//
22301 t delim
22302 ' <conf$$subs.awk | sed '
22303 /^[^""]/{
22305 s/\n//
22307 ' >>$CONFIG_STATUS || ac_write_fail=1
22308 rm -f conf$$subs.awk
22309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22310 _ACAWK
22311 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22312 for (key in S) S_is_set[key] = 1
22313 FS = "\a"
22317 line = $ 0
22318 nfields = split(line, field, "@")
22319 substed = 0
22320 len = length(field[1])
22321 for (i = 2; i < nfields; i++) {
22322 key = field[i]
22323 keylen = length(key)
22324 if (S_is_set[key]) {
22325 value = S[key]
22326 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22327 len += length(value) + length(field[++i])
22328 substed = 1
22329 } else
22330 len += 1 + keylen
22333 print line
22336 _ACAWK
22337 _ACEOF
22338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22339 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22340 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22341 else
22343 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22344 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22345 _ACEOF
22347 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22348 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22349 # trailing colons and then remove the whole line if VPATH becomes empty
22350 # (actually we leave an empty line to preserve line numbers).
22351 if test "x$srcdir" = x.; then
22352 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22354 s///
22355 s/^/:/
22356 s/[ ]*$/:/
22357 s/:\$(srcdir):/:/g
22358 s/:\${srcdir}:/:/g
22359 s/:@srcdir@:/:/g
22360 s/^:*//
22361 s/:*$//
22363 s/\(=[ ]*\).*/\1/
22365 s/\n//
22366 s/^[^=]*=[ ]*$//
22370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22371 fi # test -n "$CONFIG_FILES"
22373 # Set up the scripts for CONFIG_HEADERS section.
22374 # No need to generate them if there are no CONFIG_HEADERS.
22375 # This happens for instance with `./config.status Makefile'.
22376 if test -n "$CONFIG_HEADERS"; then
22377 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22378 BEGIN {
22379 _ACEOF
22381 # Transform confdefs.h into an awk script `defines.awk', embedded as
22382 # here-document in config.status, that substitutes the proper values into
22383 # config.h.in to produce config.h.
22385 # Create a delimiter string that does not exist in confdefs.h, to ease
22386 # handling of long lines.
22387 ac_delim='%!_!# '
22388 for ac_last_try in false false :; do
22389 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22390 if test -z "$ac_tt"; then
22391 break
22392 elif $ac_last_try; then
22393 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22394 else
22395 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22397 done
22399 # For the awk script, D is an array of macro values keyed by name,
22400 # likewise P contains macro parameters if any. Preserve backslash
22401 # newline sequences.
22403 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22404 sed -n '
22405 s/.\{148\}/&'"$ac_delim"'/g
22406 t rset
22407 :rset
22408 s/^[ ]*#[ ]*define[ ][ ]*/ /
22409 t def
22411 :def
22412 s/\\$//
22413 t bsnl
22414 s/["\\]/\\&/g
22415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22416 D["\1"]=" \3"/p
22417 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22419 :bsnl
22420 s/["\\]/\\&/g
22421 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22422 D["\1"]=" \3\\\\\\n"\\/p
22423 t cont
22424 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22425 t cont
22427 :cont
22429 s/.\{148\}/&'"$ac_delim"'/g
22430 t clear
22431 :clear
22432 s/\\$//
22433 t bsnlc
22434 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22436 :bsnlc
22437 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22438 b cont
22439 ' <confdefs.h | sed '
22440 s/'"$ac_delim"'/"\\\
22441 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22444 for (key in D) D_is_set[key] = 1
22445 FS = "\a"
22447 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22448 line = \$ 0
22449 split(line, arg, " ")
22450 if (arg[1] == "#") {
22451 defundef = arg[2]
22452 mac1 = arg[3]
22453 } else {
22454 defundef = substr(arg[1], 2)
22455 mac1 = arg[2]
22457 split(mac1, mac2, "(") #)
22458 macro = mac2[1]
22459 prefix = substr(line, 1, index(line, defundef) - 1)
22460 if (D_is_set[macro]) {
22461 # Preserve the white space surrounding the "#".
22462 print prefix "define", macro P[macro] D[macro]
22463 next
22464 } else {
22465 # Replace #undef with comments. This is necessary, for example,
22466 # in the case of _POSIX_SOURCE, which is predefined and required
22467 # on some systems where configure will not decide to define it.
22468 if (defundef == "undef") {
22469 print "/*", prefix defundef, macro, "*/"
22470 next
22474 { print }
22475 _ACAWK
22476 _ACEOF
22477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22478 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22479 fi # test -n "$CONFIG_HEADERS"
22482 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22483 shift
22484 for ac_tag
22486 case $ac_tag in
22487 :[FHLC]) ac_mode=$ac_tag; continue;;
22488 esac
22489 case $ac_mode$ac_tag in
22490 :[FHL]*:*);;
22491 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22492 :[FH]-) ac_tag=-:-;;
22493 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22494 esac
22495 ac_save_IFS=$IFS
22496 IFS=:
22497 set x $ac_tag
22498 IFS=$ac_save_IFS
22499 shift
22500 ac_file=$1
22501 shift
22503 case $ac_mode in
22504 :L) ac_source=$1;;
22505 :[FH])
22506 ac_file_inputs=
22507 for ac_f
22509 case $ac_f in
22510 -) ac_f="$ac_tmp/stdin";;
22511 *) # Look for the file first in the build tree, then in the source tree
22512 # (if the path is not absolute). The absolute path cannot be DOS-style,
22513 # because $ac_f cannot contain `:'.
22514 test -f "$ac_f" ||
22515 case $ac_f in
22516 [\\/$]*) false;;
22517 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22518 esac ||
22519 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22520 esac
22521 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22522 as_fn_append ac_file_inputs " '$ac_f'"
22523 done
22525 # Let's still pretend it is `configure' which instantiates (i.e., don't
22526 # use $as_me), people would be surprised to read:
22527 # /* config.h. Generated by config.status. */
22528 configure_input='Generated from '`
22529 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22530 `' by configure.'
22531 if test x"$ac_file" != x-; then
22532 configure_input="$ac_file. $configure_input"
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22534 $as_echo "$as_me: creating $ac_file" >&6;}
22536 # Neutralize special characters interpreted by sed in replacement strings.
22537 case $configure_input in #(
22538 *\&* | *\|* | *\\* )
22539 ac_sed_conf_input=`$as_echo "$configure_input" |
22540 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22541 *) ac_sed_conf_input=$configure_input;;
22542 esac
22544 case $ac_tag in
22545 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22547 esac
22549 esac
22551 ac_dir=`$as_dirname -- "$ac_file" ||
22552 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22553 X"$ac_file" : 'X\(//\)[^/]' \| \
22554 X"$ac_file" : 'X\(//\)$' \| \
22555 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22556 $as_echo X"$ac_file" |
22557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22558 s//\1/
22561 /^X\(\/\/\)[^/].*/{
22562 s//\1/
22565 /^X\(\/\/\)$/{
22566 s//\1/
22569 /^X\(\/\).*/{
22570 s//\1/
22573 s/.*/./; q'`
22574 as_dir="$ac_dir"; as_fn_mkdir_p
22575 ac_builddir=.
22577 case "$ac_dir" in
22578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22581 # A ".." for each directory in $ac_dir_suffix.
22582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22583 case $ac_top_builddir_sub in
22584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22586 esac ;;
22587 esac
22588 ac_abs_top_builddir=$ac_pwd
22589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22590 # for backward compatibility:
22591 ac_top_builddir=$ac_top_build_prefix
22593 case $srcdir in
22594 .) # We are building in place.
22595 ac_srcdir=.
22596 ac_top_srcdir=$ac_top_builddir_sub
22597 ac_abs_top_srcdir=$ac_pwd ;;
22598 [\\/]* | ?:[\\/]* ) # Absolute name.
22599 ac_srcdir=$srcdir$ac_dir_suffix;
22600 ac_top_srcdir=$srcdir
22601 ac_abs_top_srcdir=$srcdir ;;
22602 *) # Relative name.
22603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22604 ac_top_srcdir=$ac_top_build_prefix$srcdir
22605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22606 esac
22607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22610 case $ac_mode in
22613 # CONFIG_FILE
22616 _ACEOF
22618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22619 # If the template does not know about datarootdir, expand it.
22620 # FIXME: This hack should be removed a few years after 2.60.
22621 ac_datarootdir_hack=; ac_datarootdir_seen=
22622 ac_sed_dataroot='
22623 /datarootdir/ {
22627 /@datadir@/p
22628 /@docdir@/p
22629 /@infodir@/p
22630 /@localedir@/p
22631 /@mandir@/p'
22632 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22633 *datarootdir*) ac_datarootdir_seen=yes;;
22634 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22636 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22637 _ACEOF
22638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22639 ac_datarootdir_hack='
22640 s&@datadir@&$datadir&g
22641 s&@docdir@&$docdir&g
22642 s&@infodir@&$infodir&g
22643 s&@localedir@&$localedir&g
22644 s&@mandir@&$mandir&g
22645 s&\\\${datarootdir}&$datarootdir&g' ;;
22646 esac
22647 _ACEOF
22649 # Neutralize VPATH when `$srcdir' = `.'.
22650 # Shell code in configure.ac might set extrasub.
22651 # FIXME: do we really want to maintain this feature?
22652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22653 ac_sed_extra="$ac_vpsub
22654 $extrasub
22655 _ACEOF
22656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22658 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22659 s|@configure_input@|$ac_sed_conf_input|;t t
22660 s&@top_builddir@&$ac_top_builddir_sub&;t t
22661 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22662 s&@srcdir@&$ac_srcdir&;t t
22663 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22664 s&@top_srcdir@&$ac_top_srcdir&;t t
22665 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22666 s&@builddir@&$ac_builddir&;t t
22667 s&@abs_builddir@&$ac_abs_builddir&;t t
22668 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22669 $ac_datarootdir_hack
22671 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22672 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22674 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22675 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22676 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22677 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22679 which seems to be undefined. Please make sure it is defined" >&5
22680 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22681 which seems to be undefined. Please make sure it is defined" >&2;}
22683 rm -f "$ac_tmp/stdin"
22684 case $ac_file in
22685 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22686 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22687 esac \
22688 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22692 # CONFIG_HEADER
22694 if test x"$ac_file" != x-; then
22696 $as_echo "/* $configure_input */" \
22697 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22698 } >"$ac_tmp/config.h" \
22699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22700 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22702 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22703 else
22704 rm -f "$ac_file"
22705 mv "$ac_tmp/config.h" "$ac_file" \
22706 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22708 else
22709 $as_echo "/* $configure_input */" \
22710 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22711 || as_fn_error $? "could not create -" "$LINENO" 5
22716 # CONFIG_LINK
22719 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22721 else
22722 # Prefer the file from the source tree if names are identical.
22723 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22724 ac_source=$srcdir/$ac_source
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22728 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22730 if test ! -r "$ac_source"; then
22731 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22733 rm -f "$ac_file"
22735 # Try a relative symlink, then a hard link, then a copy.
22736 case $ac_source in
22737 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22738 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22739 esac
22740 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22741 ln "$ac_source" "$ac_file" 2>/dev/null ||
22742 cp -p "$ac_source" "$ac_file" ||
22743 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22746 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22747 $as_echo "$as_me: executing $ac_file commands" >&6;}
22749 esac
22752 case $ac_file$ac_mode in
22753 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22754 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22755 "Makefile":C) wine_fn_output_makefile Makefile ;;
22757 esac
22758 done # for ac_tag
22761 as_fn_exit 0
22762 _ACEOF
22763 ac_clean_files=$ac_clean_files_save
22765 test $ac_write_fail = 0 ||
22766 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22769 # configure is writing to config.log, and then calls config.status.
22770 # config.status does its own redirection, appending to config.log.
22771 # Unfortunately, on DOS this fails, as config.log is still kept open
22772 # by configure, so config.status won't be able to write to it; its
22773 # output is simply discarded. So we exec the FD to /dev/null,
22774 # effectively closing config.log, so it can be properly (re)opened and
22775 # appended to by config.status. When coming back to configure, we
22776 # need to make the FD available again.
22777 if test "$no_create" != yes; then
22778 ac_cs_success=:
22779 ac_config_status_args=
22780 test "$silent" = yes &&
22781 ac_config_status_args="$ac_config_status_args --quiet"
22782 exec 5>/dev/null
22783 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22784 exec 5>>config.log
22785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22786 # would make configure fail if this is the last instruction.
22787 $ac_cs_success || as_fn_exit 1
22789 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22791 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22795 if test "$no_create" = "yes"
22796 then
22797 exit 0
22800 ac_save_IFS="$IFS"
22801 if test "x$wine_notices" != x; then
22802 echo >&6
22803 IFS="|"
22804 for msg in $wine_notices; do
22805 IFS="$ac_save_IFS"
22806 if ${msg:+false} :; then :
22808 else
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22810 $as_echo "$as_me: $msg" >&6;}
22812 done
22814 IFS="|"
22815 for msg in $wine_warnings; do
22816 IFS="$ac_save_IFS"
22817 if ${msg:+false} :; then :
22819 else
22820 echo >&2
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22822 $as_echo "$as_me: WARNING: $msg" >&2;}
22824 done
22825 IFS="$ac_save_IFS"
22827 $as_echo "
22828 $as_me: Finished. Do '${ac_make}' to compile Wine.
22829 " >&6