ntoskrnl.exe/tests: Add tests with and without report IDs.
[wine.git] / configure
blob1ddc2ea65a829e1a10c6b912eab659f4e3350103
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.10.
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.10'
584 PACKAGE_STRING='Wine 6.10'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxerr8
1302 enable_dxerr9
1303 enable_dxgi
1304 enable_dxguid
1305 enable_dxva2
1306 enable_esent
1307 enable_evr
1308 enable_explorerframe
1309 enable_ext_ms_win_authz_context_l1_1_0
1310 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1311 enable_ext_ms_win_dwmapi_ext_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_1
1314 enable_ext_ms_win_gdi_dc_l1_2_0
1315 enable_ext_ms_win_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_1
1318 enable_ext_ms_win_gdi_font_l1_1_0
1319 enable_ext_ms_win_gdi_font_l1_1_1
1320 enable_ext_ms_win_gdi_render_l1_1_0
1321 enable_ext_ms_win_kernel32_package_current_l1_1_0
1322 enable_ext_ms_win_kernel32_package_l1_1_1
1323 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1324 enable_ext_ms_win_ntuser_draw_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_3_0
1327 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1328 enable_ext_ms_win_ntuser_message_l1_1_0
1329 enable_ext_ms_win_ntuser_message_l1_1_1
1330 enable_ext_ms_win_ntuser_misc_l1_1_0
1331 enable_ext_ms_win_ntuser_misc_l1_2_0
1332 enable_ext_ms_win_ntuser_misc_l1_5_1
1333 enable_ext_ms_win_ntuser_mouse_l1_1_0
1334 enable_ext_ms_win_ntuser_private_l1_1_1
1335 enable_ext_ms_win_ntuser_private_l1_3_1
1336 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_1
1340 enable_ext_ms_win_ntuser_window_l1_1_4
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1343 enable_ext_ms_win_oleacc_l1_1_0
1344 enable_ext_ms_win_ras_rasapi32_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1352 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1355 enable_ext_ms_win_security_credui_l1_1_0
1356 enable_ext_ms_win_security_cryptui_l1_1_0
1357 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1358 enable_ext_ms_win_shell_comdlg32_l1_1_0
1359 enable_ext_ms_win_shell_shell32_l1_2_0
1360 enable_ext_ms_win_uxtheme_themes_l1_1_0
1361 enable_faultrep
1362 enable_feclient
1363 enable_fltlib
1364 enable_fltmgr_sys
1365 enable_fntcache
1366 enable_fontsub
1367 enable_fusion
1368 enable_fwpuclnt
1369 enable_gameux
1370 enable_gamingtcui
1371 enable_gdi32
1372 enable_gdiplus
1373 enable_glu32
1374 enable_gphoto2_ds
1375 enable_gpkcsp
1376 enable_hal
1377 enable_hhctrl_ocx
1378 enable_hid
1379 enable_hidclass_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_loadperf
1415 enable_localspl
1416 enable_localui
1417 enable_lz32
1418 enable_mapi32
1419 enable_mapistub
1420 enable_mciavi32
1421 enable_mcicda
1422 enable_mciqtz32
1423 enable_mciseq
1424 enable_mciwave
1425 enable_mf
1426 enable_mf3216
1427 enable_mferror
1428 enable_mfmediaengine
1429 enable_mfplat
1430 enable_mfplay
1431 enable_mfreadwrite
1432 enable_mfuuid
1433 enable_mgmtapi
1434 enable_midimap
1435 enable_mlang
1436 enable_mmcndmgr
1437 enable_mmdevapi
1438 enable_mountmgr_sys
1439 enable_mp3dmod
1440 enable_mpr
1441 enable_mprapi
1442 enable_msacm32_drv
1443 enable_msacm32
1444 enable_msado15
1445 enable_msadp32_acm
1446 enable_msasn1
1447 enable_mscat32
1448 enable_mscms
1449 enable_mscoree
1450 enable_mscorwks
1451 enable_msctf
1452 enable_msctfp
1453 enable_msdaps
1454 enable_msdelta
1455 enable_msdmo
1456 enable_msdrm
1457 enable_msftedit
1458 enable_msg711_acm
1459 enable_msgsm32_acm
1460 enable_mshtml_tlb
1461 enable_mshtml
1462 enable_msi
1463 enable_msident
1464 enable_msimg32
1465 enable_msimsg
1466 enable_msimtf
1467 enable_msisip
1468 enable_msisys_ocx
1469 enable_msls31
1470 enable_msnet32
1471 enable_mspatcha
1472 enable_msports
1473 enable_msrle32
1474 enable_msscript_ocx
1475 enable_mssign32
1476 enable_mssip32
1477 enable_mstask
1478 enable_msv1_0
1479 enable_msvcirt
1480 enable_msvcm80
1481 enable_msvcm90
1482 enable_msvcp100
1483 enable_msvcp110
1484 enable_msvcp120
1485 enable_msvcp120_app
1486 enable_msvcp140
1487 enable_msvcp140_1
1488 enable_msvcp60
1489 enable_msvcp70
1490 enable_msvcp71
1491 enable_msvcp80
1492 enable_msvcp90
1493 enable_msvcr100
1494 enable_msvcr110
1495 enable_msvcr120
1496 enable_msvcr120_app
1497 enable_msvcr70
1498 enable_msvcr71
1499 enable_msvcr80
1500 enable_msvcr90
1501 enable_msvcrt
1502 enable_msvcrt20
1503 enable_msvcrt40
1504 enable_msvcrtd
1505 enable_msvfw32
1506 enable_msvidc32
1507 enable_mswsock
1508 enable_msxml
1509 enable_msxml2
1510 enable_msxml3
1511 enable_msxml4
1512 enable_msxml6
1513 enable_mtxdm
1514 enable_ncrypt
1515 enable_nddeapi
1516 enable_ndis_sys
1517 enable_netapi32
1518 enable_netcfgx
1519 enable_netio_sys
1520 enable_netprofm
1521 enable_netutils
1522 enable_newdev
1523 enable_ninput
1524 enable_normaliz
1525 enable_npmshtml
1526 enable_npptools
1527 enable_ntdll
1528 enable_ntdsapi
1529 enable_ntoskrnl_exe
1530 enable_ntprint
1531 enable_objsel
1532 enable_odbc32
1533 enable_odbcbcp
1534 enable_odbccp32
1535 enable_odbccu32
1536 enable_ole32
1537 enable_oleacc
1538 enable_oleaut32
1539 enable_olecli32
1540 enable_oledb32
1541 enable_oledlg
1542 enable_olepro32
1543 enable_olesvr32
1544 enable_olethk32
1545 enable_opcservices
1546 enable_openal32
1547 enable_opencl
1548 enable_opengl32
1549 enable_packager
1550 enable_pdh
1551 enable_photometadatahandler
1552 enable_pidgen
1553 enable_powrprof
1554 enable_printui
1555 enable_prntvpt
1556 enable_propsys
1557 enable_psapi
1558 enable_pstorec
1559 enable_pwrshplugin
1560 enable_qasf
1561 enable_qcap
1562 enable_qdvd
1563 enable_qedit
1564 enable_qmgr
1565 enable_qmgrprxy
1566 enable_quartz
1567 enable_query
1568 enable_qwave
1569 enable_rasapi32
1570 enable_rasdlg
1571 enable_regapi
1572 enable_resutils
1573 enable_riched20
1574 enable_riched32
1575 enable_rpcrt4
1576 enable_rsabase
1577 enable_rsaenh
1578 enable_rstrtmgr
1579 enable_rtutils
1580 enable_rtworkq
1581 enable_samlib
1582 enable_sane_ds
1583 enable_sapi
1584 enable_sas
1585 enable_scarddlg
1586 enable_sccbase
1587 enable_schannel
1588 enable_schedsvc
1589 enable_scrobj
1590 enable_scrrun
1591 enable_scsiport_sys
1592 enable_sechost
1593 enable_secur32
1594 enable_security
1595 enable_sensapi
1596 enable_serialui
1597 enable_setupapi
1598 enable_sfc
1599 enable_sfc_os
1600 enable_shcore
1601 enable_shdoclc
1602 enable_shdocvw
1603 enable_shell32
1604 enable_shfolder
1605 enable_shlwapi
1606 enable_slbcsp
1607 enable_slc
1608 enable_snmpapi
1609 enable_softpub
1610 enable_spoolss
1611 enable_sppc
1612 enable_srclient
1613 enable_srvcli
1614 enable_sspicli
1615 enable_stdole2_tlb
1616 enable_stdole32_tlb
1617 enable_sti
1618 enable_strmbase
1619 enable_strmdll
1620 enable_strmiids
1621 enable_svrapi
1622 enable_sxs
1623 enable_t2embed
1624 enable_tapi32
1625 enable_taskschd
1626 enable_tdh
1627 enable_tdi_sys
1628 enable_traffic
1629 enable_twain_32
1630 enable_tzres
1631 enable_ucrtbase
1632 enable_uianimation
1633 enable_uiautomationcore
1634 enable_uiribbon
1635 enable_unicows
1636 enable_updspapi
1637 enable_url
1638 enable_urlmon
1639 enable_usbd_sys
1640 enable_user32
1641 enable_userenv
1642 enable_usp10
1643 enable_utildll
1644 enable_uuid
1645 enable_uxtheme
1646 enable_vbscript
1647 enable_vcomp
1648 enable_vcomp100
1649 enable_vcomp110
1650 enable_vcomp120
1651 enable_vcomp140
1652 enable_vcomp90
1653 enable_vcruntime140
1654 enable_vcruntime140_1
1655 enable_vdmdbg
1656 enable_version
1657 enable_vga
1658 enable_virtdisk
1659 enable_vssapi
1660 enable_vulkan_1
1661 enable_wbemdisp
1662 enable_wbemprox
1663 enable_wbemuuid
1664 enable_wdscore
1665 enable_webservices
1666 enable_websocket
1667 enable_wer
1668 enable_wevtapi
1669 enable_wevtsvc
1670 enable_wiaservc
1671 enable_wimgapi
1672 enable_win32u
1673 enable_windows_gaming_input
1674 enable_windows_globalization
1675 enable_windows_media_devices
1676 enable_windows_media_speech
1677 enable_windowscodecs
1678 enable_windowscodecsext
1679 enable_winealsa_drv
1680 enable_wineandroid_drv
1681 enable_winebus_sys
1682 enable_winecoreaudio_drv
1683 enable_winecrt0
1684 enable_wined3d
1685 enable_winegstreamer
1686 enable_winehid_sys
1687 enable_winejoystick_drv
1688 enable_winemac_drv
1689 enable_winemapi
1690 enable_wineoss_drv
1691 enable_wineps_drv
1692 enable_winepulse_drv
1693 enable_wineqtdecoder
1694 enable_wineusb_sys
1695 enable_winevulkan
1696 enable_winex11_drv
1697 enable_wing32
1698 enable_winhttp
1699 enable_wininet
1700 enable_winmm
1701 enable_winnls32
1702 enable_winscard
1703 enable_winspool_drv
1704 enable_winsta
1705 enable_wintab32
1706 enable_wintrust
1707 enable_winusb
1708 enable_wlanapi
1709 enable_wlanui
1710 enable_wldap32
1711 enable_wmasf
1712 enable_wmcodecdspuuid
1713 enable_wmi
1714 enable_wmiutils
1715 enable_wmp
1716 enable_wmphoto
1717 enable_wmvcore
1718 enable_wnaspi32
1719 enable_wow64cpu
1720 enable_wpc
1721 enable_wpcap
1722 enable_ws2_32
1723 enable_wsdapi
1724 enable_wshom_ocx
1725 enable_wsnmp32
1726 enable_wsock32
1727 enable_wtsapi32
1728 enable_wuapi
1729 enable_wuaueng
1730 enable_x3daudio1_0
1731 enable_x3daudio1_1
1732 enable_x3daudio1_2
1733 enable_x3daudio1_3
1734 enable_x3daudio1_4
1735 enable_x3daudio1_5
1736 enable_x3daudio1_6
1737 enable_x3daudio1_7
1738 enable_xactengine2_0
1739 enable_xactengine2_4
1740 enable_xactengine2_7
1741 enable_xactengine2_9
1742 enable_xactengine3_0
1743 enable_xactengine3_1
1744 enable_xactengine3_2
1745 enable_xactengine3_3
1746 enable_xactengine3_4
1747 enable_xactengine3_5
1748 enable_xactengine3_6
1749 enable_xactengine3_7
1750 enable_xapofx1_1
1751 enable_xapofx1_2
1752 enable_xapofx1_3
1753 enable_xapofx1_4
1754 enable_xapofx1_5
1755 enable_xaudio2_0
1756 enable_xaudio2_1
1757 enable_xaudio2_2
1758 enable_xaudio2_3
1759 enable_xaudio2_4
1760 enable_xaudio2_5
1761 enable_xaudio2_6
1762 enable_xaudio2_7
1763 enable_xaudio2_8
1764 enable_xaudio2_9
1765 enable_xinput1_1
1766 enable_xinput1_2
1767 enable_xinput1_3
1768 enable_xinput1_4
1769 enable_xinput9_1_0
1770 enable_xmllite
1771 enable_xolehlp
1772 enable_xpsprint
1773 enable_xpssvcs
1774 enable_fonts
1775 enable_include
1776 enable_port
1777 enable_wine
1778 enable_wpp
1779 enable_loader
1780 enable_nls
1781 enable_po
1782 enable_arp
1783 enable_aspnet_regiis
1784 enable_attrib
1785 enable_cabarc
1786 enable_cacls
1787 enable_chcp_com
1788 enable_clock
1789 enable_cmd
1790 enable_conhost
1791 enable_control
1792 enable_cscript
1793 enable_dism
1794 enable_dplaysvr
1795 enable_dpnsvr
1796 enable_dpvsetup
1797 enable_dxdiag
1798 enable_eject
1799 enable_expand
1800 enable_explorer
1801 enable_extrac32
1802 enable_fc
1803 enable_find
1804 enable_findstr
1805 enable_fsutil
1806 enable_hh
1807 enable_hostname
1808 enable_icacls
1809 enable_icinfo
1810 enable_iexplore
1811 enable_ipconfig
1812 enable_lodctr
1813 enable_mofcomp
1814 enable_mshta
1815 enable_msidb
1816 enable_msiexec
1817 enable_msinfo32
1818 enable_net
1819 enable_netsh
1820 enable_netstat
1821 enable_ngen
1822 enable_notepad
1823 enable_oleview
1824 enable_ping
1825 enable_plugplay
1826 enable_powershell
1827 enable_presentationfontcache
1828 enable_progman
1829 enable_reg
1830 enable_regasm
1831 enable_regedit
1832 enable_regini
1833 enable_regsvcs
1834 enable_regsvr32
1835 enable_rpcss
1836 enable_rundll32
1837 enable_sc
1838 enable_schtasks
1839 enable_sdbinst
1840 enable_secedit
1841 enable_servicemodelreg
1842 enable_services
1843 enable_shutdown
1844 enable_spoolsv
1845 enable_start
1846 enable_subst
1847 enable_svchost
1848 enable_systeminfo
1849 enable_taskkill
1850 enable_tasklist
1851 enable_taskmgr
1852 enable_termsv
1853 enable_uninstaller
1854 enable_unlodctr
1855 enable_view
1856 enable_wevtutil
1857 enable_where
1858 enable_whoami
1859 enable_wineboot
1860 enable_winebrowser
1861 enable_winecfg
1862 enable_wineconsole
1863 enable_winedbg
1864 enable_winedevice
1865 enable_winefile
1866 enable_winemenubuilder
1867 enable_winemine
1868 enable_winemsibuilder
1869 enable_winepath
1870 enable_winetest
1871 enable_winhlp32
1872 enable_winmgmt
1873 enable_winver
1874 enable_wmic
1875 enable_wmplayer
1876 enable_wordpad
1877 enable_write
1878 enable_wscript
1879 enable_wuauserv
1880 enable_wusa
1881 enable_xcopy
1882 enable_server
1883 enable_tools
1884 enable_sfnt2fon
1885 enable_widl
1886 enable_winebuild
1887 enable_winedump
1888 enable_winegcc
1889 enable_winemaker
1890 enable_wmc
1891 enable_wrc
1893 ac_precious_vars='build_alias
1894 host_alias
1895 target_alias
1897 CFLAGS
1898 LDFLAGS
1899 LIBS
1900 CPPFLAGS
1902 CXXFLAGS
1905 OBJC
1906 OBJCFLAGS
1907 OBJCPP
1908 XMKMF
1909 XML2_CFLAGS
1910 XML2_LIBS
1911 XSLT_CFLAGS
1912 XSLT_LIBS
1913 INOTIFY_CFLAGS
1914 INOTIFY_LIBS
1915 DBUS_CFLAGS
1916 DBUS_LIBS
1917 HAL_CFLAGS
1918 HAL_LIBS
1919 GNUTLS_CFLAGS
1920 GNUTLS_LIBS
1921 SANE_CFLAGS
1922 SANE_LIBS
1923 USB_CFLAGS
1924 USB_LIBS
1925 GPHOTO2_CFLAGS
1926 GPHOTO2_LIBS
1927 GPHOTO2_PORT_CFLAGS
1928 GPHOTO2_PORT_LIBS
1929 LCMS2_CFLAGS
1930 LCMS2_LIBS
1931 FREETYPE_CFLAGS
1932 FREETYPE_LIBS
1933 PULSE_CFLAGS
1934 PULSE_LIBS
1935 GSTREAMER_CFLAGS
1936 GSTREAMER_LIBS
1937 UDEV_CFLAGS
1938 UDEV_LIBS
1939 UNWIND_CFLAGS
1940 UNWIND_LIBS
1941 SDL2_CFLAGS
1942 SDL2_LIBS
1943 FAUDIO_CFLAGS
1944 FAUDIO_LIBS
1945 CAPI20_CFLAGS
1946 CAPI20_LIBS
1947 CUPS_CFLAGS
1948 CUPS_LIBS
1949 FONTCONFIG_CFLAGS
1950 FONTCONFIG_LIBS
1951 KRB5_CFLAGS
1952 KRB5_LIBS
1953 GSSAPI_CFLAGS
1954 GSSAPI_LIBS
1955 JPEG_CFLAGS
1956 JPEG_LIBS
1957 JXRLIB_CFLAGS
1958 JXRLIB_LIBS
1959 PNG_CFLAGS
1960 PNG_LIBS
1961 TIFF_CFLAGS
1962 TIFF_LIBS
1963 MPG123_CFLAGS
1964 MPG123_LIBS
1965 NETAPI_CFLAGS
1966 NETAPI_LIBS
1967 VKD3D_CFLAGS
1968 VKD3D_LIBS
1969 VKD3D_SHADER_CFLAGS
1970 VKD3D_SHADER_LIBS
1971 LDAP_CFLAGS
1972 LDAP_LIBS'
1975 # Initialize some variables set by options.
1976 ac_init_help=
1977 ac_init_version=false
1978 ac_unrecognized_opts=
1979 ac_unrecognized_sep=
1980 # The variables have the same names as the options, with
1981 # dashes changed to underlines.
1982 cache_file=/dev/null
1983 exec_prefix=NONE
1984 no_create=
1985 no_recursion=
1986 prefix=NONE
1987 program_prefix=NONE
1988 program_suffix=NONE
1989 program_transform_name=s,x,x,
1990 silent=
1991 site=
1992 srcdir=
1993 verbose=
1994 x_includes=NONE
1995 x_libraries=NONE
1997 # Installation directory options.
1998 # These are left unexpanded so users can "make install exec_prefix=/foo"
1999 # and all the variables that are supposed to be based on exec_prefix
2000 # by default will actually change.
2001 # Use braces instead of parens because sh, perl, etc. also accept them.
2002 # (The list follows the same order as the GNU Coding Standards.)
2003 bindir='${exec_prefix}/bin'
2004 sbindir='${exec_prefix}/sbin'
2005 libexecdir='${exec_prefix}/libexec'
2006 datarootdir='${prefix}/share'
2007 datadir='${datarootdir}'
2008 sysconfdir='${prefix}/etc'
2009 sharedstatedir='${prefix}/com'
2010 localstatedir='${prefix}/var'
2011 runstatedir='${localstatedir}/run'
2012 includedir='${prefix}/include'
2013 oldincludedir='/usr/include'
2014 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2015 infodir='${datarootdir}/info'
2016 htmldir='${docdir}'
2017 dvidir='${docdir}'
2018 pdfdir='${docdir}'
2019 psdir='${docdir}'
2020 libdir='${exec_prefix}/lib'
2021 localedir='${datarootdir}/locale'
2022 mandir='${datarootdir}/man'
2024 ac_prev=
2025 ac_dashdash=
2026 for ac_option
2028 # If the previous option needs an argument, assign it.
2029 if test -n "$ac_prev"; then
2030 eval $ac_prev=\$ac_option
2031 ac_prev=
2032 continue
2035 case $ac_option in
2036 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2037 *=) ac_optarg= ;;
2038 *) ac_optarg=yes ;;
2039 esac
2041 # Accept the important Cygnus configure options, so we can diagnose typos.
2043 case $ac_dashdash$ac_option in
2045 ac_dashdash=yes ;;
2047 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2048 ac_prev=bindir ;;
2049 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2050 bindir=$ac_optarg ;;
2052 -build | --build | --buil | --bui | --bu)
2053 ac_prev=build_alias ;;
2054 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2055 build_alias=$ac_optarg ;;
2057 -cache-file | --cache-file | --cache-fil | --cache-fi \
2058 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2059 ac_prev=cache_file ;;
2060 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2061 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2062 cache_file=$ac_optarg ;;
2064 --config-cache | -C)
2065 cache_file=config.cache ;;
2067 -datadir | --datadir | --datadi | --datad)
2068 ac_prev=datadir ;;
2069 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2070 datadir=$ac_optarg ;;
2072 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2073 | --dataroo | --dataro | --datar)
2074 ac_prev=datarootdir ;;
2075 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2076 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2077 datarootdir=$ac_optarg ;;
2079 -disable-* | --disable-*)
2080 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2081 # Reject names that are not valid shell variable names.
2082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2083 as_fn_error $? "invalid feature name: $ac_useropt"
2084 ac_useropt_orig=$ac_useropt
2085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2086 case $ac_user_opts in
2088 "enable_$ac_useropt"
2089 "*) ;;
2090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2091 ac_unrecognized_sep=', ';;
2092 esac
2093 eval enable_$ac_useropt=no ;;
2095 -docdir | --docdir | --docdi | --doc | --do)
2096 ac_prev=docdir ;;
2097 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2098 docdir=$ac_optarg ;;
2100 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2101 ac_prev=dvidir ;;
2102 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2103 dvidir=$ac_optarg ;;
2105 -enable-* | --enable-*)
2106 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2107 # Reject names that are not valid shell variable names.
2108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2109 as_fn_error $? "invalid feature name: $ac_useropt"
2110 ac_useropt_orig=$ac_useropt
2111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2112 case $ac_user_opts in
2114 "enable_$ac_useropt"
2115 "*) ;;
2116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2117 ac_unrecognized_sep=', ';;
2118 esac
2119 eval enable_$ac_useropt=\$ac_optarg ;;
2121 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2122 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2123 | --exec | --exe | --ex)
2124 ac_prev=exec_prefix ;;
2125 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2126 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2127 | --exec=* | --exe=* | --ex=*)
2128 exec_prefix=$ac_optarg ;;
2130 -gas | --gas | --ga | --g)
2131 # Obsolete; use --with-gas.
2132 with_gas=yes ;;
2134 -help | --help | --hel | --he | -h)
2135 ac_init_help=long ;;
2136 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2137 ac_init_help=recursive ;;
2138 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2139 ac_init_help=short ;;
2141 -host | --host | --hos | --ho)
2142 ac_prev=host_alias ;;
2143 -host=* | --host=* | --hos=* | --ho=*)
2144 host_alias=$ac_optarg ;;
2146 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2147 ac_prev=htmldir ;;
2148 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2149 | --ht=*)
2150 htmldir=$ac_optarg ;;
2152 -includedir | --includedir | --includedi | --included | --include \
2153 | --includ | --inclu | --incl | --inc)
2154 ac_prev=includedir ;;
2155 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2156 | --includ=* | --inclu=* | --incl=* | --inc=*)
2157 includedir=$ac_optarg ;;
2159 -infodir | --infodir | --infodi | --infod | --info | --inf)
2160 ac_prev=infodir ;;
2161 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2162 infodir=$ac_optarg ;;
2164 -libdir | --libdir | --libdi | --libd)
2165 ac_prev=libdir ;;
2166 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2167 libdir=$ac_optarg ;;
2169 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2170 | --libexe | --libex | --libe)
2171 ac_prev=libexecdir ;;
2172 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2173 | --libexe=* | --libex=* | --libe=*)
2174 libexecdir=$ac_optarg ;;
2176 -localedir | --localedir | --localedi | --localed | --locale)
2177 ac_prev=localedir ;;
2178 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2179 localedir=$ac_optarg ;;
2181 -localstatedir | --localstatedir | --localstatedi | --localstated \
2182 | --localstate | --localstat | --localsta | --localst | --locals)
2183 ac_prev=localstatedir ;;
2184 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2185 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2186 localstatedir=$ac_optarg ;;
2188 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2189 ac_prev=mandir ;;
2190 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2191 mandir=$ac_optarg ;;
2193 -nfp | --nfp | --nf)
2194 # Obsolete; use --without-fp.
2195 with_fp=no ;;
2197 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2198 | --no-cr | --no-c | -n)
2199 no_create=yes ;;
2201 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2202 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2203 no_recursion=yes ;;
2205 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2206 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2207 | --oldin | --oldi | --old | --ol | --o)
2208 ac_prev=oldincludedir ;;
2209 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2210 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2211 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2212 oldincludedir=$ac_optarg ;;
2214 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2215 ac_prev=prefix ;;
2216 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2217 prefix=$ac_optarg ;;
2219 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2220 | --program-pre | --program-pr | --program-p)
2221 ac_prev=program_prefix ;;
2222 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2223 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2224 program_prefix=$ac_optarg ;;
2226 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2227 | --program-suf | --program-su | --program-s)
2228 ac_prev=program_suffix ;;
2229 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2230 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2231 program_suffix=$ac_optarg ;;
2233 -program-transform-name | --program-transform-name \
2234 | --program-transform-nam | --program-transform-na \
2235 | --program-transform-n | --program-transform- \
2236 | --program-transform | --program-transfor \
2237 | --program-transfo | --program-transf \
2238 | --program-trans | --program-tran \
2239 | --progr-tra | --program-tr | --program-t)
2240 ac_prev=program_transform_name ;;
2241 -program-transform-name=* | --program-transform-name=* \
2242 | --program-transform-nam=* | --program-transform-na=* \
2243 | --program-transform-n=* | --program-transform-=* \
2244 | --program-transform=* | --program-transfor=* \
2245 | --program-transfo=* | --program-transf=* \
2246 | --program-trans=* | --program-tran=* \
2247 | --progr-tra=* | --program-tr=* | --program-t=*)
2248 program_transform_name=$ac_optarg ;;
2250 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2251 ac_prev=pdfdir ;;
2252 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2253 pdfdir=$ac_optarg ;;
2255 -psdir | --psdir | --psdi | --psd | --ps)
2256 ac_prev=psdir ;;
2257 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2258 psdir=$ac_optarg ;;
2260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2261 | -silent | --silent | --silen | --sile | --sil)
2262 silent=yes ;;
2264 -runstatedir | --runstatedir | --runstatedi | --runstated \
2265 | --runstate | --runstat | --runsta | --runst | --runs \
2266 | --run | --ru | --r)
2267 ac_prev=runstatedir ;;
2268 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2269 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2270 | --run=* | --ru=* | --r=*)
2271 runstatedir=$ac_optarg ;;
2273 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2274 ac_prev=sbindir ;;
2275 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2276 | --sbi=* | --sb=*)
2277 sbindir=$ac_optarg ;;
2279 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2280 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2281 | --sharedst | --shareds | --shared | --share | --shar \
2282 | --sha | --sh)
2283 ac_prev=sharedstatedir ;;
2284 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2285 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2286 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2287 | --sha=* | --sh=*)
2288 sharedstatedir=$ac_optarg ;;
2290 -site | --site | --sit)
2291 ac_prev=site ;;
2292 -site=* | --site=* | --sit=*)
2293 site=$ac_optarg ;;
2295 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2296 ac_prev=srcdir ;;
2297 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2298 srcdir=$ac_optarg ;;
2300 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2301 | --syscon | --sysco | --sysc | --sys | --sy)
2302 ac_prev=sysconfdir ;;
2303 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2304 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2305 sysconfdir=$ac_optarg ;;
2307 -target | --target | --targe | --targ | --tar | --ta | --t)
2308 ac_prev=target_alias ;;
2309 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2310 target_alias=$ac_optarg ;;
2312 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2313 verbose=yes ;;
2315 -version | --version | --versio | --versi | --vers | -V)
2316 ac_init_version=: ;;
2318 -with-* | --with-*)
2319 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2320 # Reject names that are not valid shell variable names.
2321 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2322 as_fn_error $? "invalid package name: $ac_useropt"
2323 ac_useropt_orig=$ac_useropt
2324 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2325 case $ac_user_opts in
2327 "with_$ac_useropt"
2328 "*) ;;
2329 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2330 ac_unrecognized_sep=', ';;
2331 esac
2332 eval with_$ac_useropt=\$ac_optarg ;;
2334 -without-* | --without-*)
2335 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2336 # Reject names that are not valid shell variable names.
2337 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2338 as_fn_error $? "invalid package name: $ac_useropt"
2339 ac_useropt_orig=$ac_useropt
2340 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2341 case $ac_user_opts in
2343 "with_$ac_useropt"
2344 "*) ;;
2345 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2346 ac_unrecognized_sep=', ';;
2347 esac
2348 eval with_$ac_useropt=no ;;
2350 --x)
2351 # Obsolete; use --with-x.
2352 with_x=yes ;;
2354 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2355 | --x-incl | --x-inc | --x-in | --x-i)
2356 ac_prev=x_includes ;;
2357 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2358 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2359 x_includes=$ac_optarg ;;
2361 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2362 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2363 ac_prev=x_libraries ;;
2364 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2365 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2366 x_libraries=$ac_optarg ;;
2368 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2369 Try \`$0 --help' for more information"
2372 *=*)
2373 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2374 # Reject names that are not valid shell variable names.
2375 case $ac_envvar in #(
2376 '' | [0-9]* | *[!_$as_cr_alnum]* )
2377 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2378 esac
2379 eval $ac_envvar=\$ac_optarg
2380 export $ac_envvar ;;
2383 # FIXME: should be removed in autoconf 3.0.
2384 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2385 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2386 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2387 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2390 esac
2391 done
2393 if test -n "$ac_prev"; then
2394 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2395 as_fn_error $? "missing argument to $ac_option"
2398 if test -n "$ac_unrecognized_opts"; then
2399 case $enable_option_checking in
2400 no) ;;
2401 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2402 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2403 esac
2406 # Check all directory arguments for consistency.
2407 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2408 datadir sysconfdir sharedstatedir localstatedir includedir \
2409 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2410 libdir localedir mandir runstatedir
2412 eval ac_val=\$$ac_var
2413 # Remove trailing slashes.
2414 case $ac_val in
2415 */ )
2416 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2417 eval $ac_var=\$ac_val;;
2418 esac
2419 # Be sure to have absolute directory names.
2420 case $ac_val in
2421 [\\/$]* | ?:[\\/]* ) continue;;
2422 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2423 esac
2424 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2425 done
2427 # There might be people who depend on the old broken behavior: `$host'
2428 # used to hold the argument of --host etc.
2429 # FIXME: To remove some day.
2430 build=$build_alias
2431 host=$host_alias
2432 target=$target_alias
2434 # FIXME: To remove some day.
2435 if test "x$host_alias" != x; then
2436 if test "x$build_alias" = x; then
2437 cross_compiling=maybe
2438 elif test "x$build_alias" != "x$host_alias"; then
2439 cross_compiling=yes
2443 ac_tool_prefix=
2444 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2446 test "$silent" = yes && exec 6>/dev/null
2449 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2450 ac_ls_di=`ls -di .` &&
2451 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2452 as_fn_error $? "working directory cannot be determined"
2453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2454 as_fn_error $? "pwd does not report name of working directory"
2457 # Find the source files, if location was not specified.
2458 if test -z "$srcdir"; then
2459 ac_srcdir_defaulted=yes
2460 # Try the directory containing this script, then the parent directory.
2461 ac_confdir=`$as_dirname -- "$as_myself" ||
2462 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2463 X"$as_myself" : 'X\(//\)[^/]' \| \
2464 X"$as_myself" : 'X\(//\)$' \| \
2465 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2466 $as_echo X"$as_myself" |
2467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2468 s//\1/
2471 /^X\(\/\/\)[^/].*/{
2472 s//\1/
2475 /^X\(\/\/\)$/{
2476 s//\1/
2479 /^X\(\/\).*/{
2480 s//\1/
2483 s/.*/./; q'`
2484 srcdir=$ac_confdir
2485 if test ! -r "$srcdir/$ac_unique_file"; then
2486 srcdir=..
2488 else
2489 ac_srcdir_defaulted=no
2491 if test ! -r "$srcdir/$ac_unique_file"; then
2492 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2493 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2496 ac_abs_confdir=`(
2497 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2498 pwd)`
2499 # When building in place, set srcdir=.
2500 if test "$ac_abs_confdir" = "$ac_pwd"; then
2501 srcdir=.
2503 # Remove unnecessary trailing slashes from srcdir.
2504 # Double slashes in file names in object file debugging info
2505 # mess up M-x gdb in Emacs.
2506 case $srcdir in
2507 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2508 esac
2509 for ac_var in $ac_precious_vars; do
2510 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2511 eval ac_env_${ac_var}_value=\$${ac_var}
2512 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2513 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2514 done
2517 # Report the --help message.
2519 if test "$ac_init_help" = "long"; then
2520 # Omit some internal or obsolete options to make the list less imposing.
2521 # This message is too long to be a string in the A/UX 3.1 sh.
2522 cat <<_ACEOF
2523 \`configure' configures Wine 6.10 to adapt to many kinds of systems.
2525 Usage: $0 [OPTION]... [VAR=VALUE]...
2527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2528 VAR=VALUE. See below for descriptions of some of the useful variables.
2530 Defaults for the options are specified in brackets.
2532 Configuration:
2533 -h, --help display this help and exit
2534 --help=short display options specific to this package
2535 --help=recursive display the short help of all the included packages
2536 -V, --version display version information and exit
2537 -q, --quiet, --silent do not print \`checking ...' messages
2538 --cache-file=FILE cache test results in FILE [disabled]
2539 -C, --config-cache alias for \`--cache-file=config.cache'
2540 -n, --no-create do not create output files
2541 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2543 Installation directories:
2544 --prefix=PREFIX install architecture-independent files in PREFIX
2545 [$ac_default_prefix]
2546 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2547 [PREFIX]
2549 By default, \`make install' will install all the files in
2550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2552 for instance \`--prefix=\$HOME'.
2554 For better control, use the options below.
2556 Fine tuning of the installation directories:
2557 --bindir=DIR user executables [EPREFIX/bin]
2558 --sbindir=DIR system admin executables [EPREFIX/sbin]
2559 --libexecdir=DIR program executables [EPREFIX/libexec]
2560 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2561 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2562 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2563 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2564 --libdir=DIR object code libraries [EPREFIX/lib]
2565 --includedir=DIR C header files [PREFIX/include]
2566 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2567 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2568 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2569 --infodir=DIR info documentation [DATAROOTDIR/info]
2570 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2571 --mandir=DIR man documentation [DATAROOTDIR/man]
2572 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2573 --htmldir=DIR html documentation [DOCDIR]
2574 --dvidir=DIR dvi documentation [DOCDIR]
2575 --pdfdir=DIR pdf documentation [DOCDIR]
2576 --psdir=DIR ps documentation [DOCDIR]
2577 _ACEOF
2579 cat <<\_ACEOF
2581 X features:
2582 --x-includes=DIR X include files are in DIR
2583 --x-libraries=DIR X library files are in DIR
2585 System types:
2586 --build=BUILD configure for building on BUILD [guessed]
2587 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2588 _ACEOF
2591 if test -n "$ac_init_help"; then
2592 case $ac_init_help in
2593 short | recursive ) echo "Configuration of Wine 6.10:";;
2594 esac
2595 cat <<\_ACEOF
2597 Optional Features:
2598 --disable-option-checking ignore unrecognized --enable/--with options
2599 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2600 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2601 --disable-win16 do not include Win16 support
2602 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2603 binaries)
2604 --disable-tests do not build the regression tests
2605 --enable-build-id include .buildid section in output objects
2606 --enable-maintainer-mode
2607 enable maintainer-specific build rules
2608 --enable-silent-rules use silent build rules (override: "make V=1")
2609 --enable-werror treat compilation warnings as errors
2610 --disable-largefile omit support for large files
2612 Optional Packages:
2613 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2614 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2615 --without-alsa do not use the Alsa sound support
2616 --without-capi do not use CAPI (ISDN support)
2617 --without-cms do not use CMS (color management support)
2618 --without-coreaudio do not use the CoreAudio sound support
2619 --without-cups do not use CUPS
2620 --without-dbus do not use DBus (dynamic device support)
2621 --without-faudio do not use FAudio (XAudio2 support)
2622 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2623 --without-fontconfig do not use fontconfig
2624 --without-freetype do not use the FreeType library
2625 --without-gettext do not use gettext
2626 --with-gettextpo use the GetTextPO library to rebuild po files
2627 --without-gphoto do not use gphoto (Digital Camera support)
2628 --without-gnutls do not use GnuTLS (schannel support)
2629 --without-gsm do not use libgsm (GSM 06.10 codec support)
2630 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2631 --without-gstreamer do not use GStreamer (codecs support)
2632 --without-hal do not use HAL (dynamic device support)
2633 --without-inotify do not use inotify (filesystem change notifications)
2634 --without-jpeg do not use JPEG
2635 --without-jxrlib do not use JPEG-XR
2636 --without-krb5 do not use krb5 (Kerberos)
2637 --without-ldap do not use LDAP
2638 --without-mingw do not use the MinGW cross-compiler
2639 --without-mpg123 do not use the mpg123 library
2640 --without-netapi do not use the Samba NetAPI library
2641 --without-openal do not use OpenAL
2642 --without-opencl do not use OpenCL
2643 --without-opengl do not use OpenGL
2644 --without-osmesa do not use the OSMesa library
2645 --without-oss do not use the OSS sound support
2646 --without-pcap do not use the Packet Capture library
2647 --without-png do not use PNG
2648 --without-pthread do not use the pthread library
2649 --without-pulse do not use PulseAudio sound support
2650 --without-quicktime do not use QuickTime support
2651 --without-sane do not use SANE (scanner support)
2652 --without-sdl do not use SDL
2653 --without-tiff do not use TIFF
2654 --without-udev do not use udev (plug and play support)
2655 --without-unwind do not use the libunwind library (exception
2656 handling)
2657 --without-usb do not use the libusb library
2658 --without-v4l2 do not use v4l2 (video capture)
2659 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2660 --without-vulkan do not use Vulkan
2661 --without-xcomposite do not use the Xcomposite extension
2662 --without-xcursor do not use the Xcursor extension
2663 --without-xfixes do not use Xfixes for clipboard change notifications
2664 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2665 --without-xinput do not use the Xinput extension
2666 --without-xinput2 do not use the Xinput 2 extension
2667 --without-xml do not use XML
2668 --without-xrandr do not use Xrandr (multi-monitor support)
2669 --without-xrender do not use the Xrender extension
2670 --without-xshape do not use the Xshape extension
2671 --without-xshm do not use XShm (shared memory extension)
2672 --without-xslt do not use XSLT
2673 --without-xxf86vm do not use XFree video mode extension
2674 --with-wine-tools=DIR use Wine tools from directory DIR
2675 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2676 --with-x use the X Window System
2678 Some influential environment variables:
2679 CC C compiler command
2680 CFLAGS C compiler flags
2681 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2682 nonstandard directory <lib dir>
2683 LIBS libraries to pass to the linker, e.g. -l<library>
2684 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2685 you have headers in a nonstandard directory <include dir>
2686 CXX C++ compiler command
2687 CXXFLAGS C++ compiler flags
2688 CPP C preprocessor
2689 OBJC Objective C compiler command
2690 OBJCFLAGS Objective C compiler flags
2691 OBJCPP Objective C preprocessor
2692 XMKMF Path to xmkmf, Makefile generator for X Window System
2693 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2694 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2695 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2696 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2697 INOTIFY_CFLAGS
2698 C compiler flags for libinotify, overriding pkg-config
2699 INOTIFY_LIBS
2700 Linker flags for libinotify, overriding pkg-config
2701 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2702 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2703 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2704 HAL_LIBS Linker flags for hal, overriding pkg-config
2705 GNUTLS_CFLAGS
2706 C compiler flags for gnutls, overriding pkg-config
2707 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2708 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2709 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2710 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2711 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2712 GPHOTO2_CFLAGS
2713 C compiler flags for libgphoto2, overriding pkg-config
2714 GPHOTO2_LIBS
2715 Linker flags for libgphoto2, overriding pkg-config
2716 GPHOTO2_PORT_CFLAGS
2717 C compiler flags for libgphoto2_port, overriding pkg-config
2718 GPHOTO2_PORT_LIBS
2719 Linker flags for libgphoto2_port, overriding pkg-config
2720 LCMS2_CFLAGS
2721 C compiler flags for lcms2, overriding pkg-config
2722 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2723 FREETYPE_CFLAGS
2724 C compiler flags for freetype2, overriding pkg-config
2725 FREETYPE_LIBS
2726 Linker flags for freetype2, overriding pkg-config
2727 PULSE_CFLAGS
2728 C compiler flags for libpulse, overriding pkg-config
2729 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2730 GSTREAMER_CFLAGS
2731 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2732 gstreamer-audio-1.0, overriding pkg-config
2733 GSTREAMER_LIBS
2734 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2735 gstreamer-audio-1.0, overriding pkg-config
2736 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2737 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2738 UNWIND_CFLAGS
2739 C compiler flags for libunwind, overriding pkg-config
2740 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2741 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2742 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2743 FAUDIO_CFLAGS
2744 C compiler flags for FAudio, overriding pkg-config
2745 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2746 CAPI20_CFLAGS
2747 C compiler flags for capi20, overriding pkg-config
2748 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2749 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2750 CUPS_LIBS Linker flags for cups, overriding pkg-config
2751 FONTCONFIG_CFLAGS
2752 C compiler flags for fontconfig, overriding pkg-config
2753 FONTCONFIG_LIBS
2754 Linker flags for fontconfig, overriding pkg-config
2755 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2756 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2757 GSSAPI_CFLAGS
2758 C compiler flags for krb5-gssapi, overriding pkg-config
2759 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2760 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2761 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2762 JXRLIB_CFLAGS
2763 C compiler flags for jxrlib, overriding pkg-config
2764 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2765 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2766 PNG_LIBS Linker flags for libpng, overriding pkg-config
2767 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2768 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2769 MPG123_CFLAGS
2770 C compiler flags for libmpg123, overriding pkg-config
2771 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2772 NETAPI_CFLAGS
2773 C compiler flags for netapi, overriding pkg-config
2774 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2775 VKD3D_CFLAGS
2776 C compiler flags for libvkd3d, overriding pkg-config
2777 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2778 VKD3D_SHADER_CFLAGS
2779 C compiler flags for libvkd3d-shader, overriding pkg-config
2780 VKD3D_SHADER_LIBS
2781 Linker flags for libvkd3d-shader, overriding pkg-config
2782 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2783 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2785 Use these variables to override the choices made by `configure' or to help
2786 it to find libraries and programs with nonstandard names/locations.
2788 Report bugs to <wine-devel@winehq.org>.
2789 Wine home page: <https://www.winehq.org>.
2790 _ACEOF
2791 ac_status=$?
2794 if test "$ac_init_help" = "recursive"; then
2795 # If there are subdirs, report their specific --help.
2796 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2797 test -d "$ac_dir" ||
2798 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2799 continue
2800 ac_builddir=.
2802 case "$ac_dir" in
2803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2805 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2806 # A ".." for each directory in $ac_dir_suffix.
2807 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2808 case $ac_top_builddir_sub in
2809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2811 esac ;;
2812 esac
2813 ac_abs_top_builddir=$ac_pwd
2814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2815 # for backward compatibility:
2816 ac_top_builddir=$ac_top_build_prefix
2818 case $srcdir in
2819 .) # We are building in place.
2820 ac_srcdir=.
2821 ac_top_srcdir=$ac_top_builddir_sub
2822 ac_abs_top_srcdir=$ac_pwd ;;
2823 [\\/]* | ?:[\\/]* ) # Absolute name.
2824 ac_srcdir=$srcdir$ac_dir_suffix;
2825 ac_top_srcdir=$srcdir
2826 ac_abs_top_srcdir=$srcdir ;;
2827 *) # Relative name.
2828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2829 ac_top_srcdir=$ac_top_build_prefix$srcdir
2830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2831 esac
2832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2834 cd "$ac_dir" || { ac_status=$?; continue; }
2835 # Check for guested configure.
2836 if test -f "$ac_srcdir/configure.gnu"; then
2837 echo &&
2838 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2839 elif test -f "$ac_srcdir/configure"; then
2840 echo &&
2841 $SHELL "$ac_srcdir/configure" --help=recursive
2842 else
2843 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2844 fi || ac_status=$?
2845 cd "$ac_pwd" || { ac_status=$?; break; }
2846 done
2849 test -n "$ac_init_help" && exit $ac_status
2850 if $ac_init_version; then
2851 cat <<\_ACEOF
2852 Wine configure 6.10
2853 generated by GNU Autoconf 2.69
2855 Copyright (C) 2012 Free Software Foundation, Inc.
2856 This configure script is free software; the Free Software Foundation
2857 gives unlimited permission to copy, distribute and modify it.
2858 _ACEOF
2859 exit
2862 ## ------------------------ ##
2863 ## Autoconf initialization. ##
2864 ## ------------------------ ##
2866 # ac_fn_c_try_compile LINENO
2867 # --------------------------
2868 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2869 ac_fn_c_try_compile ()
2871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2872 rm -f conftest.$ac_objext
2873 if { { ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_compile") 2>conftest.err
2881 ac_status=$?
2882 if test -s conftest.err; then
2883 grep -v '^ *+' conftest.err >conftest.er1
2884 cat conftest.er1 >&5
2885 mv -f conftest.er1 conftest.err
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; } && {
2889 test -z "$ac_c_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then :
2892 ac_retval=0
2893 else
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_retval=1
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 as_fn_set_status $ac_retval
2902 } # ac_fn_c_try_compile
2904 # ac_fn_cxx_try_compile LINENO
2905 # ----------------------------
2906 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2907 ac_fn_cxx_try_compile ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 rm -f conftest.$ac_objext
2911 if { { ac_try="$ac_compile"
2912 case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_compile") 2>conftest.err
2919 ac_status=$?
2920 if test -s conftest.err; then
2921 grep -v '^ *+' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2923 mv -f conftest.er1 conftest.err
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; } && {
2927 test -z "$ac_cxx_werror_flag" ||
2928 test ! -s conftest.err
2929 } && test -s conftest.$ac_objext; then :
2930 ac_retval=0
2931 else
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2935 ac_retval=1
2937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 as_fn_set_status $ac_retval
2940 } # ac_fn_cxx_try_compile
2942 # ac_fn_c_try_link LINENO
2943 # -----------------------
2944 # Try to link conftest.$ac_ext, and return whether this succeeded.
2945 ac_fn_c_try_link ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 rm -f conftest.$ac_objext conftest$ac_exeext
2949 if { { ac_try="$ac_link"
2950 case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953 esac
2954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2955 $as_echo "$ac_try_echo"; } >&5
2956 (eval "$ac_link") 2>conftest.err
2957 ac_status=$?
2958 if test -s conftest.err; then
2959 grep -v '^ *+' conftest.err >conftest.er1
2960 cat conftest.er1 >&5
2961 mv -f conftest.er1 conftest.err
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; } && {
2965 test -z "$ac_c_werror_flag" ||
2966 test ! -s conftest.err
2967 } && test -s conftest$ac_exeext && {
2968 test "$cross_compiling" = yes ||
2969 test -x conftest$ac_exeext
2970 }; then :
2971 ac_retval=0
2972 else
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 ac_retval=1
2978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2980 # interfere with the next link command; also delete a directory that is
2981 # left behind by Apple's compiler. We do this before executing the actions.
2982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2984 as_fn_set_status $ac_retval
2986 } # ac_fn_c_try_link
2988 # ac_fn_c_try_cpp LINENO
2989 # ----------------------
2990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2991 ac_fn_c_try_cpp ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 if { { ac_try="$ac_cpp conftest.$ac_ext"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3002 ac_status=$?
3003 if test -s conftest.err; then
3004 grep -v '^ *+' conftest.err >conftest.er1
3005 cat conftest.er1 >&5
3006 mv -f conftest.er1 conftest.err
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; } > conftest.i && {
3010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 }; then :
3013 ac_retval=0
3014 else
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 ac_retval=1
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 as_fn_set_status $ac_retval
3023 } # ac_fn_c_try_cpp
3025 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3026 # -------------------------------------------------------
3027 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3028 # the include files in INCLUDES and setting the cache variable VAR
3029 # accordingly.
3030 ac_fn_c_check_header_mongrel ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 if eval \${$3+:} false; then :
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3035 $as_echo_n "checking for $2... " >&6; }
3036 if eval \${$3+:} false; then :
3037 $as_echo_n "(cached) " >&6
3039 eval ac_res=\$$3
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 $as_echo "$ac_res" >&6; }
3042 else
3043 # Is the header compilable?
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3045 $as_echo_n "checking $2 usability... " >&6; }
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3049 #include <$2>
3050 _ACEOF
3051 if ac_fn_c_try_compile "$LINENO"; then :
3052 ac_header_compiler=yes
3053 else
3054 ac_header_compiler=no
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3058 $as_echo "$ac_header_compiler" >&6; }
3060 # Is the header present?
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3062 $as_echo_n "checking $2 presence... " >&6; }
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3065 #include <$2>
3066 _ACEOF
3067 if ac_fn_c_try_cpp "$LINENO"; then :
3068 ac_header_preproc=yes
3069 else
3070 ac_header_preproc=no
3072 rm -f conftest.err conftest.i conftest.$ac_ext
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3074 $as_echo "$ac_header_preproc" >&6; }
3076 # So? What about this header?
3077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3078 yes:no: )
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3080 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3082 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3084 no:yes:* )
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3086 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3088 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3090 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3092 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3095 ( $as_echo "## ------------------------------------ ##
3096 ## Report this to wine-devel@winehq.org ##
3097 ## ------------------------------------ ##"
3098 ) | sed "s/^/$as_me: WARNING: /" >&2
3100 esac
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3102 $as_echo_n "checking for $2... " >&6; }
3103 if eval \${$3+:} false; then :
3104 $as_echo_n "(cached) " >&6
3105 else
3106 eval "$3=\$ac_header_compiler"
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3114 } # ac_fn_c_check_header_mongrel
3116 # ac_fn_c_try_run LINENO
3117 # ----------------------
3118 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3119 # that executables *can* be run.
3120 ac_fn_c_try_run ()
3122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3123 if { { ac_try="$ac_link"
3124 case "(($ac_try" in
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3127 esac
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_link") 2>&5
3131 ac_status=$?
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3134 { { case "(($ac_try" in
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3137 esac
3138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139 $as_echo "$ac_try_echo"; } >&5
3140 (eval "$ac_try") 2>&5
3141 ac_status=$?
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; }; }; then :
3144 ac_retval=0
3145 else
3146 $as_echo "$as_me: program exited with status $ac_status" >&5
3147 $as_echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 ac_retval=$ac_status
3152 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 as_fn_set_status $ac_retval
3156 } # ac_fn_c_try_run
3158 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3159 # -------------------------------------------------------
3160 # Tests whether HEADER exists and can be compiled using the include files in
3161 # INCLUDES, setting the cache variable VAR accordingly.
3162 ac_fn_c_check_header_compile ()
3164 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3166 $as_echo_n "checking for $2... " >&6; }
3167 if eval \${$3+:} false; then :
3168 $as_echo_n "(cached) " >&6
3169 else
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3173 #include <$2>
3174 _ACEOF
3175 if ac_fn_c_try_compile "$LINENO"; then :
3176 eval "$3=yes"
3177 else
3178 eval "$3=no"
3180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 eval ac_res=\$$3
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3184 $as_echo "$ac_res" >&6; }
3185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3187 } # ac_fn_c_check_header_compile
3189 # ac_fn_objc_try_compile LINENO
3190 # -----------------------------
3191 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3192 ac_fn_objc_try_compile ()
3194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3195 rm -f conftest.$ac_objext
3196 if { { ac_try="$ac_compile"
3197 case "(($ac_try" in
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3200 esac
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_compile") 2>conftest.err
3204 ac_status=$?
3205 if test -s conftest.err; then
3206 grep -v '^ *+' conftest.err >conftest.er1
3207 cat conftest.er1 >&5
3208 mv -f conftest.er1 conftest.err
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; } && {
3212 test -z "$ac_objc_werror_flag" ||
3213 test ! -s conftest.err
3214 } && test -s conftest.$ac_objext; then :
3215 ac_retval=0
3216 else
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3220 ac_retval=1
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3223 as_fn_set_status $ac_retval
3225 } # ac_fn_objc_try_compile
3227 # ac_fn_objc_try_cpp LINENO
3228 # -------------------------
3229 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3230 ac_fn_objc_try_cpp ()
3232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3233 if { { ac_try="$ac_cpp conftest.$ac_ext"
3234 case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3237 esac
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3241 ac_status=$?
3242 if test -s conftest.err; then
3243 grep -v '^ *+' conftest.err >conftest.er1
3244 cat conftest.er1 >&5
3245 mv -f conftest.er1 conftest.err
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; } > conftest.i && {
3249 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3250 test ! -s conftest.err
3251 }; then :
3252 ac_retval=0
3253 else
3254 $as_echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 ac_retval=1
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260 as_fn_set_status $ac_retval
3262 } # ac_fn_objc_try_cpp
3264 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3265 # ----------------------------------------------------------
3266 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3267 # the include files in INCLUDES and setting the cache variable VAR
3268 # accordingly.
3269 ac_fn_objc_check_header_mongrel ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 if eval \${$3+:} false; then :
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3274 $as_echo_n "checking for $2... " >&6; }
3275 if eval \${$3+:} false; then :
3276 $as_echo_n "(cached) " >&6
3278 eval ac_res=\$$3
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3280 $as_echo "$ac_res" >&6; }
3281 else
3282 # Is the header compilable?
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3284 $as_echo_n "checking $2 usability... " >&6; }
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3288 #include <$2>
3289 _ACEOF
3290 if ac_fn_objc_try_compile "$LINENO"; then :
3291 ac_header_compiler=yes
3292 else
3293 ac_header_compiler=no
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3297 $as_echo "$ac_header_compiler" >&6; }
3299 # Is the header present?
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3301 $as_echo_n "checking $2 presence... " >&6; }
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3304 #include <$2>
3305 _ACEOF
3306 if ac_fn_objc_try_cpp "$LINENO"; then :
3307 ac_header_preproc=yes
3308 else
3309 ac_header_preproc=no
3311 rm -f conftest.err conftest.i conftest.$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3313 $as_echo "$ac_header_preproc" >&6; }
3315 # So? What about this header?
3316 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3317 yes:no: )
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3319 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3321 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3323 no:yes:* )
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3325 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3327 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3329 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3331 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3333 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3334 ( $as_echo "## ------------------------------------ ##
3335 ## Report this to wine-devel@winehq.org ##
3336 ## ------------------------------------ ##"
3337 ) | sed "s/^/$as_me: WARNING: /" >&2
3339 esac
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3341 $as_echo_n "checking for $2... " >&6; }
3342 if eval \${$3+:} false; then :
3343 $as_echo_n "(cached) " >&6
3344 else
3345 eval "$3=\$ac_header_compiler"
3347 eval ac_res=\$$3
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3349 $as_echo "$ac_res" >&6; }
3351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3353 } # ac_fn_objc_check_header_mongrel
3355 # ac_fn_c_check_func LINENO FUNC VAR
3356 # ----------------------------------
3357 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3358 ac_fn_c_check_func ()
3360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3362 $as_echo_n "checking for $2... " >&6; }
3363 if eval \${$3+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3368 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3370 #define $2 innocuous_$2
3372 /* System header to define __stub macros and hopefully few prototypes,
3373 which can conflict with char $2 (); below.
3374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3375 <limits.h> exists even on freestanding compilers. */
3377 #ifdef __STDC__
3378 # include <limits.h>
3379 #else
3380 # include <assert.h>
3381 #endif
3383 #undef $2
3385 /* Override any GCC internal prototype to avoid an error.
3386 Use char because int might match the return type of a GCC
3387 builtin and then its argument prototype would still apply. */
3388 #ifdef __cplusplus
3389 extern "C"
3390 #endif
3391 char $2 ();
3392 /* The GNU C library defines this for functions which it implements
3393 to always fail with ENOSYS. Some functions are actually named
3394 something starting with __ and the normal name is an alias. */
3395 #if defined __stub_$2 || defined __stub___$2
3396 choke me
3397 #endif
3400 main ()
3402 return $2 ();
3404 return 0;
3406 _ACEOF
3407 if ac_fn_c_try_link "$LINENO"; then :
3408 eval "$3=yes"
3409 else
3410 eval "$3=no"
3412 rm -f core conftest.err conftest.$ac_objext \
3413 conftest$ac_exeext conftest.$ac_ext
3415 eval ac_res=\$$3
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3417 $as_echo "$ac_res" >&6; }
3418 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3420 } # ac_fn_c_check_func
3422 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3423 # ----------------------------------------------------
3424 # Tries to find if the field MEMBER exists in type AGGR, after including
3425 # INCLUDES, setting cache variable VAR accordingly.
3426 ac_fn_c_check_member ()
3428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3430 $as_echo_n "checking for $2.$3... " >&6; }
3431 if eval \${$4+:} false; then :
3432 $as_echo_n "(cached) " >&6
3433 else
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 main ()
3440 static $2 ac_aggr;
3441 if (ac_aggr.$3)
3442 return 0;
3444 return 0;
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3448 eval "$4=yes"
3449 else
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3454 main ()
3456 static $2 ac_aggr;
3457 if (sizeof ac_aggr.$3)
3458 return 0;
3460 return 0;
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 eval "$4=yes"
3465 else
3466 eval "$4=no"
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 eval ac_res=\$$4
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3474 $as_echo "$ac_res" >&6; }
3475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3477 } # ac_fn_c_check_member
3479 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3480 # -------------------------------------------
3481 # Tests whether TYPE exists after having included INCLUDES, setting cache
3482 # variable VAR accordingly.
3483 ac_fn_c_check_type ()
3485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3487 $as_echo_n "checking for $2... " >&6; }
3488 if eval \${$3+:} false; then :
3489 $as_echo_n "(cached) " >&6
3490 else
3491 eval "$3=no"
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3496 main ()
3498 if (sizeof ($2))
3499 return 0;
3501 return 0;
3503 _ACEOF
3504 if ac_fn_c_try_compile "$LINENO"; then :
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3509 main ()
3511 if (sizeof (($2)))
3512 return 0;
3514 return 0;
3516 _ACEOF
3517 if ac_fn_c_try_compile "$LINENO"; then :
3519 else
3520 eval "$3=yes"
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 eval ac_res=\$$3
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3528 $as_echo "$ac_res" >&6; }
3529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3531 } # ac_fn_c_check_type
3532 cat >config.log <<_ACEOF
3533 This file contains any messages produced by compilers while
3534 running configure, to aid debugging if configure makes a mistake.
3536 It was created by Wine $as_me 6.10, which was
3537 generated by GNU Autoconf 2.69. Invocation command line was
3539 $ $0 $@
3541 _ACEOF
3542 exec 5>>config.log
3544 cat <<_ASUNAME
3545 ## --------- ##
3546 ## Platform. ##
3547 ## --------- ##
3549 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3550 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3551 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3552 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3553 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3555 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3556 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3558 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3559 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3560 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3561 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3562 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3563 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3564 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3566 _ASUNAME
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3571 IFS=$as_save_IFS
3572 test -z "$as_dir" && as_dir=.
3573 $as_echo "PATH: $as_dir"
3574 done
3575 IFS=$as_save_IFS
3577 } >&5
3579 cat >&5 <<_ACEOF
3582 ## ----------- ##
3583 ## Core tests. ##
3584 ## ----------- ##
3586 _ACEOF
3589 # Keep a trace of the command line.
3590 # Strip out --no-create and --no-recursion so they do not pile up.
3591 # Strip out --silent because we don't want to record it for future runs.
3592 # Also quote any args containing shell meta-characters.
3593 # Make two passes to allow for proper duplicate-argument suppression.
3594 ac_configure_args=
3595 ac_configure_args0=
3596 ac_configure_args1=
3597 ac_must_keep_next=false
3598 for ac_pass in 1 2
3600 for ac_arg
3602 case $ac_arg in
3603 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3604 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3605 | -silent | --silent | --silen | --sile | --sil)
3606 continue ;;
3607 *\'*)
3608 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3609 esac
3610 case $ac_pass in
3611 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3613 as_fn_append ac_configure_args1 " '$ac_arg'"
3614 if test $ac_must_keep_next = true; then
3615 ac_must_keep_next=false # Got value, back to normal.
3616 else
3617 case $ac_arg in
3618 *=* | --config-cache | -C | -disable-* | --disable-* \
3619 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3620 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3621 | -with-* | --with-* | -without-* | --without-* | --x)
3622 case "$ac_configure_args0 " in
3623 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3624 esac
3626 -* ) ac_must_keep_next=true ;;
3627 esac
3629 as_fn_append ac_configure_args " '$ac_arg'"
3631 esac
3632 done
3633 done
3634 { ac_configure_args0=; unset ac_configure_args0;}
3635 { ac_configure_args1=; unset ac_configure_args1;}
3637 # When interrupted or exit'd, cleanup temporary files, and complete
3638 # config.log. We remove comments because anyway the quotes in there
3639 # would cause problems or look ugly.
3640 # WARNING: Use '\'' to represent an apostrophe within the trap.
3641 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3642 trap 'exit_status=$?
3643 # Save into config.log some information that might help in debugging.
3645 echo
3647 $as_echo "## ---------------- ##
3648 ## Cache variables. ##
3649 ## ---------------- ##"
3650 echo
3651 # The following way of writing the cache mishandles newlines in values,
3653 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3654 eval ac_val=\$$ac_var
3655 case $ac_val in #(
3656 *${as_nl}*)
3657 case $ac_var in #(
3658 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3659 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3660 esac
3661 case $ac_var in #(
3662 _ | IFS | as_nl) ;; #(
3663 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3664 *) { eval $ac_var=; unset $ac_var;} ;;
3665 esac ;;
3666 esac
3667 done
3668 (set) 2>&1 |
3669 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3670 *${as_nl}ac_space=\ *)
3671 sed -n \
3672 "s/'\''/'\''\\\\'\'''\''/g;
3673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3674 ;; #(
3676 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3678 esac |
3679 sort
3681 echo
3683 $as_echo "## ----------------- ##
3684 ## Output variables. ##
3685 ## ----------------- ##"
3686 echo
3687 for ac_var in $ac_subst_vars
3689 eval ac_val=\$$ac_var
3690 case $ac_val in
3691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3692 esac
3693 $as_echo "$ac_var='\''$ac_val'\''"
3694 done | sort
3695 echo
3697 if test -n "$ac_subst_files"; then
3698 $as_echo "## ------------------- ##
3699 ## File substitutions. ##
3700 ## ------------------- ##"
3701 echo
3702 for ac_var in $ac_subst_files
3704 eval ac_val=\$$ac_var
3705 case $ac_val in
3706 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3707 esac
3708 $as_echo "$ac_var='\''$ac_val'\''"
3709 done | sort
3710 echo
3713 if test -s confdefs.h; then
3714 $as_echo "## ----------- ##
3715 ## confdefs.h. ##
3716 ## ----------- ##"
3717 echo
3718 cat confdefs.h
3719 echo
3721 test "$ac_signal" != 0 &&
3722 $as_echo "$as_me: caught signal $ac_signal"
3723 $as_echo "$as_me: exit $exit_status"
3724 } >&5
3725 rm -f core *.core core.conftest.* &&
3726 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3727 exit $exit_status
3729 for ac_signal in 1 2 13 15; do
3730 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3731 done
3732 ac_signal=0
3734 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3735 rm -f -r conftest* confdefs.h
3737 $as_echo "/* confdefs.h */" > confdefs.h
3739 # Predefined preprocessor variables.
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_NAME "$PACKAGE_NAME"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3751 _ACEOF
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_STRING "$PACKAGE_STRING"
3755 _ACEOF
3757 cat >>confdefs.h <<_ACEOF
3758 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3759 _ACEOF
3761 cat >>confdefs.h <<_ACEOF
3762 #define PACKAGE_URL "$PACKAGE_URL"
3763 _ACEOF
3766 # Let the site file select an alternate cache file if it wants to.
3767 # Prefer an explicitly selected file to automatically selected ones.
3768 ac_site_file1=NONE
3769 ac_site_file2=NONE
3770 if test -n "$CONFIG_SITE"; then
3771 # We do not want a PATH search for config.site.
3772 case $CONFIG_SITE in #((
3773 -*) ac_site_file1=./$CONFIG_SITE;;
3774 */*) ac_site_file1=$CONFIG_SITE;;
3775 *) ac_site_file1=./$CONFIG_SITE;;
3776 esac
3777 elif test "x$prefix" != xNONE; then
3778 ac_site_file1=$prefix/share/config.site
3779 ac_site_file2=$prefix/etc/config.site
3780 else
3781 ac_site_file1=$ac_default_prefix/share/config.site
3782 ac_site_file2=$ac_default_prefix/etc/config.site
3784 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3786 test "x$ac_site_file" = xNONE && continue
3787 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3789 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3790 sed 's/^/| /' "$ac_site_file" >&5
3791 . "$ac_site_file" \
3792 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 as_fn_error $? "failed to load site script $ac_site_file
3795 See \`config.log' for more details" "$LINENO" 5; }
3797 done
3799 if test -r "$cache_file"; then
3800 # Some versions of bash will fail to source /dev/null (special files
3801 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3802 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3804 $as_echo "$as_me: loading cache $cache_file" >&6;}
3805 case $cache_file in
3806 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3807 *) . "./$cache_file";;
3808 esac
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3812 $as_echo "$as_me: creating cache $cache_file" >&6;}
3813 >$cache_file
3816 # Check that the precious variables saved in the cache have kept the same
3817 # value.
3818 ac_cache_corrupted=false
3819 for ac_var in $ac_precious_vars; do
3820 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3821 eval ac_new_set=\$ac_env_${ac_var}_set
3822 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3823 eval ac_new_val=\$ac_env_${ac_var}_value
3824 case $ac_old_set,$ac_new_set in
3825 set,)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3827 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3828 ac_cache_corrupted=: ;;
3829 ,set)
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3831 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3832 ac_cache_corrupted=: ;;
3833 ,);;
3835 if test "x$ac_old_val" != "x$ac_new_val"; then
3836 # differences in whitespace do not lead to failure.
3837 ac_old_val_w=`echo x $ac_old_val`
3838 ac_new_val_w=`echo x $ac_new_val`
3839 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3841 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3842 ac_cache_corrupted=:
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3845 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3846 eval $ac_var=\$ac_old_val
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3849 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3851 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3852 fi;;
3853 esac
3854 # Pass precious variables to config.status.
3855 if test "$ac_new_set" = set; then
3856 case $ac_new_val in
3857 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3858 *) ac_arg=$ac_var=$ac_new_val ;;
3859 esac
3860 case " $ac_configure_args " in
3861 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3862 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3863 esac
3865 done
3866 if $ac_cache_corrupted; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3870 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3871 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3873 ## -------------------- ##
3874 ## Main body of script. ##
3875 ## -------------------- ##
3877 ac_ext=c
3878 ac_cpp='$CPP $CPPFLAGS'
3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3885 ac_config_headers="$ac_config_headers include/config.h"
3887 ac_aux_dir=
3888 for ac_dir in tools "$srcdir"/tools; do
3889 if test -f "$ac_dir/install-sh"; then
3890 ac_aux_dir=$ac_dir
3891 ac_install_sh="$ac_aux_dir/install-sh -c"
3892 break
3893 elif test -f "$ac_dir/install.sh"; then
3894 ac_aux_dir=$ac_dir
3895 ac_install_sh="$ac_aux_dir/install.sh -c"
3896 break
3897 elif test -f "$ac_dir/shtool"; then
3898 ac_aux_dir=$ac_dir
3899 ac_install_sh="$ac_aux_dir/shtool install -c"
3900 break
3902 done
3903 if test -z "$ac_aux_dir"; then
3904 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3907 # These three variables are undocumented and unsupported,
3908 # and are intended to be withdrawn in a future Autoconf release.
3909 # They can cause serious problems if a builder's source tree is in a directory
3910 # whose full name contains unusual characters.
3911 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3912 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3913 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3917 libwine_version="1.0"
3921 # Check whether --enable-win16 was given.
3922 if test "${enable_win16+set}" = set; then :
3923 enableval=$enable_win16;
3926 # Check whether --enable-win64 was given.
3927 if test "${enable_win64+set}" = set; then :
3928 enableval=$enable_win64;
3931 # Check whether --enable-tests was given.
3932 if test "${enable_tests+set}" = set; then :
3933 enableval=$enable_tests;
3936 # Check whether --enable-build-id was given.
3937 if test "${enable_build_id+set}" = set; then :
3938 enableval=$enable_build_id;
3941 # Check whether --enable-maintainer-mode was given.
3942 if test "${enable_maintainer_mode+set}" = set; then :
3943 enableval=$enable_maintainer_mode;
3946 # Check whether --enable-silent-rules was given.
3947 if test "${enable_silent_rules+set}" = set; then :
3948 enableval=$enable_silent_rules;
3951 # Check whether --enable-werror was given.
3952 if test "${enable_werror+set}" = set; then :
3953 enableval=$enable_werror;
3958 # Check whether --with-alsa was given.
3959 if test "${with_alsa+set}" = set; then :
3960 withval=$with_alsa;
3964 # Check whether --with-capi was given.
3965 if test "${with_capi+set}" = set; then :
3966 withval=$with_capi;
3970 # Check whether --with-cms was given.
3971 if test "${with_cms+set}" = set; then :
3972 withval=$with_cms;
3976 # Check whether --with-coreaudio was given.
3977 if test "${with_coreaudio+set}" = set; then :
3978 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3982 # Check whether --with-cups was given.
3983 if test "${with_cups+set}" = set; then :
3984 withval=$with_cups;
3988 # Check whether --with-dbus was given.
3989 if test "${with_dbus+set}" = set; then :
3990 withval=$with_dbus;
3994 # Check whether --with-faudio was given.
3995 if test "${with_faudio+set}" = set; then :
3996 withval=$with_faudio;
4000 # Check whether --with-float-abi was given.
4001 if test "${with_float_abi+set}" = set; then :
4002 withval=$with_float_abi;
4006 # Check whether --with-fontconfig was given.
4007 if test "${with_fontconfig+set}" = set; then :
4008 withval=$with_fontconfig;
4012 # Check whether --with-freetype was given.
4013 if test "${with_freetype+set}" = set; then :
4014 withval=$with_freetype;
4018 # Check whether --with-gettext was given.
4019 if test "${with_gettext+set}" = set; then :
4020 withval=$with_gettext;
4024 # Check whether --with-gettextpo was given.
4025 if test "${with_gettextpo+set}" = set; then :
4026 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4030 # Check whether --with-gphoto was given.
4031 if test "${with_gphoto+set}" = set; then :
4032 withval=$with_gphoto;
4036 # Check whether --with-gnutls was given.
4037 if test "${with_gnutls+set}" = set; then :
4038 withval=$with_gnutls;
4042 # Check whether --with-gsm was given.
4043 if test "${with_gsm+set}" = set; then :
4044 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4048 # Check whether --with-gssapi was given.
4049 if test "${with_gssapi+set}" = set; then :
4050 withval=$with_gssapi;
4054 # Check whether --with-gstreamer was given.
4055 if test "${with_gstreamer+set}" = set; then :
4056 withval=$with_gstreamer;
4060 # Check whether --with-hal was given.
4061 if test "${with_hal+set}" = set; then :
4062 withval=$with_hal;
4066 # Check whether --with-inotify was given.
4067 if test "${with_inotify+set}" = set; then :
4068 withval=$with_inotify;
4072 # Check whether --with-jpeg was given.
4073 if test "${with_jpeg+set}" = set; then :
4074 withval=$with_jpeg;
4078 # Check whether --with-jxrlib was given.
4079 if test "${with_jxrlib+set}" = set; then :
4080 withval=$with_jxrlib;
4084 # Check whether --with-krb5 was given.
4085 if test "${with_krb5+set}" = set; then :
4086 withval=$with_krb5;
4090 # Check whether --with-ldap was given.
4091 if test "${with_ldap+set}" = set; then :
4092 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4096 # Check whether --with-mingw was given.
4097 if test "${with_mingw+set}" = set; then :
4098 withval=$with_mingw;
4102 # Check whether --with-mpg123 was given.
4103 if test "${with_mpg123+set}" = set; then :
4104 withval=$with_mpg123;
4108 # Check whether --with-netapi was given.
4109 if test "${with_netapi+set}" = set; then :
4110 withval=$with_netapi;
4114 # Check whether --with-openal was given.
4115 if test "${with_openal+set}" = set; then :
4116 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4120 # Check whether --with-opencl was given.
4121 if test "${with_opencl+set}" = set; then :
4122 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4126 # Check whether --with-opengl was given.
4127 if test "${with_opengl+set}" = set; then :
4128 withval=$with_opengl;
4132 # Check whether --with-osmesa was given.
4133 if test "${with_osmesa+set}" = set; then :
4134 withval=$with_osmesa;
4138 # Check whether --with-oss was given.
4139 if test "${with_oss+set}" = set; then :
4140 withval=$with_oss;
4144 # Check whether --with-pcap was given.
4145 if test "${with_pcap+set}" = set; then :
4146 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4150 # Check whether --with-png was given.
4151 if test "${with_png+set}" = set; then :
4152 withval=$with_png;
4156 # Check whether --with-pthread was given.
4157 if test "${with_pthread+set}" = set; then :
4158 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4162 # Check whether --with-pulse was given.
4163 if test "${with_pulse+set}" = set; then :
4164 withval=$with_pulse;
4168 # Check whether --with-quicktime was given.
4169 if test "${with_quicktime+set}" = set; then :
4170 withval=$with_quicktime;
4174 # Check whether --with-sane was given.
4175 if test "${with_sane+set}" = set; then :
4176 withval=$with_sane;
4180 # Check whether --with-sdl was given.
4181 if test "${with_sdl+set}" = set; then :
4182 withval=$with_sdl;
4186 # Check whether --with-tiff was given.
4187 if test "${with_tiff+set}" = set; then :
4188 withval=$with_tiff;
4192 # Check whether --with-udev was given.
4193 if test "${with_udev+set}" = set; then :
4194 withval=$with_udev;
4198 # Check whether --with-unwind was given.
4199 if test "${with_unwind+set}" = set; then :
4200 withval=$with_unwind;
4204 # Check whether --with-usb was given.
4205 if test "${with_usb+set}" = set; then :
4206 withval=$with_usb;
4210 # Check whether --with-v4l2 was given.
4211 if test "${with_v4l2+set}" = set; then :
4212 withval=$with_v4l2;
4216 # Check whether --with-vkd3d was given.
4217 if test "${with_vkd3d+set}" = set; then :
4218 withval=$with_vkd3d;
4222 # Check whether --with-vulkan was given.
4223 if test "${with_vulkan+set}" = set; then :
4224 withval=$with_vulkan;
4228 # Check whether --with-xcomposite was given.
4229 if test "${with_xcomposite+set}" = set; then :
4230 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4234 # Check whether --with-xcursor was given.
4235 if test "${with_xcursor+set}" = set; then :
4236 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4240 # Check whether --with-xfixes was given.
4241 if test "${with_xfixes+set}" = set; then :
4242 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4246 # Check whether --with-xinerama was given.
4247 if test "${with_xinerama+set}" = set; then :
4248 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4252 # Check whether --with-xinput was given.
4253 if test "${with_xinput+set}" = set; then :
4254 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4258 # Check whether --with-xinput2 was given.
4259 if test "${with_xinput2+set}" = set; then :
4260 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4264 # Check whether --with-xml was given.
4265 if test "${with_xml+set}" = set; then :
4266 withval=$with_xml;
4270 # Check whether --with-xrandr was given.
4271 if test "${with_xrandr+set}" = set; then :
4272 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4276 # Check whether --with-xrender was given.
4277 if test "${with_xrender+set}" = set; then :
4278 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4282 # Check whether --with-xshape was given.
4283 if test "${with_xshape+set}" = set; then :
4284 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4288 # Check whether --with-xshm was given.
4289 if test "${with_xshm+set}" = set; then :
4290 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4294 # Check whether --with-xslt was given.
4295 if test "${with_xslt+set}" = set; then :
4296 withval=$with_xslt;
4300 # Check whether --with-xxf86vm was given.
4301 if test "${with_xxf86vm+set}" = set; then :
4302 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4307 # Check whether --with-wine-tools was given.
4308 if test "${with_wine_tools+set}" = set; then :
4309 withval=$with_wine_tools;
4313 # Check whether --with-wine64 was given.
4314 if test "${with_wine64+set}" = set; then :
4315 withval=$with_wine64;
4319 # Make sure we can run config.sub.
4320 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4321 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4324 $as_echo_n "checking build system type... " >&6; }
4325 if ${ac_cv_build+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_build_alias=$build_alias
4329 test "x$ac_build_alias" = x &&
4330 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4331 test "x$ac_build_alias" = x &&
4332 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4333 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4334 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4338 $as_echo "$ac_cv_build" >&6; }
4339 case $ac_cv_build in
4340 *-*-*) ;;
4341 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4342 esac
4343 build=$ac_cv_build
4344 ac_save_IFS=$IFS; IFS='-'
4345 set x $ac_cv_build
4346 shift
4347 build_cpu=$1
4348 build_vendor=$2
4349 shift; shift
4350 # Remember, the first character of IFS is used to create $*,
4351 # except with old shells:
4352 build_os=$*
4353 IFS=$ac_save_IFS
4354 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4358 $as_echo_n "checking host system type... " >&6; }
4359 if ${ac_cv_host+:} false; then :
4360 $as_echo_n "(cached) " >&6
4361 else
4362 if test "x$host_alias" = x; then
4363 ac_cv_host=$ac_cv_build
4364 else
4365 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4366 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4371 $as_echo "$ac_cv_host" >&6; }
4372 case $ac_cv_host in
4373 *-*-*) ;;
4374 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4375 esac
4376 host=$ac_cv_host
4377 ac_save_IFS=$IFS; IFS='-'
4378 set x $ac_cv_host
4379 shift
4380 host_cpu=$1
4381 host_vendor=$2
4382 shift; shift
4383 # Remember, the first character of IFS is used to create $*,
4384 # except with old shells:
4385 host_os=$*
4386 IFS=$ac_save_IFS
4387 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4394 set x ${MAKE-make}
4395 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4396 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 cat >conftest.make <<\_ACEOF
4400 SHELL = /bin/sh
4401 all:
4402 @echo '@@@%%%=$(MAKE)=@@@%%%'
4403 _ACEOF
4404 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4406 *@@@%%%=?*=@@@%%%*)
4407 eval ac_cv_prog_make_${ac_make}_set=yes;;
4409 eval ac_cv_prog_make_${ac_make}_set=no;;
4410 esac
4411 rm -f conftest.make
4413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4415 $as_echo "yes" >&6; }
4416 SET_MAKE=
4417 else
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4420 SET_MAKE="MAKE=${MAKE-make}"
4423 ac_ext=c
4424 ac_cpp='$CPP $CPPFLAGS'
4425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4430 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC="$CC" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4467 if test -z "$ac_cv_prog_CC"; then
4468 ac_ct_CC=$CC
4469 # Extract the first word of "gcc", so it can be a program name with args.
4470 set dummy gcc; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$ac_ct_CC"; then
4477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_ac_ct_CC="gcc"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4497 if test -n "$ac_ct_CC"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4499 $as_echo "$ac_ct_CC" >&6; }
4500 else
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4505 if test "x$ac_ct_CC" = x; then
4506 CC=""
4507 else
4508 case $cross_compiling:$ac_tool_warned in
4509 yes:)
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4512 ac_tool_warned=yes ;;
4513 esac
4514 CC=$ac_ct_CC
4516 else
4517 CC="$ac_cv_prog_CC"
4520 if test -z "$CC"; then
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4523 set dummy ${ac_tool_prefix}cc; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC="${ac_tool_prefix}cc"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 CC=$ac_cv_prog_CC
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4553 else
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4561 if test -z "$CC"; then
4562 # Extract the first word of "cc", so it can be a program name with args.
4563 set dummy cc; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_CC+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 if test -n "$CC"; then
4570 ac_cv_prog_CC="$CC" # Let the user override the test.
4571 else
4572 ac_prog_rejected=no
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 for as_dir in $PATH
4576 IFS=$as_save_IFS
4577 test -z "$as_dir" && as_dir=.
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4580 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4581 ac_prog_rejected=yes
4582 continue
4584 ac_cv_prog_CC="cc"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 break 2
4588 done
4589 done
4590 IFS=$as_save_IFS
4592 if test $ac_prog_rejected = yes; then
4593 # We found a bogon in the path, so make sure we never use it.
4594 set dummy $ac_cv_prog_CC
4595 shift
4596 if test $# != 0; then
4597 # We chose a different compiler from the bogus one.
4598 # However, it has the same basename, so the bogon will be chosen
4599 # first if we set CC to just the basename; use the full file name.
4600 shift
4601 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4606 CC=$ac_cv_prog_CC
4607 if test -n "$CC"; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4609 $as_echo "$CC" >&6; }
4610 else
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612 $as_echo "no" >&6; }
4617 if test -z "$CC"; then
4618 if test -n "$ac_tool_prefix"; then
4619 for ac_prog in cl.exe
4621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_CC+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$CC"; then
4629 ac_cv_prog_CC="$CC" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 CC=$ac_cv_prog_CC
4649 if test -n "$CC"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4651 $as_echo "$CC" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$CC" && break
4659 done
4661 if test -z "$CC"; then
4662 ac_ct_CC=$CC
4663 for ac_prog in cl.exe
4665 # Extract the first word of "$ac_prog", so it can be a program name with args.
4666 set dummy $ac_prog; ac_word=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 if test -n "$ac_ct_CC"; then
4673 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4674 else
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH
4678 IFS=$as_save_IFS
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_ac_ct_CC="$ac_prog"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 break 2
4686 done
4687 done
4688 IFS=$as_save_IFS
4692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4693 if test -n "$ac_ct_CC"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4695 $as_echo "$ac_ct_CC" >&6; }
4696 else
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4702 test -n "$ac_ct_CC" && break
4703 done
4705 if test "x$ac_ct_CC" = x; then
4706 CC=""
4707 else
4708 case $cross_compiling:$ac_tool_warned in
4709 yes:)
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4712 ac_tool_warned=yes ;;
4713 esac
4714 CC=$ac_ct_CC
4721 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4723 as_fn_error $? "no acceptable C compiler found in \$PATH
4724 See \`config.log' for more details" "$LINENO" 5; }
4726 # Provide some information about the compiler.
4727 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4728 set X $ac_compile
4729 ac_compiler=$2
4730 for ac_option in --version -v -V -qversion; do
4731 { { ac_try="$ac_compiler $ac_option >&5"
4732 case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4739 ac_status=$?
4740 if test -s conftest.err; then
4741 sed '10a\
4742 ... rest of stderr output deleted ...
4743 10q' conftest.err >conftest.er1
4744 cat conftest.er1 >&5
4746 rm -f conftest.er1 conftest.err
4747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4748 test $ac_status = 0; }
4749 done
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4755 main ()
4759 return 0;
4761 _ACEOF
4762 ac_clean_files_save=$ac_clean_files
4763 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4764 # Try to create an executable without -o first, disregard a.out.
4765 # It will help us diagnose broken compilers, and finding out an intuition
4766 # of exeext.
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4768 $as_echo_n "checking whether the C compiler works... " >&6; }
4769 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4771 # The possible output files:
4772 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4774 ac_rmfiles=
4775 for ac_file in $ac_files
4777 case $ac_file in
4778 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4779 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4780 esac
4781 done
4782 rm -f $ac_rmfiles
4784 if { { ac_try="$ac_link_default"
4785 case "(($ac_try" in
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4788 esac
4789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4790 $as_echo "$ac_try_echo"; } >&5
4791 (eval "$ac_link_default") 2>&5
4792 ac_status=$?
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }; then :
4795 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4796 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4797 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4798 # so that the user can short-circuit this test for compilers unknown to
4799 # Autoconf.
4800 for ac_file in $ac_files ''
4802 test -f "$ac_file" || continue
4803 case $ac_file in
4804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4806 [ab].out )
4807 # We found the default executable, but exeext='' is most
4808 # certainly right.
4809 break;;
4810 *.* )
4811 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4812 then :; else
4813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4815 # We set ac_cv_exeext here because the later test for it is not
4816 # safe: cross compilers may not add the suffix if given an `-o'
4817 # argument, so we may need to know it at that point already.
4818 # Even if this section looks crufty: it has the advantage of
4819 # actually working.
4820 break;;
4822 break;;
4823 esac
4824 done
4825 test "$ac_cv_exeext" = no && ac_cv_exeext=
4827 else
4828 ac_file=''
4830 if test -z "$ac_file"; then :
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 $as_echo "no" >&6; }
4833 $as_echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4838 as_fn_error 77 "C compiler cannot create executables
4839 See \`config.log' for more details" "$LINENO" 5; }
4840 else
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4842 $as_echo "yes" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4845 $as_echo_n "checking for C compiler default output file name... " >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4847 $as_echo "$ac_file" >&6; }
4848 ac_exeext=$ac_cv_exeext
4850 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4851 ac_clean_files=$ac_clean_files_save
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4853 $as_echo_n "checking for suffix of executables... " >&6; }
4854 if { { ac_try="$ac_link"
4855 case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4858 esac
4859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4860 $as_echo "$ac_try_echo"; } >&5
4861 (eval "$ac_link") 2>&5
4862 ac_status=$?
4863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4864 test $ac_status = 0; }; then :
4865 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4866 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4867 # work properly (i.e., refer to `conftest.exe'), while it won't with
4868 # `rm'.
4869 for ac_file in conftest.exe conftest conftest.*; do
4870 test -f "$ac_file" || continue
4871 case $ac_file in
4872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4873 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4874 break;;
4875 * ) break;;
4876 esac
4877 done
4878 else
4879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4881 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4882 See \`config.log' for more details" "$LINENO" 5; }
4884 rm -f conftest conftest$ac_cv_exeext
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4886 $as_echo "$ac_cv_exeext" >&6; }
4888 rm -f conftest.$ac_ext
4889 EXEEXT=$ac_cv_exeext
4890 ac_exeext=$EXEEXT
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4893 #include <stdio.h>
4895 main ()
4897 FILE *f = fopen ("conftest.out", "w");
4898 return ferror (f) || fclose (f) != 0;
4901 return 0;
4903 _ACEOF
4904 ac_clean_files="$ac_clean_files conftest.out"
4905 # Check that the compiler produces executables we can run. If not, either
4906 # the compiler is broken, or we cross compile.
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4908 $as_echo_n "checking whether we are cross compiling... " >&6; }
4909 if test "$cross_compiling" != yes; then
4910 { { ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4916 $as_echo "$ac_try_echo"; } >&5
4917 (eval "$ac_link") 2>&5
4918 ac_status=$?
4919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4920 test $ac_status = 0; }
4921 if { ac_try='./conftest$ac_cv_exeext'
4922 { { case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927 $as_echo "$ac_try_echo"; } >&5
4928 (eval "$ac_try") 2>&5
4929 ac_status=$?
4930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4931 test $ac_status = 0; }; }; then
4932 cross_compiling=no
4933 else
4934 if test "$cross_compiling" = maybe; then
4935 cross_compiling=yes
4936 else
4937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4939 as_fn_error $? "cannot run C compiled programs.
4940 If you meant to cross compile, use \`--host'.
4941 See \`config.log' for more details" "$LINENO" 5; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4946 $as_echo "$cross_compiling" >&6; }
4948 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4949 ac_clean_files=$ac_clean_files_save
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4951 $as_echo_n "checking for suffix of object files... " >&6; }
4952 if ${ac_cv_objext+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 rm -f conftest.o conftest.obj
4967 if { { ac_try="$ac_compile"
4968 case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4971 esac
4972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4973 $as_echo "$ac_try_echo"; } >&5
4974 (eval "$ac_compile") 2>&5
4975 ac_status=$?
4976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4977 test $ac_status = 0; }; then :
4978 for ac_file in conftest.o conftest.obj conftest.*; do
4979 test -f "$ac_file" || continue;
4980 case $ac_file in
4981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4983 break;;
4984 esac
4985 done
4986 else
4987 $as_echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.$ac_ext >&5
4990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4992 as_fn_error $? "cannot compute suffix of object files: cannot compile
4993 See \`config.log' for more details" "$LINENO" 5; }
4995 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4998 $as_echo "$ac_cv_objext" >&6; }
4999 OBJEXT=$ac_cv_objext
5000 ac_objext=$OBJEXT
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5003 if ${ac_cv_c_compiler_gnu+:} false; then :
5004 $as_echo_n "(cached) " >&6
5005 else
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5010 main ()
5012 #ifndef __GNUC__
5013 choke me
5014 #endif
5017 return 0;
5019 _ACEOF
5020 if ac_fn_c_try_compile "$LINENO"; then :
5021 ac_compiler_gnu=yes
5022 else
5023 ac_compiler_gnu=no
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5030 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5031 if test $ac_compiler_gnu = yes; then
5032 GCC=yes
5033 else
5034 GCC=
5036 ac_test_CFLAGS=${CFLAGS+set}
5037 ac_save_CFLAGS=$CFLAGS
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5039 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5040 if ${ac_cv_prog_cc_g+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 ac_save_c_werror_flag=$ac_c_werror_flag
5044 ac_c_werror_flag=yes
5045 ac_cv_prog_cc_g=no
5046 CFLAGS="-g"
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5051 main ()
5055 return 0;
5057 _ACEOF
5058 if ac_fn_c_try_compile "$LINENO"; then :
5059 ac_cv_prog_cc_g=yes
5060 else
5061 CFLAGS=""
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 main ()
5070 return 0;
5072 _ACEOF
5073 if ac_fn_c_try_compile "$LINENO"; then :
5075 else
5076 ac_c_werror_flag=$ac_save_c_werror_flag
5077 CFLAGS="-g"
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5082 main ()
5086 return 0;
5088 _ACEOF
5089 if ac_fn_c_try_compile "$LINENO"; then :
5090 ac_cv_prog_cc_g=yes
5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5097 ac_c_werror_flag=$ac_save_c_werror_flag
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5100 $as_echo "$ac_cv_prog_cc_g" >&6; }
5101 if test "$ac_test_CFLAGS" = set; then
5102 CFLAGS=$ac_save_CFLAGS
5103 elif test $ac_cv_prog_cc_g = yes; then
5104 if test "$GCC" = yes; then
5105 CFLAGS="-g -O2"
5106 else
5107 CFLAGS="-g"
5109 else
5110 if test "$GCC" = yes; then
5111 CFLAGS="-O2"
5112 else
5113 CFLAGS=
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5117 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5118 if ${ac_cv_prog_cc_c89+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 ac_cv_prog_cc_c89=no
5122 ac_save_CC=$CC
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 #include <stdarg.h>
5126 #include <stdio.h>
5127 struct stat;
5128 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5129 struct buf { int x; };
5130 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5131 static char *e (p, i)
5132 char **p;
5133 int i;
5135 return p[i];
5137 static char *f (char * (*g) (char **, int), char **p, ...)
5139 char *s;
5140 va_list v;
5141 va_start (v,p);
5142 s = g (p, va_arg (v,int));
5143 va_end (v);
5144 return s;
5147 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5148 function prototypes and stuff, but not '\xHH' hex character constants.
5149 These don't provoke an error unfortunately, instead are silently treated
5150 as 'x'. The following induces an error, until -std is added to get
5151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5152 array size at least. It's necessary to write '\x00'==0 to get something
5153 that's true only with -std. */
5154 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5156 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5157 inside strings and character constants. */
5158 #define FOO(x) 'x'
5159 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5161 int test (int i, double x);
5162 struct s1 {int (*f) (int a);};
5163 struct s2 {int (*f) (double a);};
5164 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5165 int argc;
5166 char **argv;
5168 main ()
5170 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5172 return 0;
5174 _ACEOF
5175 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5176 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5178 CC="$ac_save_CC $ac_arg"
5179 if ac_fn_c_try_compile "$LINENO"; then :
5180 ac_cv_prog_cc_c89=$ac_arg
5182 rm -f core conftest.err conftest.$ac_objext
5183 test "x$ac_cv_prog_cc_c89" != "xno" && break
5184 done
5185 rm -f conftest.$ac_ext
5186 CC=$ac_save_CC
5189 # AC_CACHE_VAL
5190 case "x$ac_cv_prog_cc_c89" in
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5193 $as_echo "none needed" >&6; } ;;
5194 xno)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5196 $as_echo "unsupported" >&6; } ;;
5198 CC="$CC $ac_cv_prog_cc_c89"
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5200 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5201 esac
5202 if test "x$ac_cv_prog_cc_c89" != xno; then :
5206 ac_ext=c
5207 ac_cpp='$CPP $CPPFLAGS'
5208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 ac_ext=cpp
5213 ac_cpp='$CXXCPP $CPPFLAGS'
5214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5217 if test -z "$CXX"; then
5218 if test -n "$CCC"; then
5219 CXX=$CCC
5220 else
5221 if test -n "$ac_tool_prefix"; then
5222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_CXX+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$CXX"; then
5232 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 CXX=$ac_cv_prog_CXX
5252 if test -n "$CXX"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5254 $as_echo "$CXX" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$CXX" && break
5262 done
5264 if test -z "$CXX"; then
5265 ac_ct_CXX=$CXX
5266 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5268 # Extract the first word of "$ac_prog", so it can be a program name with args.
5269 set dummy $ac_prog; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$ac_ct_CXX"; then
5276 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_CXX="$ac_prog"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5296 if test -n "$ac_ct_CXX"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5298 $as_echo "$ac_ct_CXX" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 test -n "$ac_ct_CXX" && break
5306 done
5308 if test "x$ac_ct_CXX" = x; then
5309 CXX="g++"
5310 else
5311 case $cross_compiling:$ac_tool_warned in
5312 yes:)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5315 ac_tool_warned=yes ;;
5316 esac
5317 CXX=$ac_ct_CXX
5323 # Provide some information about the compiler.
5324 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5325 set X $ac_compile
5326 ac_compiler=$2
5327 for ac_option in --version -v -V -qversion; do
5328 { { ac_try="$ac_compiler $ac_option >&5"
5329 case "(($ac_try" in
5330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5332 esac
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 $as_echo "$ac_try_echo"; } >&5
5335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5336 ac_status=$?
5337 if test -s conftest.err; then
5338 sed '10a\
5339 ... rest of stderr output deleted ...
5340 10q' conftest.err >conftest.er1
5341 cat conftest.er1 >&5
5343 rm -f conftest.er1 conftest.err
5344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5346 done
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5349 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5350 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5357 main ()
5359 #ifndef __GNUC__
5360 choke me
5361 #endif
5364 return 0;
5366 _ACEOF
5367 if ac_fn_cxx_try_compile "$LINENO"; then :
5368 ac_compiler_gnu=yes
5369 else
5370 ac_compiler_gnu=no
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5377 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5378 if test $ac_compiler_gnu = yes; then
5379 GXX=yes
5380 else
5381 GXX=
5383 ac_test_CXXFLAGS=${CXXFLAGS+set}
5384 ac_save_CXXFLAGS=$CXXFLAGS
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5386 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5387 if ${ac_cv_prog_cxx_g+:} false; then :
5388 $as_echo_n "(cached) " >&6
5389 else
5390 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5391 ac_cxx_werror_flag=yes
5392 ac_cv_prog_cxx_g=no
5393 CXXFLAGS="-g"
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5398 main ()
5402 return 0;
5404 _ACEOF
5405 if ac_fn_cxx_try_compile "$LINENO"; then :
5406 ac_cv_prog_cxx_g=yes
5407 else
5408 CXXFLAGS=""
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5413 main ()
5417 return 0;
5419 _ACEOF
5420 if ac_fn_cxx_try_compile "$LINENO"; then :
5422 else
5423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5424 CXXFLAGS="-g"
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5429 main ()
5433 return 0;
5435 _ACEOF
5436 if ac_fn_cxx_try_compile "$LINENO"; then :
5437 ac_cv_prog_cxx_g=yes
5439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5447 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5448 if test "$ac_test_CXXFLAGS" = set; then
5449 CXXFLAGS=$ac_save_CXXFLAGS
5450 elif test $ac_cv_prog_cxx_g = yes; then
5451 if test "$GXX" = yes; then
5452 CXXFLAGS="-g -O2"
5453 else
5454 CXXFLAGS="-g"
5456 else
5457 if test "$GXX" = yes; then
5458 CXXFLAGS="-O2"
5459 else
5460 CXXFLAGS=
5463 ac_ext=c
5464 ac_cpp='$CPP $CPPFLAGS'
5465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_CPPBIN+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$CPPBIN"; then
5478 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 CPPBIN=$ac_cv_prog_CPPBIN
5498 if test -n "$CPPBIN"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5500 $as_echo "$CPPBIN" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_CPPBIN"; then
5509 ac_ct_CPPBIN=$CPPBIN
5510 # Extract the first word of "cpp", so it can be a program name with args.
5511 set dummy cpp; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_CPPBIN"; then
5518 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_CPPBIN="cpp"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5538 if test -n "$ac_ct_CPPBIN"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5540 $as_echo "$ac_ct_CPPBIN" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_CPPBIN" = x; then
5547 CPPBIN="cpp"
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 CPPBIN=$ac_ct_CPPBIN
5557 else
5558 CPPBIN="$ac_cv_prog_CPPBIN"
5562 cat >>confdefs.h <<_ACEOF
5563 #define EXEEXT "$ac_exeext"
5564 _ACEOF
5566 if test -n "$ac_tool_prefix"; then
5567 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5568 set dummy ${ac_tool_prefix}ld; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_prog_LD+:} false; then :
5572 $as_echo_n "(cached) " >&6
5573 else
5574 if test -n "$LD"; then
5575 ac_cv_prog_LD="$LD" # Let the user override the test.
5576 else
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578 for as_dir in $PATH
5580 IFS=$as_save_IFS
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_LD="${ac_tool_prefix}ld"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 break 2
5588 done
5589 done
5590 IFS=$as_save_IFS
5594 LD=$ac_cv_prog_LD
5595 if test -n "$LD"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5597 $as_echo "$LD" >&6; }
5598 else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5605 if test -z "$ac_cv_prog_LD"; then
5606 ac_ct_LD=$LD
5607 # Extract the first word of "ld", so it can be a program name with args.
5608 set dummy ld; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5612 $as_echo_n "(cached) " >&6
5613 else
5614 if test -n "$ac_ct_LD"; then
5615 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5620 IFS=$as_save_IFS
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_ac_ct_LD="ld"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5635 if test -n "$ac_ct_LD"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5637 $as_echo "$ac_ct_LD" >&6; }
5638 else
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5643 if test "x$ac_ct_LD" = x; then
5644 LD=""
5645 else
5646 case $cross_compiling:$ac_tool_warned in
5647 yes:)
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5650 ac_tool_warned=yes ;;
5651 esac
5652 LD=$ac_ct_LD
5654 else
5655 LD="$ac_cv_prog_LD"
5659 case $host in
5660 *-darwin*)
5661 with_fontconfig=${with_fontconfig:-no}
5663 *-mingw32*|*-cygwin*)
5664 enable_win16=${enable_win16:-no}
5665 with_mingw=${with_mingw:-no}
5666 CFLAGS="$CFLAGS -D_WIN32"
5668 esac
5671 case $host in
5672 x86_64*|amd64*)
5673 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5674 then
5675 CC="$CC -m32"
5676 CXX="$CXX -m32"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5679 $as_echo_n "checking whether $CC works... " >&6; }
5680 if ${wine_cv_cc_m32+:} false; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5687 main ()
5691 return 0;
5693 _ACEOF
5694 if ac_fn_c_try_link "$LINENO"; then :
5695 wine_cv_cc_m32=yes
5696 else
5697 wine_cv_cc_m32=no
5699 rm -f core conftest.err conftest.$ac_objext \
5700 conftest$ac_exeext conftest.$ac_ext
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5703 $as_echo "$wine_cv_cc_m32" >&6; }
5704 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5705 host_cpu="i386"
5706 notice_platform="32-bit "
5707 TARGETFLAGS="$TARGETFLAGS -m32"
5708 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5709 export PKG_CONFIG_PATH
5710 enable_win16=${enable_win16:-yes}
5711 with_unwind=${with_unwind:-no}
5712 else
5713 if test "x${GCC}" = "xyes"
5714 then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5716 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5717 if ${wine_cv_builtin_ms_va_list+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5722 #include <stdarg.h>
5724 main ()
5726 void func(__builtin_ms_va_list *args);
5728 return 0;
5730 _ACEOF
5731 if ac_fn_c_try_compile "$LINENO"; then :
5732 wine_cv_builtin_ms_va_list=yes
5733 else
5734 wine_cv_builtin_ms_va_list=no
5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5739 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5740 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5742 CC="$CC -m64"
5743 CXX="$CXX -m64"
5744 host_cpu="x86_64"
5745 notice_platform="64-bit "
5746 TARGETFLAGS="$TARGETFLAGS -m64"
5747 enable_wow64cpu=${enable_wow64cpu:-yes}
5750 arm*)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5752 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5753 if ${wine_cv_thumb2+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5757 /* end confdefs.h. */
5760 main ()
5762 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5764 return 0;
5766 _ACEOF
5767 if ac_fn_c_try_link "$LINENO"; then :
5768 wine_cv_thumb2=yes
5769 else
5770 wine_cv_thumb2=no
5772 rm -f core conftest.err conftest.$ac_objext \
5773 conftest$ac_exeext conftest.$ac_ext
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5776 $as_echo "$wine_cv_thumb2" >&6; }
5777 if test x"$wine_cv_thumb2" = xyes
5778 then
5779 CFLAGS="$CFLAGS -mthumb"
5780 TARGETFLAGS="$TARGETFLAGS -mthumb"
5781 else
5782 CFLAGS="$CFLAGS -marm"
5783 TARGETFLAGS="$TARGETFLAGS -marm"
5785 case $with_float_abi in
5786 soft|softfp|hard)
5787 float_abi=$with_float_abi ;;
5789 case $host_os in
5790 *eabihf)
5791 float_abi=hard ;;
5793 float_abi=softfp
5794 saved_CFLAGS=$CFLAGS
5795 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5797 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5798 if ${wine_cv_float_abi+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5805 main ()
5807 asm("vmrs r2,fpscr");
5809 return 0;
5811 _ACEOF
5812 if ac_fn_c_try_link "$LINENO"; then :
5813 wine_cv_float_abi=yes
5814 else
5815 wine_cv_float_abi=no
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5821 $as_echo "$wine_cv_float_abi" >&6; }
5822 if test $wine_cv_float_abi = no
5823 then
5824 float_abi=soft
5825 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5827 CFLAGS=$saved_CFLAGS
5828 esac
5830 esac
5831 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5832 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5834 aarch64*)
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5836 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5837 if ${wine_cv_builtin_ms_va_list+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5842 #include <stdarg.h>
5844 main ()
5846 void func(__builtin_ms_va_list *args);
5848 return 0;
5850 _ACEOF
5851 if ac_fn_c_try_compile "$LINENO"; then :
5852 wine_cv_builtin_ms_va_list=yes
5853 else
5854 wine_cv_builtin_ms_va_list=no
5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5859 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5860 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5862 i[3456789]86*)
5863 enable_win16=${enable_win16:-yes}
5864 with_unwind=${with_unwind:-no}
5866 esac
5868 enable_win16=${enable_win16:-no}
5869 enable_win64=${enable_win64:-no}
5870 enable_wow64cpu=${enable_wow64cpu:-no}
5872 enable_winetest=${enable_winetest:-$enable_tests}
5874 if test "x$enable_win64" = "xyes"
5875 then
5876 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5877 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5880 case $host_cpu in
5881 *i[3456789]86*) ARCH="i386"
5883 *x86_64*) ARCH="x86_64"
5885 *aarch64*) ARCH="aarch64"
5887 *arm*) ARCH="arm"
5889 *) ARCH=""
5891 esac
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5894 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5895 if ${wine_cv_toolsdir+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 wine_cv_toolsdir="$with_wine_tools"
5899 if test -z "$with_wine_tools"; then
5900 if test "$cross_compiling" = "yes"; then
5901 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5902 elif test -n "$with_wine64"; then
5903 wine_cv_toolsdir="$with_wine64"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5908 $as_echo "$wine_cv_toolsdir" >&6; }
5909 if test -z "$wine_cv_toolsdir"; then
5910 wine_makedep=tools/makedep
5911 TOOLSDIR="."
5913 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5914 wine_makedep=$wine_cv_toolsdir/tools/makedep
5915 TOOLSDIR=$wine_cv_toolsdir
5917 enable_tools=${enable_tools:-no}
5918 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5919 else
5920 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5922 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5923 then
5924 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5927 for ac_prog in flex
5929 # Extract the first word of "$ac_prog", so it can be a program name with args.
5930 set dummy $ac_prog; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_FLEX+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$FLEX"; then
5937 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_FLEX="$ac_prog"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5950 done
5951 done
5952 IFS=$as_save_IFS
5956 FLEX=$ac_cv_prog_FLEX
5957 if test -n "$FLEX"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5959 $as_echo "$FLEX" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5966 test -n "$FLEX" && break
5967 done
5968 test -n "$FLEX" || FLEX="none"
5970 if test "$FLEX" = "none"
5971 then
5972 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5975 $as_echo_n "checking whether flex is recent enough... " >&6; }
5976 if ${wine_cv_recent_flex+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 cat >conftest.l <<EOF
5980 %top{
5981 #include "prediluvian.h"
5985 if $FLEX -t conftest.l >/dev/null 2>&5
5986 then
5987 wine_cv_recent_flex=yes
5988 else
5989 wine_cv_recent_flex=no
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5993 $as_echo "$wine_cv_recent_flex" >&6; }
5994 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5996 for ac_prog in bison
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_BISON+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$BISON"; then
6006 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_BISON="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 BISON=$ac_cv_prog_BISON
6026 if test -n "$BISON"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6028 $as_echo "$BISON" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$BISON" && break
6036 done
6037 test -n "$BISON" || BISON="none"
6039 if test "$BISON" = "none"
6040 then
6041 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6044 $as_echo_n "checking whether bison is recent enough... " >&6; }
6045 if ${wine_cv_recent_bison+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 cat >conftest.y <<EOF
6049 %define parse.error verbose
6051 empty: ;
6053 if $BISON conftest.y >/dev/null 2>&5
6054 then
6055 wine_cv_recent_bison=yes
6056 else
6057 wine_cv_recent_bison=no
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6061 $as_echo "$wine_cv_recent_bison" >&6; }
6062 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6064 if test -n "$ac_tool_prefix"; then
6065 for ac_prog in ar gar
6067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_AR+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -n "$AR"; then
6075 ac_cv_prog_AR="$AR" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 AR=$ac_cv_prog_AR
6095 if test -n "$AR"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6097 $as_echo "$AR" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6104 test -n "$AR" && break
6105 done
6107 if test -z "$AR"; then
6108 ac_ct_AR=$AR
6109 for ac_prog in ar gar
6111 # Extract the first word of "$ac_prog", so it can be a program name with args.
6112 set dummy $ac_prog; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 if test -n "$ac_ct_AR"; then
6119 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_AR="$ac_prog"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 break 2
6132 done
6133 done
6134 IFS=$as_save_IFS
6138 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6139 if test -n "$ac_ct_AR"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6141 $as_echo "$ac_ct_AR" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6148 test -n "$ac_ct_AR" && break
6149 done
6151 if test "x$ac_ct_AR" = x; then
6152 AR="ar"
6153 else
6154 case $cross_compiling:$ac_tool_warned in
6155 yes:)
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6159 esac
6160 AR=$ac_ct_AR
6164 if test -n "$ac_tool_prefix"; then
6165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6166 set dummy ${ac_tool_prefix}strip; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_STRIP+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$STRIP"; then
6173 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 STRIP=$ac_cv_prog_STRIP
6193 if test -n "$STRIP"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6195 $as_echo "$STRIP" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6203 if test -z "$ac_cv_prog_STRIP"; then
6204 ac_ct_STRIP=$STRIP
6205 # Extract the first word of "strip", so it can be a program name with args.
6206 set dummy strip; ac_word=$2
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208 $as_echo_n "checking for $ac_word... " >&6; }
6209 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 if test -n "$ac_ct_STRIP"; then
6213 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6214 else
6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 for as_dir in $PATH
6218 IFS=$as_save_IFS
6219 test -z "$as_dir" && as_dir=.
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6222 ac_cv_prog_ac_ct_STRIP="strip"
6223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 break 2
6226 done
6227 done
6228 IFS=$as_save_IFS
6232 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6233 if test -n "$ac_ct_STRIP"; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6235 $as_echo "$ac_ct_STRIP" >&6; }
6236 else
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238 $as_echo "no" >&6; }
6241 if test "x$ac_ct_STRIP" = x; then
6242 STRIP="strip"
6243 else
6244 case $cross_compiling:$ac_tool_warned in
6245 yes:)
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6248 ac_tool_warned=yes ;;
6249 esac
6250 STRIP=$ac_ct_STRIP
6252 else
6253 STRIP="$ac_cv_prog_STRIP"
6256 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6258 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_RANLIB+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 if test -n "$RANLIB"; then
6265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6266 else
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in $PATH
6270 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276 break 2
6278 done
6279 done
6280 IFS=$as_save_IFS
6284 RANLIB=$ac_cv_prog_RANLIB
6285 if test -n "$RANLIB"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6287 $as_echo "$RANLIB" >&6; }
6288 else
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6295 if test -z "$ac_cv_prog_RANLIB"; then
6296 ac_ct_RANLIB=$RANLIB
6297 # Extract the first word of "ranlib", so it can be a program name with args.
6298 set dummy ranlib; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 if test -n "$ac_ct_RANLIB"; then
6305 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6306 else
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 for as_dir in $PATH
6310 IFS=$as_save_IFS
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_ac_ct_RANLIB="ranlib"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 break 2
6318 done
6319 done
6320 IFS=$as_save_IFS
6324 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6325 if test -n "$ac_ct_RANLIB"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6327 $as_echo "$ac_ct_RANLIB" >&6; }
6328 else
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6333 if test "x$ac_ct_RANLIB" = x; then
6334 RANLIB=":"
6335 else
6336 case $cross_compiling:$ac_tool_warned in
6337 yes:)
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6340 ac_tool_warned=yes ;;
6341 esac
6342 RANLIB=$ac_ct_RANLIB
6344 else
6345 RANLIB="$ac_cv_prog_RANLIB"
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6349 $as_echo_n "checking whether ln -s works... " >&6; }
6350 LN_S=$as_ln_s
6351 if test "$LN_S" = "ln -s"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6353 $as_echo "yes" >&6; }
6354 else
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6356 $as_echo "no, using $LN_S" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6360 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6361 if ${ac_cv_path_GREP+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 if test -z "$GREP"; then
6365 ac_path_GREP_found=false
6366 # Loop through the user's path and test for each of PROGNAME-LIST
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6370 IFS=$as_save_IFS
6371 test -z "$as_dir" && as_dir=.
6372 for ac_prog in grep ggrep; do
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6375 as_fn_executable_p "$ac_path_GREP" || continue
6376 # Check for GNU ac_path_GREP and select it if it is found.
6377 # Check for GNU $ac_path_GREP
6378 case `"$ac_path_GREP" --version 2>&1` in
6379 *GNU*)
6380 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6382 ac_count=0
6383 $as_echo_n 0123456789 >"conftest.in"
6384 while :
6386 cat "conftest.in" "conftest.in" >"conftest.tmp"
6387 mv "conftest.tmp" "conftest.in"
6388 cp "conftest.in" "conftest.nl"
6389 $as_echo 'GREP' >> "conftest.nl"
6390 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6391 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6392 as_fn_arith $ac_count + 1 && ac_count=$as_val
6393 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6394 # Best one so far, save it but keep looking for a better one
6395 ac_cv_path_GREP="$ac_path_GREP"
6396 ac_path_GREP_max=$ac_count
6398 # 10*(2^10) chars as input seems more than enough
6399 test $ac_count -gt 10 && break
6400 done
6401 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6402 esac
6404 $ac_path_GREP_found && break 3
6405 done
6406 done
6407 done
6408 IFS=$as_save_IFS
6409 if test -z "$ac_cv_path_GREP"; then
6410 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6412 else
6413 ac_cv_path_GREP=$GREP
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6418 $as_echo "$ac_cv_path_GREP" >&6; }
6419 GREP="$ac_cv_path_GREP"
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6423 $as_echo_n "checking for egrep... " >&6; }
6424 if ${ac_cv_path_EGREP+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6428 then ac_cv_path_EGREP="$GREP -E"
6429 else
6430 if test -z "$EGREP"; then
6431 ac_path_EGREP_found=false
6432 # Loop through the user's path and test for each of PROGNAME-LIST
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_prog in egrep; do
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6441 as_fn_executable_p "$ac_path_EGREP" || continue
6442 # Check for GNU ac_path_EGREP and select it if it is found.
6443 # Check for GNU $ac_path_EGREP
6444 case `"$ac_path_EGREP" --version 2>&1` in
6445 *GNU*)
6446 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6448 ac_count=0
6449 $as_echo_n 0123456789 >"conftest.in"
6450 while :
6452 cat "conftest.in" "conftest.in" >"conftest.tmp"
6453 mv "conftest.tmp" "conftest.in"
6454 cp "conftest.in" "conftest.nl"
6455 $as_echo 'EGREP' >> "conftest.nl"
6456 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6457 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6458 as_fn_arith $ac_count + 1 && ac_count=$as_val
6459 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6460 # Best one so far, save it but keep looking for a better one
6461 ac_cv_path_EGREP="$ac_path_EGREP"
6462 ac_path_EGREP_max=$ac_count
6464 # 10*(2^10) chars as input seems more than enough
6465 test $ac_count -gt 10 && break
6466 done
6467 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6468 esac
6470 $ac_path_EGREP_found && break 3
6471 done
6472 done
6473 done
6474 IFS=$as_save_IFS
6475 if test -z "$ac_cv_path_EGREP"; then
6476 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6478 else
6479 ac_cv_path_EGREP=$EGREP
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6485 $as_echo "$ac_cv_path_EGREP" >&6; }
6486 EGREP="$ac_cv_path_EGREP"
6489 # Extract the first word of "ldconfig", so it can be a program name with args.
6490 set dummy ldconfig; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_path_LDCONFIG+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 case $LDCONFIG in
6497 [\\/]* | ?:[\\/]*)
6498 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 for as_dir in /sbin /usr/sbin $PATH
6504 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 break 2
6512 done
6513 done
6514 IFS=$as_save_IFS
6516 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6518 esac
6520 LDCONFIG=$ac_cv_path_LDCONFIG
6521 if test -n "$LDCONFIG"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6523 $as_echo "$LDCONFIG" >&6; }
6524 else
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6530 for ac_prog in msgfmt
6532 # Extract the first word of "$ac_prog", so it can be a program name with args.
6533 set dummy $ac_prog; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_MSGFMT+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$MSGFMT"; then
6540 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_MSGFMT="$ac_prog"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 MSGFMT=$ac_cv_prog_MSGFMT
6560 if test -n "$MSGFMT"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6562 $as_echo "$MSGFMT" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6569 test -n "$MSGFMT" && break
6570 done
6571 test -n "$MSGFMT" || MSGFMT="false"
6573 if ${ac_tool_prefix+:} false; then :
6574 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6575 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6579 $as_echo_n "(cached) " >&6
6580 else
6581 if test -n "$PKG_CONFIG"; then
6582 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 break 2
6595 done
6596 done
6597 IFS=$as_save_IFS
6601 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6602 if test -n "$PKG_CONFIG"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6604 $as_echo "$PKG_CONFIG" >&6; }
6605 else
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6612 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6613 if test "x$cross_compiling" = xyes; then :
6615 else
6616 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6617 # Extract the first word of "pkg-config", so it can be a program name with args.
6618 set dummy pkg-config; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6622 $as_echo_n "(cached) " >&6
6623 else
6624 if test -n "$PKG_CONFIG"; then
6625 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6630 IFS=$as_save_IFS
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_PKG_CONFIG="pkg-config"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 break 2
6638 done
6639 done
6640 IFS=$as_save_IFS
6644 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6645 if test -n "$PKG_CONFIG"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6647 $as_echo "$PKG_CONFIG" >&6; }
6648 else
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6655 else
6656 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6659 if test "x$enable_maintainer_mode" != "xyes"
6660 then
6661 FONTFORGE=""
6662 RSVG=""
6663 CONVERT=""
6664 ICOTOOL=""
6665 else
6666 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6667 for ac_prog in fontforge
6669 # Extract the first word of "$ac_prog", so it can be a program name with args.
6670 set dummy $ac_prog; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_FONTFORGE+:} false; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$FONTFORGE"; then
6677 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686 ac_cv_prog_FONTFORGE="$ac_prog"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 FONTFORGE=$ac_cv_prog_FONTFORGE
6697 if test -n "$FONTFORGE"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6699 $as_echo "$FONTFORGE" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6706 test -n "$FONTFORGE" && break
6707 done
6708 test -n "$FONTFORGE" || FONTFORGE="false"
6710 for ac_prog in rsvg-convert rsvg
6712 # Extract the first word of "$ac_prog", so it can be a program name with args.
6713 set dummy $ac_prog; ac_word=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if ${ac_cv_prog_RSVG+:} false; then :
6717 $as_echo_n "(cached) " >&6
6718 else
6719 if test -n "$RSVG"; then
6720 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6721 else
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 for as_dir in $PATH
6725 IFS=$as_save_IFS
6726 test -z "$as_dir" && as_dir=.
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_RSVG="$ac_prog"
6730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 break 2
6733 done
6734 done
6735 IFS=$as_save_IFS
6739 RSVG=$ac_cv_prog_RSVG
6740 if test -n "$RSVG"; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6742 $as_echo "$RSVG" >&6; }
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6749 test -n "$RSVG" && break
6750 done
6751 test -n "$RSVG" || RSVG="false"
6753 for ac_prog in convert
6755 # Extract the first word of "$ac_prog", so it can be a program name with args.
6756 set dummy $ac_prog; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if ${ac_cv_prog_CONVERT+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 if test -n "$CONVERT"; then
6763 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_CONVERT="$ac_prog"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 break 2
6776 done
6777 done
6778 IFS=$as_save_IFS
6782 CONVERT=$ac_cv_prog_CONVERT
6783 if test -n "$CONVERT"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6785 $as_echo "$CONVERT" >&6; }
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6792 test -n "$CONVERT" && break
6793 done
6794 test -n "$CONVERT" || CONVERT="false"
6796 for ac_prog in icotool
6798 # Extract the first word of "$ac_prog", so it can be a program name with args.
6799 set dummy $ac_prog; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6802 if ${ac_cv_prog_ICOTOOL+:} false; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805 if test -n "$ICOTOOL"; then
6806 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6807 else
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 for as_dir in $PATH
6811 IFS=$as_save_IFS
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_ICOTOOL="$ac_prog"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 break 2
6819 done
6820 done
6821 IFS=$as_save_IFS
6825 ICOTOOL=$ac_cv_prog_ICOTOOL
6826 if test -n "$ICOTOOL"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6828 $as_echo "$ICOTOOL" >&6; }
6829 else
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 $as_echo "no" >&6; }
6835 test -n "$ICOTOOL" && break
6836 done
6837 test -n "$ICOTOOL" || ICOTOOL="false"
6839 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6840 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6842 if test "$CONVERT" = false
6843 then
6844 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6845 else
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6847 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6848 convert_version=`convert --version | head -n1`
6849 if test "x$convert_version" != "x"
6850 then
6851 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6852 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6853 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6854 then
6855 CONVERT=false
6858 if test "$CONVERT" = false
6859 then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6861 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6862 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6863 else
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6865 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6869 if test "$ICOTOOL" = false
6870 then
6871 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6872 else
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6874 $as_echo_n "checking for recent enough icotool... " >&6; }
6875 icotool_version=`icotool --version | head -n1`
6876 if test "x$icotool_version" != "x"
6877 then
6878 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6879 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6880 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6881 then
6882 ICOTOOL=false
6883 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6886 if test "$ICOTOOL" = false
6887 then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6889 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6890 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6891 else
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6893 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6897 with_gettext=yes
6898 with_gettextpo=yes
6900 enable_werror=yes
6903 test "x$with_gettext" != xno || MSGFMT=false
6904 if test "$MSGFMT" != "false"
6905 then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6907 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6908 if ${wine_cv_msgfmt_contexts+:} false; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 cat >conftest.po <<EOF
6912 # comment
6913 msgctxt "ctxt"
6914 msgid "id"
6915 msgstr "str"
6917 if $MSGFMT -o /dev/null conftest.po 2>&5
6918 then
6919 wine_cv_msgfmt_contexts=yes
6920 else
6921 wine_cv_msgfmt_contexts=no
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6925 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6926 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6928 if test "$MSGFMT" = false; then :
6929 case "x$with_gettext" in
6930 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6931 xno) ;;
6932 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6933 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6934 esac
6935 enable_po=${enable_po:-no}
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6940 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6941 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 ac_check_lib_save_LIBS=$LIBS
6945 LIBS="-li386 $LIBS"
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6949 /* Override any GCC internal prototype to avoid an error.
6950 Use char because int might match the return type of a GCC
6951 builtin and then its argument prototype would still apply. */
6952 #ifdef __cplusplus
6953 extern "C"
6954 #endif
6955 char i386_set_ldt ();
6957 main ()
6959 return i386_set_ldt ();
6961 return 0;
6963 _ACEOF
6964 if ac_fn_c_try_link "$LINENO"; then :
6965 ac_cv_lib_i386_i386_set_ldt=yes
6966 else
6967 ac_cv_lib_i386_i386_set_ldt=no
6969 rm -f core conftest.err conftest.$ac_objext \
6970 conftest$ac_exeext conftest.$ac_ext
6971 LIBS=$ac_check_lib_save_LIBS
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6974 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6975 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6976 I386_LIBS="-li386"
6981 OPENGL_LIBS=""
6985 # Check whether --enable-largefile was given.
6986 if test "${enable_largefile+set}" = set; then :
6987 enableval=$enable_largefile;
6990 if test "$enable_largefile" != no; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6993 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6994 if ${ac_cv_sys_largefile_CC+:} false; then :
6995 $as_echo_n "(cached) " >&6
6996 else
6997 ac_cv_sys_largefile_CC=no
6998 if test "$GCC" != yes; then
6999 ac_save_CC=$CC
7000 while :; do
7001 # IRIX 6.2 and later do not support large files by default,
7002 # so use the C compiler's -n32 option if that helps.
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 break
7025 rm -f core conftest.err conftest.$ac_objext
7026 CC="$CC -n32"
7027 if ac_fn_c_try_compile "$LINENO"; then :
7028 ac_cv_sys_largefile_CC=' -n32'; break
7030 rm -f core conftest.err conftest.$ac_objext
7031 break
7032 done
7033 CC=$ac_save_CC
7034 rm -f conftest.$ac_ext
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7038 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7039 if test "$ac_cv_sys_largefile_CC" != no; then
7040 CC=$CC$ac_cv_sys_largefile_CC
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7044 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7045 if ${ac_cv_sys_file_offset_bits+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047 else
7048 while :; do
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_file_offset_bits=no; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7074 #define _FILE_OFFSET_BITS 64
7075 #include <sys/types.h>
7076 /* Check that off_t can represent 2**63 - 1 correctly.
7077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7078 since some C++ compilers masquerading as C compilers
7079 incorrectly reject 9223372036854775807. */
7080 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7082 && LARGE_OFF_T % 2147483647 == 1)
7083 ? 1 : -1];
7085 main ()
7089 return 0;
7091 _ACEOF
7092 if ac_fn_c_try_compile "$LINENO"; then :
7093 ac_cv_sys_file_offset_bits=64; break
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7096 ac_cv_sys_file_offset_bits=unknown
7097 break
7098 done
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7101 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7102 case $ac_cv_sys_file_offset_bits in #(
7103 no | unknown) ;;
7105 cat >>confdefs.h <<_ACEOF
7106 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7107 _ACEOF
7109 esac
7110 rm -rf conftest*
7111 if test $ac_cv_sys_file_offset_bits = unknown; then
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7113 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7114 if ${ac_cv_sys_large_files+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 while :; do
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7120 #include <sys/types.h>
7121 /* Check that off_t can represent 2**63 - 1 correctly.
7122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7123 since some C++ compilers masquerading as C compilers
7124 incorrectly reject 9223372036854775807. */
7125 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7127 && LARGE_OFF_T % 2147483647 == 1)
7128 ? 1 : -1];
7130 main ()
7134 return 0;
7136 _ACEOF
7137 if ac_fn_c_try_compile "$LINENO"; then :
7138 ac_cv_sys_large_files=no; break
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #define _LARGE_FILES 1
7144 #include <sys/types.h>
7145 /* Check that off_t can represent 2**63 - 1 correctly.
7146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7147 since some C++ compilers masquerading as C compilers
7148 incorrectly reject 9223372036854775807. */
7149 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7151 && LARGE_OFF_T % 2147483647 == 1)
7152 ? 1 : -1];
7154 main ()
7158 return 0;
7160 _ACEOF
7161 if ac_fn_c_try_compile "$LINENO"; then :
7162 ac_cv_sys_large_files=1; break
7164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7165 ac_cv_sys_large_files=unknown
7166 break
7167 done
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7170 $as_echo "$ac_cv_sys_large_files" >&6; }
7171 case $ac_cv_sys_large_files in #(
7172 no | unknown) ;;
7174 cat >>confdefs.h <<_ACEOF
7175 #define _LARGE_FILES $ac_cv_sys_large_files
7176 _ACEOF
7178 esac
7179 rm -rf conftest*
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7192 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7193 # On Suns, sometimes $CPP names a directory.
7194 if test -n "$CPP" && test -d "$CPP"; then
7195 CPP=
7197 if test -z "$CPP"; then
7198 if ${ac_cv_prog_CPP+:} false; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 # Double quotes because CPP needs to be expanded
7202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7204 ac_preproc_ok=false
7205 for ac_c_preproc_warn_flag in '' yes
7207 # Use a header file that comes with gcc, so configuring glibc
7208 # with a fresh cross-compiler works.
7209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7210 # <limits.h> exists even on freestanding compilers.
7211 # On the NeXT, cc -E runs the code through the compiler's parser,
7212 # not just through cpp. "Syntax error" is here to catch this case.
7213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7214 /* end confdefs.h. */
7215 #ifdef __STDC__
7216 # include <limits.h>
7217 #else
7218 # include <assert.h>
7219 #endif
7220 Syntax error
7221 _ACEOF
7222 if ac_fn_c_try_cpp "$LINENO"; then :
7224 else
7225 # Broken: fails on valid input.
7226 continue
7228 rm -f conftest.err conftest.i conftest.$ac_ext
7230 # OK, works on sane cases. Now check whether nonexistent headers
7231 # can be detected and how.
7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7233 /* end confdefs.h. */
7234 #include <ac_nonexistent.h>
7235 _ACEOF
7236 if ac_fn_c_try_cpp "$LINENO"; then :
7237 # Broken: success on invalid input.
7238 continue
7239 else
7240 # Passes both tests.
7241 ac_preproc_ok=:
7242 break
7244 rm -f conftest.err conftest.i conftest.$ac_ext
7246 done
7247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7248 rm -f conftest.i conftest.err conftest.$ac_ext
7249 if $ac_preproc_ok; then :
7250 break
7253 done
7254 ac_cv_prog_CPP=$CPP
7257 CPP=$ac_cv_prog_CPP
7258 else
7259 ac_cv_prog_CPP=$CPP
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7262 $as_echo "$CPP" >&6; }
7263 ac_preproc_ok=false
7264 for ac_c_preproc_warn_flag in '' yes
7266 # Use a header file that comes with gcc, so configuring glibc
7267 # with a fresh cross-compiler works.
7268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7269 # <limits.h> exists even on freestanding compilers.
7270 # On the NeXT, cc -E runs the code through the compiler's parser,
7271 # not just through cpp. "Syntax error" is here to catch this case.
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #ifdef __STDC__
7275 # include <limits.h>
7276 #else
7277 # include <assert.h>
7278 #endif
7279 Syntax error
7280 _ACEOF
7281 if ac_fn_c_try_cpp "$LINENO"; then :
7283 else
7284 # Broken: fails on valid input.
7285 continue
7287 rm -f conftest.err conftest.i conftest.$ac_ext
7289 # OK, works on sane cases. Now check whether nonexistent headers
7290 # can be detected and how.
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7293 #include <ac_nonexistent.h>
7294 _ACEOF
7295 if ac_fn_c_try_cpp "$LINENO"; then :
7296 # Broken: success on invalid input.
7297 continue
7298 else
7299 # Passes both tests.
7300 ac_preproc_ok=:
7301 break
7303 rm -f conftest.err conftest.i conftest.$ac_ext
7305 done
7306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7307 rm -f conftest.i conftest.err conftest.$ac_ext
7308 if $ac_preproc_ok; then :
7310 else
7311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7313 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7314 See \`config.log' for more details" "$LINENO" 5; }
7317 ac_ext=c
7318 ac_cpp='$CPP $CPPFLAGS'
7319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7325 $as_echo_n "checking for ANSI C header files... " >&6; }
7326 if ${ac_cv_header_stdc+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7331 #include <stdlib.h>
7332 #include <stdarg.h>
7333 #include <string.h>
7334 #include <float.h>
7337 main ()
7341 return 0;
7343 _ACEOF
7344 if ac_fn_c_try_compile "$LINENO"; then :
7345 ac_cv_header_stdc=yes
7346 else
7347 ac_cv_header_stdc=no
7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 if test $ac_cv_header_stdc = yes; then
7352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354 /* end confdefs.h. */
7355 #include <string.h>
7357 _ACEOF
7358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7359 $EGREP "memchr" >/dev/null 2>&1; then :
7361 else
7362 ac_cv_header_stdc=no
7364 rm -f conftest*
7368 if test $ac_cv_header_stdc = yes; then
7369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <stdlib.h>
7374 _ACEOF
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "free" >/dev/null 2>&1; then :
7378 else
7379 ac_cv_header_stdc=no
7381 rm -f conftest*
7385 if test $ac_cv_header_stdc = yes; then
7386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7387 if test "$cross_compiling" = yes; then :
7389 else
7390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h. */
7392 #include <ctype.h>
7393 #include <stdlib.h>
7394 #if ((' ' & 0x0FF) == 0x020)
7395 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7396 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7397 #else
7398 # define ISLOWER(c) \
7399 (('a' <= (c) && (c) <= 'i') \
7400 || ('j' <= (c) && (c) <= 'r') \
7401 || ('s' <= (c) && (c) <= 'z'))
7402 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7403 #endif
7405 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7407 main ()
7409 int i;
7410 for (i = 0; i < 256; i++)
7411 if (XOR (islower (i), ISLOWER (i))
7412 || toupper (i) != TOUPPER (i))
7413 return 2;
7414 return 0;
7416 _ACEOF
7417 if ac_fn_c_try_run "$LINENO"; then :
7419 else
7420 ac_cv_header_stdc=no
7422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7423 conftest.$ac_objext conftest.beam conftest.$ac_ext
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7429 $as_echo "$ac_cv_header_stdc" >&6; }
7430 if test $ac_cv_header_stdc = yes; then
7432 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7436 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7438 inttypes.h stdint.h unistd.h
7439 do :
7440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7441 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7443 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7444 cat >>confdefs.h <<_ACEOF
7445 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7446 _ACEOF
7450 done
7453 for ac_header in \
7454 AL/al.h \
7455 ApplicationServices/ApplicationServices.h \
7456 AudioToolbox/AudioConverter.h \
7457 AudioUnit/AudioUnit.h \
7458 AudioUnit/AudioComponent.h \
7459 CL/cl.h \
7460 Carbon/Carbon.h \
7461 CommonCrypto/CommonCryptor.h \
7462 CoreAudio/CoreAudio.h \
7463 DiskArbitration/DiskArbitration.h \
7464 EGL/egl.h \
7465 IOKit/IOKitLib.h \
7466 IOKit/hid/IOHIDLib.h \
7467 OpenAL/al.h \
7468 OpenCL/opencl.h \
7469 QuickTime/ImageCompression.h \
7470 Security/Security.h \
7471 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7472 SystemConfiguration/SCNetworkConfiguration.h \
7473 alias.h \
7474 arpa/inet.h \
7475 arpa/nameser.h \
7476 asm/types.h \
7477 asm/user.h \
7478 dirent.h \
7479 dlfcn.h \
7480 elf.h \
7481 float.h \
7482 fnmatch.h \
7483 getopt.h \
7484 gettext-po.h \
7485 grp.h \
7486 gsm.h \
7487 gsm/gsm.h \
7488 ieeefp.h \
7489 inet/mib2.h \
7490 kstat.h \
7491 libproc.h \
7492 link.h \
7493 linux/cdrom.h \
7494 linux/filter.h \
7495 linux/hdreg.h \
7496 linux/hidraw.h \
7497 linux/input.h \
7498 linux/ioctl.h \
7499 linux/joystick.h \
7500 linux/major.h \
7501 linux/param.h \
7502 linux/serial.h \
7503 linux/types.h \
7504 linux/ucdrom.h \
7505 lwp.h \
7506 mach-o/loader.h \
7507 mach/mach.h \
7508 machine/cpu.h \
7509 machine/sysarch.h \
7510 mntent.h \
7511 netdb.h \
7512 netinet/in.h \
7513 netinet/in_systm.h \
7514 netinet/tcp.h \
7515 netinet/tcp_fsm.h \
7516 pcap/pcap.h \
7517 poll.h \
7518 port.h \
7519 pthread.h \
7520 pwd.h \
7521 sasl/sasl.h \
7522 sched.h \
7523 scsi/scsi.h \
7524 scsi/scsi_ioctl.h \
7525 scsi/sg.h \
7526 stdint.h \
7527 stropts.h \
7528 sys/attr.h \
7529 sys/auxv.h \
7530 sys/cdio.h \
7531 sys/epoll.h \
7532 sys/event.h \
7533 sys/filio.h \
7534 sys/ioctl.h \
7535 sys/ipc.h \
7536 sys/link.h \
7537 sys/mman.h \
7538 sys/modem.h \
7539 sys/msg.h \
7540 sys/mtio.h \
7541 sys/param.h \
7542 sys/poll.h \
7543 sys/prctl.h \
7544 sys/protosw.h \
7545 sys/ptrace.h \
7546 sys/queue.h \
7547 sys/random.h \
7548 sys/resource.h \
7549 sys/scsiio.h \
7550 sys/shm.h \
7551 sys/signal.h \
7552 sys/socket.h \
7553 sys/socketvar.h \
7554 sys/sockio.h \
7555 sys/statvfs.h \
7556 sys/strtio.h \
7557 sys/syscall.h \
7558 sys/sysinfo.h \
7559 sys/tihdr.h \
7560 sys/time.h \
7561 sys/timeout.h \
7562 sys/times.h \
7563 sys/uio.h \
7564 sys/user.h \
7565 sys/utsname.h \
7566 sys/vnode.h \
7567 sys/wait.h \
7568 syscall.h \
7569 termios.h \
7570 unistd.h \
7571 utime.h \
7572 valgrind/memcheck.h \
7573 valgrind/valgrind.h
7575 do :
7576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7577 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7578 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7579 cat >>confdefs.h <<_ACEOF
7580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7581 _ACEOF
7585 done
7587 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7588 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7590 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7595 if test $ac_cv_header_sys_mkdev_h = no; then
7596 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7597 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7599 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7606 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7607 if ${ac_cv_header_stat_broken+:} false; then :
7608 $as_echo_n "(cached) " >&6
7609 else
7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7612 #include <sys/types.h>
7613 #include <sys/stat.h>
7615 #if defined S_ISBLK && defined S_IFDIR
7616 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7617 #endif
7619 #if defined S_ISBLK && defined S_IFCHR
7620 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7621 #endif
7623 #if defined S_ISLNK && defined S_IFREG
7624 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7625 #endif
7627 #if defined S_ISSOCK && defined S_IFREG
7628 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7629 #endif
7631 _ACEOF
7632 if ac_fn_c_try_compile "$LINENO"; then :
7633 ac_cv_header_stat_broken=no
7634 else
7635 ac_cv_header_stat_broken=yes
7637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7640 $as_echo "$ac_cv_header_stat_broken" >&6; }
7641 if test $ac_cv_header_stat_broken = yes; then
7643 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7649 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7650 do :
7651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7653 #ifdef HAVE_SYS_PARAM_H
7654 # include <sys/param.h>
7655 #endif
7657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7660 _ACEOF
7664 done
7667 saved_sysctl_h_CFLAGS=$CFLAGS
7668 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7669 for ac_header in sys/sysctl.h
7670 do :
7671 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7672 #ifdef HAVE_SYS_PARAM_H
7673 # include <sys/param.h>
7674 #endif
7676 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7677 cat >>confdefs.h <<_ACEOF
7678 #define HAVE_SYS_SYSCTL_H 1
7679 _ACEOF
7683 done
7685 CFLAGS=$saved_sysctl_h_CFLAGS
7687 for ac_header in \
7688 netinet/ip.h \
7689 net/if.h \
7690 net/if_arp.h \
7691 net/if_dl.h \
7692 net/if_types.h \
7693 net/route.h \
7694 netinet/if_ether.h \
7695 netinet/if_inarp.h \
7696 netinet/in_pcb.h \
7697 netinet/ip_icmp.h \
7698 netinet/ip_var.h \
7699 netinet/udp.h \
7700 netipx/ipx.h \
7701 sys/un.h \
7703 do :
7704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7706 #ifdef HAVE_SYS_SOCKET_H
7707 # include <sys/socket.h>
7708 #endif
7709 #ifdef HAVE_SYS_SOCKETVAR_H
7710 # include <sys/socketvar.h>
7711 #endif
7712 #ifdef HAVE_NET_ROUTE_H
7713 # include <net/route.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IN_SYSTM_H
7719 # include <netinet/in_systm.h>
7720 #endif
7721 #ifdef HAVE_NET_IF_H
7722 # include <net/if.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IP_H
7725 # include <netinet/ip.h>
7726 #endif
7728 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7729 cat >>confdefs.h <<_ACEOF
7730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7731 _ACEOF
7735 done
7738 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7739 do :
7740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7741 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7742 #ifdef HAVE_ALIAS_H
7743 # include <alias.h>
7744 #endif
7745 #ifdef HAVE_SYS_SOCKET_H
7746 # include <sys/socket.h>
7747 #endif
7748 #ifdef HAVE_SYS_SOCKETVAR_H
7749 # include <sys/socketvar.h>
7750 #endif
7751 #ifdef HAVE_SYS_TIMEOUT_H
7752 # include <sys/timeout.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IN_H
7755 # include <netinet/in.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IN_SYSTM_H
7758 # include <netinet/in_systm.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IP_H
7761 # include <netinet/ip.h>
7762 #endif
7763 #ifdef HAVE_NETINET_IP_VAR_H
7764 # include <netinet/ip_var.h>
7765 #endif
7766 #ifdef HAVE_NETINET_IP_ICMP_H
7767 # include <netinet/ip_icmp.h>
7768 #endif
7769 #ifdef HAVE_NETINET_UDP_H
7770 # include <netinet/udp.h>
7771 #endif
7772 #ifdef HAVE_NETINET_TCP_H
7773 # include <netinet/tcp.h>
7774 #endif
7775 #ifdef HAVE_NETINET_TCP_TIMER_H
7776 #include <netinet/tcp_timer.h>
7777 #endif
7779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7782 _ACEOF
7786 done
7789 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7790 do :
7791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7792 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7793 #ifdef HAVE_ASM_TYPES_H
7794 # include <asm/types.h>
7795 #endif
7796 #ifdef HAVE_SYS_SOCKET_H
7797 # include <sys/socket.h>
7798 #endif
7799 #ifdef HAVE_LINUX_TYPES_H
7800 # include <linux/types.h>
7801 #endif
7803 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7804 cat >>confdefs.h <<_ACEOF
7805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7806 _ACEOF
7810 done
7813 for ac_header in resolv.h
7814 do :
7815 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7816 #ifdef HAVE_SYS_SOCKET_H
7817 # include <sys/socket.h>
7818 #endif
7819 #ifdef HAVE_NETINET_IN_H
7820 # include <netinet/in.h>
7821 #endif
7822 #ifdef HAVE_ARPA_NAMESER_H
7823 # include <arpa/nameser.h>
7824 #endif
7826 if test "x$ac_cv_header_resolv_h" = xyes; then :
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_RESOLV_H 1
7829 _ACEOF
7833 done
7836 for ac_header in ifaddrs.h
7837 do :
7838 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7840 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_IFADDRS_H 1
7843 _ACEOF
7847 done
7850 for ac_header in sys/ucontext.h
7851 do :
7852 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7854 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_SYS_UCONTEXT_H 1
7857 _ACEOF
7861 done
7864 for ac_header in sys/thr.h
7865 do :
7866 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7867 #ifdef HAVE_SYS_UCONTEXT_H
7868 #include <sys/ucontext.h>
7869 #endif
7871 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7872 cat >>confdefs.h <<_ACEOF
7873 #define HAVE_SYS_THR_H 1
7874 _ACEOF
7878 done
7881 for ac_header in pthread_np.h
7882 do :
7883 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7884 #include <pthread.h>
7885 #endif
7887 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_PTHREAD_NP_H 1
7890 _ACEOF
7894 done
7897 for ac_header in linux/videodev2.h
7898 do :
7899 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7900 #include <sys/time.h>
7901 #endif
7902 #include <sys/types.h>
7903 #ifdef HAVE_ASM_TYPES_H
7904 #include <asm/types.h>
7905 #endif
7907 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7908 cat >>confdefs.h <<_ACEOF
7909 #define HAVE_LINUX_VIDEODEV2_H 1
7910 _ACEOF
7914 done
7917 for ac_header in libprocstat.h
7918 do :
7919 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7920 #include <sys/param.h>
7921 #endif
7922 #ifdef HAVE_SYS_QUEUE_H
7923 #include <sys/queue.h>
7924 #endif
7925 #ifdef HAVE_SYS_SOCKET_H
7926 #include <sys/socket.h>
7927 #endif
7929 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7930 cat >>confdefs.h <<_ACEOF
7931 #define HAVE_LIBPROCSTAT_H 1
7932 _ACEOF
7936 done
7940 DLLFLAGS="-D_REENTRANT"
7942 LDDLLFLAGS=""
7944 LDEXECFLAGS=""
7946 TOP_INSTALL_LIB=""
7948 TOP_INSTALL_DEV=""
7950 WINELOADER_LDFLAGS=""
7952 WINEPRELOADER_LDFLAGS=""
7954 LIBEXT="so"
7955 DLLEXT=".so"
7956 # Extract the first word of "ldd", so it can be a program name with args.
7957 set dummy ldd; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_path_LDD+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 case $LDD in
7964 [\\/]* | ?:[\\/]*)
7965 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 as_dummy="/sbin:/usr/sbin:$PATH"
7970 for as_dir in $as_dummy
7972 IFS=$as_save_IFS
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 break 2
7980 done
7981 done
7982 IFS=$as_save_IFS
7984 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7986 esac
7988 LDD=$ac_cv_path_LDD
7989 if test -n "$LDD"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7991 $as_echo "$LDD" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7998 if test -n "$ac_tool_prefix"; then
7999 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8000 set dummy ${ac_tool_prefix}otool; ac_word=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if ${ac_cv_prog_OTOOL+:} false; then :
8004 $as_echo_n "(cached) " >&6
8005 else
8006 if test -n "$OTOOL"; then
8007 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8008 else
8009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8010 for as_dir in $PATH
8012 IFS=$as_save_IFS
8013 test -z "$as_dir" && as_dir=.
8014 for ac_exec_ext in '' $ac_executable_extensions; do
8015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 break 2
8020 done
8021 done
8022 IFS=$as_save_IFS
8026 OTOOL=$ac_cv_prog_OTOOL
8027 if test -n "$OTOOL"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8029 $as_echo "$OTOOL" >&6; }
8030 else
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8037 if test -z "$ac_cv_prog_OTOOL"; then
8038 ac_ct_OTOOL=$OTOOL
8039 # Extract the first word of "otool", so it can be a program name with args.
8040 set dummy otool; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 if test -n "$ac_ct_OTOOL"; then
8047 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8048 else
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 for as_dir in $PATH
8052 IFS=$as_save_IFS
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_ac_ct_OTOOL="otool"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 break 2
8060 done
8061 done
8062 IFS=$as_save_IFS
8066 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8067 if test -n "$ac_ct_OTOOL"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8069 $as_echo "$ac_ct_OTOOL" >&6; }
8070 else
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 $as_echo "no" >&6; }
8075 if test "x$ac_ct_OTOOL" = x; then
8076 OTOOL="otool"
8077 else
8078 case $cross_compiling:$ac_tool_warned in
8079 yes:)
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8082 ac_tool_warned=yes ;;
8083 esac
8084 OTOOL=$ac_ct_OTOOL
8086 else
8087 OTOOL="$ac_cv_prog_OTOOL"
8090 if test -n "$ac_tool_prefix"; then
8091 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8092 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8094 $as_echo_n "checking for $ac_word... " >&6; }
8095 if ${ac_cv_prog_READELF+:} false; then :
8096 $as_echo_n "(cached) " >&6
8097 else
8098 if test -n "$READELF"; then
8099 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8100 else
8101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102 for as_dir in $PATH
8104 IFS=$as_save_IFS
8105 test -z "$as_dir" && as_dir=.
8106 for ac_exec_ext in '' $ac_executable_extensions; do
8107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8108 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8110 break 2
8112 done
8113 done
8114 IFS=$as_save_IFS
8118 READELF=$ac_cv_prog_READELF
8119 if test -n "$READELF"; then
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8121 $as_echo "$READELF" >&6; }
8122 else
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8124 $as_echo "no" >&6; }
8129 if test -z "$ac_cv_prog_READELF"; then
8130 ac_ct_READELF=$READELF
8131 # Extract the first word of "readelf", so it can be a program name with args.
8132 set dummy readelf; ac_word=$2
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8134 $as_echo_n "checking for $ac_word... " >&6; }
8135 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 if test -n "$ac_ct_READELF"; then
8139 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8140 else
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8142 for as_dir in $PATH
8144 IFS=$as_save_IFS
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8148 ac_cv_prog_ac_ct_READELF="readelf"
8149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 break 2
8152 done
8153 done
8154 IFS=$as_save_IFS
8158 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8159 if test -n "$ac_ct_READELF"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8161 $as_echo "$ac_ct_READELF" >&6; }
8162 else
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8167 if test "x$ac_ct_READELF" = x; then
8168 READELF="true"
8169 else
8170 case $cross_compiling:$ac_tool_warned in
8171 yes:)
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8174 ac_tool_warned=yes ;;
8175 esac
8176 READELF=$ac_ct_READELF
8178 else
8179 READELF="$ac_cv_prog_READELF"
8182 wine_rules_file=conf$$rules.make
8183 rm -f $wine_rules_file
8184 SUBDIRS=""
8186 DISABLED_SUBDIRS=""
8188 CONFIGURE_TARGETS=""
8191 wine_fn_append_file ()
8193 as_fn_append $1 " \\$as_nl $2"
8196 wine_fn_append_rule ()
8198 $as_echo "$1" >>$wine_rules_file
8201 wine_fn_config_makefile ()
8203 wine_fn_append_file SUBDIRS $1
8204 if eval test \"x\$"$2"\" = x"no"; then :
8205 wine_fn_append_file DISABLED_SUBDIRS $1
8209 wine_fn_config_symlink ()
8211 ac_links=$@
8212 wine_fn_append_rule \
8213 "$ac_links:
8214 @./config.status \$@"
8215 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8218 wine_binary="wine"
8219 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8220 WINELOADER_PROGRAMS="$wine_binary"
8222 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8224 case $host_os in
8225 cygwin*|mingw32*)
8226 if test -n "$ac_tool_prefix"; then
8227 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8228 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230 $as_echo_n "checking for $ac_word... " >&6; }
8231 if ${ac_cv_prog_DLLTOOL+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 if test -n "$DLLTOOL"; then
8235 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8236 else
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 for as_dir in $PATH
8240 IFS=$as_save_IFS
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8244 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 break 2
8248 done
8249 done
8250 IFS=$as_save_IFS
8254 DLLTOOL=$ac_cv_prog_DLLTOOL
8255 if test -n "$DLLTOOL"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8257 $as_echo "$DLLTOOL" >&6; }
8258 else
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8265 if test -z "$ac_cv_prog_DLLTOOL"; then
8266 ac_ct_DLLTOOL=$DLLTOOL
8267 # Extract the first word of "dlltool", so it can be a program name with args.
8268 set dummy dlltool; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270 $as_echo_n "checking for $ac_word... " >&6; }
8271 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 if test -n "$ac_ct_DLLTOOL"; then
8275 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8276 else
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 for as_dir in $PATH
8280 IFS=$as_save_IFS
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 break 2
8288 done
8289 done
8290 IFS=$as_save_IFS
8294 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8295 if test -n "$ac_ct_DLLTOOL"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8297 $as_echo "$ac_ct_DLLTOOL" >&6; }
8298 else
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300 $as_echo "no" >&6; }
8303 if test "x$ac_ct_DLLTOOL" = x; then
8304 DLLTOOL="false"
8305 else
8306 case $cross_compiling:$ac_tool_warned in
8307 yes:)
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8310 ac_tool_warned=yes ;;
8311 esac
8312 DLLTOOL=$ac_ct_DLLTOOL
8314 else
8315 DLLTOOL="$ac_cv_prog_DLLTOOL"
8318 LIBEXT="dll"
8319 DLLEXT=""
8320 case $host_cpu in
8321 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8322 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8323 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_wine_try_cflags_saved=$CFLAGS
8327 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8330 int main(int argc, char **argv) { return 0; }
8331 _ACEOF
8332 if ac_fn_c_try_link "$LINENO"; then :
8333 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8334 else
8335 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8337 rm -f core conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 CFLAGS=$ac_wine_try_cflags_saved
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8342 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8343 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8344 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8345 fi ;;
8346 esac
8347 enable_iphlpapi=${enable_iphlpapi:-no}
8348 enable_ws2_32=${enable_ws2_32:-no}
8349 enable_loader=${enable_loader:-no}
8350 enable_server=${enable_server:-no}
8351 with_x=${with_x:-no}
8352 with_pthread=${with_pthread:-no}
8355 darwin*|macosx*)
8356 ac_ext=m
8357 ac_cpp='$OBJCPP $CPPFLAGS'
8358 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8359 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8360 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8362 ac_ext=m
8363 ac_cpp='$OBJCPP $CPPFLAGS'
8364 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8365 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8366 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8367 if test -n "$ac_tool_prefix"; then
8368 for ac_prog in gcc objcc objc cc CC
8370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 $as_echo_n "checking for $ac_word... " >&6; }
8374 if ${ac_cv_prog_OBJC+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 if test -n "$OBJC"; then
8378 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8379 else
8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8381 for as_dir in $PATH
8383 IFS=$as_save_IFS
8384 test -z "$as_dir" && as_dir=.
8385 for ac_exec_ext in '' $ac_executable_extensions; do
8386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8387 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 break 2
8391 done
8392 done
8393 IFS=$as_save_IFS
8397 OBJC=$ac_cv_prog_OBJC
8398 if test -n "$OBJC"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8400 $as_echo "$OBJC" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8407 test -n "$OBJC" && break
8408 done
8410 if test -z "$OBJC"; then
8411 ac_ct_OBJC=$OBJC
8412 for ac_prog in gcc objcc objc cc CC
8414 # Extract the first word of "$ac_prog", so it can be a program name with args.
8415 set dummy $ac_prog; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 if test -n "$ac_ct_OBJC"; then
8422 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8423 else
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH
8427 IFS=$as_save_IFS
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 break 2
8435 done
8436 done
8437 IFS=$as_save_IFS
8441 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8442 if test -n "$ac_ct_OBJC"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8444 $as_echo "$ac_ct_OBJC" >&6; }
8445 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8451 test -n "$ac_ct_OBJC" && break
8452 done
8454 if test "x$ac_ct_OBJC" = x; then
8455 OBJC="gcc"
8456 else
8457 case $cross_compiling:$ac_tool_warned in
8458 yes:)
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8461 ac_tool_warned=yes ;;
8462 esac
8463 OBJC=$ac_ct_OBJC
8467 # Provide some information about the compiler.
8468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8469 set X $ac_compile
8470 ac_compiler=$2
8471 for ac_option in --version -v -V -qversion; do
8472 { { ac_try="$ac_compiler $ac_option >&5"
8473 case "(($ac_try" in
8474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8475 *) ac_try_echo=$ac_try;;
8476 esac
8477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8478 $as_echo "$ac_try_echo"; } >&5
8479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8480 ac_status=$?
8481 if test -s conftest.err; then
8482 sed '10a\
8483 ... rest of stderr output deleted ...
8484 10q' conftest.err >conftest.er1
8485 cat conftest.er1 >&5
8487 rm -f conftest.er1 conftest.err
8488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8489 test $ac_status = 0; }
8490 done
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8493 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8494 if ${ac_cv_objc_compiler_gnu+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8501 main ()
8503 #ifndef __GNUC__
8504 choke me
8505 #endif
8508 return 0;
8510 _ACEOF
8511 if ac_fn_objc_try_compile "$LINENO"; then :
8512 ac_compiler_gnu=yes
8513 else
8514 ac_compiler_gnu=no
8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8517 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8521 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8522 if test $ac_compiler_gnu = yes; then
8523 GOBJC=yes
8524 else
8525 GOBJC=
8527 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8528 ac_save_OBJCFLAGS=$OBJCFLAGS
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8530 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8531 if ${ac_cv_prog_objc_g+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_save_objc_werror_flag=$ac_objc_werror_flag
8535 ac_objc_werror_flag=yes
8536 ac_cv_prog_objc_g=no
8537 OBJCFLAGS="-g"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8542 main ()
8546 return 0;
8548 _ACEOF
8549 if ac_fn_objc_try_compile "$LINENO"; then :
8550 ac_cv_prog_objc_g=yes
8551 else
8552 OBJCFLAGS=""
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8557 main ()
8561 return 0;
8563 _ACEOF
8564 if ac_fn_objc_try_compile "$LINENO"; then :
8566 else
8567 ac_objc_werror_flag=$ac_save_objc_werror_flag
8568 OBJCFLAGS="-g"
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8573 main ()
8577 return 0;
8579 _ACEOF
8580 if ac_fn_objc_try_compile "$LINENO"; then :
8581 ac_cv_prog_objc_g=yes
8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8588 ac_objc_werror_flag=$ac_save_objc_werror_flag
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8591 $as_echo "$ac_cv_prog_objc_g" >&6; }
8592 if test "$ac_test_OBJCFLAGS" = set; then
8593 OBJCFLAGS=$ac_save_OBJCFLAGS
8594 elif test $ac_cv_prog_objc_g = yes; then
8595 if test "$GOBJC" = yes; then
8596 OBJCFLAGS="-g -O2"
8597 else
8598 OBJCFLAGS="-g"
8600 else
8601 if test "$GOBJC" = yes; then
8602 OBJCFLAGS="-O2"
8603 else
8604 OBJCFLAGS=
8607 ac_ext=m
8608 ac_cpp='$OBJCPP $CPPFLAGS'
8609 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8610 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8611 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8614 ac_ext=m
8615 ac_cpp='$OBJCPP $CPPFLAGS'
8616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8620 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8621 if test -z "$OBJCPP"; then
8622 if ${ac_cv_prog_OBJCPP+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 # Double quotes because OBJCPP needs to be expanded
8626 for OBJCPP in "$OBJC -E" "/lib/cpp"
8628 ac_preproc_ok=false
8629 for ac_objc_preproc_warn_flag in '' yes
8631 # Use a header file that comes with gcc, so configuring glibc
8632 # with a fresh cross-compiler works.
8633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8634 # <limits.h> exists even on freestanding compilers.
8635 # On the NeXT, cc -E runs the code through the compiler's parser,
8636 # not just through cpp. "Syntax error" is here to catch this case.
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 #ifdef __STDC__
8640 # include <limits.h>
8641 #else
8642 # include <assert.h>
8643 #endif
8644 Syntax error
8645 _ACEOF
8646 if ac_fn_objc_try_cpp "$LINENO"; then :
8648 else
8649 # Broken: fails on valid input.
8650 continue
8652 rm -f conftest.err conftest.i conftest.$ac_ext
8654 # OK, works on sane cases. Now check whether nonexistent headers
8655 # can be detected and how.
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 #include <ac_nonexistent.h>
8659 _ACEOF
8660 if ac_fn_objc_try_cpp "$LINENO"; then :
8661 # Broken: success on invalid input.
8662 continue
8663 else
8664 # Passes both tests.
8665 ac_preproc_ok=:
8666 break
8668 rm -f conftest.err conftest.i conftest.$ac_ext
8670 done
8671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8672 rm -f conftest.i conftest.err conftest.$ac_ext
8673 if $ac_preproc_ok; then :
8674 break
8677 done
8678 ac_cv_prog_OBJCPP=$OBJCPP
8681 OBJCPP=$ac_cv_prog_OBJCPP
8682 else
8683 ac_cv_prog_OBJCPP=$OBJCPP
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8686 $as_echo "$OBJCPP" >&6; }
8687 ac_preproc_ok=false
8688 for ac_objc_preproc_warn_flag in '' yes
8690 # Use a header file that comes with gcc, so configuring glibc
8691 # with a fresh cross-compiler works.
8692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8693 # <limits.h> exists even on freestanding compilers.
8694 # On the NeXT, cc -E runs the code through the compiler's parser,
8695 # not just through cpp. "Syntax error" is here to catch this case.
8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8698 #ifdef __STDC__
8699 # include <limits.h>
8700 #else
8701 # include <assert.h>
8702 #endif
8703 Syntax error
8704 _ACEOF
8705 if ac_fn_objc_try_cpp "$LINENO"; then :
8707 else
8708 # Broken: fails on valid input.
8709 continue
8711 rm -f conftest.err conftest.i conftest.$ac_ext
8713 # OK, works on sane cases. Now check whether nonexistent headers
8714 # can be detected and how.
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 #include <ac_nonexistent.h>
8718 _ACEOF
8719 if ac_fn_objc_try_cpp "$LINENO"; then :
8720 # Broken: success on invalid input.
8721 continue
8722 else
8723 # Passes both tests.
8724 ac_preproc_ok=:
8725 break
8727 rm -f conftest.err conftest.i conftest.$ac_ext
8729 done
8730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8731 rm -f conftest.i conftest.err conftest.$ac_ext
8732 if $ac_preproc_ok; then :
8734 else
8735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8737 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8738 See \`config.log' for more details" "$LINENO" 5; }
8741 ac_ext=m
8742 ac_cpp='$OBJCPP $CPPFLAGS'
8743 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8744 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8745 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8748 for ac_header in Metal/Metal.h
8749 do :
8750 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8751 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8752 cat >>confdefs.h <<_ACEOF
8753 #define HAVE_METAL_METAL_H 1
8754 _ACEOF
8758 done
8760 ac_ext=c
8761 ac_cpp='$CPP $CPPFLAGS'
8762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8766 LIBEXT="dylib"
8767 DLLFLAGS="$DLLFLAGS -fPIC"
8768 LDDLLFLAGS="-fPIC"
8769 COREFOUNDATION_LIBS="-framework CoreFoundation"
8771 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8773 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8775 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8777 CORESERVICES_LIBS="-framework CoreServices"
8779 APPKIT_LIBS="-framework AppKit"
8781 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8784 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8786 wine_can_build_preloader=yes
8787 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"
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8789 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8790 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__Wl__no_new_main__e__main=yes
8801 else
8802 ac_cv_cflags__Wl__no_new_main__e__main=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8809 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8810 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8811 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8813 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8814 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8825 else
8826 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8833 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8834 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8835 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8836 else
8837 { $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
8838 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8839 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 int main(int argc, char **argv) { return 0; }
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8850 else
8851 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 { $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
8858 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8859 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8860 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8861 else
8862 wine_can_build_preloader=no
8865 else
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8867 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8868 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8879 else
8880 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8887 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8888 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8889 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8892 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8893 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 int main(int argc, char **argv) { return 0; }
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8904 else
8905 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 CFLAGS=$ac_wine_try_cflags_saved
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8912 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8913 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8914 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8915 else
8916 wine_can_build_preloader=no
8920 if test "$wine_can_build_preloader" = "yes"
8921 then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8923 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8924 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 ac_wine_try_cflags_saved=$CFLAGS
8928 CFLAGS="$CFLAGS -Wl,-no_pie"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8931 int main(int argc, char **argv) { return 0; }
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8934 ac_cv_cflags__Wl__no_pie=yes
8935 else
8936 ac_cv_cflags__Wl__no_pie=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 CFLAGS=$ac_wine_try_cflags_saved
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8943 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8944 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8945 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8947 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8948 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8949 else
8950 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8953 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8954 then
8955 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8958 if test "$ac_cv_header_Security_Security_h" = "yes"
8959 then
8960 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8962 ac_save_LIBS="$LIBS"
8963 LIBS="$LIBS $SECURITY_LIBS"
8964 for ac_func in SSLCopyPeerCertificates
8965 do :
8966 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8967 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8968 cat >>confdefs.h <<_ACEOF
8969 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8970 _ACEOF
8973 done
8975 LIBS="$ac_save_LIBS"
8977 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8978 then
8979 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8980 then
8981 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8983 else
8984 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8987 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8988 ac_save_LIBS="$LIBS"
8989 LIBS="$LIBS $COREAUDIO_LIBS"
8990 for ac_func in AUGraphAddNode
8991 do :
8992 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8993 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8994 cat >>confdefs.h <<_ACEOF
8995 #define HAVE_AUGRAPHADDNODE 1
8996 _ACEOF
8999 done
9001 LIBS="$ac_save_LIBS"
9003 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9004 then
9005 OPENAL_LIBS="-framework OpenAL"
9008 cat >>confdefs.h <<_ACEOF
9009 #define HAVE_OPENAL 1
9010 _ACEOF
9012 ac_cv_lib_openal=yes
9014 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9015 then
9016 OPENCL_LIBS="-framework OpenCL"
9018 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9020 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9021 then
9022 ac_save_LIBS="$LIBS"
9023 LIBS="$LIBS $IOKIT_LIBS"
9024 for ac_func in IOHIDManagerCreate
9025 do :
9026 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9027 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9028 cat >>confdefs.h <<_ACEOF
9029 #define HAVE_IOHIDMANAGERCREATE 1
9030 _ACEOF
9033 done
9035 LIBS="$ac_save_LIBS"
9038 if test "x$with_quicktime" != "xno"
9039 then
9040 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9041 then
9042 ac_save_LIBS="$LIBS"
9043 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9045 $as_echo_n "checking for the QuickTime framework... " >&6; }
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9048 #include <QuickTime/ImageCompression.h>
9050 main ()
9052 CodecManagerVersion(NULL);
9054 return 0;
9056 _ACEOF
9057 if ac_fn_c_try_link "$LINENO"; then :
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9059 $as_echo "yes" >&6; }
9060 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9062 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9063 else
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9065 $as_echo "no" >&6; }
9066 ac_cv_header_QuickTime_ImageCompression_h=no
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 LIBS="$ac_save_LIBS"
9073 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9074 case "x$with_quicktime" in
9075 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9076 xno) ;;
9077 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9078 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9079 esac
9083 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9084 then
9085 CARBON_LIBS="-framework Carbon"
9088 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9089 then
9090 METAL_LIBS="-framework Metal -framework QuartzCore"
9094 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9095 then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9097 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9098 ac_ext=m
9099 ac_cpp='$OBJCPP $CPPFLAGS'
9100 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9101 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9102 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #include <Metal/Metal.h>
9108 main ()
9110 id<MTLDevice> device; device.registryID;
9112 return 0;
9114 _ACEOF
9115 if ac_fn_objc_try_compile "$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9117 $as_echo "yes" >&6; }
9119 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9121 else
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9123 $as_echo "no" >&6; }
9125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9126 ac_ext=c
9127 ac_cpp='$CPP $CPPFLAGS'
9128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9134 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9135 then
9136 ac_save_LIBS="$LIBS"
9137 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9138 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9139 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9140 enable_winemac_drv=${enable_winemac_drv:-yes}
9143 LIBS="$ac_save_LIBS"
9146 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9148 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9150 WINELOADER_DEPENDS="wine_info.plist"
9152 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9155 linux-android*)
9156 DLLFLAGS="$DLLFLAGS -fPIC"
9157 LDDLLFLAGS="-fPIC"
9158 LDEXECFLAGS="-Wl,-pie"
9159 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9161 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9162 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9163 $as_echo_n "(cached) " >&6
9164 else
9165 ac_wine_try_cflags_saved=$CFLAGS
9166 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9169 int main(int argc, char **argv) { return 0; }
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9173 else
9174 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9176 rm -f core conftest.err conftest.$ac_objext \
9177 conftest$ac_exeext conftest.$ac_ext
9178 CFLAGS=$ac_wine_try_cflags_saved
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9181 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9182 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9183 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9185 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9188 $as_echo_n "checking for -lEGL... " >&6; }
9189 if ${ac_cv_lib_soname_EGL+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 ac_check_soname_save_LIBS=$LIBS
9193 LIBS="-lEGL $LIBS"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char eglGetProcAddress ();
9205 main ()
9207 return eglGetProcAddress ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 case "$LIBEXT" in
9214 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9215 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'` ;;
9216 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9217 if ${ac_cv_lib_soname_EGL:+false} :; then :
9218 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9219 fi ;;
9220 esac
9221 else
9222 ac_cv_lib_soname_EGL=
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 LIBS=$ac_check_soname_save_LIBS
9228 if ${ac_cv_lib_soname_EGL:+false} :; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9230 $as_echo "not found" >&6; }
9232 else
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9234 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9236 cat >>confdefs.h <<_ACEOF
9237 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9238 _ACEOF
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9243 $as_echo_n "checking for -lGLESv2... " >&6; }
9244 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9245 $as_echo_n "(cached) " >&6
9246 else
9247 ac_check_soname_save_LIBS=$LIBS
9248 LIBS="-lGLESv2 $LIBS"
9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9255 #ifdef __cplusplus
9256 extern "C"
9257 #endif
9258 char glFlush ();
9260 main ()
9262 return glFlush ();
9264 return 0;
9266 _ACEOF
9267 if ac_fn_c_try_link "$LINENO"; then :
9268 case "$LIBEXT" in
9269 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9270 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'` ;;
9271 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9272 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9273 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9274 fi ;;
9275 esac
9276 else
9277 ac_cv_lib_soname_GLESv2=
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 LIBS=$ac_check_soname_save_LIBS
9283 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9285 $as_echo "not found" >&6; }
9287 else
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9289 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9291 cat >>confdefs.h <<_ACEOF
9292 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9293 _ACEOF
9298 if test "x$exec_prefix" = xNONE
9299 then
9300 case $host_cpu in
9301 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9302 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9303 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9304 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9305 esac
9310 case $host_cpu in
9311 *i[3456789]86*)
9312 DLLFLAGS="$DLLFLAGS -fno-PIC"
9313 LDDLLFLAGS="-fno-PIC"
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9315 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9316 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 ac_wine_try_cflags_saved=$CFLAGS
9320 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9323 int main(int argc, char **argv) { return 0; }
9324 _ACEOF
9325 if ac_fn_c_try_link "$LINENO"; then :
9326 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9327 else
9328 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9330 rm -f core conftest.err conftest.$ac_objext \
9331 conftest$ac_exeext conftest.$ac_ext
9332 CFLAGS=$ac_wine_try_cflags_saved
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9335 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9336 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9337 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9341 DLLFLAGS="$DLLFLAGS -fPIC"
9342 LDDLLFLAGS="-fPIC" ;;
9343 esac
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9345 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9346 if ${ac_cv_c_dll_gnuelf+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_wine_try_cflags_saved=$CFLAGS
9350 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9353 void myfunc() {}
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9357 else
9358 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 CFLAGS=$ac_wine_try_cflags_saved
9363 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9364 ac_cv_c_dll_gnuelf="yes"
9365 else
9366 ac_cv_c_dll_gnuelf="no"
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9370 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9371 if test "$ac_cv_c_dll_gnuelf" = "yes"
9372 then
9373 LIBWINE_LDFLAGS="-shared"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9375 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9376 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9387 else
9388 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9395 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9396 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9397 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9398 else
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9400 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9401 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_wine_try_cflags_saved=$CFLAGS
9405 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9408 int main(int argc, char **argv) { return 0; }
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9412 else
9413 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 CFLAGS=$ac_wine_try_cflags_saved
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9420 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9421 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9422 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9426 echo '{ global: *; };' >conftest.map
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9428 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9429 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9430 $as_echo_n "(cached) " >&6
9431 else
9432 ac_wine_try_cflags_saved=$CFLAGS
9433 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9436 int main(int argc, char **argv) { return 0; }
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9440 else
9441 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 CFLAGS=$ac_wine_try_cflags_saved
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9448 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9449 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9450 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9452 rm -f conftest.map
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9455 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9456 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_wine_try_cflags_saved=$CFLAGS
9460 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9463 int main(int argc, char **argv) { return 0; }
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"; then :
9466 ac_cv_cflags__Wl___export_dynamic=yes
9467 else
9468 ac_cv_cflags__Wl___export_dynamic=no
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 CFLAGS=$ac_wine_try_cflags_saved
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9475 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9476 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9477 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9479 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9481 case $host_cpu in
9482 *i[3456789]86* | x86_64 | *aarch64*)
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9484 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9485 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9496 else
9497 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 CFLAGS=$ac_wine_try_cflags_saved
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9504 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9505 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9506 case $host_os in
9507 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9508 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9509 esac
9510 else
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9512 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9513 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_wine_try_cflags_saved=$CFLAGS
9517 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9520 int main(int argc, char **argv) { return 0; }
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9524 else
9525 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 CFLAGS=$ac_wine_try_cflags_saved
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9532 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9533 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9534 case $host_os in
9535 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9536 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9537 esac
9539 # Extract the first word of "prelink", so it can be a program name with args.
9540 set dummy prelink; ac_word=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542 $as_echo_n "checking for $ac_word... " >&6; }
9543 if ${ac_cv_path_PRELINK+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 case $PRELINK in
9547 [\\/]* | ?:[\\/]*)
9548 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9552 for as_dir in /sbin /usr/sbin $PATH
9554 IFS=$as_save_IFS
9555 test -z "$as_dir" && as_dir=.
9556 for ac_exec_ext in '' $ac_executable_extensions; do
9557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9558 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9560 break 2
9562 done
9563 done
9564 IFS=$as_save_IFS
9566 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9568 esac
9570 PRELINK=$ac_cv_path_PRELINK
9571 if test -n "$PRELINK"; then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9573 $as_echo "$PRELINK" >&6; }
9574 else
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9576 $as_echo "no" >&6; }
9580 if test "x$PRELINK" = xfalse
9581 then
9582 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9586 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9587 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_wine_try_cflags_saved=$CFLAGS
9591 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594 int main(int argc, char **argv) { return 0; }
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9598 else
9599 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 CFLAGS=$ac_wine_try_cflags_saved
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9606 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9607 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9608 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9611 esac
9613 else
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9615 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9616 if ${ac_cv_c_dll_unixware+:} false; then :
9617 $as_echo_n "(cached) " >&6
9618 else
9619 ac_wine_try_cflags_saved=$CFLAGS
9620 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9623 void myfunc() {}
9624 _ACEOF
9625 if ac_fn_c_try_link "$LINENO"; then :
9626 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9627 else
9628 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9630 rm -f core conftest.err conftest.$ac_objext \
9631 conftest$ac_exeext conftest.$ac_ext
9632 CFLAGS=$ac_wine_try_cflags_saved
9633 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9634 ac_cv_c_dll_unixware="yes"
9635 else
9636 ac_cv_c_dll_unixware="no"
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9640 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9641 if test "$ac_cv_c_dll_unixware" = "yes"
9642 then
9643 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9646 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9648 LIBWINE_DEPENDS="wine.map"
9650 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9652 esac
9654 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9655 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9656 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9657 enable_winemac_drv=${enable_winemac_drv:-no}
9658 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9661 if test "x$with_mingw" != xno
9662 then
9663 case "x$with_mingw" in
9664 x|xyes) case "$host_cpu" in
9665 aarch64*)
9666 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9667 arm*)
9668 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9669 i[3456789]86*)
9670 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
9671 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9672 mingw32-gcc clang" ;;
9673 x86_64)
9674 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
9675 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9677 ac_prefix_list="" ;;
9678 esac
9679 for ac_prog in $ac_prefix_list
9681 # Extract the first word of "$ac_prog", so it can be a program name with args.
9682 set dummy $ac_prog; ac_word=$2
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684 $as_echo_n "checking for $ac_word... " >&6; }
9685 if ${ac_cv_prog_CROSSCC+:} false; then :
9686 $as_echo_n "(cached) " >&6
9687 else
9688 if test -n "$CROSSCC"; then
9689 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9690 else
9691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 for as_dir in $PATH
9694 IFS=$as_save_IFS
9695 test -z "$as_dir" && as_dir=.
9696 for ac_exec_ext in '' $ac_executable_extensions; do
9697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9698 ac_cv_prog_CROSSCC="$ac_prog"
9699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9700 break 2
9702 done
9703 done
9704 IFS=$as_save_IFS
9708 CROSSCC=$ac_cv_prog_CROSSCC
9709 if test -n "$CROSSCC"; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9711 $as_echo "$CROSSCC" >&6; }
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9714 $as_echo "no" >&6; }
9718 test -n "$CROSSCC" && break
9719 done
9720 test -n "$CROSSCC" || CROSSCC="false"
9722 *) CROSSCC=$with_mingw ;;
9723 esac
9724 if test "$CROSSCC" != "false"
9725 then
9726 ac_save_CC="$CC"
9727 saved_CFLAGS=$CFLAGS
9728 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9730 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9734 CC="$CROSSCC"
9735 CFLAGS=$CROSSCFLAGS
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9737 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9738 if ${wine_cv_crosscc+:} false; then :
9739 $as_echo_n "(cached) " >&6
9740 else
9741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9745 main ()
9749 return 0;
9751 _ACEOF
9752 if ac_fn_c_try_compile "$LINENO"; then :
9753 wine_cv_crosscc=yes
9754 else
9755 wine_cv_crosscc=no
9757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9760 $as_echo "$wine_cv_crosscc" >&6; }
9761 if test $wine_cv_crosscc = yes
9762 then
9763 set x $CROSSCC
9764 shift
9765 while test $# -ge 1
9767 case "$1" in
9768 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9769 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9770 esac
9771 shift
9772 done
9774 llvm_target=$CROSSTARGET
9775 llvm_cflags="-fuse-ld=lld"
9776 if test -z "$llvm_target"
9777 then
9778 case $host_cpu in
9779 *i[3456789]86*) llvm_target=i686-windows ;;
9780 *) llvm_target=$host_cpu-windows ;;
9781 esac
9783 case $llvm_target in
9784 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9785 esac
9786 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9788 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9789 if eval \${$as_ac_var+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 ac_wine_try_cflags_saved=$CFLAGS
9793 ac_wine_try_cflags_saved_cc=$CC
9794 ac_wine_try_cflags_saved_exeext=$ac_exeext
9795 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9796 CC="$CROSSCC"
9797 ac_exeext=".exe"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9800 int __cdecl mainCRTStartup(void) { return 0; }
9801 _ACEOF
9802 if ac_fn_c_try_link "$LINENO"; then :
9803 eval "$as_ac_var=yes"
9804 else
9805 eval "$as_ac_var=no"
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 CFLAGS=$ac_wine_try_cflags_saved
9810 CC=$ac_wine_try_cflags_saved_cc
9811 ac_exeext=$ac_wine_try_cflags_saved_exeext
9813 eval ac_res=\$$as_ac_var
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9815 $as_echo "$ac_res" >&6; }
9816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9817 CROSSTARGET=$llvm_target
9818 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9819 DELAYLOADFLAG="-Wl,-delayload,"
9821 CFLAGS="$CFLAGS $llvm_cflags"
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9825 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9826 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_wine_try_cflags_saved=$CFLAGS
9830 ac_wine_try_cflags_saved_cc=$CC
9831 ac_wine_try_cflags_saved_exeext=$ac_exeext
9832 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9833 CC="$CROSSCC"
9834 ac_exeext=".exe"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9837 int __cdecl mainCRTStartup(void) { return 0; }
9838 _ACEOF
9839 if ac_fn_c_try_link "$LINENO"; then :
9840 ac_cv_crosscflags__fno_strict_aliasing=yes
9841 else
9842 ac_cv_crosscflags__fno_strict_aliasing=no
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 CFLAGS=$ac_wine_try_cflags_saved
9847 CC=$ac_wine_try_cflags_saved_cc
9848 ac_exeext=$ac_wine_try_cflags_saved_exeext
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9851 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9852 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9853 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9856 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9857 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_wine_try_cflags_saved=$CFLAGS
9861 ac_wine_try_cflags_saved_cc=$CC
9862 ac_wine_try_cflags_saved_exeext=$ac_exeext
9863 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9864 CC="$CROSSCC"
9865 ac_exeext=".exe"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 int __cdecl mainCRTStartup(void) { return 0; }
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9872 else
9873 ac_cv_crosscflags__Werror_unknown_warning_option=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CFLAGS=$ac_wine_try_cflags_saved
9878 CC=$ac_wine_try_cflags_saved_cc
9879 ac_exeext=$ac_wine_try_cflags_saved_exeext
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9882 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9883 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9884 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9887 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9888 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 ac_wine_try_cflags_saved_cc=$CC
9893 ac_wine_try_cflags_saved_exeext=$ac_exeext
9894 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9895 CC="$CROSSCC"
9896 ac_exeext=".exe"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 int __cdecl mainCRTStartup(void) { return 0; }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9903 else
9904 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 CFLAGS=$ac_wine_try_cflags_saved
9909 CC=$ac_wine_try_cflags_saved_cc
9910 ac_exeext=$ac_wine_try_cflags_saved_exeext
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9913 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9914 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9915 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9918 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9919 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 ac_wine_try_cflags_saved_cc=$CC
9924 ac_wine_try_cflags_saved_exeext=$ac_exeext
9925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9926 CC="$CROSSCC"
9927 ac_exeext=".exe"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 int __cdecl mainCRTStartup(void) { return 0; }
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9934 else
9935 ac_cv_crosscflags__Wdeclaration_after_statement=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9940 CC=$ac_wine_try_cflags_saved_cc
9941 ac_exeext=$ac_wine_try_cflags_saved_exeext
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9944 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9945 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9946 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9949 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9950 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_wine_try_cflags_saved=$CFLAGS
9954 ac_wine_try_cflags_saved_cc=$CC
9955 ac_wine_try_cflags_saved_exeext=$ac_exeext
9956 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9957 CC="$CROSSCC"
9958 ac_exeext=".exe"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int __cdecl mainCRTStartup(void) { return 0; }
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_crosscflags__Wempty_body=yes
9965 else
9966 ac_cv_crosscflags__Wempty_body=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9971 CC=$ac_wine_try_cflags_saved_cc
9972 ac_exeext=$ac_wine_try_cflags_saved_exeext
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9975 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9976 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9977 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9980 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9981 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 ac_wine_try_cflags_saved_cc=$CC
9986 ac_wine_try_cflags_saved_exeext=$ac_exeext
9987 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9988 CC="$CROSSCC"
9989 ac_exeext=".exe"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 int __cdecl mainCRTStartup(void) { return 0; }
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_crosscflags__Wignored_qualifiers=yes
9996 else
9997 ac_cv_crosscflags__Wignored_qualifiers=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 CFLAGS=$ac_wine_try_cflags_saved
10002 CC=$ac_wine_try_cflags_saved_cc
10003 ac_exeext=$ac_wine_try_cflags_saved_exeext
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10006 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10007 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10008 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10011 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10012 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_wine_try_cflags_saved=$CFLAGS
10016 ac_wine_try_cflags_saved_cc=$CC
10017 ac_wine_try_cflags_saved_exeext=$ac_exeext
10018 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10019 CC="$CROSSCC"
10020 ac_exeext=".exe"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 int __cdecl mainCRTStartup(void) { return 0; }
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_crosscflags__Winit_self=yes
10027 else
10028 ac_cv_crosscflags__Winit_self=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 CFLAGS=$ac_wine_try_cflags_saved
10033 CC=$ac_wine_try_cflags_saved_cc
10034 ac_exeext=$ac_wine_try_cflags_saved_exeext
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10037 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10038 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10039 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10042 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10043 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10044 $as_echo_n "(cached) " >&6
10045 else
10046 ac_wine_try_cflags_saved=$CFLAGS
10047 ac_wine_try_cflags_saved_cc=$CC
10048 ac_wine_try_cflags_saved_exeext=$ac_exeext
10049 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10050 CC="$CROSSCC"
10051 ac_exeext=".exe"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 int __cdecl mainCRTStartup(void) { return 0; }
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_crosscflags__Wpacked_not_aligned=yes
10058 else
10059 ac_cv_crosscflags__Wpacked_not_aligned=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 CFLAGS=$ac_wine_try_cflags_saved
10064 CC=$ac_wine_try_cflags_saved_cc
10065 ac_exeext=$ac_wine_try_cflags_saved_exeext
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10068 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10069 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10070 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10073 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10074 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 ac_wine_try_cflags_saved_cc=$CC
10079 ac_wine_try_cflags_saved_exeext=$ac_exeext
10080 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10081 CC="$CROSSCC"
10082 ac_exeext=".exe"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10085 int __cdecl mainCRTStartup(void) { return 0; }
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_crosscflags__Wpragma_pack=yes
10089 else
10090 ac_cv_crosscflags__Wpragma_pack=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 CFLAGS=$ac_wine_try_cflags_saved
10095 CC=$ac_wine_try_cflags_saved_cc
10096 ac_exeext=$ac_wine_try_cflags_saved_exeext
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10099 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10100 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10101 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10104 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10105 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 ac_wine_try_cflags_saved_cc=$CC
10110 ac_wine_try_cflags_saved_exeext=$ac_exeext
10111 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10112 CC="$CROSSCC"
10113 ac_exeext=".exe"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int __cdecl mainCRTStartup(void) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_crosscflags__Wshift_overflow_2=yes
10120 else
10121 ac_cv_crosscflags__Wshift_overflow_2=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10126 CC=$ac_wine_try_cflags_saved_cc
10127 ac_exeext=$ac_wine_try_cflags_saved_exeext
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10130 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10131 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10132 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10135 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10136 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 ac_wine_try_cflags_saved_cc=$CC
10141 ac_wine_try_cflags_saved_exeext=$ac_exeext
10142 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10143 CC="$CROSSCC"
10144 ac_exeext=".exe"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10147 int __cdecl mainCRTStartup(void) { return 0; }
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 ac_cv_crosscflags__Wstrict_prototypes=yes
10151 else
10152 ac_cv_crosscflags__Wstrict_prototypes=no
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10157 CC=$ac_wine_try_cflags_saved_cc
10158 ac_exeext=$ac_wine_try_cflags_saved_exeext
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10161 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10162 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10163 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10166 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10167 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 ac_wine_try_cflags_saved_cc=$CC
10172 ac_wine_try_cflags_saved_exeext=$ac_exeext
10173 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10174 CC="$CROSSCC"
10175 ac_exeext=".exe"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int __cdecl mainCRTStartup(void) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_crosscflags__Wtype_limits=yes
10182 else
10183 ac_cv_crosscflags__Wtype_limits=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10188 CC=$ac_wine_try_cflags_saved_cc
10189 ac_exeext=$ac_wine_try_cflags_saved_exeext
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10192 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10193 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10194 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10197 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10198 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 ac_wine_try_cflags_saved_cc=$CC
10203 ac_wine_try_cflags_saved_exeext=$ac_exeext
10204 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10205 CC="$CROSSCC"
10206 ac_exeext=".exe"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 int __cdecl mainCRTStartup(void) { return 0; }
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10213 else
10214 ac_cv_crosscflags__Wunused_but_set_parameter=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10219 CC=$ac_wine_try_cflags_saved_cc
10220 ac_exeext=$ac_wine_try_cflags_saved_exeext
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10223 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10224 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10225 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10228 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10229 if ${ac_cv_crosscflags__Wvla+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 ac_wine_try_cflags_saved_cc=$CC
10234 ac_wine_try_cflags_saved_exeext=$ac_exeext
10235 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10236 CC="$CROSSCC"
10237 ac_exeext=".exe"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 int __cdecl mainCRTStartup(void) { return 0; }
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_crosscflags__Wvla=yes
10244 else
10245 ac_cv_crosscflags__Wvla=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10250 CC=$ac_wine_try_cflags_saved_cc
10251 ac_exeext=$ac_wine_try_cflags_saved_exeext
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10254 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10255 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10256 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10259 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10260 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 ac_wine_try_cflags_saved_cc=$CC
10265 ac_wine_try_cflags_saved_exeext=$ac_exeext
10266 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10267 CC="$CROSSCC"
10268 ac_exeext=".exe"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 int __cdecl mainCRTStartup(void) { return 0; }
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 ac_cv_crosscflags__Wwrite_strings=yes
10275 else
10276 ac_cv_crosscflags__Wwrite_strings=no
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 CFLAGS=$ac_wine_try_cflags_saved
10281 CC=$ac_wine_try_cflags_saved_cc
10282 ac_exeext=$ac_wine_try_cflags_saved_exeext
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10285 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10286 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10290 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10291 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_wine_try_cflags_saved=$CFLAGS
10295 ac_wine_try_cflags_saved_cc=$CC
10296 ac_wine_try_cflags_saved_exeext=$ac_exeext
10297 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10298 CC="$CROSSCC"
10299 ac_exeext=".exe"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10302 int __cdecl mainCRTStartup(void) { return 0; }
10303 _ACEOF
10304 if ac_fn_c_try_link "$LINENO"; then :
10305 ac_cv_crosscflags__Wpointer_arith=yes
10306 else
10307 ac_cv_crosscflags__Wpointer_arith=no
10309 rm -f core conftest.err conftest.$ac_objext \
10310 conftest$ac_exeext conftest.$ac_ext
10311 CFLAGS=$ac_wine_try_cflags_saved
10312 CC=$ac_wine_try_cflags_saved_cc
10313 ac_exeext=$ac_wine_try_cflags_saved_exeext
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10316 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10317 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10318 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10321 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10322 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_wine_try_cflags_saved=$CFLAGS
10326 ac_wine_try_cflags_saved_cc=$CC
10327 ac_wine_try_cflags_saved_exeext=$ac_exeext
10328 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10329 CC="$CROSSCC"
10330 ac_exeext=".exe"
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 int __cdecl mainCRTStartup(void) { return 0; }
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 ac_cv_crosscflags__Wlogical_op=yes
10337 else
10338 ac_cv_crosscflags__Wlogical_op=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 CFLAGS=$ac_wine_try_cflags_saved
10343 CC=$ac_wine_try_cflags_saved_cc
10344 ac_exeext=$ac_wine_try_cflags_saved_exeext
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10347 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10348 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10349 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10352 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10353 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_wine_try_cflags_saved=$CFLAGS
10357 ac_wine_try_cflags_saved_cc=$CC
10358 ac_wine_try_cflags_saved_exeext=$ac_exeext
10359 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10360 CC="$CROSSCC"
10361 ac_exeext=".exe"
10362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10363 /* end confdefs.h. */
10364 int __cdecl mainCRTStartup(void) { return 0; }
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 ac_cv_crosscflags__Wabsolute_value=yes
10368 else
10369 ac_cv_crosscflags__Wabsolute_value=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 CFLAGS=$ac_wine_try_cflags_saved
10374 CC=$ac_wine_try_cflags_saved_cc
10375 ac_exeext=$ac_wine_try_cflags_saved_exeext
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10378 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10379 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10380 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10383 case $host_cpu in
10384 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10385 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10386 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10387 $as_echo_n "(cached) " >&6
10388 else
10389 ac_wine_try_cflags_saved=$CFLAGS
10390 ac_wine_try_cflags_saved_cc=$CC
10391 ac_wine_try_cflags_saved_exeext=$ac_exeext
10392 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10393 CC="$CROSSCC"
10394 ac_exeext=".exe"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 int __cdecl mainCRTStartup(void) { return 0; }
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10401 else
10402 ac_cv_crosscflags__fno_omit_frame_pointer=no
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 CFLAGS=$ac_wine_try_cflags_saved
10407 CC=$ac_wine_try_cflags_saved_cc
10408 ac_exeext=$ac_wine_try_cflags_saved_exeext
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10411 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10412 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10413 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10414 fi ;;
10415 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10416 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10417 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_wine_try_cflags_saved=$CFLAGS
10421 ac_wine_try_cflags_saved_cc=$CC
10422 ac_wine_try_cflags_saved_exeext=$ac_exeext
10423 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10424 CC="$CROSSCC"
10425 ac_exeext=".exe"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10428 int __cdecl mainCRTStartup(void) { return 0; }
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 ac_cv_crosscflags__Wno_format=yes
10432 else
10433 ac_cv_crosscflags__Wno_format=no
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 CFLAGS=$ac_wine_try_cflags_saved
10438 CC=$ac_wine_try_cflags_saved_cc
10439 ac_exeext=$ac_wine_try_cflags_saved_exeext
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10442 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10443 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10444 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10447 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10448 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10449 $as_echo_n "(cached) " >&6
10450 else
10451 ac_wine_try_cflags_saved=$CFLAGS
10452 ac_wine_try_cflags_saved_cc=$CC
10453 ac_wine_try_cflags_saved_exeext=$ac_exeext
10454 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10455 CC="$CROSSCC"
10456 ac_exeext=".exe"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10459 int __cdecl mainCRTStartup(void) { return 0; }
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 ac_cv_crosscflags__Wformat_overflow=yes
10463 else
10464 ac_cv_crosscflags__Wformat_overflow=no
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 CFLAGS=$ac_wine_try_cflags_saved
10469 CC=$ac_wine_try_cflags_saved_cc
10470 ac_exeext=$ac_wine_try_cflags_saved_exeext
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10473 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10474 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10475 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10478 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10479 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10480 $as_echo_n "(cached) " >&6
10481 else
10482 ac_wine_try_cflags_saved=$CFLAGS
10483 ac_wine_try_cflags_saved_cc=$CC
10484 ac_wine_try_cflags_saved_exeext=$ac_exeext
10485 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10486 CC="$CROSSCC"
10487 ac_exeext=".exe"
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10490 int __cdecl mainCRTStartup(void) { return 0; }
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10493 ac_cv_crosscflags__Wnonnull=yes
10494 else
10495 ac_cv_crosscflags__Wnonnull=no
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 CFLAGS=$ac_wine_try_cflags_saved
10500 CC=$ac_wine_try_cflags_saved_cc
10501 ac_exeext=$ac_wine_try_cflags_saved_exeext
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10504 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10505 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10506 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10509 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10510 if ${ac_cv_crosscflags__mcx16+:} false; then :
10511 $as_echo_n "(cached) " >&6
10512 else
10513 ac_wine_try_cflags_saved=$CFLAGS
10514 ac_wine_try_cflags_saved_cc=$CC
10515 ac_wine_try_cflags_saved_exeext=$ac_exeext
10516 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10517 CC="$CROSSCC"
10518 ac_exeext=".exe"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10521 int __cdecl mainCRTStartup(void) { return 0; }
10522 _ACEOF
10523 if ac_fn_c_try_link "$LINENO"; then :
10524 ac_cv_crosscflags__mcx16=yes
10525 else
10526 ac_cv_crosscflags__mcx16=no
10528 rm -f core conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 CFLAGS=$ac_wine_try_cflags_saved
10531 CC=$ac_wine_try_cflags_saved_cc
10532 ac_exeext=$ac_wine_try_cflags_saved_exeext
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10535 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10536 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10537 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10538 fi ;;
10539 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10540 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10541 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10542 $as_echo_n "(cached) " >&6
10543 else
10544 ac_wine_try_cflags_saved=$CFLAGS
10545 ac_wine_try_cflags_saved_cc=$CC
10546 ac_wine_try_cflags_saved_exeext=$ac_exeext
10547 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10548 CC="$CROSSCC"
10549 ac_exeext=".exe"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10552 int __cdecl mainCRTStartup(void) { return 0; }
10553 _ACEOF
10554 if ac_fn_c_try_link "$LINENO"; then :
10555 ac_cv_crosscflags__Wno_format=yes
10556 else
10557 ac_cv_crosscflags__Wno_format=no
10559 rm -f core conftest.err conftest.$ac_objext \
10560 conftest$ac_exeext conftest.$ac_ext
10561 CFLAGS=$ac_wine_try_cflags_saved
10562 CC=$ac_wine_try_cflags_saved_cc
10563 ac_exeext=$ac_wine_try_cflags_saved_exeext
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10566 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10567 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10568 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10569 fi ;;
10570 esac
10573 if test -z "$CROSSDEBUG"
10574 then
10575 for ac_flag in $CROSSCFLAGS; do
10576 case $ac_flag in
10577 -gdwarf*) CROSSDEBUG=dwarf ;;
10578 -gcodeview) CROSSDEBUG=pdb ;;
10579 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10580 esac
10581 done
10583 case $CROSSDEBUG in
10584 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10585 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10586 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10587 $as_echo_n "(cached) " >&6
10588 else
10589 ac_wine_try_cflags_saved=$CFLAGS
10590 ac_wine_try_cflags_saved_cc=$CC
10591 ac_wine_try_cflags_saved_exeext=$ac_exeext
10592 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10593 CC="$CROSSCC"
10594 ac_exeext=".exe"
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10597 int __cdecl mainCRTStartup(void) { return 0; }
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600 ac_cv_crosscflags__gdwarf_2=yes
10601 else
10602 ac_cv_crosscflags__gdwarf_2=no
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 CFLAGS=$ac_wine_try_cflags_saved
10607 CC=$ac_wine_try_cflags_saved_cc
10608 ac_exeext=$ac_wine_try_cflags_saved_exeext
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10611 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10612 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10613 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10616 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10617 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10618 $as_echo_n "(cached) " >&6
10619 else
10620 ac_wine_try_cflags_saved=$CFLAGS
10621 ac_wine_try_cflags_saved_cc=$CC
10622 ac_wine_try_cflags_saved_exeext=$ac_exeext
10623 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10624 CC="$CROSSCC"
10625 ac_exeext=".exe"
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10628 int __cdecl mainCRTStartup(void) { return 0; }
10629 _ACEOF
10630 if ac_fn_c_try_link "$LINENO"; then :
10631 ac_cv_crosscflags__gstrict_dwarf=yes
10632 else
10633 ac_cv_crosscflags__gstrict_dwarf=no
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 CFLAGS=$ac_wine_try_cflags_saved
10638 CC=$ac_wine_try_cflags_saved_cc
10639 ac_exeext=$ac_wine_try_cflags_saved_exeext
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10642 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10643 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10644 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10645 fi ;;
10646 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10647 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10648 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10649 $as_echo_n "(cached) " >&6
10650 else
10651 ac_wine_try_cflags_saved=$CFLAGS
10652 ac_wine_try_cflags_saved_cc=$CC
10653 ac_wine_try_cflags_saved_exeext=$ac_exeext
10654 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10655 CC="$CROSSCC"
10656 ac_exeext=".exe"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 int __cdecl mainCRTStartup(void) { return 0; }
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 ac_cv_crosscflags__gcodeview=yes
10663 else
10664 ac_cv_crosscflags__gcodeview=no
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 CFLAGS=$ac_wine_try_cflags_saved
10669 CC=$ac_wine_try_cflags_saved_cc
10670 ac_exeext=$ac_wine_try_cflags_saved_exeext
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10673 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10674 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10675 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10676 fi ;;
10677 esac
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10680 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10681 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10682 $as_echo_n "(cached) " >&6
10683 else
10684 ac_wine_try_cflags_saved=$CFLAGS
10685 ac_wine_try_cflags_saved_cc=$CC
10686 ac_wine_try_cflags_saved_exeext=$ac_exeext
10687 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10688 CC="$CROSSCC"
10689 ac_exeext=".exe"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 int __cdecl mainCRTStartup(void) { return 0; }
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"; then :
10695 ac_cv_crosscflags__fexcess_precision_standard=yes
10696 else
10697 ac_cv_crosscflags__fexcess_precision_standard=no
10699 rm -f core conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 CFLAGS=$ac_wine_try_cflags_saved
10702 CC=$ac_wine_try_cflags_saved_cc
10703 ac_exeext=$ac_wine_try_cflags_saved_exeext
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10706 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10707 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10708 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10712 if test "x$enable_werror" = "xyes"
10713 then
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10715 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10716 if ${ac_cv_crosscflags__Werror+:} false; then :
10717 $as_echo_n "(cached) " >&6
10718 else
10719 ac_wine_try_cflags_saved=$CFLAGS
10720 ac_wine_try_cflags_saved_cc=$CC
10721 ac_wine_try_cflags_saved_exeext=$ac_exeext
10722 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10723 CC="$CROSSCC"
10724 ac_exeext=".exe"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10727 int __cdecl mainCRTStartup(void) { return 0; }
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
10730 ac_cv_crosscflags__Werror=yes
10731 else
10732 ac_cv_crosscflags__Werror=no
10734 rm -f core conftest.err conftest.$ac_objext \
10735 conftest$ac_exeext conftest.$ac_ext
10736 CFLAGS=$ac_wine_try_cflags_saved
10737 CC=$ac_wine_try_cflags_saved_cc
10738 ac_exeext=$ac_wine_try_cflags_saved_exeext
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10741 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10742 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10743 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10746 if test "x$enable_build_id" = "xyes"
10747 then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10749 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10750 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10751 $as_echo_n "(cached) " >&6
10752 else
10753 ac_wine_try_cflags_saved=$CFLAGS
10754 ac_wine_try_cflags_saved_cc=$CC
10755 ac_wine_try_cflags_saved_exeext=$ac_exeext
10756 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10757 CC="$CROSSCC"
10758 ac_exeext=".exe"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10761 int __cdecl mainCRTStartup(void) { return 0; }
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"; then :
10764 ac_cv_crosscflags__Wl___build_id=yes
10765 else
10766 ac_cv_crosscflags__Wl___build_id=no
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 CFLAGS=$ac_wine_try_cflags_saved
10771 CC=$ac_wine_try_cflags_saved_cc
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10775 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10776 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10777 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10778 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10782 CFLAGS=$saved_CFLAGS
10783 CC="$ac_save_CC"
10786 if test "x$CROSSTARGET" = "x"; then :
10787 case "x$with_mingw" in
10788 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10789 xno) ;;
10790 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10791 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10792 esac
10797 if test "$ac_cv_header_pthread_h" = "yes"
10798 then
10799 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10800 if test "x$ac_cv_func_pthread_create" = xyes; then :
10802 else
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10804 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10805 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_lib_save_LIBS=$LIBS
10809 LIBS="-lpthread $LIBS"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char pthread_create ();
10821 main ()
10823 return pthread_create ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 ac_cv_lib_pthread_pthread_create=yes
10830 else
10831 ac_cv_lib_pthread_pthread_create=no
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 LIBS=$ac_check_lib_save_LIBS
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10838 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10839 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10840 PTHREAD_LIBS="-lpthread"
10847 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10848 case "x$with_pthread" in
10849 xno) ;;
10850 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10851 Wine cannot support threads without libpthread.
10852 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10853 esac
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10859 $as_echo_n "checking for X... " >&6; }
10862 # Check whether --with-x was given.
10863 if test "${with_x+set}" = set; then :
10864 withval=$with_x;
10867 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10868 if test "x$with_x" = xno; then
10869 # The user explicitly disabled X.
10870 have_x=disabled
10871 else
10872 case $x_includes,$x_libraries in #(
10873 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10874 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 # One or both of the vars are not set, and there is no cached value.
10878 ac_x_includes=no ac_x_libraries=no
10879 rm -f -r conftest.dir
10880 if mkdir conftest.dir; then
10881 cd conftest.dir
10882 cat >Imakefile <<'_ACEOF'
10883 incroot:
10884 @echo incroot='${INCROOT}'
10885 usrlibdir:
10886 @echo usrlibdir='${USRLIBDIR}'
10887 libdir:
10888 @echo libdir='${LIBDIR}'
10889 _ACEOF
10890 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10891 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10892 for ac_var in incroot usrlibdir libdir; do
10893 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10894 done
10895 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10896 for ac_extension in a so sl dylib la dll; do
10897 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10898 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10899 ac_im_usrlibdir=$ac_im_libdir; break
10901 done
10902 # Screen out bogus values from the imake configuration. They are
10903 # bogus both because they are the default anyway, and because
10904 # using them would break gcc on systems where it needs fixed includes.
10905 case $ac_im_incroot in
10906 /usr/include) ac_x_includes= ;;
10907 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10908 esac
10909 case $ac_im_usrlibdir in
10910 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10911 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10912 esac
10914 cd ..
10915 rm -f -r conftest.dir
10918 # Standard set of common directories for X headers.
10919 # Check X11 before X11Rn because it is often a symlink to the current release.
10920 ac_x_header_dirs='
10921 /usr/X11/include
10922 /usr/X11R7/include
10923 /usr/X11R6/include
10924 /usr/X11R5/include
10925 /usr/X11R4/include
10927 /usr/include/X11
10928 /usr/include/X11R7
10929 /usr/include/X11R6
10930 /usr/include/X11R5
10931 /usr/include/X11R4
10933 /usr/local/X11/include
10934 /usr/local/X11R7/include
10935 /usr/local/X11R6/include
10936 /usr/local/X11R5/include
10937 /usr/local/X11R4/include
10939 /usr/local/include/X11
10940 /usr/local/include/X11R7
10941 /usr/local/include/X11R6
10942 /usr/local/include/X11R5
10943 /usr/local/include/X11R4
10945 /usr/X386/include
10946 /usr/x386/include
10947 /usr/XFree86/include/X11
10949 /usr/include
10950 /usr/local/include
10951 /usr/unsupported/include
10952 /usr/athena/include
10953 /usr/local/x11r5/include
10954 /usr/lpp/Xamples/include
10956 /usr/openwin/include
10957 /usr/openwin/share/include'
10959 if test "$ac_x_includes" = no; then
10960 # Guess where to find include files, by looking for Xlib.h.
10961 # First, try using that file with no special directory specified.
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 #include <X11/Xlib.h>
10965 _ACEOF
10966 if ac_fn_c_try_cpp "$LINENO"; then :
10967 # We can compile using X headers with no special include directory.
10968 ac_x_includes=
10969 else
10970 for ac_dir in $ac_x_header_dirs; do
10971 if test -r "$ac_dir/X11/Xlib.h"; then
10972 ac_x_includes=$ac_dir
10973 break
10975 done
10977 rm -f conftest.err conftest.i conftest.$ac_ext
10978 fi # $ac_x_includes = no
10980 if test "$ac_x_libraries" = no; then
10981 # Check for the libraries.
10982 # See if we find them without any special options.
10983 # Don't add to $LIBS permanently.
10984 ac_save_LIBS=$LIBS
10985 LIBS="-lX11 $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10988 #include <X11/Xlib.h>
10990 main ()
10992 XrmInitialize ()
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 LIBS=$ac_save_LIBS
10999 # We can link X programs with no special library path.
11000 ac_x_libraries=
11001 else
11002 LIBS=$ac_save_LIBS
11003 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11005 # Don't even attempt the hair of trying to link an X program!
11006 for ac_extension in a so sl dylib la dll; do
11007 if test -r "$ac_dir/libX11.$ac_extension"; then
11008 ac_x_libraries=$ac_dir
11009 break 2
11011 done
11012 done
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 fi # $ac_x_libraries = no
11018 case $ac_x_includes,$ac_x_libraries in #(
11019 no,* | *,no | *\'*)
11020 # Didn't find X, or a directory has "'" in its name.
11021 ac_cv_have_x="have_x=no";; #(
11023 # Record where we found X for the cache.
11024 ac_cv_have_x="have_x=yes\
11025 ac_x_includes='$ac_x_includes'\
11026 ac_x_libraries='$ac_x_libraries'"
11027 esac
11029 ;; #(
11030 *) have_x=yes;;
11031 esac
11032 eval "$ac_cv_have_x"
11033 fi # $with_x != no
11035 if test "$have_x" != yes; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11037 $as_echo "$have_x" >&6; }
11038 no_x=yes
11039 else
11040 # If each of the values was on the command line, it overrides each guess.
11041 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11042 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11043 # Update the cache value to reflect the command line values.
11044 ac_cv_have_x="have_x=yes\
11045 ac_x_includes='$x_includes'\
11046 ac_x_libraries='$x_libraries'"
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11048 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11051 if test "$no_x" = yes; then
11052 # Not all programs may use this symbol, but it does not hurt to define it.
11054 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11056 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11057 else
11058 if test -n "$x_includes"; then
11059 X_CFLAGS="$X_CFLAGS -I$x_includes"
11062 # It would also be nice to do this for all -L options, not just this one.
11063 if test -n "$x_libraries"; then
11064 X_LIBS="$X_LIBS -L$x_libraries"
11065 # For Solaris; some versions of Sun CC require a space after -R and
11066 # others require no space. Words are not sufficient . . . .
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11068 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11069 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11070 ac_xsave_c_werror_flag=$ac_c_werror_flag
11071 ac_c_werror_flag=yes
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11076 main ()
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11085 $as_echo "no" >&6; }
11086 X_LIBS="$X_LIBS -R$x_libraries"
11087 else
11088 LIBS="$ac_xsave_LIBS -R $x_libraries"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11093 main ()
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11102 $as_echo "yes" >&6; }
11103 X_LIBS="$X_LIBS -R $x_libraries"
11104 else
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11106 $as_echo "neither works" >&6; }
11108 rm -f core conftest.err conftest.$ac_objext \
11109 conftest$ac_exeext conftest.$ac_ext
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 ac_c_werror_flag=$ac_xsave_c_werror_flag
11114 LIBS=$ac_xsave_LIBS
11117 # Check for system-dependent libraries X programs must link with.
11118 # Do this before checking for the system-independent R6 libraries
11119 # (-lICE), since we may need -lsocket or whatever for X linking.
11121 if test "$ISC" = yes; then
11122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11123 else
11124 # Martyn Johnson says this is needed for Ultrix, if the X
11125 # libraries were built with DECnet support. And Karl Berry says
11126 # the Alpha needs dnet_stub (dnet does not exist).
11127 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char XOpenDisplay ();
11139 main ()
11141 return XOpenDisplay ();
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_link "$LINENO"; then :
11148 else
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11150 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11151 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-ldnet $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char dnet_ntoa ();
11167 main ()
11169 return dnet_ntoa ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_dnet_dnet_ntoa=yes
11176 else
11177 ac_cv_lib_dnet_dnet_ntoa=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11184 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11185 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11186 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11189 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11191 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11192 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-ldnet_stub $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char dnet_ntoa ();
11208 main ()
11210 return dnet_ntoa ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11217 else
11218 ac_cv_lib_dnet_stub_dnet_ntoa=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11225 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11226 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11227 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11232 rm -f core conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11234 LIBS="$ac_xsave_LIBS"
11236 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11237 # to get the SysV transport functions.
11238 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11239 # needs -lnsl.
11240 # The nsl library prevents programs from opening the X display
11241 # on Irix 5.2, according to T.E. Dickey.
11242 # The functions gethostbyname, getservbyname, and inet_addr are
11243 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11244 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11245 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11249 if test $ac_cv_func_gethostbyname = no; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11251 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11252 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lnsl $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char gethostbyname ();
11268 main ()
11270 return gethostbyname ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_nsl_gethostbyname=yes
11277 else
11278 ac_cv_lib_nsl_gethostbyname=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11285 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11286 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11290 if test $ac_cv_lib_nsl_gethostbyname = no; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11292 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11293 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lbsd $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char gethostbyname ();
11309 main ()
11311 return gethostbyname ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_bsd_gethostbyname=yes
11318 else
11319 ac_cv_lib_bsd_gethostbyname=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11326 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11327 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11334 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11335 # socket/setsockopt and other routines are undefined under SCO ODT
11336 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11337 # on later versions), says Simon Leinen: it contains gethostby*
11338 # variants that don't use the name server (or something). -lsocket
11339 # must be given before -lnsl if both are needed. We assume that
11340 # if connect needs -lnsl, so does gethostbyname.
11341 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11342 if test "x$ac_cv_func_connect" = xyes; then :
11346 if test $ac_cv_func_connect = no; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11348 $as_echo_n "checking for connect in -lsocket... " >&6; }
11349 if ${ac_cv_lib_socket_connect+:} false; then :
11350 $as_echo_n "(cached) " >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char connect ();
11365 main ()
11367 return connect ();
11369 return 0;
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 ac_cv_lib_socket_connect=yes
11374 else
11375 ac_cv_lib_socket_connect=no
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11382 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11383 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11384 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11389 # Guillermo Gomez says -lposix is necessary on A/UX.
11390 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11391 if test "x$ac_cv_func_remove" = xyes; then :
11395 if test $ac_cv_func_remove = no; then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11397 $as_echo_n "checking for remove in -lposix... " >&6; }
11398 if ${ac_cv_lib_posix_remove+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lposix $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char remove ();
11414 main ()
11416 return remove ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 ac_cv_lib_posix_remove=yes
11423 else
11424 ac_cv_lib_posix_remove=no
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_lib_save_LIBS
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11431 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11432 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11433 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11438 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11439 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11440 if test "x$ac_cv_func_shmat" = xyes; then :
11444 if test $ac_cv_func_shmat = no; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11446 $as_echo_n "checking for shmat in -lipc... " >&6; }
11447 if ${ac_cv_lib_ipc_shmat+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-lipc $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char shmat ();
11463 main ()
11465 return shmat ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_ipc_shmat=yes
11472 else
11473 ac_cv_lib_ipc_shmat=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11480 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11481 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11488 # Check for libraries that X11R6 Xt/Xaw programs need.
11489 ac_save_LDFLAGS=$LDFLAGS
11490 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11491 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11492 # check for ICE first), but we must link in the order -lSM -lICE or
11493 # we get undefined symbols. So assume we have SM if we have ICE.
11494 # These have to be linked with before -lX11, unlike the other
11495 # libraries we check for below, so use a different variable.
11496 # John Interrante, Karl Berry
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11498 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11499 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11500 $as_echo_n "(cached) " >&6
11501 else
11502 ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char IceConnectionNumber ();
11515 main ()
11517 return IceConnectionNumber ();
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 ac_cv_lib_ICE_IceConnectionNumber=yes
11524 else
11525 ac_cv_lib_ICE_IceConnectionNumber=no
11527 rm -f core conftest.err conftest.$ac_objext \
11528 conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_lib_save_LIBS
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11532 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11533 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11534 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11537 LDFLAGS=$ac_save_LDFLAGS
11542 if test "$have_x" = "yes"
11543 then
11544 ac_save_CPPFLAGS="$CPPFLAGS"
11545 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11548 $as_echo_n "checking for -lX11... " >&6; }
11549 if ${ac_cv_lib_soname_X11+:} false; then :
11550 $as_echo_n "(cached) " >&6
11551 else
11552 ac_check_soname_save_LIBS=$LIBS
11553 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11560 #ifdef __cplusplus
11561 extern "C"
11562 #endif
11563 char XCreateWindow ();
11565 main ()
11567 return XCreateWindow ();
11569 return 0;
11571 _ACEOF
11572 if ac_fn_c_try_link "$LINENO"; then :
11573 case "$LIBEXT" in
11574 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11575 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'` ;;
11576 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11577 if ${ac_cv_lib_soname_X11:+false} :; then :
11578 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11579 fi ;;
11580 esac
11581 else
11582 ac_cv_lib_soname_X11=
11584 rm -f core conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_soname_save_LIBS
11588 if ${ac_cv_lib_soname_X11:+false} :; then :
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11590 $as_echo "not found" >&6; }
11592 else
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11594 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11596 cat >>confdefs.h <<_ACEOF
11597 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11598 _ACEOF
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11603 $as_echo_n "checking for -lXext... " >&6; }
11604 if ${ac_cv_lib_soname_Xext+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_soname_save_LIBS=$LIBS
11608 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char XextCreateExtension ();
11620 main ()
11622 return XextCreateExtension ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 case "$LIBEXT" in
11629 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11630 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'` ;;
11631 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11632 if ${ac_cv_lib_soname_Xext:+false} :; then :
11633 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11634 fi ;;
11635 esac
11636 else
11637 ac_cv_lib_soname_Xext=
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_soname_save_LIBS
11643 if ${ac_cv_lib_soname_Xext:+false} :; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11645 $as_echo "not found" >&6; }
11647 else
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11649 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11651 cat >>confdefs.h <<_ACEOF
11652 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11653 _ACEOF
11655 X_LIBS="$X_LIBS -lXext"
11657 X_LIBS="$X_LIBS -lX11"
11659 for ac_header in X11/Xlib.h \
11660 X11/XKBlib.h \
11661 X11/Xutil.h \
11662 X11/Xcursor/Xcursor.h \
11663 X11/extensions/shape.h \
11664 X11/extensions/XInput.h \
11665 X11/extensions/XInput2.h \
11666 X11/extensions/XShm.h \
11667 X11/extensions/Xcomposite.h \
11668 X11/extensions/Xfixes.h \
11669 X11/extensions/Xinerama.h \
11670 X11/extensions/Xrandr.h \
11671 X11/extensions/Xrender.h \
11672 X11/extensions/xf86vmode.h \
11673 X11/extensions/xf86vmproto.h
11674 do :
11675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11677 # include <X11/Xlib.h>
11678 #endif
11679 #ifdef HAVE_X11_XUTIL_H
11680 # include <X11/Xutil.h>
11681 #endif
11683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11684 cat >>confdefs.h <<_ACEOF
11685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11686 _ACEOF
11690 done
11693 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11694 then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11696 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11697 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 ac_check_lib_save_LIBS=$LIBS
11701 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char XkbQueryExtension ();
11713 main ()
11715 return XkbQueryExtension ();
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 ac_cv_lib_X11_XkbQueryExtension=yes
11722 else
11723 ac_cv_lib_X11_XkbQueryExtension=no
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11730 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11731 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11733 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11739 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11740 then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11742 $as_echo_n "checking for -lXcursor... " >&6; }
11743 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 ac_check_soname_save_LIBS=$LIBS
11747 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char XcursorImageLoadCursor ();
11759 main ()
11761 return XcursorImageLoadCursor ();
11763 return 0;
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 case "$LIBEXT" in
11768 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11771 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11772 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11773 fi ;;
11774 esac
11775 else
11776 ac_cv_lib_soname_Xcursor=
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11788 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11792 _ACEOF
11797 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11798 case "x$with_xcursor" in
11799 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11800 xno) ;;
11801 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11802 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11803 esac
11807 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11808 then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11810 $as_echo_n "checking for -lXi... " >&6; }
11811 if ${ac_cv_lib_soname_Xi+:} false; then :
11812 $as_echo_n "(cached) " >&6
11813 else
11814 ac_check_soname_save_LIBS=$LIBS
11815 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11819 /* Override any GCC internal prototype to avoid an error.
11820 Use char because int might match the return type of a GCC
11821 builtin and then its argument prototype would still apply. */
11822 #ifdef __cplusplus
11823 extern "C"
11824 #endif
11825 char XOpenDevice ();
11827 main ()
11829 return XOpenDevice ();
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_link "$LINENO"; then :
11835 case "$LIBEXT" in
11836 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11837 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'` ;;
11838 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11839 if ${ac_cv_lib_soname_Xi:+false} :; then :
11840 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11841 fi ;;
11842 esac
11843 else
11844 ac_cv_lib_soname_Xi=
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_soname_save_LIBS
11850 if ${ac_cv_lib_soname_Xi:+false} :; then :
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11852 $as_echo "not found" >&6; }
11854 else
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11856 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11858 cat >>confdefs.h <<_ACEOF
11859 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11860 _ACEOF
11865 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11866 case "x$with_xinput" in
11867 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11868 xno) ;;
11869 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11870 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11871 esac
11875 if test "x$ac_cv_lib_soname_Xi" != x
11876 then
11877 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11878 case "x$with_xinput2" in
11879 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11880 xno) ;;
11881 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11882 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11883 esac
11888 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11889 then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11891 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11892 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11893 $as_echo_n "(cached) " >&6
11894 else
11895 ac_check_lib_save_LIBS=$LIBS
11896 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11903 #ifdef __cplusplus
11904 extern "C"
11905 #endif
11906 char XShmQueryExtension ();
11908 main ()
11910 return XShmQueryExtension ();
11912 return 0;
11914 _ACEOF
11915 if ac_fn_c_try_link "$LINENO"; then :
11916 ac_cv_lib_Xext_XShmQueryExtension=yes
11917 else
11918 ac_cv_lib_Xext_XShmQueryExtension=no
11920 rm -f core conftest.err conftest.$ac_objext \
11921 conftest$ac_exeext conftest.$ac_ext
11922 LIBS=$ac_check_lib_save_LIBS
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11925 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11926 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11928 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11933 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11934 case "x$with_xshm" in
11935 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11936 xno) ;;
11937 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11938 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11939 esac
11943 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11944 then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11946 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11947 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11948 $as_echo_n "(cached) " >&6
11949 else
11950 ac_check_lib_save_LIBS=$LIBS
11951 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11958 #ifdef __cplusplus
11959 extern "C"
11960 #endif
11961 char XShapeQueryExtension ();
11963 main ()
11965 return XShapeQueryExtension ();
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_link "$LINENO"; then :
11971 ac_cv_lib_Xext_XShapeQueryExtension=yes
11972 else
11973 ac_cv_lib_Xext_XShapeQueryExtension=no
11975 rm -f core conftest.err conftest.$ac_objext \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_lib_save_LIBS
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11980 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11981 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11983 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11988 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11989 case "x$with_xshape" in
11990 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11991 xno) ;;
11992 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11993 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11994 esac
11998 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11999 then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12001 $as_echo_n "checking for -lXxf86vm... " >&6; }
12002 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12003 $as_echo_n "(cached) " >&6
12004 else
12005 ac_check_soname_save_LIBS=$LIBS
12006 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 #ifdef __cplusplus
12014 extern "C"
12015 #endif
12016 char XF86VidModeQueryExtension ();
12018 main ()
12020 return XF86VidModeQueryExtension ();
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_link "$LINENO"; then :
12026 case "$LIBEXT" in
12027 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12028 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'` ;;
12029 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12030 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12031 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12032 fi ;;
12033 esac
12034 else
12035 ac_cv_lib_soname_Xxf86vm=
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_soname_save_LIBS
12041 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12043 $as_echo "not found" >&6; }
12045 else
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12047 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12049 cat >>confdefs.h <<_ACEOF
12050 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12051 _ACEOF
12056 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12057 case "x$with_xxf86vm" in
12058 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12061 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12067 then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12069 $as_echo_n "checking for -lXrender... " >&6; }
12070 if ${ac_cv_lib_soname_Xrender+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char XRenderQueryExtension ();
12086 main ()
12088 return XRenderQueryExtension ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 case "$LIBEXT" in
12095 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12096 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'` ;;
12097 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12098 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12099 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12100 fi ;;
12101 esac
12102 else
12103 ac_cv_lib_soname_Xrender=
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12115 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12117 cat >>confdefs.h <<_ACEOF
12118 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12119 _ACEOF
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12122 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12123 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 ac_check_lib_save_LIBS=$LIBS
12127 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char XRenderSetPictureTransform ();
12139 main ()
12141 return XRenderSetPictureTransform ();
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_link "$LINENO"; then :
12147 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12148 else
12149 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12151 rm -f core conftest.err conftest.$ac_objext \
12152 conftest$ac_exeext conftest.$ac_ext
12153 LIBS=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12156 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12157 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12159 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12164 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12165 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 ac_check_lib_save_LIBS=$LIBS
12169 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char XRenderCreateLinearGradient ();
12181 main ()
12183 return XRenderCreateLinearGradient ();
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12190 else
12191 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12198 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12199 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12201 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12208 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12209 case "x$with_xrender" in
12210 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12211 xno) ;;
12212 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12213 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12214 esac
12218 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12219 then
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 #include <X11/Xlib.h>
12223 #include <X11/extensions/Xrandr.h>
12225 main ()
12227 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12229 return 0;
12231 _ACEOF
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12234 $as_echo_n "checking for -lXrandr... " >&6; }
12235 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char XRRQueryExtension ();
12251 main ()
12253 return XRRQueryExtension ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 case "$LIBEXT" in
12260 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12261 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'` ;;
12262 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12263 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12264 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12265 fi ;;
12266 esac
12267 else
12268 ac_cv_lib_soname_Xrandr=
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12280 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12284 _ACEOF
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 #include <X11/Xlib.h>
12289 #include <X11/extensions/Xrandr.h>
12291 main ()
12293 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_compile "$LINENO"; then :
12300 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12302 else
12303 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12311 case "x$with_xrandr" in
12312 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12313 xno) ;;
12314 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12315 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12316 esac
12320 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12321 then
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12324 #include <X11/Xlib.h>
12325 #include <X11/extensions/Xfixes.h>
12327 main ()
12329 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_compile "$LINENO"; then :
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12336 $as_echo_n "checking for -lXfixes... " >&6; }
12337 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12338 $as_echo_n "(cached) " >&6
12339 else
12340 ac_check_soname_save_LIBS=$LIBS
12341 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12345 /* Override any GCC internal prototype to avoid an error.
12346 Use char because int might match the return type of a GCC
12347 builtin and then its argument prototype would still apply. */
12348 #ifdef __cplusplus
12349 extern "C"
12350 #endif
12351 char XFixesQueryVersion ();
12353 main ()
12355 return XFixesQueryVersion ();
12357 return 0;
12359 _ACEOF
12360 if ac_fn_c_try_link "$LINENO"; then :
12361 case "$LIBEXT" in
12362 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12363 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'` ;;
12364 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12365 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12366 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12367 fi ;;
12368 esac
12369 else
12370 ac_cv_lib_soname_Xfixes=
12372 rm -f core conftest.err conftest.$ac_objext \
12373 conftest$ac_exeext conftest.$ac_ext
12374 LIBS=$ac_check_soname_save_LIBS
12376 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12378 $as_echo "not found" >&6; }
12380 else
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12382 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12384 cat >>confdefs.h <<_ACEOF
12385 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12386 _ACEOF
12391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12393 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12394 case "x$with_xfixes" in
12395 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12396 xno) ;;
12397 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12398 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12399 esac
12403 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12404 then
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12407 #include <X11/Xlib.h>
12408 #include <X11/extensions/Xinerama.h>
12410 main ()
12412 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_compile "$LINENO"; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12419 $as_echo_n "checking for -lXinerama... " >&6; }
12420 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12421 $as_echo_n "(cached) " >&6
12422 else
12423 ac_check_soname_save_LIBS=$LIBS
12424 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12431 #ifdef __cplusplus
12432 extern "C"
12433 #endif
12434 char XineramaQueryScreens ();
12436 main ()
12438 return XineramaQueryScreens ();
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_link "$LINENO"; then :
12444 case "$LIBEXT" in
12445 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12446 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'` ;;
12447 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12448 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12449 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12450 fi ;;
12451 esac
12452 else
12453 ac_cv_lib_soname_Xinerama=
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457 LIBS=$ac_check_soname_save_LIBS
12459 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12461 $as_echo "not found" >&6; }
12463 else
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12465 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12467 cat >>confdefs.h <<_ACEOF
12468 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12469 _ACEOF
12474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12476 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12477 case "x$with_xinerama" in
12478 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12479 xno) ;;
12480 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12481 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12482 esac
12486 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12487 then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12489 $as_echo_n "checking for -lXcomposite... " >&6; }
12490 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 ac_check_soname_save_LIBS=$LIBS
12494 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12501 #ifdef __cplusplus
12502 extern "C"
12503 #endif
12504 char XCompositeRedirectWindow ();
12506 main ()
12508 return XCompositeRedirectWindow ();
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_link "$LINENO"; then :
12514 case "$LIBEXT" in
12515 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12516 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'` ;;
12517 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12518 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12519 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12520 fi ;;
12521 esac
12522 else
12523 ac_cv_lib_soname_Xcomposite=
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 LIBS=$ac_check_soname_save_LIBS
12529 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12531 $as_echo "not found" >&6; }
12533 else
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12535 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12537 cat >>confdefs.h <<_ACEOF
12538 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12539 _ACEOF
12544 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12545 case "x$with_xcomposite" in
12546 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12547 xno) ;;
12548 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12549 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12550 esac
12554 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12555 #include <X11/Xlib.h>
12556 #endif
12558 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12560 cat >>confdefs.h <<_ACEOF
12561 #define HAVE_XICCALLBACK_CALLBACK 1
12562 _ACEOF
12566 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12567 #include <X11/Xlib.h>
12568 #endif
12570 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12572 cat >>confdefs.h <<_ACEOF
12573 #define HAVE_XEVENT_XCOOKIE 1
12574 _ACEOF
12581 opengl_msg=""
12582 if test "x$with_opengl" != "xno"
12583 then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12585 $as_echo_n "checking for -lGL... " >&6; }
12586 if ${ac_cv_lib_soname_GL+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_check_soname_save_LIBS=$LIBS
12590 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12597 #ifdef __cplusplus
12598 extern "C"
12599 #endif
12600 char glXCreateContext ();
12602 main ()
12604 return glXCreateContext ();
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_link "$LINENO"; then :
12610 case "$LIBEXT" in
12611 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12612 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'` ;;
12613 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12614 if ${ac_cv_lib_soname_GL:+false} :; then :
12615 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12616 fi ;;
12617 esac
12618 else
12619 ac_cv_lib_soname_GL=
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_soname_save_LIBS
12625 if ${ac_cv_lib_soname_GL:+false} :; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12627 $as_echo "not found" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12629 $as_echo_n "checking for -lGL... " >&6; }
12630 if ${ac_cv_lib_soname_GL+:} false; then :
12631 $as_echo_n "(cached) " >&6
12632 else
12633 ac_check_soname_save_LIBS=$LIBS
12634 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"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
12644 char glXCreateContext ();
12646 main ()
12648 return glXCreateContext ();
12650 return 0;
12652 _ACEOF
12653 if ac_fn_c_try_link "$LINENO"; then :
12654 case "$LIBEXT" in
12655 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12656 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'` ;;
12657 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12658 if ${ac_cv_lib_soname_GL:+false} :; then :
12659 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12660 fi ;;
12661 esac
12662 else
12663 ac_cv_lib_soname_GL=
12665 rm -f core conftest.err conftest.$ac_objext \
12666 conftest$ac_exeext conftest.$ac_ext
12667 LIBS=$ac_check_soname_save_LIBS
12669 if ${ac_cv_lib_soname_GL:+false} :; then :
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12671 $as_echo "not found" >&6; }
12672 if test -f /usr/X11R6/lib/libGL.a
12673 then
12674 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12675 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12676 else
12677 opengl_msg="No OpenGL library found on this system."
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12681 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12685 _ACEOF
12687 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"
12689 else
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12691 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12693 cat >>confdefs.h <<_ACEOF
12694 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12695 _ACEOF
12697 OPENGL_LIBS="-lGL"
12699 if test "x$with_osmesa" != "xno"
12700 then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12702 $as_echo_n "checking for -lOSMesa... " >&6; }
12703 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12704 $as_echo_n "(cached) " >&6
12705 else
12706 ac_check_soname_save_LIBS=$LIBS
12707 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 #ifdef __cplusplus
12715 extern "C"
12716 #endif
12717 char OSMesaGetProcAddress ();
12719 main ()
12721 return OSMesaGetProcAddress ();
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"; then :
12727 case "$LIBEXT" in
12728 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12729 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'` ;;
12730 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12731 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12732 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12733 fi ;;
12734 esac
12735 else
12736 ac_cv_lib_soname_OSMesa=
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_soname_save_LIBS
12742 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12744 $as_echo "not found" >&6; }
12746 else
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12748 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12750 cat >>confdefs.h <<_ACEOF
12751 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12752 _ACEOF
12756 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12757 case "x$with_osmesa" in
12758 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12759 xno) ;;
12760 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12761 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12762 esac
12767 if test -n "$opengl_msg"; then :
12768 case "x$with_opengl" in
12769 x) as_fn_append wine_warnings "|$opengl_msg
12770 OpenGL and Direct3D won't be supported." ;;
12771 xno) ;;
12772 *) as_fn_error $? "$opengl_msg
12773 OpenGL and Direct3D won't be supported.
12774 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12775 esac
12779 CPPFLAGS="$ac_save_CPPFLAGS"
12780 else
12781 X_CFLAGS=""
12782 X_LIBS=""
12785 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12786 then
12787 if test "x$X_LIBS" = "x"; then :
12788 case "x$with_x" in
12789 xno) ;;
12790 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12791 without X support, which probably isn't what you want. You will need
12792 to install ${notice_platform}development packages of Xlib at the very least.
12793 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12794 esac
12795 enable_winex11_drv=${enable_winex11_drv:-no}
12797 else
12798 if test "x$X_LIBS" = "x"; then :
12799 case "x$with_x" in
12800 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12801 xno) ;;
12802 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12803 This is an error since --with-x was requested." "$LINENO" 5 ;;
12804 esac
12805 enable_winex11_drv=${enable_winex11_drv:-no}
12809 if test "$ac_cv_header_CL_cl_h" = "yes"
12810 then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12812 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12813 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12814 $as_echo_n "(cached) " >&6
12815 else
12816 ac_check_lib_save_LIBS=$LIBS
12817 LIBS="-lOpenCL $LIBS"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 char clGetPlatformInfo ();
12829 main ()
12831 return clGetPlatformInfo ();
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_link "$LINENO"; then :
12837 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12838 else
12839 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12846 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12847 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12848 OPENCL_LIBS="-lOpenCL"
12853 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12854 case "x$with_opencl" in
12855 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12856 xno) ;;
12857 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12858 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12859 esac
12860 enable_opencl=${enable_opencl:-no}
12863 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12864 then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12866 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12867 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12868 $as_echo_n "(cached) " >&6
12869 else
12870 ac_check_lib_save_LIBS=$LIBS
12871 LIBS="-lpcap $LIBS"
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12878 #ifdef __cplusplus
12879 extern "C"
12880 #endif
12881 char pcap_create ();
12883 main ()
12885 return pcap_create ();
12887 return 0;
12889 _ACEOF
12890 if ac_fn_c_try_link "$LINENO"; then :
12891 ac_cv_lib_pcap_pcap_create=yes
12892 else
12893 ac_cv_lib_pcap_pcap_create=no
12895 rm -f core conftest.err conftest.$ac_objext \
12896 conftest$ac_exeext conftest.$ac_ext
12897 LIBS=$ac_check_lib_save_LIBS
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12900 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12901 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12902 PCAP_LIBS="-lpcap"
12907 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12908 case "x$with_pcap" in
12909 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12912 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12913 esac
12914 enable_wpcap=${enable_wpcap:-no}
12918 if test "x$with_xml" != "xno"
12919 then
12920 if ${XML2_CFLAGS:+false} :; then :
12921 if ${PKG_CONFIG+:} false; then :
12922 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12925 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12926 if ${XML2_LIBS:+false} :; then :
12927 if ${PKG_CONFIG+:} false; then :
12928 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12931 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12932 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12933 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12934 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12935 ac_save_CPPFLAGS=$CPPFLAGS
12936 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12937 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12938 do :
12939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12940 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12942 cat >>confdefs.h <<_ACEOF
12943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12944 _ACEOF
12948 done
12950 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"
12951 then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12953 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12954 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_check_lib_save_LIBS=$LIBS
12958 LIBS="-lxml2 $XML2_LIBS $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 #ifdef __cplusplus
12966 extern "C"
12967 #endif
12968 char xmlParseMemory ();
12970 main ()
12972 return xmlParseMemory ();
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_link "$LINENO"; then :
12978 ac_cv_lib_xml2_xmlParseMemory=yes
12979 else
12980 ac_cv_lib_xml2_xmlParseMemory=no
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 LIBS=$ac_check_lib_save_LIBS
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12987 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12988 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12990 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12992 else
12993 XML2_LIBS=""
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12997 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12998 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12999 $as_echo_n "(cached) " >&6
13000 else
13001 ac_check_lib_save_LIBS=$LIBS
13002 LIBS="-lxml2 $XML2_LIBS $LIBS"
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char xmlReadMemory ();
13014 main ()
13016 return xmlReadMemory ();
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_link "$LINENO"; then :
13022 ac_cv_lib_xml2_xmlReadMemory=yes
13023 else
13024 ac_cv_lib_xml2_xmlReadMemory=no
13026 rm -f core conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13028 LIBS=$ac_check_lib_save_LIBS
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13031 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13032 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13034 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13039 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13040 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13041 $as_echo_n "(cached) " >&6
13042 else
13043 ac_check_lib_save_LIBS=$LIBS
13044 LIBS="-lxml2 $XML2_LIBS $LIBS"
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13048 /* Override any GCC internal prototype to avoid an error.
13049 Use char because int might match the return type of a GCC
13050 builtin and then its argument prototype would still apply. */
13051 #ifdef __cplusplus
13052 extern "C"
13053 #endif
13054 char xmlNewDocPI ();
13056 main ()
13058 return xmlNewDocPI ();
13060 return 0;
13062 _ACEOF
13063 if ac_fn_c_try_link "$LINENO"; then :
13064 ac_cv_lib_xml2_xmlNewDocPI=yes
13065 else
13066 ac_cv_lib_xml2_xmlNewDocPI=no
13068 rm -f core conftest.err conftest.$ac_objext \
13069 conftest$ac_exeext conftest.$ac_ext
13070 LIBS=$ac_check_lib_save_LIBS
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13073 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13074 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13076 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13081 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13082 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13083 $as_echo_n "(cached) " >&6
13084 else
13085 ac_check_lib_save_LIBS=$LIBS
13086 LIBS="-lxml2 $XML2_LIBS $LIBS"
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13093 #ifdef __cplusplus
13094 extern "C"
13095 #endif
13096 char xmlSchemaSetParserStructuredErrors ();
13098 main ()
13100 return xmlSchemaSetParserStructuredErrors ();
13102 return 0;
13104 _ACEOF
13105 if ac_fn_c_try_link "$LINENO"; then :
13106 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13107 else
13108 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13110 rm -f core conftest.err conftest.$ac_objext \
13111 conftest$ac_exeext conftest.$ac_ext
13112 LIBS=$ac_check_lib_save_LIBS
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13115 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13116 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13118 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13123 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13124 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 ac_check_lib_save_LIBS=$LIBS
13128 LIBS="-lxml2 $XML2_LIBS $LIBS"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char xmlSchemaSetValidStructuredErrors ();
13140 main ()
13142 return xmlSchemaSetValidStructuredErrors ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13149 else
13150 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13152 rm -f core conftest.err conftest.$ac_objext \
13153 conftest$ac_exeext conftest.$ac_ext
13154 LIBS=$ac_check_lib_save_LIBS
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13157 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13158 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13160 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13165 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13166 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13167 $as_echo_n "(cached) " >&6
13168 else
13169 ac_check_lib_save_LIBS=$LIBS
13170 LIBS="-lxml2 $XML2_LIBS $LIBS"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char xmlFirstElementChild ();
13182 main ()
13184 return xmlFirstElementChild ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_lib_xml2_xmlFirstElementChild=yes
13191 else
13192 ac_cv_lib_xml2_xmlFirstElementChild=no
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13196 LIBS=$ac_check_lib_save_LIBS
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13199 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13200 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13202 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13206 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13208 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13210 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13214 else
13215 XML2_CFLAGS=""
13216 XML2_LIBS=""
13218 CPPFLAGS=$ac_save_CPPFLAGS
13221 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13222 case "x$with_xml" in
13223 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13224 xno) ;;
13225 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13226 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13227 esac
13231 if test "x$with_xslt" != "xno"
13232 then
13233 if ${XSLT_CFLAGS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13238 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13239 if ${XSLT_LIBS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13244 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13245 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13246 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13248 ac_save_CPPFLAGS=$CPPFLAGS
13249 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13250 for ac_header in libxslt/pattern.h libxslt/transform.h
13251 do :
13252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13253 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13254 # include <libxslt/pattern.h>
13255 #endif
13257 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13258 cat >>confdefs.h <<_ACEOF
13259 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13260 _ACEOF
13264 done
13266 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13267 then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13269 $as_echo_n "checking for -lxslt... " >&6; }
13270 if ${ac_cv_lib_soname_xslt+:} false; then :
13271 $as_echo_n "(cached) " >&6
13272 else
13273 ac_check_soname_save_LIBS=$LIBS
13274 LIBS="-lxslt $XSLT_LIBS $LIBS"
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13281 #ifdef __cplusplus
13282 extern "C"
13283 #endif
13284 char xsltCompilePattern ();
13286 main ()
13288 return xsltCompilePattern ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 case "$LIBEXT" in
13295 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13296 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'` ;;
13297 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13298 if ${ac_cv_lib_soname_xslt:+false} :; then :
13299 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13300 fi ;;
13301 esac
13302 else
13303 ac_cv_lib_soname_xslt=
13305 rm -f core conftest.err conftest.$ac_objext \
13306 conftest$ac_exeext conftest.$ac_ext
13307 LIBS=$ac_check_soname_save_LIBS
13309 if ${ac_cv_lib_soname_xslt:+false} :; then :
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13311 $as_echo "not found" >&6; }
13313 else
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13315 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13317 cat >>confdefs.h <<_ACEOF
13318 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13319 _ACEOF
13323 else
13324 XSLT_CFLAGS=""
13326 CPPFLAGS=$ac_save_CPPFLAGS
13329 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13330 case "x$with_xslt" in
13331 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13332 xno) ;;
13333 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13334 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13335 esac
13339 if test "x$with_inotify" != "xno"
13340 then
13341 if ${INOTIFY_CFLAGS:+false} :; then :
13342 if ${PKG_CONFIG+:} false; then :
13343 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13347 if ${INOTIFY_LIBS:+false} :; then :
13348 if ${PKG_CONFIG+:} false; then :
13349 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13354 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13355 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13356 ac_save_CPPFLAGS=$CPPFLAGS
13357 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13358 for ac_header in sys/inotify.h
13359 do :
13360 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13361 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13362 cat >>confdefs.h <<_ACEOF
13363 #define HAVE_SYS_INOTIFY_H 1
13364 _ACEOF
13368 done
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13371 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13372 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13373 $as_echo_n "(cached) " >&6
13374 else
13375 ac_check_lib_save_LIBS=$LIBS
13376 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 /* Override any GCC internal prototype to avoid an error.
13381 Use char because int might match the return type of a GCC
13382 builtin and then its argument prototype would still apply. */
13383 #ifdef __cplusplus
13384 extern "C"
13385 #endif
13386 char inotify_add_watch ();
13388 main ()
13390 return inotify_add_watch ();
13392 return 0;
13394 _ACEOF
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 ac_cv_lib_inotify_inotify_add_watch=yes
13397 else
13398 ac_cv_lib_inotify_inotify_add_watch=no
13400 rm -f core conftest.err conftest.$ac_objext \
13401 conftest$ac_exeext conftest.$ac_ext
13402 LIBS=$ac_check_lib_save_LIBS
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13405 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13406 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13408 else
13409 INOTIFY_LIBS=""
13412 CPPFLAGS=$ac_save_CPPFLAGS
13415 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13416 case "x$with_inotify" in
13417 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13418 xno) ;;
13419 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13420 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13421 esac
13425 if test "x$with_dbus" != "xno"
13426 then
13427 if ${DBUS_CFLAGS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13433 if ${DBUS_LIBS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13440 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13442 ac_save_CPPFLAGS=$CPPFLAGS
13443 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13444 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13447 $as_echo_n "checking for -ldbus-1... " >&6; }
13448 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 ac_check_soname_save_LIBS=$LIBS
13452 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13459 #ifdef __cplusplus
13460 extern "C"
13461 #endif
13462 char dbus_connection_close ();
13464 main ()
13466 return dbus_connection_close ();
13468 return 0;
13470 _ACEOF
13471 if ac_fn_c_try_link "$LINENO"; then :
13472 case "$LIBEXT" in
13473 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13474 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'` ;;
13475 *) 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'`
13476 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13477 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13478 fi ;;
13479 esac
13480 else
13481 ac_cv_lib_soname_dbus_1=
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13490 DBUS_CFLAGS=""
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13493 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13497 _ACEOF
13501 else
13502 DBUS_CFLAGS=""
13506 CPPFLAGS=$ac_save_CPPFLAGS
13509 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13510 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13511 case "x$with_dbus" in
13512 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13513 xno) ;;
13514 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13515 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13516 esac
13520 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13521 then
13522 if ${HAL_CFLAGS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13528 if ${HAL_LIBS:+false} :; then :
13529 if ${PKG_CONFIG+:} false; then :
13530 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13534 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13535 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13536 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13537 ac_save_CPPFLAGS=$CPPFLAGS
13538 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13539 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13540 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13542 $as_echo_n "checking for -lhal... " >&6; }
13543 if ${ac_cv_lib_soname_hal+:} false; then :
13544 $as_echo_n "(cached) " >&6
13545 else
13546 ac_check_soname_save_LIBS=$LIBS
13547 LIBS="-lhal $HAL_LIBS $LIBS"
13548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13551 /* Override any GCC internal prototype to avoid an error.
13552 Use char because int might match the return type of a GCC
13553 builtin and then its argument prototype would still apply. */
13554 #ifdef __cplusplus
13555 extern "C"
13556 #endif
13557 char libhal_ctx_new ();
13559 main ()
13561 return libhal_ctx_new ();
13563 return 0;
13565 _ACEOF
13566 if ac_fn_c_try_link "$LINENO"; then :
13567 case "$LIBEXT" in
13568 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13569 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'` ;;
13570 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13571 if ${ac_cv_lib_soname_hal:+false} :; then :
13572 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13573 fi ;;
13574 esac
13575 else
13576 ac_cv_lib_soname_hal=
13578 rm -f core conftest.err conftest.$ac_objext \
13579 conftest$ac_exeext conftest.$ac_ext
13580 LIBS=$ac_check_soname_save_LIBS
13582 if ${ac_cv_lib_soname_hal:+false} :; then :
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13584 $as_echo "not found" >&6; }
13585 HAL_CFLAGS=""
13586 else
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13588 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13590 cat >>confdefs.h <<_ACEOF
13591 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13592 _ACEOF
13596 else
13597 HAL_CFLAGS=""
13601 CPPFLAGS=$ac_save_CPPFLAGS
13603 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13604 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13605 case "x$with_hal" in
13606 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13607 xno) ;;
13608 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13609 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13610 esac
13615 if test "x$with_gnutls" != "xno"
13616 then
13617 if ${GNUTLS_CFLAGS:+false} :; then :
13618 if ${PKG_CONFIG+:} false; then :
13619 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13623 if ${GNUTLS_LIBS:+false} :; then :
13624 if ${PKG_CONFIG+:} false; then :
13625 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13629 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13630 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13631 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13632 ac_save_CPPFLAGS=$CPPFLAGS
13633 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13634 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13635 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 #include <gnutls/gnutls.h>
13639 #include <gnutls/crypto.h>
13641 main ()
13643 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13645 return 0;
13647 _ACEOF
13648 if ac_fn_c_try_compile "$LINENO"; then :
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13650 $as_echo_n "checking for -lgnutls... " >&6; }
13651 if ${ac_cv_lib_soname_gnutls+:} false; then :
13652 $as_echo_n "(cached) " >&6
13653 else
13654 ac_check_soname_save_LIBS=$LIBS
13655 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13659 /* Override any GCC internal prototype to avoid an error.
13660 Use char because int might match the return type of a GCC
13661 builtin and then its argument prototype would still apply. */
13662 #ifdef __cplusplus
13663 extern "C"
13664 #endif
13665 char gnutls_global_init ();
13667 main ()
13669 return gnutls_global_init ();
13671 return 0;
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 case "$LIBEXT" in
13676 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13677 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'` ;;
13678 *) 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'`
13679 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13680 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'`
13681 fi ;;
13682 esac
13683 else
13684 ac_cv_lib_soname_gnutls=
13686 rm -f core conftest.err conftest.$ac_objext \
13687 conftest$ac_exeext conftest.$ac_ext
13688 LIBS=$ac_check_soname_save_LIBS
13690 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13692 $as_echo "not found" >&6; }
13693 GNUTLS_CFLAGS=""
13694 else
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13696 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13698 cat >>confdefs.h <<_ACEOF
13699 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13700 _ACEOF
13704 ac_wine_check_funcs_save_LIBS="$LIBS"
13705 LIBS="$LIBS $GNUTLS_LIBS"
13706 for ac_func in gnutls_cipher_init
13707 do :
13708 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13709 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13710 cat >>confdefs.h <<_ACEOF
13711 #define HAVE_GNUTLS_CIPHER_INIT 1
13712 _ACEOF
13714 else
13715 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13717 done
13719 LIBS="$ac_wine_check_funcs_save_LIBS"
13721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13722 else
13723 GNUTLS_CFLAGS=""
13727 CPPFLAGS=$ac_save_CPPFLAGS
13730 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13731 case "x$with_gnutls" in
13732 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13733 xno) ;;
13734 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13735 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13736 esac
13740 if test "x$with_sane" != "xno"
13741 then
13742 if ${SANE_CFLAGS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13747 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13748 if ${SANE_LIBS:+false} :; then :
13749 if ${PKG_CONFIG+:} false; then :
13750 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13753 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13755 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13756 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13757 ac_save_CPPFLAGS=$CPPFLAGS
13758 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13759 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13760 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13762 $as_echo_n "checking for -lsane... " >&6; }
13763 if ${ac_cv_lib_soname_sane+:} false; then :
13764 $as_echo_n "(cached) " >&6
13765 else
13766 ac_check_soname_save_LIBS=$LIBS
13767 LIBS="-lsane $SANE_LIBS $LIBS"
13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13771 /* Override any GCC internal prototype to avoid an error.
13772 Use char because int might match the return type of a GCC
13773 builtin and then its argument prototype would still apply. */
13774 #ifdef __cplusplus
13775 extern "C"
13776 #endif
13777 char sane_init ();
13779 main ()
13781 return sane_init ();
13783 return 0;
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"; then :
13787 case "$LIBEXT" in
13788 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13789 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'` ;;
13790 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13791 if ${ac_cv_lib_soname_sane:+false} :; then :
13792 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13793 fi ;;
13794 esac
13795 else
13796 ac_cv_lib_soname_sane=
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 LIBS=$ac_check_soname_save_LIBS
13802 if ${ac_cv_lib_soname_sane:+false} :; then :
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13804 $as_echo "not found" >&6; }
13805 SANE_CFLAGS=""
13806 else
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13808 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13810 cat >>confdefs.h <<_ACEOF
13811 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13812 _ACEOF
13816 else
13817 SANE_CFLAGS=""
13821 CPPFLAGS=$ac_save_CPPFLAGS
13824 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13825 case "x$with_sane" in
13826 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13827 xno) ;;
13828 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13829 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13830 esac
13834 if test "x$with_usb" != "xno"
13835 then
13836 if ${USB_CFLAGS:+false} :; then :
13837 if ${PKG_CONFIG+:} false; then :
13838 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13842 if ${USB_LIBS:+false} :; then :
13843 if ${PKG_CONFIG+:} false; then :
13844 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13848 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13849 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13850 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13851 ac_save_CPPFLAGS=$CPPFLAGS
13852 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13853 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13854 if test "x$ac_cv_header_libusb_h" = xyes; then :
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13856 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13857 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13858 $as_echo_n "(cached) " >&6
13859 else
13860 ac_check_lib_save_LIBS=$LIBS
13861 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13865 /* Override any GCC internal prototype to avoid an error.
13866 Use char because int might match the return type of a GCC
13867 builtin and then its argument prototype would still apply. */
13868 #ifdef __cplusplus
13869 extern "C"
13870 #endif
13871 char libusb_interrupt_event_handler ();
13873 main ()
13875 return libusb_interrupt_event_handler ();
13877 return 0;
13879 _ACEOF
13880 if ac_fn_c_try_link "$LINENO"; then :
13881 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13882 else
13883 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_lib_save_LIBS
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13890 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13891 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13893 else
13894 USB_LIBS=""
13897 else
13898 USB_LIBS=""
13902 CPPFLAGS=$ac_save_CPPFLAGS
13905 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13906 case "x$with_usb" in
13907 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13908 xno) ;;
13909 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13910 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13911 esac
13912 enable_wineusb_sys=${enable_wineusb_sys:-no}
13915 if test "x$with_v4l2" != "xno"
13916 then
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13918 $as_echo_n "checking for -lv4l2... " >&6; }
13919 if ${ac_cv_lib_soname_v4l2+:} false; then :
13920 $as_echo_n "(cached) " >&6
13921 else
13922 ac_check_soname_save_LIBS=$LIBS
13923 LIBS="-lv4l2 $LIBS"
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13927 /* Override any GCC internal prototype to avoid an error.
13928 Use char because int might match the return type of a GCC
13929 builtin and then its argument prototype would still apply. */
13930 #ifdef __cplusplus
13931 extern "C"
13932 #endif
13933 char v4l2_open ();
13935 main ()
13937 return v4l2_open ();
13939 return 0;
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"; then :
13943 case "$LIBEXT" in
13944 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13945 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'` ;;
13946 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13947 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13948 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13949 fi ;;
13950 esac
13951 else
13952 ac_cv_lib_soname_v4l2=
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 LIBS=$ac_check_soname_save_LIBS
13958 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13960 $as_echo "not found" >&6; }
13962 else
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13964 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13966 cat >>confdefs.h <<_ACEOF
13967 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13968 _ACEOF
13973 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13974 case "x$with_v4l2" in
13975 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13976 xno) ;;
13977 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13978 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13979 esac
13983 if test "x$with_gphoto" != "xno"
13984 then
13985 if ${GPHOTO2_CFLAGS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13990 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13991 if ${GPHOTO2_LIBS:+false} :; then :
13992 if ${PKG_CONFIG+:} false; then :
13993 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13996 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13997 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13998 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14000 ac_save_CPPFLAGS=$CPPFLAGS
14001 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14002 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14003 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14005 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14006 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_check_lib_save_LIBS=$LIBS
14010 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14014 /* Override any GCC internal prototype to avoid an error.
14015 Use char because int might match the return type of a GCC
14016 builtin and then its argument prototype would still apply. */
14017 #ifdef __cplusplus
14018 extern "C"
14019 #endif
14020 char gp_camera_new ();
14022 main ()
14024 return gp_camera_new ();
14026 return 0;
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_lib_gphoto2_gp_camera_new=yes
14031 else
14032 ac_cv_lib_gphoto2_gp_camera_new=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 LIBS=$ac_check_lib_save_LIBS
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14039 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14040 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14042 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14044 else
14045 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14048 else
14049 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14053 CPPFLAGS=$ac_save_CPPFLAGS
14055 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14060 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14061 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14062 if ${PKG_CONFIG+:} false; then :
14063 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14066 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14067 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14069 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14070 ac_save_CPPFLAGS=$CPPFLAGS
14071 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14072 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14073 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14075 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14076 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 ac_check_lib_save_LIBS=$LIBS
14080 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14087 #ifdef __cplusplus
14088 extern "C"
14089 #endif
14090 char gp_port_info_list_new ();
14092 main ()
14094 return gp_port_info_list_new ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"; then :
14100 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14101 else
14102 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14104 rm -f core conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14109 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14110 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14112 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14114 else
14115 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14118 else
14119 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14123 CPPFLAGS=$ac_save_CPPFLAGS
14126 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14127 case "x$with_gphoto" in
14128 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14129 xno) ;;
14130 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14131 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14132 esac
14135 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14136 case "x$with_gphoto" in
14137 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14138 xno) ;;
14139 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14140 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14141 esac
14146 if test "$ac_cv_header_resolv_h" = "yes"
14147 then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14149 $as_echo_n "checking for resolver library... " >&6; }
14150 if ${ac_cv_have_resolv+:} false; then :
14151 $as_echo_n "(cached) " >&6
14152 else
14153 ac_save_LIBS="$LIBS"
14154 for lib in '' -lresolv
14156 LIBS="$lib $ac_save_LIBS"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 #ifdef HAVE_NETINET_IN_H
14160 #include <netinet/in.h>
14161 #endif
14162 #include <resolv.h>
14164 main ()
14166 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 ac_cv_have_resolv=${lib:-"none required"}
14173 else
14174 ac_cv_have_resolv="not found"
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 test "x$ac_cv_have_resolv" = "xnot found" || break
14179 done
14180 LIBS="$ac_save_LIBS"
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14183 $as_echo "$ac_cv_have_resolv" >&6; }
14185 case "$ac_cv_have_resolv" in
14186 "not found") ;;
14187 "none required")
14189 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14192 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14194 RESOLV_LIBS=$ac_cv_have_resolv
14196 esac
14198 if test "x$ac_cv_have_resolv" != "xnot found"
14199 then
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14201 $as_echo_n "checking for res_getservers... " >&6; }
14202 if ${ac_cv_have_res_getservers+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_save_LIBS="$LIBS"
14206 LIBS="$RESOLV_LIBS $LIBS"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 #include <resolv.h>
14211 main ()
14213 res_getservers(NULL, NULL, 0);
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"; then :
14219 ac_cv_have_res_getservers=yes
14220 else
14221 ac_cv_have_res_getservers=no
14223 rm -f core conftest.err conftest.$ac_objext \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS="$ac_save_LIBS"
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14228 $as_echo "$ac_cv_have_res_getservers" >&6; }
14229 if test "$ac_cv_have_res_getservers" = "yes"
14230 then
14232 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14238 if test "x$with_cms" != "xno"
14239 then
14240 if ${LCMS2_CFLAGS:+false} :; then :
14241 if ${PKG_CONFIG+:} false; then :
14242 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14246 if ${LCMS2_LIBS:+false} :; then :
14247 if ${PKG_CONFIG+:} false; then :
14248 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14252 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14253 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14254 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14255 ac_save_CPPFLAGS=$CPPFLAGS
14256 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14257 for ac_header in lcms2.h
14258 do :
14259 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14260 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14261 cat >>confdefs.h <<_ACEOF
14262 #define HAVE_LCMS2_H 1
14263 _ACEOF
14267 done
14269 if test "$ac_cv_header_lcms2_h" = "yes"
14270 then
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14272 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14273 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14274 $as_echo_n "(cached) " >&6
14275 else
14276 ac_check_lib_save_LIBS=$LIBS
14277 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14281 /* Override any GCC internal prototype to avoid an error.
14282 Use char because int might match the return type of a GCC
14283 builtin and then its argument prototype would still apply. */
14284 #ifdef __cplusplus
14285 extern "C"
14286 #endif
14287 char cmsOpenProfileFromFile ();
14289 main ()
14291 return cmsOpenProfileFromFile ();
14293 return 0;
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14298 else
14299 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14301 rm -f core conftest.err conftest.$ac_objext \
14302 conftest$ac_exeext conftest.$ac_ext
14303 LIBS=$ac_check_lib_save_LIBS
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14306 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14307 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14309 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14311 else
14312 LCMS2_LIBS=""
14315 else
14316 LCMS2_CFLAGS=""
14317 LCMS2_LIBS=""
14319 CPPFLAGS=$ac_save_CPPFLAGS
14322 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14323 case "x$with_cms" in
14324 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14325 xno) ;;
14326 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14327 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14328 esac
14332 if test "x$with_freetype" != "xno"
14333 then
14334 if ${FREETYPE_CFLAGS:+false} :; then :
14335 if ${PKG_CONFIG+:} false; then :
14336 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14339 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14340 if ${FREETYPE_LIBS:+false} :; then :
14341 if ${PKG_CONFIG+:} false; then :
14342 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14345 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14346 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14347 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14348 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14349 ac_save_CPPFLAGS=$CPPFLAGS
14350 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14351 for ac_header in ft2build.h
14352 do :
14353 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14354 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14355 cat >>confdefs.h <<_ACEOF
14356 #define HAVE_FT2BUILD_H 1
14357 _ACEOF
14361 done
14363 if test "$ac_cv_header_ft2build_h" = "yes"
14364 then
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14366 $as_echo_n "checking for -lfreetype... " >&6; }
14367 if ${ac_cv_lib_soname_freetype+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_check_soname_save_LIBS=$LIBS
14371 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14378 #ifdef __cplusplus
14379 extern "C"
14380 #endif
14381 char FT_Init_FreeType ();
14383 main ()
14385 return FT_Init_FreeType ();
14387 return 0;
14389 _ACEOF
14390 if ac_fn_c_try_link "$LINENO"; then :
14391 case "$LIBEXT" in
14392 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14393 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'` ;;
14394 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14395 if ${ac_cv_lib_soname_freetype:+false} :; then :
14396 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14397 fi ;;
14398 esac
14399 else
14400 ac_cv_lib_soname_freetype=
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14404 LIBS=$ac_check_soname_save_LIBS
14406 if ${ac_cv_lib_soname_freetype:+false} :; then :
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14408 $as_echo "not found" >&6; }
14409 FREETYPE_LIBS=""
14410 else
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14412 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14414 cat >>confdefs.h <<_ACEOF
14415 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14416 _ACEOF
14419 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14421 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14422 #include FT_MODULE_H
14424 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14426 cat >>confdefs.h <<_ACEOF
14427 #define HAVE_FT_TRUETYPEENGINETYPE 1
14428 _ACEOF
14434 else
14435 FREETYPE_CFLAGS=""
14436 FREETYPE_LIBS=""
14438 CPPFLAGS=$ac_save_CPPFLAGS
14441 if test "x$ac_cv_lib_soname_freetype" = x; then :
14442 case "x$with_freetype" in
14443 xno) ;;
14444 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14445 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14446 esac
14447 enable_fonts=${enable_fonts:-no}
14450 ac_wine_check_funcs_save_LIBS="$LIBS"
14451 LIBS="$LIBS $PTHREAD_LIBS"
14452 for ac_func in \
14453 pthread_getthreadid_np
14454 do :
14455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14460 _ACEOF
14463 done
14465 LIBS="$ac_wine_check_funcs_save_LIBS"
14467 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14468 then
14469 if test "$ac_cv_header_gettext_po_h" = "yes"
14470 then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14472 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14473 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 ac_check_lib_save_LIBS=$LIBS
14477 LIBS="-lgettextpo $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 #ifdef __cplusplus
14485 extern "C"
14486 #endif
14487 char po_message_msgctxt ();
14489 main ()
14491 return po_message_msgctxt ();
14493 return 0;
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14498 else
14499 ac_cv_lib_gettextpo_po_message_msgctxt=no
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 LIBS=$ac_check_lib_save_LIBS
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14506 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14507 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14509 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14511 GETTEXTPO_LIBS="-lgettextpo"
14516 if test "x$GETTEXTPO_LIBS" = "x"; then :
14517 case "x$with_gettextpo" in
14518 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14519 xno) ;;
14520 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14521 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14522 esac
14525 if test "$srcdir" != .; then :
14526 case "x$with_gettextpo" in
14527 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14528 xno) ;;
14529 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14530 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14531 esac
14536 if test "x$with_pulse" != "xno";
14537 then
14538 if ${PULSE_CFLAGS:+false} :; then :
14539 if ${PKG_CONFIG+:} false; then :
14540 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14544 if ${PULSE_LIBS:+false} :; then :
14545 if ${PKG_CONFIG+:} false; then :
14546 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14551 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14552 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14553 ac_save_CPPFLAGS=$CPPFLAGS
14554 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14555 for ac_header in pulse/pulseaudio.h
14556 do :
14557 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14558 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14559 cat >>confdefs.h <<_ACEOF
14560 #define HAVE_PULSE_PULSEAUDIO_H 1
14561 _ACEOF
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14563 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14564 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_check_lib_save_LIBS=$LIBS
14568 LIBS="-lpulse $PULSE_LIBS $LIBS"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14575 #ifdef __cplusplus
14576 extern "C"
14577 #endif
14578 char pa_stream_is_corked ();
14580 main ()
14582 return pa_stream_is_corked ();
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_lib_pulse_pa_stream_is_corked=yes
14589 else
14590 ac_cv_lib_pulse_pa_stream_is_corked=no
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14594 LIBS=$ac_check_lib_save_LIBS
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14597 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14598 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14600 else
14601 PULSE_LIBS=""
14604 else
14605 PULSE_LIBS=""
14608 done
14610 CPPFLAGS=$ac_save_CPPFLAGS
14613 if test -z "$PULSE_LIBS"; then :
14614 case "x$with_pulse" in
14615 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14616 xno) ;;
14617 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14618 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14619 esac
14620 enable_winepulse_drv=${enable_winepulse_drv:-no}
14623 if test "x$with_gstreamer" != "xno"
14624 then
14625 if ${GSTREAMER_CFLAGS:+false} :; then :
14626 if ${PKG_CONFIG+:} false; then :
14627 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14631 if ${GSTREAMER_LIBS:+false} :; then :
14632 if ${PKG_CONFIG+:} false; then :
14633 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14638 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14639 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14640 ac_save_CPPFLAGS=$CPPFLAGS
14641 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14642 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14643 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14645 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 #include <gst/gst.h>
14650 main ()
14652 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_compile "$LINENO"; then :
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14659 $as_echo "yes" >&6; }
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14661 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14662 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 ac_check_lib_save_LIBS=$LIBS
14666 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply. */
14673 #ifdef __cplusplus
14674 extern "C"
14675 #endif
14676 char gst_pad_new ();
14678 main ()
14680 return gst_pad_new ();
14682 return 0;
14684 _ACEOF
14685 if ac_fn_c_try_link "$LINENO"; then :
14686 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14687 else
14688 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14690 rm -f core conftest.err conftest.$ac_objext \
14691 conftest$ac_exeext conftest.$ac_ext
14692 LIBS=$ac_check_lib_save_LIBS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14695 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14696 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14700 else
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14702 $as_echo "no" >&6; }
14703 ac_glib2_broken=yes
14704 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14710 CPPFLAGS=$ac_save_CPPFLAGS
14713 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14714 then
14715 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14716 case "x$with_gstreamer" in
14717 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14718 xno) ;;
14719 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14720 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14721 esac
14725 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14727 ALSA_LIBS=""
14729 if test "x$with_alsa" != "xno"
14730 then
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14732 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14733 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 ac_check_lib_save_LIBS=$LIBS
14737 LIBS="-lasound $LIBS"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14744 #ifdef __cplusplus
14745 extern "C"
14746 #endif
14747 char snd_pcm_hw_params_get_access_mask ();
14749 main ()
14751 return snd_pcm_hw_params_get_access_mask ();
14753 return 0;
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14758 else
14759 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 LIBS=$ac_check_lib_save_LIBS
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14766 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14767 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14770 #include <alsa/asoundlib.h>
14772 main ()
14774 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14776 return 0;
14778 _ACEOF
14779 if ac_fn_c_try_compile "$LINENO"; then :
14780 ALSA_LIBS="-lasound"
14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14786 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14788 if test "x$with_oss" != xno
14789 then
14790 ac_save_CPPFLAGS="$CPPFLAGS"
14791 if test -f /etc/oss.conf
14792 then
14793 . /etc/oss.conf
14795 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14796 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14797 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14798 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14799 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14801 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14803 cat >>confdefs.h <<_ACEOF
14804 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14805 _ACEOF
14807 OSS4_CFLAGS="$ac_oss_incl"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14810 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14811 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_check_lib_save_LIBS=$LIBS
14815 LIBS="-lossaudio $LIBS"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 char _oss_ioctl ();
14827 main ()
14829 return _oss_ioctl ();
14831 return 0;
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_lib_ossaudio__oss_ioctl=yes
14836 else
14837 ac_cv_lib_ossaudio__oss_ioctl=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 LIBS=$ac_check_lib_save_LIBS
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14844 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14845 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14846 OSS4_LIBS="-lossaudio"
14855 CPPFLAGS="$ac_save_CPPFLAGS"
14857 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14858 case "x$with_oss" in
14859 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14860 xno) ;;
14861 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14862 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14863 esac
14864 enable_wineoss_drv=${enable_wineoss_drv:-no}
14867 if test "x$with_udev" != "xno"
14868 then
14869 if ${UDEV_CFLAGS:+false} :; then :
14870 if ${PKG_CONFIG+:} false; then :
14871 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14875 if ${UDEV_LIBS:+false} :; then :
14876 if ${PKG_CONFIG+:} false; then :
14877 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14881 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14882 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14883 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14884 ac_save_CPPFLAGS=$CPPFLAGS
14885 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14886 for ac_header in libudev.h
14887 do :
14888 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14889 if test "x$ac_cv_header_libudev_h" = xyes; then :
14890 cat >>confdefs.h <<_ACEOF
14891 #define HAVE_LIBUDEV_H 1
14892 _ACEOF
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14894 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14895 if ${ac_cv_lib_udev_udev_new+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 ac_check_lib_save_LIBS=$LIBS
14899 LIBS="-ludev $UDEV_LIBS $LIBS"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14906 #ifdef __cplusplus
14907 extern "C"
14908 #endif
14909 char udev_new ();
14911 main ()
14913 return udev_new ();
14915 return 0;
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_lib_udev_udev_new=yes
14920 else
14921 ac_cv_lib_udev_udev_new=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14928 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14929 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14931 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14933 else
14934 UDEV_LIBS=""
14937 else
14938 UDEV_LIBS=""
14941 done
14943 CPPFLAGS=$ac_save_CPPFLAGS
14946 if test "x$UDEV_LIBS" = "x"; then :
14947 case "x$with_udev" in
14948 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14949 xno) ;;
14950 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14951 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14952 esac
14956 if test "x$with_unwind" != xno
14957 then
14958 if ${UNWIND_CFLAGS:+false} :; then :
14959 if ${PKG_CONFIG+:} false; then :
14960 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14964 if ${UNWIND_LIBS:+false} :; then :
14965 if ${PKG_CONFIG+:} false; then :
14966 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14970 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14971 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14972 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14973 ac_save_CPPFLAGS=$CPPFLAGS
14974 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14976 $as_echo_n "checking for unw_step... " >&6; }
14977 if ${wine_cv_have_unw_step+:} false; then :
14978 $as_echo_n "(cached) " >&6
14979 else
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 #define UNW_LOCAL_ONLY
14983 #include <libunwind.h>
14985 main ()
14987 unw_cursor_t cursor; unw_step( &cursor );
14989 return 0;
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 wine_cv_have_unw_step="yes"
14994 else
14995 wine_cv_have_unw_step="no"
14997 rm -f core conftest.err conftest.$ac_objext \
14998 conftest$ac_exeext conftest.$ac_ext
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15001 $as_echo "$wine_cv_have_unw_step" >&6; }
15002 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15003 then
15004 save_libs=$LIBS
15005 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15006 LIBS="$UNWIND_LIBS $LIBS"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15008 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15009 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15014 #define UNW_LOCAL_ONLY
15015 #include <libunwind.h>
15017 main ()
15019 unw_cursor_t cursor; unw_step( &cursor );
15021 return 0;
15023 _ACEOF
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 wine_cv_have_libunwind_unw_step="yes"
15026 else
15027 wine_cv_have_libunwind_unw_step="no"
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15033 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15034 LIBS=$save_libs
15036 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15037 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15038 then
15040 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15043 CPPFLAGS=$ac_save_CPPFLAGS
15046 case $host in
15047 aarch64*|*-darwin*)
15048 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15049 case "x$with_unwind" in
15050 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15051 xno) ;;
15052 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15053 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15054 esac
15056 fi ;;
15057 esac
15059 if test "x$with_sdl" != "xno"
15060 then
15061 if ${SDL2_CFLAGS:+false} :; then :
15062 if ${PKG_CONFIG+:} false; then :
15063 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15067 if ${SDL2_LIBS:+false} :; then :
15068 if ${PKG_CONFIG+:} false; then :
15069 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15073 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15074 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15075 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15076 ac_save_CPPFLAGS=$CPPFLAGS
15077 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15078 for ac_header in SDL.h
15079 do :
15080 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15081 if test "x$ac_cv_header_SDL_h" = xyes; then :
15082 cat >>confdefs.h <<_ACEOF
15083 #define HAVE_SDL_H 1
15084 _ACEOF
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15086 $as_echo_n "checking for -lSDL2... " >&6; }
15087 if ${ac_cv_lib_soname_SDL2+:} false; then :
15088 $as_echo_n "(cached) " >&6
15089 else
15090 ac_check_soname_save_LIBS=$LIBS
15091 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15095 /* Override any GCC internal prototype to avoid an error.
15096 Use char because int might match the return type of a GCC
15097 builtin and then its argument prototype would still apply. */
15098 #ifdef __cplusplus
15099 extern "C"
15100 #endif
15101 char SDL_Init ();
15103 main ()
15105 return SDL_Init ();
15107 return 0;
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"; then :
15111 case "$LIBEXT" in
15112 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) 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'`
15115 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15116 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15117 fi ;;
15118 esac
15119 else
15120 ac_cv_lib_soname_SDL2=
15122 rm -f core conftest.err conftest.$ac_objext \
15123 conftest$ac_exeext conftest.$ac_ext
15124 LIBS=$ac_check_soname_save_LIBS
15126 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15128 $as_echo "not found" >&6; }
15130 else
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15132 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15134 cat >>confdefs.h <<_ACEOF
15135 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15136 _ACEOF
15142 done
15144 CPPFLAGS=$ac_save_CPPFLAGS
15147 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15148 case "x$with_sdl" in
15149 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15150 xno) ;;
15151 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15152 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15153 esac
15157 if test "x$with_faudio" != "xno"
15158 then
15159 if ${FAUDIO_CFLAGS:+false} :; then :
15160 if ${PKG_CONFIG+:} false; then :
15161 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15165 if ${FAUDIO_LIBS:+false} :; then :
15166 if ${PKG_CONFIG+:} false; then :
15167 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15171 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15172 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15173 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15174 ac_save_CPPFLAGS=$CPPFLAGS
15175 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15176 for ac_header in FAudio.h
15177 do :
15178 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15179 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15180 cat >>confdefs.h <<_ACEOF
15181 #define HAVE_FAUDIO_H 1
15182 _ACEOF
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15184 $as_echo_n "checking for -lFAudio... " >&6; }
15185 if ${ac_cv_lib_soname_FAudio+:} false; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15188 ac_check_soname_save_LIBS=$LIBS
15189 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 #ifdef __cplusplus
15197 extern "C"
15198 #endif
15199 char FAudioCreate ();
15201 main ()
15203 return FAudioCreate ();
15205 return 0;
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 case "$LIBEXT" in
15210 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15211 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'` ;;
15212 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15213 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15214 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15215 fi ;;
15216 esac
15217 else
15218 ac_cv_lib_soname_FAudio=
15220 rm -f core conftest.err conftest.$ac_objext \
15221 conftest$ac_exeext conftest.$ac_ext
15222 LIBS=$ac_check_soname_save_LIBS
15224 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15226 $as_echo "not found" >&6; }
15228 else
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15230 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15232 cat >>confdefs.h <<_ACEOF
15233 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15234 _ACEOF
15240 done
15242 ac_wine_check_funcs_save_LIBS="$LIBS"
15243 LIBS="$LIBS $FAUDIO_LIBS"
15244 for ac_func in FAudio_CommitOperationSet \
15245 F3DAudioInitialize8 \
15246 FAudioLinkedVersion \
15247 FAudioCreateReverb9WithCustomAllocatorEXT
15248 do :
15249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15251 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15252 cat >>confdefs.h <<_ACEOF
15253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15254 _ACEOF
15257 done
15259 LIBS="$ac_wine_check_funcs_save_LIBS"
15261 CPPFLAGS=$ac_save_CPPFLAGS
15264 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15265 case "x$with_faudio" in
15266 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15267 xno) ;;
15268 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15269 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15270 esac
15274 if test "x$with_capi" != "xno"
15275 then
15276 if ${CAPI20_CFLAGS:+false} :; then :
15277 if ${PKG_CONFIG+:} false; then :
15278 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15282 if ${CAPI20_LIBS:+false} :; then :
15283 if ${PKG_CONFIG+:} false; then :
15284 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15289 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15290 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15291 ac_save_CPPFLAGS=$CPPFLAGS
15292 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15293 for ac_header in capi20.h linux/capi.h
15294 do :
15295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15296 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15298 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15301 _ACEOF
15305 done
15307 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15308 then
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15310 $as_echo_n "checking for -lcapi20... " >&6; }
15311 if ${ac_cv_lib_soname_capi20+:} false; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15314 ac_check_soname_save_LIBS=$LIBS
15315 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15319 /* Override any GCC internal prototype to avoid an error.
15320 Use char because int might match the return type of a GCC
15321 builtin and then its argument prototype would still apply. */
15322 #ifdef __cplusplus
15323 extern "C"
15324 #endif
15325 char capi20_register ();
15327 main ()
15329 return capi20_register ();
15331 return 0;
15333 _ACEOF
15334 if ac_fn_c_try_link "$LINENO"; then :
15335 case "$LIBEXT" in
15336 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15337 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'` ;;
15338 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15339 if ${ac_cv_lib_soname_capi20:+false} :; then :
15340 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15341 fi ;;
15342 esac
15343 else
15344 ac_cv_lib_soname_capi20=
15346 rm -f core conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15348 LIBS=$ac_check_soname_save_LIBS
15350 if ${ac_cv_lib_soname_capi20:+false} :; then :
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15352 $as_echo "not found" >&6; }
15354 else
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15356 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15358 cat >>confdefs.h <<_ACEOF
15359 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15360 _ACEOF
15365 CPPFLAGS=$ac_save_CPPFLAGS
15368 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15369 case "x$with_capi" in
15370 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15371 xno) ;;
15372 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15373 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15374 esac
15378 if test "x$with_cups" != "xno"
15379 then
15380 if ${CUPS_CFLAGS:+false} :; then :
15381 if ${PKG_CONFIG+:} false; then :
15382 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15385 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15386 if ${CUPS_LIBS:+false} :; then :
15387 if ${PKG_CONFIG+:} false; then :
15388 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15391 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15392 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15393 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15394 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15395 ac_save_CPPFLAGS=$CPPFLAGS
15396 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15397 for ac_header in cups/cups.h cups/ppd.h
15398 do :
15399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15400 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15402 cat >>confdefs.h <<_ACEOF
15403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15404 _ACEOF
15408 done
15410 if test "$ac_cv_header_cups_cups_h" = "yes"
15411 then
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15413 $as_echo_n "checking for -lcups... " >&6; }
15414 if ${ac_cv_lib_soname_cups+:} false; then :
15415 $as_echo_n "(cached) " >&6
15416 else
15417 ac_check_soname_save_LIBS=$LIBS
15418 LIBS="-lcups $CUPS_LIBS $LIBS"
15419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15425 #ifdef __cplusplus
15426 extern "C"
15427 #endif
15428 char cupsGetDefault ();
15430 main ()
15432 return cupsGetDefault ();
15434 return 0;
15436 _ACEOF
15437 if ac_fn_c_try_link "$LINENO"; then :
15438 case "$LIBEXT" in
15439 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15440 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'` ;;
15441 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15442 if ${ac_cv_lib_soname_cups:+false} :; then :
15443 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15444 fi ;;
15445 esac
15446 else
15447 ac_cv_lib_soname_cups=
15449 rm -f core conftest.err conftest.$ac_objext \
15450 conftest$ac_exeext conftest.$ac_ext
15451 LIBS=$ac_check_soname_save_LIBS
15453 if ${ac_cv_lib_soname_cups:+false} :; then :
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15455 $as_echo "not found" >&6; }
15456 CUPS_LIBS=""
15457 else
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15459 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15461 cat >>confdefs.h <<_ACEOF
15462 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15463 _ACEOF
15467 else
15468 CUPS_CFLAGS=""
15469 CUPS_LIBS=""
15471 CPPFLAGS=$ac_save_CPPFLAGS
15474 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15475 case "x$with_cups" in
15476 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15477 xno) ;;
15478 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15479 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15480 esac
15484 if test "x$with_fontconfig" != "xno"
15485 then
15486 if ${FONTCONFIG_CFLAGS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15491 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15492 if ${FONTCONFIG_LIBS:+false} :; then :
15493 if ${PKG_CONFIG+:} false; then :
15494 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15497 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15499 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15500 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15501 ac_save_CPPFLAGS=$CPPFLAGS
15502 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15503 for ac_header in fontconfig/fontconfig.h
15504 do :
15505 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15506 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15507 cat >>confdefs.h <<_ACEOF
15508 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15509 _ACEOF
15513 done
15515 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15516 then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15518 $as_echo_n "checking for -lfontconfig... " >&6; }
15519 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15520 $as_echo_n "(cached) " >&6
15521 else
15522 ac_check_soname_save_LIBS=$LIBS
15523 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15525 /* end confdefs.h. */
15527 /* Override any GCC internal prototype to avoid an error.
15528 Use char because int might match the return type of a GCC
15529 builtin and then its argument prototype would still apply. */
15530 #ifdef __cplusplus
15531 extern "C"
15532 #endif
15533 char FcInit ();
15535 main ()
15537 return FcInit ();
15539 return 0;
15541 _ACEOF
15542 if ac_fn_c_try_link "$LINENO"; then :
15543 case "$LIBEXT" in
15544 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15545 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'` ;;
15546 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15547 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15548 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15549 fi ;;
15550 esac
15551 else
15552 ac_cv_lib_soname_fontconfig=
15554 rm -f core conftest.err conftest.$ac_objext \
15555 conftest$ac_exeext conftest.$ac_ext
15556 LIBS=$ac_check_soname_save_LIBS
15558 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15560 $as_echo "not found" >&6; }
15561 FONTCONFIG_CFLAGS=""
15562 else
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15564 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15566 cat >>confdefs.h <<_ACEOF
15567 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15568 _ACEOF
15572 else
15573 FONTCONFIG_CFLAGS=""
15575 CPPFLAGS=$ac_save_CPPFLAGS
15578 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15579 case "x$with_fontconfig" in
15580 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15581 xno) ;;
15582 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15583 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15584 esac
15588 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15589 then
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15591 $as_echo_n "checking for -lgsm... " >&6; }
15592 if ${ac_cv_lib_soname_gsm+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 ac_check_soname_save_LIBS=$LIBS
15596 LIBS="-lgsm $LIBS"
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 #ifdef __cplusplus
15604 extern "C"
15605 #endif
15606 char gsm_create ();
15608 main ()
15610 return gsm_create ();
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_link "$LINENO"; then :
15616 case "$LIBEXT" in
15617 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15618 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'` ;;
15619 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15620 if ${ac_cv_lib_soname_gsm:+false} :; then :
15621 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15622 fi ;;
15623 esac
15624 else
15625 ac_cv_lib_soname_gsm=
15627 rm -f core conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15629 LIBS=$ac_check_soname_save_LIBS
15631 if ${ac_cv_lib_soname_gsm:+false} :; then :
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15633 $as_echo "not found" >&6; }
15635 else
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15637 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15639 cat >>confdefs.h <<_ACEOF
15640 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15641 _ACEOF
15646 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15647 case "x$with_gsm" in
15648 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15649 xno) ;;
15650 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15651 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15652 esac
15656 if test "x$with_krb5" != "xno"
15657 then
15658 if ${KRB5_CFLAGS:+false} :; then :
15659 if ${PKG_CONFIG+:} false; then :
15660 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15663 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15664 if ${KRB5_LIBS:+false} :; then :
15665 if ${PKG_CONFIG+:} false; then :
15666 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15669 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15671 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15672 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15673 ac_save_CPPFLAGS=$CPPFLAGS
15674 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15675 for ac_header in krb5/krb5.h
15676 do :
15677 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15678 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15679 cat >>confdefs.h <<_ACEOF
15680 #define HAVE_KRB5_KRB5_H 1
15681 _ACEOF
15685 done
15687 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15688 then
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15690 $as_echo_n "checking for -lkrb5... " >&6; }
15691 if ${ac_cv_lib_soname_krb5+:} false; then :
15692 $as_echo_n "(cached) " >&6
15693 else
15694 ac_check_soname_save_LIBS=$LIBS
15695 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15699 /* Override any GCC internal prototype to avoid an error.
15700 Use char because int might match the return type of a GCC
15701 builtin and then its argument prototype would still apply. */
15702 #ifdef __cplusplus
15703 extern "C"
15704 #endif
15705 char krb5_is_config_principal ();
15707 main ()
15709 return krb5_is_config_principal ();
15711 return 0;
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"; then :
15715 case "$LIBEXT" in
15716 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15717 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'` ;;
15718 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15719 if ${ac_cv_lib_soname_krb5:+false} :; then :
15720 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15721 fi ;;
15722 esac
15723 else
15724 ac_cv_lib_soname_krb5=
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext conftest.$ac_ext
15728 LIBS=$ac_check_soname_save_LIBS
15730 if ${ac_cv_lib_soname_krb5:+false} :; then :
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15732 $as_echo "not found" >&6; }
15733 KRB5_CFLAGS=""
15734 else
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15736 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15738 cat >>confdefs.h <<_ACEOF
15739 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15740 _ACEOF
15744 else
15745 KRB5_CFLAGS=""
15747 CPPFLAGS=$ac_save_CPPFLAGS
15750 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15751 case "x$with_krb5" in
15752 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15753 xno) ;;
15754 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15755 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15756 esac
15759 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15761 if test "x$with_gssapi" != "xno"
15762 then
15763 if ${GSSAPI_CFLAGS:+false} :; then :
15764 if ${PKG_CONFIG+:} false; then :
15765 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15768 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15769 if ${GSSAPI_LIBS:+false} :; then :
15770 if ${PKG_CONFIG+:} false; then :
15771 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15774 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15776 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15777 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15778 ac_save_CPPFLAGS=$CPPFLAGS
15779 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15780 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15781 do :
15782 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15783 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15784 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15787 _ACEOF
15791 done
15793 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15794 then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15796 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15797 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800 ac_check_soname_save_LIBS=$LIBS
15801 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 #ifdef __cplusplus
15809 extern "C"
15810 #endif
15811 char gss_init_sec_context ();
15813 main ()
15815 return gss_init_sec_context ();
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 case "$LIBEXT" in
15822 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15823 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'` ;;
15824 *) 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'`
15825 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15826 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15827 fi ;;
15828 esac
15829 else
15830 ac_cv_lib_soname_gssapi_krb5=
15832 rm -f core conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15834 LIBS=$ac_check_soname_save_LIBS
15836 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15838 $as_echo "not found" >&6; }
15839 GSSAPI_CFLAGS=""
15840 else
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15842 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15844 cat >>confdefs.h <<_ACEOF
15845 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15846 _ACEOF
15850 else
15851 GSSAPI_CFLAGS=""
15853 CPPFLAGS=$ac_save_CPPFLAGS
15856 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15857 case "x$with_gssapi" in
15858 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15859 xno) ;;
15860 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15861 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15862 esac
15866 if test "x$with_jpeg" != "xno"
15867 then
15868 if ${JPEG_CFLAGS:+false} :; then :
15869 if ${PKG_CONFIG+:} false; then :
15870 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15874 if ${JPEG_LIBS:+false} :; then :
15875 if ${PKG_CONFIG+:} false; then :
15876 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15881 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15882 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15883 ac_save_CPPFLAGS=$CPPFLAGS
15884 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15885 for ac_header in jpeglib.h
15886 do :
15887 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15888 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_JPEGLIB_H 1
15891 _ACEOF
15895 done
15897 if test "$ac_cv_header_jpeglib_h" = "yes"
15898 then
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15900 $as_echo_n "checking for -ljpeg... " >&6; }
15901 if ${ac_cv_lib_soname_jpeg+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 ac_check_soname_save_LIBS=$LIBS
15905 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15912 #ifdef __cplusplus
15913 extern "C"
15914 #endif
15915 char jpeg_start_decompress ();
15917 main ()
15919 return jpeg_start_decompress ();
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_link "$LINENO"; then :
15925 case "$LIBEXT" in
15926 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15927 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'` ;;
15928 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15929 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15930 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15931 fi ;;
15932 esac
15933 else
15934 ac_cv_lib_soname_jpeg=
15936 rm -f core conftest.err conftest.$ac_objext \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_soname_save_LIBS
15940 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15942 $as_echo "not found" >&6; }
15943 JPEG_CFLAGS=""
15944 else
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15946 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15948 cat >>confdefs.h <<_ACEOF
15949 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15950 _ACEOF
15954 else
15955 JPEG_CFLAGS=""
15957 CPPFLAGS=$ac_save_CPPFLAGS
15960 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15961 case "x$with_jpeg" in
15962 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15963 xno) ;;
15964 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15965 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15966 esac
15970 if test "x$with_jxrlib" != "xno"
15971 then
15972 if ${JXRLIB_CFLAGS:+false} :; then :
15973 if ${PKG_CONFIG+:} false; then :
15974 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15977 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15978 if ${JXRLIB_LIBS:+false} :; then :
15979 if ${PKG_CONFIG+:} false; then :
15980 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15985 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15986 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15987 ac_save_CPPFLAGS=$CPPFLAGS
15988 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15989 for ac_header in JXRGlue.h
15990 do :
15991 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15993 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_JXRGLUE_H 1
15996 _ACEOF
16000 done
16002 if test "$ac_cv_header_JXRGlue_h" = "yes"
16003 then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
16005 $as_echo_n "checking for -ljxrglue... " >&6; }
16006 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16007 $as_echo_n "(cached) " >&6
16008 else
16009 ac_check_soname_save_LIBS=$LIBS
16010 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012 /* end confdefs.h. */
16014 /* Override any GCC internal prototype to avoid an error.
16015 Use char because int might match the return type of a GCC
16016 builtin and then its argument prototype would still apply. */
16017 #ifdef __cplusplus
16018 extern "C"
16019 #endif
16020 char PKImageDecode_Create_WMP ();
16022 main ()
16024 return PKImageDecode_Create_WMP ();
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 case "$LIBEXT" in
16031 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16032 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'` ;;
16033 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16034 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16035 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16036 fi ;;
16037 esac
16038 else
16039 ac_cv_lib_soname_jxrglue=
16041 rm -f core conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16043 LIBS=$ac_check_soname_save_LIBS
16045 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16047 $as_echo "not found" >&6; }
16048 JXRLIB_CFLAGS=""
16049 else
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16051 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16053 cat >>confdefs.h <<_ACEOF
16054 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16055 _ACEOF
16059 else
16060 JXRLIB_CFLAGS=""
16062 CPPFLAGS=$ac_save_CPPFLAGS
16065 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16066 case "x$with_jxrlib" in
16067 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16068 xno) ;;
16069 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16070 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16071 esac
16075 if test "x$with_png" != "xno"
16076 then
16077 if ${PNG_CFLAGS:+false} :; then :
16078 if ${PKG_CONFIG+:} false; then :
16079 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16082 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16083 if ${PNG_LIBS:+false} :; then :
16084 if ${PKG_CONFIG+:} false; then :
16085 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16088 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16090 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16091 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16092 ac_save_CPPFLAGS=$CPPFLAGS
16093 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16094 for ac_header in png.h
16095 do :
16096 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16097 if test "x$ac_cv_header_png_h" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_PNG_H 1
16100 _ACEOF
16104 done
16106 if test "$ac_cv_header_png_h" = "yes"
16107 then
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16109 $as_echo_n "checking for -lpng... " >&6; }
16110 if ${ac_cv_lib_soname_png+:} false; then :
16111 $as_echo_n "(cached) " >&6
16112 else
16113 ac_check_soname_save_LIBS=$LIBS
16114 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16118 /* Override any GCC internal prototype to avoid an error.
16119 Use char because int might match the return type of a GCC
16120 builtin and then its argument prototype would still apply. */
16121 #ifdef __cplusplus
16122 extern "C"
16123 #endif
16124 char png_create_read_struct ();
16126 main ()
16128 return png_create_read_struct ();
16130 return 0;
16132 _ACEOF
16133 if ac_fn_c_try_link "$LINENO"; then :
16134 case "$LIBEXT" in
16135 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16136 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'` ;;
16137 *) 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'`
16138 if ${ac_cv_lib_soname_png:+false} :; then :
16139 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16140 fi ;;
16141 esac
16142 else
16143 ac_cv_lib_soname_png=
16145 rm -f core conftest.err conftest.$ac_objext \
16146 conftest$ac_exeext conftest.$ac_ext
16147 LIBS=$ac_check_soname_save_LIBS
16149 if ${ac_cv_lib_soname_png:+false} :; then :
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16151 $as_echo "not found" >&6; }
16152 PNG_CFLAGS=""
16153 else
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16155 $as_echo "$ac_cv_lib_soname_png" >&6; }
16157 cat >>confdefs.h <<_ACEOF
16158 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16159 _ACEOF
16163 else
16164 PNG_CFLAGS=""
16166 CPPFLAGS=$ac_save_CPPFLAGS
16169 if test "x$ac_cv_lib_soname_png" = "x"; then :
16170 case "x$with_png" in
16171 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16172 xno) ;;
16173 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16174 This is an error since --with-png was requested." "$LINENO" 5 ;;
16175 esac
16179 if test "x$with_tiff" != "xno"
16180 then
16181 if ${TIFF_CFLAGS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16187 if ${TIFF_LIBS:+false} :; then :
16188 if ${PKG_CONFIG+:} false; then :
16189 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16194 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16195 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16196 ac_save_CPPFLAGS=$CPPFLAGS
16197 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16198 for ac_header in tiffio.h
16199 do :
16200 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16201 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_TIFFIO_H 1
16204 _ACEOF
16208 done
16210 if test "$ac_cv_header_tiffio_h" = "yes"
16211 then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16213 $as_echo_n "checking for -ltiff... " >&6; }
16214 if ${ac_cv_lib_soname_tiff+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 ac_check_soname_save_LIBS=$LIBS
16218 LIBS="-ltiff $TIFF_LIBS $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 char TIFFClientOpen ();
16230 main ()
16232 return TIFFClientOpen ();
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 case "$LIBEXT" in
16239 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16240 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'` ;;
16241 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16242 if ${ac_cv_lib_soname_tiff:+false} :; then :
16243 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16244 fi ;;
16245 esac
16246 else
16247 ac_cv_lib_soname_tiff=
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16251 LIBS=$ac_check_soname_save_LIBS
16253 if ${ac_cv_lib_soname_tiff:+false} :; then :
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16255 $as_echo "not found" >&6; }
16257 else
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16259 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16261 cat >>confdefs.h <<_ACEOF
16262 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16263 _ACEOF
16268 CPPFLAGS=$ac_save_CPPFLAGS
16271 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16272 case "x$with_tiff" in
16273 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16274 xno) ;;
16275 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16276 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16277 esac
16281 if test "x$with_mpg123" != "xno"
16282 then
16283 if ${MPG123_CFLAGS:+false} :; then :
16284 if ${PKG_CONFIG+:} false; then :
16285 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16289 if ${MPG123_LIBS:+false} :; then :
16290 if ${PKG_CONFIG+:} false; then :
16291 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16295 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16296 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16297 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16298 ac_save_CPPFLAGS=$CPPFLAGS
16299 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16300 for ac_header in mpg123.h
16301 do :
16302 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16303 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16304 cat >>confdefs.h <<_ACEOF
16305 #define HAVE_MPG123_H 1
16306 _ACEOF
16310 done
16312 if test "$ac_cv_header_mpg123_h" = "yes"
16313 then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16315 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16316 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 ac_check_lib_save_LIBS=$LIBS
16320 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16324 /* Override any GCC internal prototype to avoid an error.
16325 Use char because int might match the return type of a GCC
16326 builtin and then its argument prototype would still apply. */
16327 #ifdef __cplusplus
16328 extern "C"
16329 #endif
16330 char mpg123_feed ();
16332 main ()
16334 return mpg123_feed ();
16336 return 0;
16338 _ACEOF
16339 if ac_fn_c_try_link "$LINENO"; then :
16340 ac_cv_lib_mpg123_mpg123_feed=yes
16341 else
16342 ac_cv_lib_mpg123_mpg123_feed=no
16344 rm -f core conftest.err conftest.$ac_objext \
16345 conftest$ac_exeext conftest.$ac_ext
16346 LIBS=$ac_check_lib_save_LIBS
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16349 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16350 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16352 else
16353 MPG123_LIBS=""
16356 else
16357 MPG123_CFLAGS=""
16358 MPG123_LIBS=""
16360 CPPFLAGS=$ac_save_CPPFLAGS
16363 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16364 case "x$with_mpg123" in
16365 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16366 xno) ;;
16367 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16368 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16369 esac
16370 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16372 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16374 if test "$ac_cv_header_AL_al_h" = "yes"
16375 then
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16377 $as_echo_n "checking for -lopenal... " >&6; }
16378 if ${ac_cv_lib_soname_openal+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 ac_check_soname_save_LIBS=$LIBS
16382 LIBS="-lopenal $LIBS"
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 #ifdef __cplusplus
16390 extern "C"
16391 #endif
16392 char alGetSource3i ();
16394 main ()
16396 return alGetSource3i ();
16398 return 0;
16400 _ACEOF
16401 if ac_fn_c_try_link "$LINENO"; then :
16402 case "$LIBEXT" in
16403 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16404 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'` ;;
16405 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16406 if ${ac_cv_lib_soname_openal:+false} :; then :
16407 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16408 fi ;;
16409 esac
16410 else
16411 ac_cv_lib_soname_openal=
16413 rm -f core conftest.err conftest.$ac_objext \
16414 conftest$ac_exeext conftest.$ac_ext
16415 LIBS=$ac_check_soname_save_LIBS
16417 if ${ac_cv_lib_soname_openal:+false} :; then :
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16419 $as_echo "not found" >&6; }
16421 else
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16423 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16425 cat >>confdefs.h <<_ACEOF
16426 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16427 _ACEOF
16429 OPENAL_LIBS="-lopenal"
16431 ac_cv_lib_openal=yes
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_OPENAL 1
16435 _ACEOF
16439 if test "x$ac_cv_lib_openal" != xyes; then :
16440 case "x$with_openal" in
16441 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16442 xno) ;;
16443 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16444 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16445 esac
16446 enable_openal32=${enable_openal32:-no}
16449 if test "x$ac_cv_lib_soname_FAudio" = "x"
16450 then
16451 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16452 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16453 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16454 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16455 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16456 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16457 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16458 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16459 enable_xactengine2_0=${enable_xactengine2_0:-no}
16460 enable_xactengine2_4=${enable_xactengine2_4:-no}
16461 enable_xactengine2_7=${enable_xactengine2_7:-no}
16462 enable_xactengine2_9=${enable_xactengine2_9:-no}
16463 enable_xactengine3_0=${enable_xactengine3_0:-no}
16464 enable_xactengine3_1=${enable_xactengine3_1:-no}
16465 enable_xactengine3_2=${enable_xactengine3_2:-no}
16466 enable_xactengine3_3=${enable_xactengine3_3:-no}
16467 enable_xactengine3_4=${enable_xactengine3_4:-no}
16468 enable_xactengine3_5=${enable_xactengine3_5:-no}
16469 enable_xactengine3_6=${enable_xactengine3_6:-no}
16470 enable_xactengine3_7=${enable_xactengine3_7:-no}
16471 enable_xapofx1_1=${enable_xapofx1_1:-no}
16472 enable_xapofx1_2=${enable_xapofx1_2:-no}
16473 enable_xapofx1_3=${enable_xapofx1_3:-no}
16474 enable_xapofx1_4=${enable_xapofx1_4:-no}
16475 enable_xapofx1_5=${enable_xapofx1_5:-no}
16476 enable_xaudio2_0=${enable_xaudio2_0:-no}
16477 enable_xaudio2_1=${enable_xaudio2_1:-no}
16478 enable_xaudio2_2=${enable_xaudio2_2:-no}
16479 enable_xaudio2_3=${enable_xaudio2_3:-no}
16480 enable_xaudio2_4=${enable_xaudio2_4:-no}
16481 enable_xaudio2_5=${enable_xaudio2_5:-no}
16482 enable_xaudio2_6=${enable_xaudio2_6:-no}
16483 enable_xaudio2_7=${enable_xaudio2_7:-no}
16484 enable_xaudio2_8=${enable_xaudio2_8:-no}
16485 enable_xaudio2_9=${enable_xaudio2_9:-no}
16488 if test "$ac_cv_header_kstat_h" = "yes"
16489 then
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16491 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16492 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 ac_check_lib_save_LIBS=$LIBS
16496 LIBS="-lkstat $LIBS"
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16500 /* Override any GCC internal prototype to avoid an error.
16501 Use char because int might match the return type of a GCC
16502 builtin and then its argument prototype would still apply. */
16503 #ifdef __cplusplus
16504 extern "C"
16505 #endif
16506 char kstat_open ();
16508 main ()
16510 return kstat_open ();
16512 return 0;
16514 _ACEOF
16515 if ac_fn_c_try_link "$LINENO"; then :
16516 ac_cv_lib_kstat_kstat_open=yes
16517 else
16518 ac_cv_lib_kstat_kstat_open=no
16520 rm -f core conftest.err conftest.$ac_objext \
16521 conftest$ac_exeext conftest.$ac_ext
16522 LIBS=$ac_check_lib_save_LIBS
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16525 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16526 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16528 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16530 KSTAT_LIBS="-lkstat"
16536 if test "$ac_cv_header_libprocstat_h" = "yes"
16537 then
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16539 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16540 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16541 $as_echo_n "(cached) " >&6
16542 else
16543 ac_check_lib_save_LIBS=$LIBS
16544 LIBS="-lprocstat $LIBS"
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16548 /* Override any GCC internal prototype to avoid an error.
16549 Use char because int might match the return type of a GCC
16550 builtin and then its argument prototype would still apply. */
16551 #ifdef __cplusplus
16552 extern "C"
16553 #endif
16554 char procstat_open_sysctl ();
16556 main ()
16558 return procstat_open_sysctl ();
16560 return 0;
16562 _ACEOF
16563 if ac_fn_c_try_link "$LINENO"; then :
16564 ac_cv_lib_procstat_procstat_open_sysctl=yes
16565 else
16566 ac_cv_lib_procstat_procstat_open_sysctl=no
16568 rm -f core conftest.err conftest.$ac_objext \
16569 conftest$ac_exeext conftest.$ac_ext
16570 LIBS=$ac_check_lib_save_LIBS
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16573 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16574 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16576 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16578 PROCSTAT_LIBS="-lprocstat"
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16585 $as_echo_n "checking for -lodbc... " >&6; }
16586 if ${ac_cv_lib_soname_odbc+:} false; then :
16587 $as_echo_n "(cached) " >&6
16588 else
16589 ac_check_soname_save_LIBS=$LIBS
16590 LIBS="-lodbc $LIBS"
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 /* Override any GCC internal prototype to avoid an error.
16595 Use char because int might match the return type of a GCC
16596 builtin and then its argument prototype would still apply. */
16597 #ifdef __cplusplus
16598 extern "C"
16599 #endif
16600 char SQLConnect ();
16602 main ()
16604 return SQLConnect ();
16606 return 0;
16608 _ACEOF
16609 if ac_fn_c_try_link "$LINENO"; then :
16610 case "$LIBEXT" in
16611 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16612 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'` ;;
16613 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16614 if ${ac_cv_lib_soname_odbc:+false} :; then :
16615 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16616 fi ;;
16617 esac
16618 else
16619 ac_cv_lib_soname_odbc=
16621 rm -f core conftest.err conftest.$ac_objext \
16622 conftest$ac_exeext conftest.$ac_ext
16623 LIBS=$ac_check_soname_save_LIBS
16625 if ${ac_cv_lib_soname_odbc:+false} :; then :
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16627 $as_echo "not found" >&6; }
16628 cat >>confdefs.h <<_ACEOF
16629 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16630 _ACEOF
16632 else
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16634 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16636 cat >>confdefs.h <<_ACEOF
16637 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16638 _ACEOF
16643 if test "x$with_netapi" != "xno"
16644 then
16645 if ${NETAPI_CFLAGS:+false} :; then :
16646 if ${PKG_CONFIG+:} false; then :
16647 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16651 if ${NETAPI_LIBS:+false} :; then :
16652 if ${PKG_CONFIG+:} false; then :
16653 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16658 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16659 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16660 ac_save_CPPFLAGS=$CPPFLAGS
16661 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16663 $as_echo_n "checking for -lnetapi... " >&6; }
16664 if ${ac_cv_lib_soname_netapi+:} false; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 ac_check_soname_save_LIBS=$LIBS
16668 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16672 /* Override any GCC internal prototype to avoid an error.
16673 Use char because int might match the return type of a GCC
16674 builtin and then its argument prototype would still apply. */
16675 #ifdef __cplusplus
16676 extern "C"
16677 #endif
16678 char libnetapi_init ();
16680 main ()
16682 return libnetapi_init ();
16684 return 0;
16686 _ACEOF
16687 if ac_fn_c_try_link "$LINENO"; then :
16688 case "$LIBEXT" in
16689 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16690 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'` ;;
16691 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16692 if ${ac_cv_lib_soname_netapi:+false} :; then :
16693 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16694 fi ;;
16695 esac
16696 else
16697 ac_cv_lib_soname_netapi=
16699 rm -f core conftest.err conftest.$ac_objext \
16700 conftest$ac_exeext conftest.$ac_ext
16701 LIBS=$ac_check_soname_save_LIBS
16703 if ${ac_cv_lib_soname_netapi:+false} :; then :
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16705 $as_echo "not found" >&6; }
16706 cat >>confdefs.h <<_ACEOF
16707 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16708 _ACEOF
16710 else
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16712 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16714 cat >>confdefs.h <<_ACEOF
16715 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16716 _ACEOF
16720 CPPFLAGS=$ac_save_CPPFLAGS
16724 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16725 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16726 then
16727 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16730 if test "x$with_vulkan" != "xno"
16731 then
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16733 $as_echo_n "checking for -lvulkan... " >&6; }
16734 if ${ac_cv_lib_soname_vulkan+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 ac_check_soname_save_LIBS=$LIBS
16738 LIBS="-lvulkan $LIBS"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 #ifdef __cplusplus
16746 extern "C"
16747 #endif
16748 char vkGetInstanceProcAddr ();
16750 main ()
16752 return vkGetInstanceProcAddr ();
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 case "$LIBEXT" in
16759 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16760 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'` ;;
16761 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16762 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16763 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16764 fi ;;
16765 esac
16766 else
16767 ac_cv_lib_soname_vulkan=
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_check_soname_save_LIBS
16773 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16775 $as_echo "not found" >&6; }
16777 else
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16779 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16781 cat >>confdefs.h <<_ACEOF
16782 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16783 _ACEOF
16787 if test "x$ac_cv_lib_soname_vulkan" = "x"
16788 then
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16790 $as_echo_n "checking for -lMoltenVK... " >&6; }
16791 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16792 $as_echo_n "(cached) " >&6
16793 else
16794 ac_check_soname_save_LIBS=$LIBS
16795 LIBS="-lMoltenVK $LIBS"
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16799 /* Override any GCC internal prototype to avoid an error.
16800 Use char because int might match the return type of a GCC
16801 builtin and then its argument prototype would still apply. */
16802 #ifdef __cplusplus
16803 extern "C"
16804 #endif
16805 char vkGetInstanceProcAddr ();
16807 main ()
16809 return vkGetInstanceProcAddr ();
16811 return 0;
16813 _ACEOF
16814 if ac_fn_c_try_link "$LINENO"; then :
16815 case "$LIBEXT" in
16816 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16817 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'` ;;
16818 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16819 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16820 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16821 fi ;;
16822 esac
16823 else
16824 ac_cv_lib_soname_MoltenVK=
16826 rm -f core conftest.err conftest.$ac_objext \
16827 conftest$ac_exeext conftest.$ac_ext
16828 LIBS=$ac_check_soname_save_LIBS
16830 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16832 $as_echo "not found" >&6; }
16834 else
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16836 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16838 cat >>confdefs.h <<_ACEOF
16839 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16840 _ACEOF
16846 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16847 case "x$with_vulkan" in
16848 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16849 xno) ;;
16850 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16851 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16852 esac
16856 if test "x$with_vkd3d" != "xno"
16857 then
16858 if ${VKD3D_CFLAGS:+false} :; then :
16859 if ${PKG_CONFIG+:} false; then :
16860 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16864 if ${VKD3D_LIBS:+false} :; then :
16865 if ${PKG_CONFIG+:} false; then :
16866 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16871 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16872 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16873 ac_save_CPPFLAGS=$CPPFLAGS
16874 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16876 $as_echo_n "checking for -lvkd3d... " >&6; }
16877 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16878 $as_echo_n "(cached) " >&6
16879 else
16880 ac_check_soname_save_LIBS=$LIBS
16881 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16885 /* Override any GCC internal prototype to avoid an error.
16886 Use char because int might match the return type of a GCC
16887 builtin and then its argument prototype would still apply. */
16888 #ifdef __cplusplus
16889 extern "C"
16890 #endif
16891 char vkd3d_serialize_versioned_root_signature ();
16893 main ()
16895 return vkd3d_serialize_versioned_root_signature ();
16897 return 0;
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"; then :
16901 case "$LIBEXT" in
16902 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16903 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'` ;;
16904 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16905 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16906 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16907 fi ;;
16908 esac
16909 else
16910 ac_cv_lib_soname_vkd3d=
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 LIBS=$ac_check_soname_save_LIBS
16916 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16918 $as_echo "not found" >&6; }
16920 else
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16922 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16924 cat >>confdefs.h <<_ACEOF
16925 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16926 _ACEOF
16930 CPPFLAGS=$ac_save_CPPFLAGS
16932 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16933 if ${PKG_CONFIG+:} false; then :
16934 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16938 if ${VKD3D_SHADER_LIBS:+false} :; then :
16939 if ${PKG_CONFIG+:} false; then :
16940 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16945 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16946 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16947 ac_save_CPPFLAGS=$CPPFLAGS
16948 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16950 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16951 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 ac_check_soname_save_LIBS=$LIBS
16955 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16959 /* Override any GCC internal prototype to avoid an error.
16960 Use char because int might match the return type of a GCC
16961 builtin and then its argument prototype would still apply. */
16962 #ifdef __cplusplus
16963 extern "C"
16964 #endif
16965 char vkd3d_shader_compile ();
16967 main ()
16969 return vkd3d_shader_compile ();
16971 return 0;
16973 _ACEOF
16974 if ac_fn_c_try_link "$LINENO"; then :
16975 case "$LIBEXT" in
16976 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16977 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'` ;;
16978 *) 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'`
16979 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16980 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16981 fi ;;
16982 esac
16983 else
16984 ac_cv_lib_soname_vkd3d_shader=
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 LIBS=$ac_check_soname_save_LIBS
16990 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16992 $as_echo "not found" >&6; }
16994 else
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16996 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16998 cat >>confdefs.h <<_ACEOF
16999 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
17000 _ACEOF
17004 CPPFLAGS=$ac_save_CPPFLAGS
17007 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17008 case "x$with_vkd3d" in
17009 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17010 xno) ;;
17011 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17012 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17013 esac
17016 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17019 EXTRACFLAGS=""
17021 if test "x${GCC}" = "xyes"
17022 then
17023 EXTRACFLAGS="-Wall -pipe"
17025 saved_CFLAGS=$CFLAGS
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17027 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17028 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 ac_wine_try_cflags_saved=$CFLAGS
17032 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 int main(int argc, char **argv) { return 0; }
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"; then :
17038 ac_cv_cflags__Werror_unknown_warning_option=yes
17039 else
17040 ac_cv_cflags__Werror_unknown_warning_option=no
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 CFLAGS=$ac_wine_try_cflags_saved
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17047 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17048 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17049 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17052 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17053 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 ac_wine_try_cflags_saved=$CFLAGS
17057 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 int main(int argc, char **argv) { return 0; }
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_cflags__Werror_unused_command_line_argument=yes
17064 else
17065 ac_cv_cflags__Werror_unused_command_line_argument=no
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17069 CFLAGS=$ac_wine_try_cflags_saved
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17072 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17073 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17074 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17077 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17078 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 ac_wine_try_cflags_saved=$CFLAGS
17082 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 int main(int argc, char **argv) { return 0; }
17086 _ACEOF
17087 if ac_fn_c_try_link "$LINENO"; then :
17088 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17089 else
17090 ac_cv_cflags__Werror_ignored_optimization_argument=no
17092 rm -f core conftest.err conftest.$ac_objext \
17093 conftest$ac_exeext conftest.$ac_ext
17094 CFLAGS=$ac_wine_try_cflags_saved
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17097 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17098 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17099 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17102 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17103 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_wine_try_cflags_saved=$CFLAGS
17107 CFLAGS="$CFLAGS -fcf-protection=none"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 int main(int argc, char **argv) { return 0; }
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_cflags__fcf_protection_none=yes
17114 else
17115 ac_cv_cflags__fcf_protection_none=no
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 CFLAGS=$ac_wine_try_cflags_saved
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17122 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17123 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17124 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17127 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17128 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -fno-stack-protector"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__fno_stack_protector=yes
17139 else
17140 ac_cv_cflags__fno_stack_protector=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17147 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17148 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17149 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17152 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17153 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 ac_wine_try_cflags_saved=$CFLAGS
17157 CFLAGS="$CFLAGS -fno-strict-aliasing"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 int main(int argc, char **argv) { return 0; }
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_cflags__fno_strict_aliasing=yes
17164 else
17165 ac_cv_cflags__fno_strict_aliasing=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 CFLAGS=$ac_wine_try_cflags_saved
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17172 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17173 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17174 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17177 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17178 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_wine_try_cflags_saved=$CFLAGS
17182 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 int main(int argc, char **argv) { return 0; }
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_cflags__Wdeclaration_after_statement=yes
17189 else
17190 ac_cv_cflags__Wdeclaration_after_statement=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 CFLAGS=$ac_wine_try_cflags_saved
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17197 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17198 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17199 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17202 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17203 if ${ac_cv_cflags__Wempty_body+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -Wempty-body"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__Wempty_body=yes
17214 else
17215 ac_cv_cflags__Wempty_body=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17222 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17223 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17227 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17228 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -Wignored-qualifiers"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__Wignored_qualifiers=yes
17239 else
17240 ac_cv_cflags__Wignored_qualifiers=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17247 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17248 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17252 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17253 if ${ac_cv_cflags__Winit_self+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_wine_try_cflags_saved=$CFLAGS
17257 CFLAGS="$CFLAGS -Winit-self"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 int main(int argc, char **argv) { return 0; }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_cflags__Winit_self=yes
17264 else
17265 ac_cv_cflags__Winit_self=no
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 CFLAGS=$ac_wine_try_cflags_saved
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17272 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17273 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17274 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17277 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17278 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 ac_wine_try_cflags_saved=$CFLAGS
17282 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 int main(int argc, char **argv) { return 0; }
17286 _ACEOF
17287 if ac_fn_c_try_link "$LINENO"; then :
17288 ac_cv_cflags__Wpacked_not_aligned=yes
17289 else
17290 ac_cv_cflags__Wpacked_not_aligned=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 CFLAGS=$ac_wine_try_cflags_saved
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17297 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17298 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17299 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17302 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17303 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 ac_wine_try_cflags_saved=$CFLAGS
17307 CFLAGS="$CFLAGS -Wpragma-pack"
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 int main(int argc, char **argv) { return 0; }
17311 _ACEOF
17312 if ac_fn_c_try_link "$LINENO"; then :
17313 ac_cv_cflags__Wpragma_pack=yes
17314 else
17315 ac_cv_cflags__Wpragma_pack=no
17317 rm -f core conftest.err conftest.$ac_objext \
17318 conftest$ac_exeext conftest.$ac_ext
17319 CFLAGS=$ac_wine_try_cflags_saved
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17322 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17323 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17324 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17327 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17328 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 ac_wine_try_cflags_saved=$CFLAGS
17332 CFLAGS="$CFLAGS -Wshift-overflow=2"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 int main(int argc, char **argv) { return 0; }
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"; then :
17338 ac_cv_cflags__Wshift_overflow_2=yes
17339 else
17340 ac_cv_cflags__Wshift_overflow_2=no
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 CFLAGS=$ac_wine_try_cflags_saved
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17347 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17348 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17349 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17352 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17353 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 ac_wine_try_cflags_saved=$CFLAGS
17357 CFLAGS="$CFLAGS -Wstrict-prototypes"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 int main(int argc, char **argv) { return 0; }
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 ac_cv_cflags__Wstrict_prototypes=yes
17364 else
17365 ac_cv_cflags__Wstrict_prototypes=no
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17369 CFLAGS=$ac_wine_try_cflags_saved
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17372 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17373 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17374 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17377 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17378 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 ac_wine_try_cflags_saved=$CFLAGS
17382 CFLAGS="$CFLAGS -Wtype-limits"
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 int main(int argc, char **argv) { return 0; }
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_cflags__Wtype_limits=yes
17389 else
17390 ac_cv_cflags__Wtype_limits=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 CFLAGS=$ac_wine_try_cflags_saved
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17397 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17398 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17399 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17402 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17403 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 ac_wine_try_cflags_saved=$CFLAGS
17407 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 int main(int argc, char **argv) { return 0; }
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_cflags__Wunused_but_set_parameter=yes
17414 else
17415 ac_cv_cflags__Wunused_but_set_parameter=no
17417 rm -f core conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17419 CFLAGS=$ac_wine_try_cflags_saved
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17422 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17423 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17424 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17427 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17428 if ${ac_cv_cflags__Wvla+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 ac_wine_try_cflags_saved=$CFLAGS
17432 CFLAGS="$CFLAGS -Wvla"
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17435 int main(int argc, char **argv) { return 0; }
17436 _ACEOF
17437 if ac_fn_c_try_link "$LINENO"; then :
17438 ac_cv_cflags__Wvla=yes
17439 else
17440 ac_cv_cflags__Wvla=no
17442 rm -f core conftest.err conftest.$ac_objext \
17443 conftest$ac_exeext conftest.$ac_ext
17444 CFLAGS=$ac_wine_try_cflags_saved
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17447 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17448 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17449 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17452 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17453 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17456 ac_wine_try_cflags_saved=$CFLAGS
17457 CFLAGS="$CFLAGS -Wwrite-strings"
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 int main(int argc, char **argv) { return 0; }
17461 _ACEOF
17462 if ac_fn_c_try_link "$LINENO"; then :
17463 ac_cv_cflags__Wwrite_strings=yes
17464 else
17465 ac_cv_cflags__Wwrite_strings=no
17467 rm -f core conftest.err conftest.$ac_objext \
17468 conftest$ac_exeext conftest.$ac_ext
17469 CFLAGS=$ac_wine_try_cflags_saved
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17472 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17473 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17474 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17477 if test -z "$CROSSTARGET"
17478 then
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17480 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17481 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 ac_wine_try_cflags_saved=$CFLAGS
17485 CFLAGS="$CFLAGS -fexcess-precision=standard"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 int main(int argc, char **argv) { return 0; }
17489 _ACEOF
17490 if ac_fn_c_try_link "$LINENO"; then :
17491 ac_cv_cflags__fexcess_precision_standard=yes
17492 else
17493 ac_cv_cflags__fexcess_precision_standard=no
17495 rm -f core conftest.err conftest.$ac_objext \
17496 conftest$ac_exeext conftest.$ac_ext
17497 CFLAGS=$ac_wine_try_cflags_saved
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17500 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17501 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17502 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17508 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17509 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17512 ac_wine_try_cflags_saved=$CFLAGS
17513 CFLAGS="$CFLAGS -Wpointer-arith"
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 int main(int argc, char **argv) { return 0; }
17517 _ACEOF
17518 if ac_fn_c_try_link "$LINENO"; then :
17519 ac_cv_cflags__Wpointer_arith=yes
17520 else
17521 ac_cv_cflags__Wpointer_arith=no
17523 rm -f core conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17525 CFLAGS=$ac_wine_try_cflags_saved
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17528 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17529 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17530 saved_string_h_CFLAGS=$CFLAGS
17531 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17533 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17534 if ${ac_cv_c_string_h_warnings+:} false; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 #include <string.h>
17541 main ()
17545 return 0;
17547 _ACEOF
17548 if ac_fn_c_try_compile "$LINENO"; then :
17549 ac_cv_c_string_h_warnings=no
17550 else
17551 ac_cv_c_string_h_warnings=yes
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17556 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17557 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17558 CFLAGS=$saved_string_h_CFLAGS
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17562 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17563 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_wine_try_cflags_saved=$CFLAGS
17567 CFLAGS="$CFLAGS -Wlogical-op"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 int main(int argc, char **argv) { return 0; }
17571 _ACEOF
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 ac_cv_cflags__Wlogical_op=yes
17574 else
17575 ac_cv_cflags__Wlogical_op=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 CFLAGS=$ac_wine_try_cflags_saved
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17582 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17583 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17584 saved_string_h_CFLAGS=$CFLAGS
17585 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17587 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17588 if ${ac_cv_c_logicalop_noisy+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #include <string.h>
17594 char*f(const char *h,char n) {return strchr(h,n);}
17596 main ()
17600 return 0;
17602 _ACEOF
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604 ac_cv_c_logicalop_noisy=no
17605 else
17606 ac_cv_c_logicalop_noisy=yes
17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17611 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17612 CFLAGS=$saved_string_h_CFLAGS
17613 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17617 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17618 if ${wine_cv_64bit_compare_swap+:} false; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17624 #error no
17625 #endif
17627 main ()
17631 return 0;
17633 _ACEOF
17634 if ac_fn_c_try_compile "$LINENO"; then :
17635 wine_cv_64bit_compare_swap="none needed"
17636 else
17637 case $host_cpu in
17638 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17639 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17640 *) wine_cv_64bit_compare_swap="unknown" ;;
17641 esac
17642 if test "x$wine_cv_64bit_compare_swap" != xunknown
17643 then
17644 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17648 #error no
17649 #endif
17651 main ()
17655 return 0;
17657 _ACEOF
17658 if ac_fn_c_try_compile "$LINENO"; then :
17660 else
17661 wine_cv_64bit_compare_swap="unknown"
17663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17664 CFLAGS=$saved_CFLAGS
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17670 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17671 case "$wine_cv_64bit_compare_swap" in
17672 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17673 "none needed") ;;
17674 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17675 esac
17677 for ac_flag in $CFLAGS; do
17678 case $ac_flag in
17679 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17680 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17681 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 ac_wine_try_cflags_saved=$CFLAGS
17685 CFLAGS="$CFLAGS -gdwarf-2"
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 int main(int argc, char **argv) { return 0; }
17689 _ACEOF
17690 if ac_fn_c_try_link "$LINENO"; then :
17691 ac_cv_cflags__gdwarf_2=yes
17692 else
17693 ac_cv_cflags__gdwarf_2=no
17695 rm -f core conftest.err conftest.$ac_objext \
17696 conftest$ac_exeext conftest.$ac_ext
17697 CFLAGS=$ac_wine_try_cflags_saved
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17700 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17701 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17702 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17705 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17706 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 ac_wine_try_cflags_saved=$CFLAGS
17710 CFLAGS="$CFLAGS -gstrict-dwarf"
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 int main(int argc, char **argv) { return 0; }
17714 _ACEOF
17715 if ac_fn_c_try_link "$LINENO"; then :
17716 ac_cv_cflags__gstrict_dwarf=yes
17717 else
17718 ac_cv_cflags__gstrict_dwarf=no
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17722 CFLAGS=$ac_wine_try_cflags_saved
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17725 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17726 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17727 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17728 fi ;;
17729 esac
17730 done
17732 MSVCRTFLAGS=""
17734 case $host_os in
17735 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17736 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17737 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 ac_wine_try_cflags_saved=$CFLAGS
17741 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 int main(int argc, char **argv) { return 0; }
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17748 else
17749 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17753 CFLAGS=$ac_wine_try_cflags_saved
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17756 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17757 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17758 DELAYLOADFLAG="-Wl,-delayload,"
17760 fi ;;
17761 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17762 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17763 if ${ac_cv_cflags__fno_builtin+:} false; then :
17764 $as_echo_n "(cached) " >&6
17765 else
17766 ac_wine_try_cflags_saved=$CFLAGS
17767 CFLAGS="$CFLAGS -fno-builtin"
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 int main(int argc, char **argv) { return 0; }
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"; then :
17773 ac_cv_cflags__fno_builtin=yes
17774 else
17775 ac_cv_cflags__fno_builtin=no
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17779 CFLAGS=$ac_wine_try_cflags_saved
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17782 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17783 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17784 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17787 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17788 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17791 ac_wine_try_cflags_saved=$CFLAGS
17792 CFLAGS="$CFLAGS -fshort-wchar"
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 int main(int argc, char **argv) { return 0; }
17796 _ACEOF
17797 if ac_fn_c_try_link "$LINENO"; then :
17798 ac_cv_cflags__fshort_wchar=yes
17799 else
17800 ac_cv_cflags__fshort_wchar=no
17802 rm -f core conftest.err conftest.$ac_objext \
17803 conftest$ac_exeext conftest.$ac_ext
17804 CFLAGS=$ac_wine_try_cflags_saved
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17807 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17808 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17809 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17810 fi ;;
17811 esac
17813 case $host_cpu in
17814 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17815 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17816 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17819 ac_wine_try_cflags_saved=$CFLAGS
17820 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 int main(int argc, char **argv) { return 0; }
17824 _ACEOF
17825 if ac_fn_c_try_link "$LINENO"; then :
17826 ac_cv_cflags__fno_omit_frame_pointer=yes
17827 else
17828 ac_cv_cflags__fno_omit_frame_pointer=no
17830 rm -f core conftest.err conftest.$ac_objext \
17831 conftest$ac_exeext conftest.$ac_ext
17832 CFLAGS=$ac_wine_try_cflags_saved
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17835 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17836 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17837 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17838 fi ;;
17839 *x86_64*)
17840 case $host_os in
17841 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17842 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17843 if ${ac_cv_cflags__Wno_format+:} false; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17846 ac_wine_try_cflags_saved=$CFLAGS
17847 CFLAGS="$CFLAGS -Wno-format"
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850 int main(int argc, char **argv) { return 0; }
17851 _ACEOF
17852 if ac_fn_c_try_link "$LINENO"; then :
17853 ac_cv_cflags__Wno_format=yes
17854 else
17855 ac_cv_cflags__Wno_format=no
17857 rm -f core conftest.err conftest.$ac_objext \
17858 conftest$ac_exeext conftest.$ac_ext
17859 CFLAGS=$ac_wine_try_cflags_saved
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17862 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17863 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17864 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17865 fi ;;
17866 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17867 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17868 if ${ac_cv_cflags__mabi_ms+:} false; then :
17869 $as_echo_n "(cached) " >&6
17870 else
17871 ac_wine_try_cflags_saved=$CFLAGS
17872 CFLAGS="$CFLAGS -mabi=ms"
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 int main(int argc, char **argv) { return 0; }
17876 _ACEOF
17877 if ac_fn_c_try_link "$LINENO"; then :
17878 ac_cv_cflags__mabi_ms=yes
17879 else
17880 ac_cv_cflags__mabi_ms=no
17882 rm -f core conftest.err conftest.$ac_objext \
17883 conftest$ac_exeext conftest.$ac_ext
17884 CFLAGS=$ac_wine_try_cflags_saved
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17887 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17888 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17889 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17890 fi ;;
17891 esac ;;
17892 esac
17894 CFLAGS=$saved_CFLAGS
17896 if test "x$enable_werror" = "xyes"
17897 then
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17899 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17900 if ${ac_cv_cflags__Werror+:} false; then :
17901 $as_echo_n "(cached) " >&6
17902 else
17903 ac_wine_try_cflags_saved=$CFLAGS
17904 CFLAGS="$CFLAGS -Werror"
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17907 int main(int argc, char **argv) { return 0; }
17908 _ACEOF
17909 if ac_fn_c_try_link "$LINENO"; then :
17910 ac_cv_cflags__Werror=yes
17911 else
17912 ac_cv_cflags__Werror=no
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext conftest.$ac_ext
17916 CFLAGS=$ac_wine_try_cflags_saved
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17919 $as_echo "$ac_cv_cflags__Werror" >&6; }
17920 if test "x$ac_cv_cflags__Werror" = xyes; then :
17921 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17924 if test "x$enable_build_id" = "xyes"
17925 then
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17927 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17928 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17929 $as_echo_n "(cached) " >&6
17930 else
17931 ac_wine_try_cflags_saved=$CFLAGS
17932 CFLAGS="$CFLAGS -Wl,--build-id"
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17935 int main(int argc, char **argv) { return 0; }
17936 _ACEOF
17937 if ac_fn_c_try_link "$LINENO"; then :
17938 ac_cv_cflags__Wl___build_id=yes
17939 else
17940 ac_cv_cflags__Wl___build_id=no
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 CFLAGS=$ac_wine_try_cflags_saved
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17947 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17948 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17949 CFLAGS="$CFLAGS -Wl,--build-id"
17950 LDFLAGS="$LDFLAGS -Wl,--build-id"
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17957 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17958 if ${ac_cv_c_fortify_enabled+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #include <string.h>
17965 main ()
17967 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17968 #error Fortify enabled
17969 #endif
17971 return 0;
17973 _ACEOF
17974 if ac_fn_c_try_compile "$LINENO"; then :
17975 ac_cv_c_fortify_enabled=no
17976 else
17977 ac_cv_c_fortify_enabled=yes
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17982 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17983 if test "$ac_cv_c_fortify_enabled" = yes
17984 then
17985 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17990 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17991 if ${ac_cv_c_cfi_support+:} false; then :
17992 $as_echo_n "(cached) " >&6
17993 else
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17998 main ()
18002 return 0;
18004 _ACEOF
18005 if ac_fn_c_try_compile "$LINENO"; then :
18006 ac_cv_c_cfi_support="yes"
18007 else
18008 ac_cv_c_cfi_support="no"
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18013 $as_echo "$ac_cv_c_cfi_support" >&6; }
18014 if test "$ac_cv_c_cfi_support" = "yes"
18015 then
18016 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18017 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18018 else
18019 if test "x$enable_win64" = "xyes"
18020 then
18021 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18026 case $build_os in
18027 cygwin*|mingw32*) TOOLSEXT=".exe"
18029 esac
18031 case $host_os in
18032 linux*)
18033 case $host_cpu in
18034 *i[3456789]86*|x86_64*|*aarch64*)
18035 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18036 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18038 esac
18040 esac
18043 ac_save_CFLAGS="$CFLAGS"
18044 CFLAGS="$CFLAGS $BUILTINFLAG"
18045 for ac_func in \
18046 __res_get_state \
18047 __res_getservers \
18048 _spawnvp \
18049 epoll_create \
18050 fnmatch \
18051 fork \
18052 fstatfs \
18053 futimens \
18054 futimes \
18055 futimesat \
18056 getattrlist \
18057 getauxval \
18058 getifaddrs \
18059 getopt_long_only \
18060 getrandom \
18061 kqueue \
18062 lstat \
18063 mach_continuous_time \
18064 pipe2 \
18065 poll \
18066 port_create \
18067 prctl \
18068 pread \
18069 proc_pidinfo \
18070 pwrite \
18071 readlink \
18072 sched_yield \
18073 setproctitle \
18074 setprogname \
18075 sigprocmask \
18076 symlink \
18077 tcdrain \
18078 thr_kill2
18080 do :
18081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18083 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18084 cat >>confdefs.h <<_ACEOF
18085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18086 _ACEOF
18089 done
18091 CFLAGS="$ac_save_CFLAGS"
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18094 $as_echo_n "checking for library containing dlopen... " >&6; }
18095 if ${ac_cv_search_dlopen+:} false; then :
18096 $as_echo_n "(cached) " >&6
18097 else
18098 ac_func_search_save_LIBS=$LIBS
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18102 /* Override any GCC internal prototype to avoid an error.
18103 Use char because int might match the return type of a GCC
18104 builtin and then its argument prototype would still apply. */
18105 #ifdef __cplusplus
18106 extern "C"
18107 #endif
18108 char dlopen ();
18110 main ()
18112 return dlopen ();
18114 return 0;
18116 _ACEOF
18117 for ac_lib in '' dl; do
18118 if test -z "$ac_lib"; then
18119 ac_res="none required"
18120 else
18121 ac_res=-l$ac_lib
18122 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18124 if ac_fn_c_try_link "$LINENO"; then :
18125 ac_cv_search_dlopen=$ac_res
18127 rm -f core conftest.err conftest.$ac_objext \
18128 conftest$ac_exeext
18129 if ${ac_cv_search_dlopen+:} false; then :
18130 break
18132 done
18133 if ${ac_cv_search_dlopen+:} false; then :
18135 else
18136 ac_cv_search_dlopen=no
18138 rm conftest.$ac_ext
18139 LIBS=$ac_func_search_save_LIBS
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18142 $as_echo "$ac_cv_search_dlopen" >&6; }
18143 ac_res=$ac_cv_search_dlopen
18144 if test "$ac_res" != no; then :
18145 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18149 ac_wine_check_funcs_save_LIBS="$LIBS"
18150 LIBS="$LIBS $DL_LIBS"
18151 for ac_func in dladdr dlinfo
18152 do :
18153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18155 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18156 cat >>confdefs.h <<_ACEOF
18157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18158 _ACEOF
18161 done
18163 LIBS="$ac_wine_check_funcs_save_LIBS"
18165 if test "$ac_cv_func_poll" = no
18166 then
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18168 $as_echo_n "checking for poll in -lpoll... " >&6; }
18169 if ${ac_cv_lib_poll_poll+:} false; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18172 ac_check_lib_save_LIBS=$LIBS
18173 LIBS="-lpoll $LIBS"
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18177 /* Override any GCC internal prototype to avoid an error.
18178 Use char because int might match the return type of a GCC
18179 builtin and then its argument prototype would still apply. */
18180 #ifdef __cplusplus
18181 extern "C"
18182 #endif
18183 char poll ();
18185 main ()
18187 return poll ();
18189 return 0;
18191 _ACEOF
18192 if ac_fn_c_try_link "$LINENO"; then :
18193 ac_cv_lib_poll_poll=yes
18194 else
18195 ac_cv_lib_poll_poll=no
18197 rm -f core conftest.err conftest.$ac_objext \
18198 conftest$ac_exeext conftest.$ac_ext
18199 LIBS=$ac_check_lib_save_LIBS
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18202 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18203 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18204 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18205 POLL_LIBS="-lpoll"
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18212 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18213 if ${ac_cv_search_gethostbyname+:} false; then :
18214 $as_echo_n "(cached) " >&6
18215 else
18216 ac_func_search_save_LIBS=$LIBS
18217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18220 /* Override any GCC internal prototype to avoid an error.
18221 Use char because int might match the return type of a GCC
18222 builtin and then its argument prototype would still apply. */
18223 #ifdef __cplusplus
18224 extern "C"
18225 #endif
18226 char gethostbyname ();
18228 main ()
18230 return gethostbyname ();
18232 return 0;
18234 _ACEOF
18235 for ac_lib in '' nsl; do
18236 if test -z "$ac_lib"; then
18237 ac_res="none required"
18238 else
18239 ac_res=-l$ac_lib
18240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18242 if ac_fn_c_try_link "$LINENO"; then :
18243 ac_cv_search_gethostbyname=$ac_res
18245 rm -f core conftest.err conftest.$ac_objext \
18246 conftest$ac_exeext
18247 if ${ac_cv_search_gethostbyname+:} false; then :
18248 break
18250 done
18251 if ${ac_cv_search_gethostbyname+:} false; then :
18253 else
18254 ac_cv_search_gethostbyname=no
18256 rm conftest.$ac_ext
18257 LIBS=$ac_func_search_save_LIBS
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18260 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18261 ac_res=$ac_cv_search_gethostbyname
18262 if test "$ac_res" != no; then :
18263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18269 $as_echo_n "checking for library containing connect... " >&6; }
18270 if ${ac_cv_search_connect+:} false; then :
18271 $as_echo_n "(cached) " >&6
18272 else
18273 ac_func_search_save_LIBS=$LIBS
18274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18275 /* end confdefs.h. */
18277 /* Override any GCC internal prototype to avoid an error.
18278 Use char because int might match the return type of a GCC
18279 builtin and then its argument prototype would still apply. */
18280 #ifdef __cplusplus
18281 extern "C"
18282 #endif
18283 char connect ();
18285 main ()
18287 return connect ();
18289 return 0;
18291 _ACEOF
18292 for ac_lib in '' socket; do
18293 if test -z "$ac_lib"; then
18294 ac_res="none required"
18295 else
18296 ac_res=-l$ac_lib
18297 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18299 if ac_fn_c_try_link "$LINENO"; then :
18300 ac_cv_search_connect=$ac_res
18302 rm -f core conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext
18304 if ${ac_cv_search_connect+:} false; then :
18305 break
18307 done
18308 if ${ac_cv_search_connect+:} false; then :
18310 else
18311 ac_cv_search_connect=no
18313 rm conftest.$ac_ext
18314 LIBS=$ac_func_search_save_LIBS
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18317 $as_echo "$ac_cv_search_connect" >&6; }
18318 ac_res=$ac_cv_search_connect
18319 if test "$ac_res" != no; then :
18320 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18326 $as_echo_n "checking for library containing inet_aton... " >&6; }
18327 if ${ac_cv_search_inet_aton+:} false; then :
18328 $as_echo_n "(cached) " >&6
18329 else
18330 ac_func_search_save_LIBS=$LIBS
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18334 /* Override any GCC internal prototype to avoid an error.
18335 Use char because int might match the return type of a GCC
18336 builtin and then its argument prototype would still apply. */
18337 #ifdef __cplusplus
18338 extern "C"
18339 #endif
18340 char inet_aton ();
18342 main ()
18344 return inet_aton ();
18346 return 0;
18348 _ACEOF
18349 for ac_lib in '' resolv; do
18350 if test -z "$ac_lib"; then
18351 ac_res="none required"
18352 else
18353 ac_res=-l$ac_lib
18354 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18356 if ac_fn_c_try_link "$LINENO"; then :
18357 ac_cv_search_inet_aton=$ac_res
18359 rm -f core conftest.err conftest.$ac_objext \
18360 conftest$ac_exeext
18361 if ${ac_cv_search_inet_aton+:} false; then :
18362 break
18364 done
18365 if ${ac_cv_search_inet_aton+:} false; then :
18367 else
18368 ac_cv_search_inet_aton=no
18370 rm conftest.$ac_ext
18371 LIBS=$ac_func_search_save_LIBS
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18374 $as_echo "$ac_cv_search_inet_aton" >&6; }
18375 ac_res=$ac_cv_search_inet_aton
18376 if test "$ac_res" != no; then :
18377 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18382 for ac_func in \
18383 getaddrinfo \
18384 getnameinfo \
18385 getservbyport \
18387 do :
18388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18390 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18391 cat >>confdefs.h <<_ACEOF
18392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18393 _ACEOF
18396 done
18399 case $host_os in
18400 darwin*|macosx*) ;;
18401 *) ac_save_LIBS=$LIBS
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18403 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18404 if ${ac_cv_search_clock_gettime+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407 ac_func_search_save_LIBS=$LIBS
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18411 /* Override any GCC internal prototype to avoid an error.
18412 Use char because int might match the return type of a GCC
18413 builtin and then its argument prototype would still apply. */
18414 #ifdef __cplusplus
18415 extern "C"
18416 #endif
18417 char clock_gettime ();
18419 main ()
18421 return clock_gettime ();
18423 return 0;
18425 _ACEOF
18426 for ac_lib in '' rt; do
18427 if test -z "$ac_lib"; then
18428 ac_res="none required"
18429 else
18430 ac_res=-l$ac_lib
18431 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18433 if ac_fn_c_try_link "$LINENO"; then :
18434 ac_cv_search_clock_gettime=$ac_res
18436 rm -f core conftest.err conftest.$ac_objext \
18437 conftest$ac_exeext
18438 if ${ac_cv_search_clock_gettime+:} false; then :
18439 break
18441 done
18442 if ${ac_cv_search_clock_gettime+:} false; then :
18444 else
18445 ac_cv_search_clock_gettime=no
18447 rm conftest.$ac_ext
18448 LIBS=$ac_func_search_save_LIBS
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18451 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18452 ac_res=$ac_cv_search_clock_gettime
18453 if test "$ac_res" != no; then :
18454 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18456 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18458 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18462 LIBS=$ac_save_LIBS
18464 esac
18466 if test "x$with_ldap" != "xno"
18467 then
18468 if ${LDAP_CFLAGS:+false} :; then :
18469 if ${PKG_CONFIG+:} false; then :
18470 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18474 if ${LDAP_LIBS:+false} :; then :
18475 if ${PKG_CONFIG+:} false; then :
18476 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18480 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18481 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18482 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18483 ac_save_CPPFLAGS=$CPPFLAGS
18484 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18485 for ac_header in ldap.h lber.h
18486 do :
18487 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18488 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18490 cat >>confdefs.h <<_ACEOF
18491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18492 _ACEOF
18496 done
18498 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18499 then
18500 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18502 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18504 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18505 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18506 $as_echo_n "(cached) " >&6
18507 else
18508 ac_check_lib_save_LIBS=$LIBS
18509 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18513 /* Override any GCC internal prototype to avoid an error.
18514 Use char because int might match the return type of a GCC
18515 builtin and then its argument prototype would still apply. */
18516 #ifdef __cplusplus
18517 extern "C"
18518 #endif
18519 char ldap_initialize ();
18521 main ()
18523 return ldap_initialize ();
18525 return 0;
18527 _ACEOF
18528 if ac_fn_c_try_link "$LINENO"; then :
18529 ac_cv_lib_ldap_r_ldap_initialize=yes
18530 else
18531 ac_cv_lib_ldap_r_ldap_initialize=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18535 LIBS=$ac_check_lib_save_LIBS
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18538 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18539 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18541 $as_echo_n "checking for ber_init in -llber... " >&6; }
18542 if ${ac_cv_lib_lber_ber_init+:} false; then :
18543 $as_echo_n "(cached) " >&6
18544 else
18545 ac_check_lib_save_LIBS=$LIBS
18546 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18550 /* Override any GCC internal prototype to avoid an error.
18551 Use char because int might match the return type of a GCC
18552 builtin and then its argument prototype would still apply. */
18553 #ifdef __cplusplus
18554 extern "C"
18555 #endif
18556 char ber_init ();
18558 main ()
18560 return ber_init ();
18562 return 0;
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"; then :
18566 ac_cv_lib_lber_ber_init=yes
18567 else
18568 ac_cv_lib_lber_ber_init=no
18570 rm -f core conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18572 LIBS=$ac_check_lib_save_LIBS
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18575 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18576 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18578 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18580 else
18581 LDAP_LIBS=""
18584 else
18585 LDAP_LIBS=""
18588 else
18589 LDAP_LIBS=""
18592 ac_wine_check_funcs_save_LIBS="$LIBS"
18593 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18594 for ac_func in \
18595 ldap_count_references \
18596 ldap_first_reference \
18597 ldap_next_reference \
18598 ldap_parse_reference \
18599 ldap_parse_sort_control \
18600 ldap_parse_sortresponse_control \
18601 ldap_parse_vlv_control \
18602 ldap_parse_vlvresponse_control
18603 do :
18604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18606 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18607 cat >>confdefs.h <<_ACEOF
18608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18609 _ACEOF
18612 done
18614 LIBS="$ac_wine_check_funcs_save_LIBS"
18615 else
18616 LDAP_LIBS=""
18618 CPPFLAGS=$ac_save_CPPFLAGS
18621 if test "x$LDAP_LIBS" = "x"; then :
18622 case "x$with_ldap" in
18623 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18624 xno) ;;
18625 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18626 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18627 esac
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18632 $as_echo_n "checking for sched_setaffinity... " >&6; }
18633 if ${wine_cv_have_sched_setaffinity+:} false; then :
18634 $as_echo_n "(cached) " >&6
18635 else
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 #define _GNU_SOURCE
18639 #include <sched.h>
18641 main ()
18643 sched_setaffinity(0, 0, 0);
18645 return 0;
18647 _ACEOF
18648 if ac_fn_c_try_link "$LINENO"; then :
18649 wine_cv_have_sched_setaffinity=yes
18650 else
18651 wine_cv_have_sched_setaffinity=no
18653 rm -f core conftest.err conftest.$ac_objext \
18654 conftest$ac_exeext conftest.$ac_ext
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18657 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18658 if test "$wine_cv_have_sched_setaffinity" = "yes"
18659 then
18661 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18666 $as_echo_n "checking for fallocate... " >&6; }
18667 if ${wine_cv_have_fallocate+:} false; then :
18668 $as_echo_n "(cached) " >&6
18669 else
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #define _GNU_SOURCE
18673 #include <fcntl.h>
18675 main ()
18677 fallocate(-1, 0, 0, 0);
18679 return 0;
18681 _ACEOF
18682 if ac_fn_c_try_link "$LINENO"; then :
18683 wine_cv_have_fallocate=yes
18684 else
18685 wine_cv_have_fallocate=no
18687 rm -f core conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18691 $as_echo "$wine_cv_have_fallocate" >&6; }
18692 if test "$wine_cv_have_fallocate" = "yes"
18693 then
18695 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18701 $as_echo_n "checking for inline... " >&6; }
18702 if ${ac_cv_c_inline+:} false; then :
18703 $as_echo_n "(cached) " >&6
18704 else
18705 ac_cv_c_inline=no
18706 for ac_kw in inline __inline__ __inline; do
18707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18708 /* end confdefs.h. */
18709 #ifndef __cplusplus
18710 typedef int foo_t;
18711 static $ac_kw foo_t static_foo () {return 0; }
18712 $ac_kw foo_t foo () {return 0; }
18713 #endif
18715 _ACEOF
18716 if ac_fn_c_try_compile "$LINENO"; then :
18717 ac_cv_c_inline=$ac_kw
18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18720 test "$ac_cv_c_inline" != no && break
18721 done
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18725 $as_echo "$ac_cv_c_inline" >&6; }
18727 case $ac_cv_c_inline in
18728 inline | yes) ;;
18730 case $ac_cv_c_inline in
18731 no) ac_val=;;
18732 *) ac_val=$ac_cv_c_inline;;
18733 esac
18734 cat >>confdefs.h <<_ACEOF
18735 #ifndef __cplusplus
18736 #define inline $ac_val
18737 #endif
18738 _ACEOF
18740 esac
18742 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18743 #include <signal.h>
18745 if test "x$ac_cv_type_sigset_t" = xyes; then :
18747 cat >>confdefs.h <<_ACEOF
18748 #define HAVE_SIGSET_T 1
18749 _ACEOF
18754 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18756 if test "x$ac_cv_type_request_sense" = xyes; then :
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_REQUEST_SENSE 1
18760 _ACEOF
18766 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18767 #ifdef HAVE_SYS_SOCKET_H
18768 #include <sys/socket.h>
18769 #endif
18770 #ifdef HAVE_SYS_SOCKETVAR_H
18771 #include <sys/socketvar.h>
18772 #endif
18773 #ifdef HAVE_NET_ROUTE_H
18774 #include <net/route.h>
18775 #endif
18776 #ifdef HAVE_NETINET_IN_H
18777 #include <netinet/in.h>
18778 #endif
18779 #ifdef HAVE_NETINET_IN_SYSTM_H
18780 #include <netinet/in_systm.h>
18781 #endif
18782 #ifdef HAVE_NETINET_IP_H
18783 #include <netinet/ip.h>
18784 #endif
18785 #ifdef HAVE_NETINET_IN_PCB_H
18786 #include <netinet/in_pcb.h>
18787 #endif
18789 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18791 cat >>confdefs.h <<_ACEOF
18792 #define HAVE_STRUCT_XINPGEN 1
18793 _ACEOF
18799 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18800 #include <linux/input.h>
18801 #endif
18803 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18805 cat >>confdefs.h <<_ACEOF
18806 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18807 _ACEOF
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18814 $as_echo_n "checking for if_nameindex... " >&6; }
18815 if ${wine_cv_have_if_nameindex+:} false; then :
18816 $as_echo_n "(cached) " >&6
18817 else
18818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18819 /* end confdefs.h. */
18820 #ifdef HAVE_SYS_TYPES_H
18821 #include <sys/types.h>
18822 #endif
18823 #ifdef HAVE_SYS_SOCKET_H
18824 #include <sys/socket.h>
18825 #endif
18826 #ifdef HAVE_NET_IF_H
18827 # include <net/if.h>
18828 #endif
18830 main ()
18832 struct if_nameindex *p = if_nameindex(); return p->if_index;
18834 return 0;
18836 _ACEOF
18837 if ac_fn_c_try_link "$LINENO"; then :
18838 wine_cv_have_if_nameindex=yes
18839 else
18840 wine_cv_have_if_nameindex=no
18842 rm -f core conftest.err conftest.$ac_objext \
18843 conftest$ac_exeext conftest.$ac_ext
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18846 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18847 if test "$wine_cv_have_if_nameindex" = "yes"
18848 then
18850 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18855 $as_echo_n "checking for sigaddset... " >&6; }
18856 if ${wine_cv_have_sigaddset+:} false; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 #include <signal.h>
18863 main ()
18865 sigset_t set; sigaddset(&set,SIGTERM);
18867 return 0;
18869 _ACEOF
18870 if ac_fn_c_try_link "$LINENO"; then :
18871 wine_cv_have_sigaddset=yes
18872 else
18873 wine_cv_have_sigaddset=no
18875 rm -f core conftest.err conftest.$ac_objext \
18876 conftest$ac_exeext conftest.$ac_ext
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18879 $as_echo "$wine_cv_have_sigaddset" >&6; }
18880 if test "$wine_cv_have_sigaddset" = "yes"
18881 then
18883 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18889 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18890 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18891 $as_echo_n "(cached) " >&6
18892 else
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895 #include <netdb.h>
18897 main ()
18900 char *name=0;
18901 struct hostent he;
18902 struct hostent *result;
18903 char *buf=0;
18904 int bufsize=0;
18905 int errnr;
18906 char *addr=0;
18907 int addrlen=0;
18908 int addrtype=0;
18909 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18910 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18913 return 0;
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"; then :
18917 wine_cv_linux_gethostbyname_r_6=yes
18918 else
18919 wine_cv_linux_gethostbyname_r_6=no
18922 rm -f core conftest.err conftest.$ac_objext \
18923 conftest$ac_exeext conftest.$ac_ext
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18927 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18928 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18929 then
18931 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18935 if test "$ac_cv_header_linux_joystick_h" = "yes"
18936 then
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18938 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18939 if ${wine_cv_linux_joystick_22_api+:} false; then :
18940 $as_echo_n "(cached) " >&6
18941 else
18942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18945 #include <sys/ioctl.h>
18946 #include <sys/types.h>
18947 #include <linux/joystick.h>
18949 struct js_event blub;
18950 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18951 #error "no 2.2 header"
18952 #endif
18955 main ()
18957 /*empty*/
18959 return 0;
18961 _ACEOF
18962 if ac_fn_c_try_compile "$LINENO"; then :
18963 wine_cv_linux_joystick_22_api=yes
18964 else
18965 wine_cv_linux_joystick_22_api=no
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18971 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18972 if test "$wine_cv_linux_joystick_22_api" = "yes"
18973 then
18975 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18980 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18981 #ifdef HAVE_SYS_SOCKET_H
18982 # include <sys/socket.h>
18983 #endif
18984 #ifdef HAVE_SYS_UN_H
18985 # include <sys/un.h>
18986 #endif
18988 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18990 cat >>confdefs.h <<_ACEOF
18991 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18992 _ACEOF
18996 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18997 #ifdef HAVE_SYS_SOCKET_H
18998 # include <sys/socket.h>
18999 #endif
19000 #ifdef HAVE_SYS_UN_H
19001 # include <sys/un.h>
19002 #endif
19004 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19008 _ACEOF
19012 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19013 #ifdef HAVE_SYS_SOCKET_H
19014 # include <sys/socket.h>
19015 #endif
19016 #ifdef HAVE_SYS_UN_H
19017 # include <sys/un.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19024 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19031 #ifdef HAVE_SCSI_SG_H
19032 #include <scsi/sg.h>
19033 #endif
19035 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_SCSIREQ_T_CMD 1
19039 _ACEOF
19043 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>
19044 #ifdef HAVE_SCSI_SG_H
19045 #include <scsi/sg.h>
19046 #endif
19048 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19050 cat >>confdefs.h <<_ACEOF
19051 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19052 _ACEOF
19058 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19060 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_SIGINFO_T_SI_FD 1
19064 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19071 #ifdef HAVE_SYS_MTIO_H
19072 #include <sys/mtio.h>
19073 #endif
19075 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19079 _ACEOF
19083 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19084 #ifdef HAVE_SYS_MTIO_H
19085 #include <sys/mtio.h>
19086 #endif
19088 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19092 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19097 #ifdef HAVE_SYS_MTIO_H
19098 #include <sys/mtio.h>
19099 #endif
19101 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19105 _ACEOF
19111 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19112 #include <getopt.h>
19113 #endif
19115 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_OPTION_NAME 1
19119 _ACEOF
19125 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19126 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19130 _ACEOF
19134 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19135 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT_STAT_ST_MTIM 1
19139 _ACEOF
19143 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19144 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19148 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19153 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_STAT_ST_CTIM 1
19157 _ACEOF
19161 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19162 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19166 _ACEOF
19170 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19171 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_STAT_ST_ATIM 1
19175 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19180 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19184 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19189 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19193 _ACEOF
19197 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19198 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19202 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19207 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19211 _ACEOF
19215 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19216 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19220 _ACEOF
19224 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19225 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19229 _ACEOF
19235 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
19236 #include <sys/types.h>
19237 #endif
19238 #ifdef HAVE_NETINET_IN_H
19239 #include <netinet/in.h>
19240 #endif
19242 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19244 cat >>confdefs.h <<_ACEOF
19245 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19246 _ACEOF
19252 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19253 #include <sys/types.h>
19254 #endif
19255 #ifdef HAVE_NETINET_IN_H
19256 #include <netinet/in.h>
19257 #endif
19258 #ifdef HAVE_RESOLV_H
19259 #include <resolv.h>
19260 #endif
19262 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT___RES_STATE 1
19266 _ACEOF
19272 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
19273 #include <resolv.h>
19274 #endif
19276 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19280 _ACEOF
19286 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19287 #include <sys/types.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IN_H
19290 # include <netinet/in.h>
19291 #endif
19292 #ifdef HAVE_ARPA_NAMESER_H
19293 # include <arpa/nameser.h>
19294 #endif
19296 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_NS_MSG__MSG_PTR 1
19300 _ACEOF
19306 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19307 #include <sys/types.h>
19308 #endif
19309 #ifdef HAVE_NETINET_IN_H
19310 #include <netinet/in.h>
19311 #endif
19312 #ifdef HAVE_NETINET_IP_H
19313 #include <netinet/ip.h>
19314 #endif
19315 #ifdef HAVE_NETINET_IP_ICMP_H
19316 #include <netinet/ip_icmp.h>
19317 #endif
19318 #ifdef HAVE_NETINET_ICMP_VAR_H
19319 #include <netinet/icmp_var.h>
19320 #endif
19322 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19324 cat >>confdefs.h <<_ACEOF
19325 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19326 _ACEOF
19332 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19333 #include <sys/types.h>
19334 #endif
19335 #ifdef HAVE_ALIAS_H
19336 #include <alias.h>
19337 #endif
19338 #ifdef HAVE_SYS_SOCKET_H
19339 #include <sys/socket.h>
19340 #endif
19341 #ifdef HAVE_SYS_SOCKETVAR_H
19342 #include <sys/socketvar.h>
19343 #endif
19344 #ifdef HAVE_SYS_TIMEOUT_H
19345 #include <sys/timeout.h>
19346 #endif
19347 #ifdef HAVE_NETINET_IN_H
19348 #include <netinet/in.h>
19349 #endif
19350 #ifdef HAVE_NETINET_IN_SYSTM_H
19351 #include <netinet/in_systm.h>
19352 #endif
19353 #ifdef HAVE_NETINET_IP_H
19354 #include <netinet/ip.h>
19355 #endif
19356 #ifdef HAVE_NETINET_IP_VAR_H
19357 #include <netinet/ip_var.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IP_ICMP_H
19360 #include <netinet/ip_icmp.h>
19361 #endif
19362 #ifdef HAVE_NETINET_ICMP_VAR_H
19363 #include <netinet/icmp_var.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19370 _ACEOF
19376 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19377 #include <sys/types.h>
19378 #endif
19379 #ifdef HAVE_SYS_SOCKETVAR_H
19380 #include <sys/socketvar.h>
19381 #endif
19382 #ifdef HAVE_NETINET_IN_H
19383 #include <netinet/in.h>
19384 #endif
19385 #ifdef HAVE_NETINET_IP_VAR_H
19386 #include <netinet/ip_var.h>
19387 #endif
19389 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19391 cat >>confdefs.h <<_ACEOF
19392 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19393 _ACEOF
19399 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
19400 #include <netinet/ip_var.h>
19401 #endif
19403 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19405 cat >>confdefs.h <<_ACEOF
19406 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19407 _ACEOF
19413 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19414 #include <sys/types.h>
19415 #endif
19416 #ifdef HAVE_SYS_SOCKETVAR_H
19417 #include <sys/socketvar.h>
19418 #endif
19419 #ifdef HAVE_NETINET_IN_H
19420 #include <netinet/in.h>
19421 #endif
19422 #ifdef HAVE_NETINET_TCP_H
19423 #include <netinet/tcp.h>
19424 #endif
19425 #ifdef HAVE_NETINET_TCP_VAR_H
19426 #include <netinet/tcp_var.h>
19427 #endif
19429 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19433 _ACEOF
19439 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
19440 #include <netinet/tcp_var.h>
19441 #endif
19443 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19445 cat >>confdefs.h <<_ACEOF
19446 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19447 _ACEOF
19453 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19454 #include <sys/types.h>
19455 #endif
19456 #ifdef HAVE_NETINET_IN_H
19457 #include <netinet/in.h>
19458 #endif
19459 #ifdef HAVE_NETINET_IP_VAR_H
19460 #include <netinet/ip_var.h>
19461 #endif
19462 #ifdef HAVE_NETINET_UDP_H
19463 #include <netinet/udp.h>
19464 #endif
19465 #ifdef HAVE_NETINET_UDP_VAR_H
19466 #include <netinet/udp_var.h>
19467 #endif
19469 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19473 _ACEOF
19479 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19480 #include <sys/types.h>
19481 #endif
19482 #ifdef HAVE_NET_IF_H
19483 # include <net/if.h>
19484 #endif
19486 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19488 cat >>confdefs.h <<_ACEOF
19489 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19490 _ACEOF
19496 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19497 # include <sys/sysinfo.h>
19498 #endif
19500 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19502 cat >>confdefs.h <<_ACEOF
19503 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19504 _ACEOF
19508 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19509 # include <sys/sysinfo.h>
19510 #endif
19512 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19514 cat >>confdefs.h <<_ACEOF
19515 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19516 _ACEOF
19522 ac_save_LIBS="$LIBS"
19523 LIBS="$LIBS -lm"
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19525 $as_echo_n "checking for isfinite... " >&6; }
19526 if ${ac_cv_have_isfinite+:} false; then :
19527 $as_echo_n "(cached) " >&6
19528 else
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #define _GNU_SOURCE
19532 #include <math.h>
19534 main ()
19536 float f = 0.0; return isfinite(f)
19538 return 0;
19540 _ACEOF
19541 if ac_fn_c_try_link "$LINENO"; then :
19542 ac_cv_have_isfinite="yes"
19543 else
19544 ac_cv_have_isfinite="no"
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19550 $as_echo "$ac_cv_have_isfinite" >&6; }
19551 if test "$ac_cv_have_isfinite" = "yes"
19552 then
19554 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19559 $as_echo_n "checking for isinf... " >&6; }
19560 if ${ac_cv_have_isinf+:} false; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19565 #include <math.h>
19567 main ()
19569 float f = 0.0; return isinf(f)
19571 return 0;
19573 _ACEOF
19574 if ac_fn_c_try_link "$LINENO"; then :
19575 ac_cv_have_isinf="yes"
19576 else
19577 ac_cv_have_isinf="no"
19579 rm -f core conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19583 $as_echo "$ac_cv_have_isinf" >&6; }
19584 if test "$ac_cv_have_isinf" = "yes"
19585 then
19587 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19592 $as_echo_n "checking for isnan... " >&6; }
19593 if ${ac_cv_have_isnan+:} false; then :
19594 $as_echo_n "(cached) " >&6
19595 else
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19598 #include <math.h>
19600 main ()
19602 float f = 0.0; return isnan(f)
19604 return 0;
19606 _ACEOF
19607 if ac_fn_c_try_link "$LINENO"; then :
19608 ac_cv_have_isnan="yes"
19609 else
19610 ac_cv_have_isnan="no"
19612 rm -f core conftest.err conftest.$ac_objext \
19613 conftest$ac_exeext conftest.$ac_ext
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19616 $as_echo "$ac_cv_have_isnan" >&6; }
19617 if test "$ac_cv_have_isnan" = "yes"
19618 then
19620 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19624 LIBS="$ac_save_LIBS"
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19627 $as_echo_n "checking for __builtin_popcount... " >&6; }
19628 if ${ac_cv_have___builtin_popcount+:} false; then :
19629 $as_echo_n "(cached) " >&6
19630 else
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19635 main ()
19637 return __builtin_popcount(1)
19639 return 0;
19641 _ACEOF
19642 if ac_fn_c_try_link "$LINENO"; then :
19643 ac_cv_have___builtin_popcount="yes"
19644 else
19645 ac_cv_have___builtin_popcount="no"
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext conftest.$ac_ext
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19651 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19652 if test "$ac_cv_have___builtin_popcount" = "yes"
19653 then
19655 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19660 $as_echo_n "checking for __clear_cache... " >&6; }
19661 if ${ac_cv_have___clear_cache+:} false; then :
19662 $as_echo_n "(cached) " >&6
19663 else
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19668 main ()
19670 __clear_cache((void*)0, (void*)0); return 0;
19672 return 0;
19674 _ACEOF
19675 if ac_fn_c_try_link "$LINENO"; then :
19676 ac_cv_have___clear_cache="yes"
19677 else
19678 ac_cv_have___clear_cache="no"
19680 rm -f core conftest.err conftest.$ac_objext \
19681 conftest$ac_exeext conftest.$ac_ext
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19684 $as_echo "$ac_cv_have___clear_cache" >&6; }
19685 if test "$ac_cv_have___clear_cache" = "yes"
19686 then
19688 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19693 case $host_cpu in
19694 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19695 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19696 if ${ac_cv_cpp_def___i386__+:} false; then :
19697 $as_echo_n "(cached) " >&6
19698 else
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701 #ifndef __i386__
19703 #endif
19704 _ACEOF
19705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19706 $EGREP "yes" >/dev/null 2>&1; then :
19707 ac_cv_cpp_def___i386__=yes
19708 else
19709 ac_cv_cpp_def___i386__=no
19711 rm -f conftest*
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19715 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19716 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19717 CFLAGS="$CFLAGS -D__i386__"
19718 LINTFLAGS="$LINTFLAGS -D__i386__"
19719 fi ;;
19720 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19721 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19722 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19723 $as_echo_n "(cached) " >&6
19724 else
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19727 #ifndef __x86_64__
19729 #endif
19730 _ACEOF
19731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19732 $EGREP "yes" >/dev/null 2>&1; then :
19733 ac_cv_cpp_def___x86_64__=yes
19734 else
19735 ac_cv_cpp_def___x86_64__=no
19737 rm -f conftest*
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19741 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19742 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19743 CFLAGS="$CFLAGS -D__x86_64__"
19744 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19745 fi ;;
19746 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19747 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19748 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19749 $as_echo_n "(cached) " >&6
19750 else
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19753 #ifndef __sparc64__
19755 #endif
19756 _ACEOF
19757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19758 $EGREP "yes" >/dev/null 2>&1; then :
19759 ac_cv_cpp_def___sparc64__=yes
19760 else
19761 ac_cv_cpp_def___sparc64__=no
19763 rm -f conftest*
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19767 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19768 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19769 CFLAGS="$CFLAGS -D__sparc64__"
19770 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19771 fi ;;
19772 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19773 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19774 if ${ac_cv_cpp_def___sparc__+:} false; then :
19775 $as_echo_n "(cached) " >&6
19776 else
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #ifndef __sparc__
19781 #endif
19782 _ACEOF
19783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19784 $EGREP "yes" >/dev/null 2>&1; then :
19785 ac_cv_cpp_def___sparc__=yes
19786 else
19787 ac_cv_cpp_def___sparc__=no
19789 rm -f conftest*
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19793 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19794 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19795 CFLAGS="$CFLAGS -D__sparc__"
19796 LINTFLAGS="$LINTFLAGS -D__sparc__"
19797 fi ;;
19798 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19799 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19800 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19801 $as_echo_n "(cached) " >&6
19802 else
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19805 #ifndef __powerpc64__
19807 #endif
19808 _ACEOF
19809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19810 $EGREP "yes" >/dev/null 2>&1; then :
19811 ac_cv_cpp_def___powerpc64__=yes
19812 else
19813 ac_cv_cpp_def___powerpc64__=no
19815 rm -f conftest*
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19819 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19820 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19821 CFLAGS="$CFLAGS -D__powerpc64__"
19822 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19823 fi ;;
19824 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19825 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19826 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19827 $as_echo_n "(cached) " >&6
19828 else
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19831 #ifndef __powerpc__
19833 #endif
19834 _ACEOF
19835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19836 $EGREP "yes" >/dev/null 2>&1; then :
19837 ac_cv_cpp_def___powerpc__=yes
19838 else
19839 ac_cv_cpp_def___powerpc__=no
19841 rm -f conftest*
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19845 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19846 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19847 CFLAGS="$CFLAGS -D__powerpc__"
19848 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19849 fi ;;
19850 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19851 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19852 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19853 $as_echo_n "(cached) " >&6
19854 else
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19857 #ifndef __aarch64__
19859 #endif
19860 _ACEOF
19861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19862 $EGREP "yes" >/dev/null 2>&1; then :
19863 ac_cv_cpp_def___aarch64__=yes
19864 else
19865 ac_cv_cpp_def___aarch64__=no
19867 rm -f conftest*
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19871 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19872 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19873 CFLAGS="$CFLAGS -D__aarch64__"
19874 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19875 fi ;;
19876 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19877 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19878 if ${ac_cv_cpp_def___arm__+:} false; then :
19879 $as_echo_n "(cached) " >&6
19880 else
19881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19882 /* end confdefs.h. */
19883 #ifndef __arm__
19885 #endif
19886 _ACEOF
19887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19888 $EGREP "yes" >/dev/null 2>&1; then :
19889 ac_cv_cpp_def___arm__=yes
19890 else
19891 ac_cv_cpp_def___arm__=no
19893 rm -f conftest*
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19897 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19898 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19899 CFLAGS="$CFLAGS -D__arm__"
19900 LINTFLAGS="$LINTFLAGS -D__arm__"
19901 fi ;;
19902 esac
19904 case $host_vendor in
19905 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19906 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19907 if ${ac_cv_cpp_def___sun__+:} false; then :
19908 $as_echo_n "(cached) " >&6
19909 else
19910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19912 #ifndef __sun__
19914 #endif
19915 _ACEOF
19916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19917 $EGREP "yes" >/dev/null 2>&1; then :
19918 ac_cv_cpp_def___sun__=yes
19919 else
19920 ac_cv_cpp_def___sun__=no
19922 rm -f conftest*
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19926 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19927 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19928 CFLAGS="$CFLAGS -D__sun__"
19929 LINTFLAGS="$LINTFLAGS -D__sun__"
19930 fi ;;
19931 esac
19937 ac_config_commands="$ac_config_commands include/stamp-h"
19939 $as_echo_n "creating Makefile rules..." >&6
19941 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19942 OPENGL_LIBS = $OPENGL_LIBS
19943 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19944 IOKIT_LIBS = $IOKIT_LIBS
19945 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19946 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19947 CORESERVICES_LIBS = $CORESERVICES_LIBS
19948 APPKIT_LIBS = $APPKIT_LIBS
19949 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19950 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19951 SECURITY_LIBS = $SECURITY_LIBS
19952 COREAUDIO_LIBS = $COREAUDIO_LIBS
19953 OPENAL_LIBS = $OPENAL_LIBS
19954 OPENCL_LIBS = $OPENCL_LIBS
19955 QUICKTIME_LIBS = $QUICKTIME_LIBS
19956 CARBON_LIBS = $CARBON_LIBS
19957 METAL_LIBS = $METAL_LIBS
19958 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19959 PTHREAD_LIBS = $PTHREAD_LIBS
19960 X_CFLAGS = $X_CFLAGS
19961 X_PRE_LIBS = $X_PRE_LIBS
19962 X_LIBS = $X_LIBS
19963 X_EXTRA_LIBS = $X_EXTRA_LIBS
19964 PCAP_LIBS = $PCAP_LIBS
19965 XML2_CFLAGS = $XML2_CFLAGS
19966 XML2_LIBS = $XML2_LIBS
19967 XSLT_CFLAGS = $XSLT_CFLAGS
19968 XSLT_LIBS = $XSLT_LIBS
19969 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19970 INOTIFY_LIBS = $INOTIFY_LIBS
19971 DBUS_CFLAGS = $DBUS_CFLAGS
19972 DBUS_LIBS = $DBUS_LIBS
19973 HAL_CFLAGS = $HAL_CFLAGS
19974 HAL_LIBS = $HAL_LIBS
19975 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19976 GNUTLS_LIBS = $GNUTLS_LIBS
19977 SANE_CFLAGS = $SANE_CFLAGS
19978 SANE_LIBS = $SANE_LIBS
19979 USB_CFLAGS = $USB_CFLAGS
19980 USB_LIBS = $USB_LIBS
19981 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19982 GPHOTO2_LIBS = $GPHOTO2_LIBS
19983 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19984 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19985 RESOLV_LIBS = $RESOLV_LIBS
19986 LCMS2_CFLAGS = $LCMS2_CFLAGS
19987 LCMS2_LIBS = $LCMS2_LIBS
19988 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19989 FREETYPE_LIBS = $FREETYPE_LIBS
19990 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19991 PULSE_CFLAGS = $PULSE_CFLAGS
19992 PULSE_LIBS = $PULSE_LIBS
19993 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19994 GSTREAMER_LIBS = $GSTREAMER_LIBS
19995 ALSA_LIBS = $ALSA_LIBS
19996 OSS4_CFLAGS = $OSS4_CFLAGS
19997 OSS4_LIBS = $OSS4_LIBS
19998 UDEV_CFLAGS = $UDEV_CFLAGS
19999 UDEV_LIBS = $UDEV_LIBS
20000 UNWIND_CFLAGS = $UNWIND_CFLAGS
20001 UNWIND_LIBS = $UNWIND_LIBS
20002 SDL2_CFLAGS = $SDL2_CFLAGS
20003 SDL2_LIBS = $SDL2_LIBS
20004 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20005 FAUDIO_LIBS = $FAUDIO_LIBS
20006 CAPI20_CFLAGS = $CAPI20_CFLAGS
20007 CAPI20_LIBS = $CAPI20_LIBS
20008 CUPS_CFLAGS = $CUPS_CFLAGS
20009 CUPS_LIBS = $CUPS_LIBS
20010 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20011 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20012 KRB5_CFLAGS = $KRB5_CFLAGS
20013 KRB5_LIBS = $KRB5_LIBS
20014 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20015 GSSAPI_LIBS = $GSSAPI_LIBS
20016 JPEG_CFLAGS = $JPEG_CFLAGS
20017 JPEG_LIBS = $JPEG_LIBS
20018 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20019 JXRLIB_LIBS = $JXRLIB_LIBS
20020 PNG_CFLAGS = $PNG_CFLAGS
20021 PNG_LIBS = $PNG_LIBS
20022 TIFF_CFLAGS = $TIFF_CFLAGS
20023 TIFF_LIBS = $TIFF_LIBS
20024 MPG123_CFLAGS = $MPG123_CFLAGS
20025 MPG123_LIBS = $MPG123_LIBS
20026 KSTAT_LIBS = $KSTAT_LIBS
20027 PROCSTAT_LIBS = $PROCSTAT_LIBS
20028 NETAPI_CFLAGS = $NETAPI_CFLAGS
20029 NETAPI_LIBS = $NETAPI_LIBS
20030 VKD3D_CFLAGS = $VKD3D_CFLAGS
20031 VKD3D_LIBS = $VKD3D_LIBS
20032 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20033 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20034 POLL_LIBS = $POLL_LIBS
20035 RT_LIBS = $RT_LIBS
20036 LDAP_CFLAGS = $LDAP_CFLAGS
20037 LDAP_LIBS = $LDAP_LIBS
20041 makedep_flags=""
20042 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20045 wine_fn_append_rule "
20046 # Rules automatically generated by configure
20048 .INIT: Makefile
20049 .MAKEFILEDEPS:
20050 all: Makefile
20051 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20052 @./config.status Make.tmp Makefile
20053 depend: \$(MAKEDEP)
20054 \$(MAKEDEP)$makedep_flags
20055 dummy:
20056 .PHONY: depend dummy"
20058 ac_config_links="$ac_config_links wine:tools/winewrapper"
20059 wine_fn_config_symlink wine
20060 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20061 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20062 wine_fn_config_symlink wine64
20065 wine_fn_config_makefile dlls/acledit enable_acledit
20066 wine_fn_config_makefile dlls/aclui enable_aclui
20067 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20068 wine_fn_config_makefile dlls/activeds enable_activeds
20069 wine_fn_config_makefile dlls/activeds/tests enable_tests
20070 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20071 wine_fn_config_makefile dlls/adsiid enable_adsiid
20072 wine_fn_config_makefile dlls/adsldp enable_adsldp
20073 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20074 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20075 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20076 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20077 wine_fn_config_makefile dlls/advpack enable_advpack
20078 wine_fn_config_makefile dlls/advpack/tests enable_tests
20079 wine_fn_config_makefile dlls/amsi enable_amsi
20080 wine_fn_config_makefile dlls/amstream enable_amstream
20081 wine_fn_config_makefile dlls/amstream/tests enable_tests
20082 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20085 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20107 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20108 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20109 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20116 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20117 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20134 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20138 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20141 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20146 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20156 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20157 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20169 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20170 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20171 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20198 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20218 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20223 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20225 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20245 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20277 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20281 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20283 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20285 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20286 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20302 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20304 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20312 wine_fn_config_makefile dlls/apphelp enable_apphelp
20313 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20314 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20315 wine_fn_config_makefile dlls/atl enable_atl
20316 wine_fn_config_makefile dlls/atl/tests enable_tests
20317 wine_fn_config_makefile dlls/atl100 enable_atl100
20318 wine_fn_config_makefile dlls/atl100/tests enable_tests
20319 wine_fn_config_makefile dlls/atl110 enable_atl110
20320 wine_fn_config_makefile dlls/atl80 enable_atl80
20321 wine_fn_config_makefile dlls/atl80/tests enable_tests
20322 wine_fn_config_makefile dlls/atl90 enable_atl90
20323 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20324 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20325 wine_fn_config_makefile dlls/atmlib enable_atmlib
20326 wine_fn_config_makefile dlls/authz enable_authz
20327 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20328 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20329 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20330 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20331 wine_fn_config_makefile dlls/avrt enable_avrt
20332 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20333 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20334 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20335 wine_fn_config_makefile dlls/browseui enable_browseui
20336 wine_fn_config_makefile dlls/browseui/tests enable_tests
20337 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20338 wine_fn_config_makefile dlls/cabinet enable_cabinet
20339 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20340 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20341 wine_fn_config_makefile dlls/cards enable_cards
20342 wine_fn_config_makefile dlls/cdosys enable_cdosys
20343 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20344 wine_fn_config_makefile dlls/clusapi enable_clusapi
20345 wine_fn_config_makefile dlls/combase enable_combase
20346 wine_fn_config_makefile dlls/combase/tests enable_tests
20347 wine_fn_config_makefile dlls/comcat enable_comcat
20348 wine_fn_config_makefile dlls/comcat/tests enable_tests
20349 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20350 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20351 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20352 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20353 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20354 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20355 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20356 wine_fn_config_makefile dlls/compstui enable_compstui
20357 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20358 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20359 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20360 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20361 wine_fn_config_makefile dlls/connect enable_connect
20362 wine_fn_config_makefile dlls/credui enable_credui
20363 wine_fn_config_makefile dlls/credui/tests enable_tests
20364 wine_fn_config_makefile dlls/crtdll enable_crtdll
20365 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20366 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20367 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20368 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20369 wine_fn_config_makefile dlls/cryptext enable_cryptext
20370 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20371 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20372 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20373 wine_fn_config_makefile dlls/cryptui enable_cryptui
20374 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20375 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20376 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20377 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20378 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20379 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20380 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20381 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20382 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20383 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20384 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20385 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20386 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20387 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20388 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20389 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20390 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20391 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20392 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20394 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20395 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20396 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20397 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20398 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20399 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20400 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20401 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20402 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20403 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20404 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20405 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20406 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20407 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20408 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20409 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20410 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20411 wine_fn_config_makefile dlls/d3dim enable_d3dim
20412 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20413 wine_fn_config_makefile dlls/d3drm enable_d3drm
20414 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20415 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20416 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20417 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20418 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20419 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20420 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20421 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20422 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20423 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20424 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20425 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20426 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20427 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20428 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20429 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20430 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20431 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20432 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20433 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20434 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20435 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20436 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20437 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20438 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20439 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20440 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20441 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20442 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20443 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20444 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20445 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20446 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20447 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20448 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20449 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20450 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20451 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20452 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20453 wine_fn_config_makefile dlls/davclnt enable_davclnt
20454 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20455 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20456 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20457 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20458 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20459 wine_fn_config_makefile dlls/dcomp enable_dcomp
20460 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20461 wine_fn_config_makefile dlls/ddraw enable_ddraw
20462 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20463 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20464 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20465 wine_fn_config_makefile dlls/devenum enable_devenum
20466 wine_fn_config_makefile dlls/devenum/tests enable_tests
20467 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20468 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20469 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20470 wine_fn_config_makefile dlls/difxapi enable_difxapi
20471 wine_fn_config_makefile dlls/dinput enable_dinput
20472 wine_fn_config_makefile dlls/dinput/tests enable_tests
20473 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20474 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20475 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20476 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20477 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20478 wine_fn_config_makefile dlls/dispex enable_dispex
20479 wine_fn_config_makefile dlls/dispex/tests enable_tests
20480 wine_fn_config_makefile dlls/display.drv16 enable_win16
20481 wine_fn_config_makefile dlls/dmband enable_dmband
20482 wine_fn_config_makefile dlls/dmband/tests enable_tests
20483 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20484 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20485 wine_fn_config_makefile dlls/dmime enable_dmime
20486 wine_fn_config_makefile dlls/dmime/tests enable_tests
20487 wine_fn_config_makefile dlls/dmloader enable_dmloader
20488 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20489 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20490 wine_fn_config_makefile dlls/dmscript enable_dmscript
20491 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20492 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20493 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20494 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20495 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20496 wine_fn_config_makefile dlls/dmusic enable_dmusic
20497 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20498 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20499 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20500 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20501 wine_fn_config_makefile dlls/dplay enable_dplay
20502 wine_fn_config_makefile dlls/dplayx enable_dplayx
20503 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20504 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20505 wine_fn_config_makefile dlls/dpnet enable_dpnet
20506 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20507 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20508 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20509 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20510 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20511 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20512 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20513 wine_fn_config_makefile dlls/drmclien enable_drmclien
20514 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20515 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20516 wine_fn_config_makefile dlls/dsound enable_dsound
20517 wine_fn_config_makefile dlls/dsound/tests enable_tests
20518 wine_fn_config_makefile dlls/dsquery enable_dsquery
20519 wine_fn_config_makefile dlls/dssenh enable_dssenh
20520 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20521 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20522 wine_fn_config_makefile dlls/dswave enable_dswave
20523 wine_fn_config_makefile dlls/dswave/tests enable_tests
20524 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20525 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20526 wine_fn_config_makefile dlls/dwrite enable_dwrite
20527 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20528 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20529 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20530 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20531 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20532 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20533 wine_fn_config_makefile dlls/dxgi enable_dxgi
20534 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20535 wine_fn_config_makefile dlls/dxguid enable_dxguid
20536 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20537 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20538 wine_fn_config_makefile dlls/esent enable_esent
20539 wine_fn_config_makefile dlls/evr enable_evr
20540 wine_fn_config_makefile dlls/evr/tests enable_tests
20541 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20542 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20543 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20554 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20577 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20583 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
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20594 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20595 wine_fn_config_makefile dlls/faultrep enable_faultrep
20596 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20597 wine_fn_config_makefile dlls/feclient enable_feclient
20598 wine_fn_config_makefile dlls/fltlib enable_fltlib
20599 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20600 wine_fn_config_makefile dlls/fntcache enable_fntcache
20601 wine_fn_config_makefile dlls/fontsub enable_fontsub
20602 wine_fn_config_makefile dlls/fusion enable_fusion
20603 wine_fn_config_makefile dlls/fusion/tests enable_tests
20604 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20605 wine_fn_config_makefile dlls/gameux enable_gameux
20606 wine_fn_config_makefile dlls/gameux/tests enable_tests
20607 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20608 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20609 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20610 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20611 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20612 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20613 wine_fn_config_makefile dlls/glu32 enable_glu32
20614 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20615 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20616 wine_fn_config_makefile dlls/hal enable_hal
20617 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20618 wine_fn_config_makefile dlls/hid enable_hid
20619 wine_fn_config_makefile dlls/hid/tests enable_tests
20620 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20621 wine_fn_config_makefile dlls/hlink enable_hlink
20622 wine_fn_config_makefile dlls/hlink/tests enable_tests
20623 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20624 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20625 wine_fn_config_makefile dlls/http.sys enable_http_sys
20626 wine_fn_config_makefile dlls/httpapi enable_httpapi
20627 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20628 wine_fn_config_makefile dlls/iccvid enable_iccvid
20629 wine_fn_config_makefile dlls/icmp enable_icmp
20630 wine_fn_config_makefile dlls/ieframe enable_ieframe
20631 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20632 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20633 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20634 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20635 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20636 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20637 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20638 wine_fn_config_makefile dlls/imm32 enable_imm32
20639 wine_fn_config_makefile dlls/imm32/tests enable_tests
20640 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20641 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20642 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20643 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20644 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20645 wine_fn_config_makefile dlls/infosoft enable_infosoft
20646 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20647 wine_fn_config_makefile dlls/initpki enable_initpki
20648 wine_fn_config_makefile dlls/inkobj enable_inkobj
20649 wine_fn_config_makefile dlls/inseng enable_inseng
20650 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20651 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20652 wine_fn_config_makefile dlls/iprop enable_iprop
20653 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20654 wine_fn_config_makefile dlls/itircl enable_itircl
20655 wine_fn_config_makefile dlls/itss enable_itss
20656 wine_fn_config_makefile dlls/itss/tests enable_tests
20657 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20658 wine_fn_config_makefile dlls/jscript enable_jscript
20659 wine_fn_config_makefile dlls/jscript/tests enable_tests
20660 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20661 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20662 wine_fn_config_makefile dlls/kerberos enable_kerberos
20663 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20664 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20665 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20666 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20667 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20668 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20669 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20670 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20671 wine_fn_config_makefile dlls/ksuser enable_ksuser
20672 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20673 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20674 wine_fn_config_makefile dlls/loadperf enable_loadperf
20675 wine_fn_config_makefile dlls/localspl enable_localspl
20676 wine_fn_config_makefile dlls/localspl/tests enable_tests
20677 wine_fn_config_makefile dlls/localui enable_localui
20678 wine_fn_config_makefile dlls/localui/tests enable_tests
20679 wine_fn_config_makefile dlls/lz32 enable_lz32
20680 wine_fn_config_makefile dlls/lz32/tests enable_tests
20681 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20682 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20683 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20684 wine_fn_config_makefile dlls/mapistub enable_mapistub
20685 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20686 wine_fn_config_makefile dlls/mcicda enable_mcicda
20687 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20688 wine_fn_config_makefile dlls/mciseq enable_mciseq
20689 wine_fn_config_makefile dlls/mciwave enable_mciwave
20690 wine_fn_config_makefile dlls/mf enable_mf
20691 wine_fn_config_makefile dlls/mf/tests enable_tests
20692 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20693 wine_fn_config_makefile dlls/mferror enable_mferror
20694 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20695 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20696 wine_fn_config_makefile dlls/mfplat enable_mfplat
20697 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20698 wine_fn_config_makefile dlls/mfplay enable_mfplay
20699 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20700 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20701 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20702 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20703 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20704 wine_fn_config_makefile dlls/midimap enable_midimap
20705 wine_fn_config_makefile dlls/mlang enable_mlang
20706 wine_fn_config_makefile dlls/mlang/tests enable_tests
20707 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20708 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20709 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20710 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20711 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20712 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20713 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20714 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20715 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20716 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20717 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20718 wine_fn_config_makefile dlls/mpr enable_mpr
20719 wine_fn_config_makefile dlls/mpr/tests enable_tests
20720 wine_fn_config_makefile dlls/mprapi enable_mprapi
20721 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20722 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20723 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20724 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20725 wine_fn_config_makefile dlls/msado15 enable_msado15
20726 wine_fn_config_makefile dlls/msado15/tests enable_tests
20727 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20728 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20729 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20730 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20731 wine_fn_config_makefile dlls/mscms enable_mscms
20732 wine_fn_config_makefile dlls/mscms/tests enable_tests
20733 wine_fn_config_makefile dlls/mscoree enable_mscoree
20734 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20735 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20736 wine_fn_config_makefile dlls/msctf enable_msctf
20737 wine_fn_config_makefile dlls/msctf/tests enable_tests
20738 wine_fn_config_makefile dlls/msctfp enable_msctfp
20739 wine_fn_config_makefile dlls/msdaps enable_msdaps
20740 wine_fn_config_makefile dlls/msdelta enable_msdelta
20741 wine_fn_config_makefile dlls/msdmo enable_msdmo
20742 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20743 wine_fn_config_makefile dlls/msdrm enable_msdrm
20744 wine_fn_config_makefile dlls/msftedit enable_msftedit
20745 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20746 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20747 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20748 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20749 wine_fn_config_makefile dlls/mshtml enable_mshtml
20750 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20751 wine_fn_config_makefile dlls/msi enable_msi
20752 wine_fn_config_makefile dlls/msi/tests enable_tests
20753 wine_fn_config_makefile dlls/msident enable_msident
20754 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20755 wine_fn_config_makefile dlls/msimsg enable_msimsg
20756 wine_fn_config_makefile dlls/msimtf enable_msimtf
20757 wine_fn_config_makefile dlls/msisip enable_msisip
20758 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20759 wine_fn_config_makefile dlls/msls31 enable_msls31
20760 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20761 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20762 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20763 wine_fn_config_makefile dlls/msports enable_msports
20764 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20765 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20766 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20767 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20768 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20769 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20770 wine_fn_config_makefile dlls/mstask enable_mstask
20771 wine_fn_config_makefile dlls/mstask/tests enable_tests
20772 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20773 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20774 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20775 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20776 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20777 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20778 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20780 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20782 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20783 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20784 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20785 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20787 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20789 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20790 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20791 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20792 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20793 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20794 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20796 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20797 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20798 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20800 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20802 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20803 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20804 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20805 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20806 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20807 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20808 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20809 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20810 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20811 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20812 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20813 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20814 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20815 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20816 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20817 wine_fn_config_makefile dlls/mswsock enable_mswsock
20818 wine_fn_config_makefile dlls/msxml enable_msxml
20819 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20820 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20821 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20822 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20823 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20824 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20825 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20826 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20827 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20828 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20829 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20830 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20831 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20832 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20833 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20834 wine_fn_config_makefile dlls/netprofm enable_netprofm
20835 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20836 wine_fn_config_makefile dlls/netutils enable_netutils
20837 wine_fn_config_makefile dlls/newdev enable_newdev
20838 wine_fn_config_makefile dlls/ninput enable_ninput
20839 wine_fn_config_makefile dlls/ninput/tests enable_tests
20840 wine_fn_config_makefile dlls/normaliz enable_normaliz
20841 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20842 wine_fn_config_makefile dlls/npptools enable_npptools
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/tdh enable_tdh
21009 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21010 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21011 wine_fn_config_makefile dlls/traffic enable_traffic
21012 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21013 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21014 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21015 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21016 wine_fn_config_makefile dlls/tzres enable_tzres
21017 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21018 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21019 wine_fn_config_makefile dlls/uianimation enable_uianimation
21020 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21021 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21022 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21023 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21024 wine_fn_config_makefile dlls/unicows enable_unicows
21025 wine_fn_config_makefile dlls/updspapi enable_updspapi
21026 wine_fn_config_makefile dlls/url enable_url
21027 wine_fn_config_makefile dlls/urlmon enable_urlmon
21028 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21029 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21030 wine_fn_config_makefile dlls/user.exe16 enable_win16
21031 wine_fn_config_makefile dlls/user32 enable_user32
21032 wine_fn_config_makefile dlls/user32/tests enable_tests
21033 wine_fn_config_makefile dlls/userenv enable_userenv
21034 wine_fn_config_makefile dlls/userenv/tests enable_tests
21035 wine_fn_config_makefile dlls/usp10 enable_usp10
21036 wine_fn_config_makefile dlls/usp10/tests enable_tests
21037 wine_fn_config_makefile dlls/utildll enable_utildll
21038 wine_fn_config_makefile dlls/uuid enable_uuid
21039 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21040 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21041 wine_fn_config_makefile dlls/vbscript enable_vbscript
21042 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21043 wine_fn_config_makefile dlls/vcomp enable_vcomp
21044 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21045 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21046 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21047 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21048 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21049 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21050 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21051 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21052 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21053 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21054 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21055 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21056 wine_fn_config_makefile dlls/version enable_version
21057 wine_fn_config_makefile dlls/version/tests enable_tests
21058 wine_fn_config_makefile dlls/vga enable_vga
21059 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21060 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21061 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21062 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21063 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21064 wine_fn_config_makefile dlls/vssapi enable_vssapi
21065 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21066 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21067 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21068 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21069 wine_fn_config_makefile dlls/w32skrnl enable_win16
21070 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21071 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21072 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21073 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21074 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21075 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21076 wine_fn_config_makefile dlls/wdscore enable_wdscore
21077 wine_fn_config_makefile dlls/webservices enable_webservices
21078 wine_fn_config_makefile dlls/webservices/tests enable_tests
21079 wine_fn_config_makefile dlls/websocket enable_websocket
21080 wine_fn_config_makefile dlls/wer enable_wer
21081 wine_fn_config_makefile dlls/wer/tests enable_tests
21082 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21083 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21084 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21085 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21086 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21087 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21088 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21089 wine_fn_config_makefile dlls/win32u enable_win32u
21090 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21091 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21092 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21093 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21094 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21095 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21096 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21097 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21098 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21099 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21100 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21101 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21102 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21103 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21104 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21105 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21106 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21107 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21108 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21109 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21110 wine_fn_config_makefile dlls/wined3d enable_wined3d
21111 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21112 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21113 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21114 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21115 wine_fn_config_makefile dlls/winemapi enable_winemapi
21116 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21117 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21118 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21119 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21120 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21121 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21122 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21123 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21124 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21125 wine_fn_config_makefile dlls/wing32 enable_wing32
21126 wine_fn_config_makefile dlls/winhttp enable_winhttp
21127 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21128 wine_fn_config_makefile dlls/wininet enable_wininet
21129 wine_fn_config_makefile dlls/wininet/tests enable_tests
21130 wine_fn_config_makefile dlls/winmm enable_winmm
21131 wine_fn_config_makefile dlls/winmm/tests enable_tests
21132 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21133 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21134 wine_fn_config_makefile dlls/winscard enable_winscard
21135 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21136 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21137 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21138 wine_fn_config_makefile dlls/winsta enable_winsta
21139 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21140 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21141 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21142 wine_fn_config_makefile dlls/wintrust enable_wintrust
21143 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21144 wine_fn_config_makefile dlls/winusb enable_winusb
21145 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21146 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21147 wine_fn_config_makefile dlls/wlanui enable_wlanui
21148 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21149 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21150 wine_fn_config_makefile dlls/wmasf enable_wmasf
21151 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21152 wine_fn_config_makefile dlls/wmi enable_wmi
21153 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21154 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21155 wine_fn_config_makefile dlls/wmp enable_wmp
21156 wine_fn_config_makefile dlls/wmp/tests enable_tests
21157 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21158 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21159 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21160 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21161 wine_fn_config_makefile dlls/wow32 enable_win16
21162 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21163 wine_fn_config_makefile dlls/wpc enable_wpc
21164 wine_fn_config_makefile dlls/wpc/tests enable_tests
21165 wine_fn_config_makefile dlls/wpcap enable_wpcap
21166 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21167 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21168 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21169 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21170 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21171 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21172 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21173 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21174 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21175 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21176 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21177 wine_fn_config_makefile dlls/wuapi enable_wuapi
21178 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21179 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21180 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21181 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21182 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21183 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21184 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21185 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21186 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21187 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21188 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21189 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21190 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21191 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21192 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21193 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21194 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21195 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21196 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21197 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21198 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21199 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21200 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21201 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21202 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21203 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21204 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21205 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21206 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21207 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21208 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21209 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21210 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21211 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21212 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21213 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21214 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21215 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21216 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21217 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21218 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21219 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21220 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21221 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21222 wine_fn_config_makefile dlls/xmllite enable_xmllite
21223 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21224 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21225 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21226 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21227 wine_fn_config_makefile fonts enable_fonts
21228 wine_fn_config_makefile include enable_include
21229 wine_fn_config_makefile libs/port enable_port
21230 wine_fn_config_makefile libs/wine enable_wine
21231 wine_fn_config_makefile libs/wpp enable_wpp
21232 wine_fn_config_makefile loader enable_loader
21233 wine_fn_config_makefile nls enable_nls
21234 wine_fn_config_makefile po enable_po
21235 wine_fn_config_makefile programs/arp enable_arp
21236 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21237 wine_fn_config_makefile programs/attrib enable_attrib
21238 wine_fn_config_makefile programs/cabarc enable_cabarc
21239 wine_fn_config_makefile programs/cacls enable_cacls
21240 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21241 wine_fn_config_makefile programs/clock enable_clock
21242 wine_fn_config_makefile programs/cmd enable_cmd
21243 wine_fn_config_makefile programs/cmd/tests enable_tests
21244 wine_fn_config_makefile programs/conhost enable_conhost
21245 wine_fn_config_makefile programs/conhost/tests enable_tests
21246 wine_fn_config_makefile programs/control enable_control
21247 wine_fn_config_makefile programs/cscript enable_cscript
21248 wine_fn_config_makefile programs/dism enable_dism
21249 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21250 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21251 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21252 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21253 wine_fn_config_makefile programs/eject enable_eject
21254 wine_fn_config_makefile programs/expand enable_expand
21255 wine_fn_config_makefile programs/explorer enable_explorer
21256 wine_fn_config_makefile programs/extrac32 enable_extrac32
21257 wine_fn_config_makefile programs/fc enable_fc
21258 wine_fn_config_makefile programs/find enable_find
21259 wine_fn_config_makefile programs/find/tests enable_tests
21260 wine_fn_config_makefile programs/findstr enable_findstr
21261 wine_fn_config_makefile programs/fsutil enable_fsutil
21262 wine_fn_config_makefile programs/fsutil/tests enable_tests
21263 wine_fn_config_makefile programs/hh enable_hh
21264 wine_fn_config_makefile programs/hostname enable_hostname
21265 wine_fn_config_makefile programs/icacls enable_icacls
21266 wine_fn_config_makefile programs/icinfo enable_icinfo
21267 wine_fn_config_makefile programs/iexplore enable_iexplore
21268 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21269 wine_fn_config_makefile programs/lodctr enable_lodctr
21270 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21271 wine_fn_config_makefile programs/mshta enable_mshta
21272 wine_fn_config_makefile programs/msidb enable_msidb
21273 wine_fn_config_makefile programs/msiexec enable_msiexec
21274 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21275 wine_fn_config_makefile programs/net enable_net
21276 wine_fn_config_makefile programs/netsh enable_netsh
21277 wine_fn_config_makefile programs/netstat enable_netstat
21278 wine_fn_config_makefile programs/ngen enable_ngen
21279 wine_fn_config_makefile programs/notepad enable_notepad
21280 wine_fn_config_makefile programs/oleview enable_oleview
21281 wine_fn_config_makefile programs/ping enable_ping
21282 wine_fn_config_makefile programs/plugplay enable_plugplay
21283 wine_fn_config_makefile programs/powershell enable_powershell
21284 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21285 wine_fn_config_makefile programs/progman enable_progman
21286 wine_fn_config_makefile programs/reg enable_reg
21287 wine_fn_config_makefile programs/reg/tests enable_tests
21288 wine_fn_config_makefile programs/regasm enable_regasm
21289 wine_fn_config_makefile programs/regedit enable_regedit
21290 wine_fn_config_makefile programs/regedit/tests enable_tests
21291 wine_fn_config_makefile programs/regini enable_regini
21292 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21293 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21294 wine_fn_config_makefile programs/rpcss enable_rpcss
21295 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21296 wine_fn_config_makefile programs/rundll32 enable_rundll32
21297 wine_fn_config_makefile programs/sc enable_sc
21298 wine_fn_config_makefile programs/schtasks enable_schtasks
21299 wine_fn_config_makefile programs/schtasks/tests enable_tests
21300 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21301 wine_fn_config_makefile programs/secedit enable_secedit
21302 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21303 wine_fn_config_makefile programs/services enable_services
21304 wine_fn_config_makefile programs/services/tests enable_tests
21305 wine_fn_config_makefile programs/shutdown enable_shutdown
21306 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21307 wine_fn_config_makefile programs/start enable_start
21308 wine_fn_config_makefile programs/subst enable_subst
21309 wine_fn_config_makefile programs/svchost enable_svchost
21310 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21311 wine_fn_config_makefile programs/taskkill enable_taskkill
21312 wine_fn_config_makefile programs/tasklist enable_tasklist
21313 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21314 wine_fn_config_makefile programs/termsv enable_termsv
21315 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21316 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21317 wine_fn_config_makefile programs/view enable_view
21318 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21319 wine_fn_config_makefile programs/where enable_where
21320 wine_fn_config_makefile programs/whoami enable_whoami
21321 wine_fn_config_makefile programs/wineboot enable_wineboot
21322 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21323 wine_fn_config_makefile programs/winecfg enable_winecfg
21324 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21325 wine_fn_config_makefile programs/winedbg enable_winedbg
21326 wine_fn_config_makefile programs/winedevice enable_winedevice
21327 wine_fn_config_makefile programs/winefile enable_winefile
21328 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21329 wine_fn_config_makefile programs/winemine enable_winemine
21330 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21331 wine_fn_config_makefile programs/winepath enable_winepath
21332 wine_fn_config_makefile programs/winetest enable_winetest
21333 wine_fn_config_makefile programs/winevdm enable_win16
21334 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21335 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21336 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21337 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21338 wine_fn_config_makefile programs/winver enable_winver
21339 wine_fn_config_makefile programs/wmic enable_wmic
21340 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21341 wine_fn_config_makefile programs/wordpad enable_wordpad
21342 wine_fn_config_makefile programs/write enable_write
21343 wine_fn_config_makefile programs/wscript enable_wscript
21344 wine_fn_config_makefile programs/wscript/tests enable_tests
21345 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21346 wine_fn_config_makefile programs/wusa enable_wusa
21347 wine_fn_config_makefile programs/xcopy enable_xcopy
21348 wine_fn_config_makefile programs/xcopy/tests enable_tests
21349 wine_fn_config_makefile server enable_server
21350 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21351 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21352 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21353 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21354 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21355 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21356 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21357 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21358 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21361 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21362 wine_fn_append_file CONFIGURE_TARGETS "tags"
21363 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21364 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21365 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21366 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21367 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21368 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21370 if test "x$enable_tools" != xno
21371 then
21372 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21373 ac_config_commands="$ac_config_commands tools/makedep"
21377 ac_config_commands="$ac_config_commands Makefile"
21380 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21384 if test "x$enable_maintainer_mode" = xyes
21385 then
21386 wine_fn_append_rule "configure: configure.ac aclocal.m4
21387 autoconf --warnings=all
21388 include/config.h.in: include/stamp-h.in
21389 include/stamp-h.in: configure.ac aclocal.m4
21390 autoheader --warnings=all
21391 @echo timestamp > \$@"
21394 if test "x$enable_tools" != xno
21395 then
21396 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21397 @./config.status tools/makedep
21398 Makefile: tools/makedep$ac_exeext"
21399 else
21400 wine_fn_append_rule "\$(MAKEDEP):
21401 @echo \"You need to run make in $TOOLSDIR first\" && false"
21404 if test -n "$with_wine64"
21405 then
21406 case "$with_wine64" in
21407 /*) reldir="" ;;
21408 *) reldir="../" ;;
21409 esac
21410 rm -f fonts server 2>/dev/null
21411 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21412 loader/wine64 loader/wine64-preloader:
21413 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21414 $with_wine64/loader/wine:
21415 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21416 $with_wine64/loader/wine-preloader:
21417 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21418 clean::
21419 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21420 else
21421 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21422 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21423 fonts \
21424 loader/wine.inf \
21425 nls \
21426 programs/msidb/msidb \
21427 programs/msiexec/msiexec \
21428 programs/notepad/notepad \
21429 programs/regedit/regedit \
21430 programs/regsvr32/regsvr32 \
21431 programs/wineboot/wineboot \
21432 programs/winecfg/winecfg \
21433 programs/wineconsole/wineconsole \
21434 programs/winedbg/winedbg \
21435 programs/winefile/winefile \
21436 programs/winemine/winemine \
21437 programs/winepath/winepath \
21438 server/wineserver"
21440 case $host_os in
21441 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21442 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21443 esac
21446 $as_echo " done" >&6
21447 cat >confcache <<\_ACEOF
21448 # This file is a shell script that caches the results of configure
21449 # tests run on this system so they can be shared between configure
21450 # scripts and configure runs, see configure's option --config-cache.
21451 # It is not useful on other systems. If it contains results you don't
21452 # want to keep, you may remove or edit it.
21454 # config.status only pays attention to the cache file if you give it
21455 # the --recheck option to rerun configure.
21457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21459 # following values.
21461 _ACEOF
21463 # The following way of writing the cache mishandles newlines in values,
21464 # but we know of no workaround that is simple, portable, and efficient.
21465 # So, we kill variables containing newlines.
21466 # Ultrix sh set writes to stderr and can't be redirected directly,
21467 # and sets the high bit in the cache file unless we assign to the vars.
21469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21470 eval ac_val=\$$ac_var
21471 case $ac_val in #(
21472 *${as_nl}*)
21473 case $ac_var in #(
21474 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21475 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21476 esac
21477 case $ac_var in #(
21478 _ | IFS | as_nl) ;; #(
21479 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21480 *) { eval $ac_var=; unset $ac_var;} ;;
21481 esac ;;
21482 esac
21483 done
21485 (set) 2>&1 |
21486 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21487 *${as_nl}ac_space=\ *)
21488 # `set' does not quote correctly, so add quotes: double-quote
21489 # substitution turns \\\\ into \\, and sed turns \\ into \.
21490 sed -n \
21491 "s/'/'\\\\''/g;
21492 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21493 ;; #(
21495 # `set' quotes correctly as required by POSIX, so do not add quotes.
21496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21498 esac |
21499 sort
21501 sed '
21502 /^ac_cv_env_/b end
21503 t clear
21504 :clear
21505 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21506 t end
21507 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21508 :end' >>confcache
21509 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21510 if test -w "$cache_file"; then
21511 if test "x$cache_file" != "x/dev/null"; then
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21513 $as_echo "$as_me: updating cache $cache_file" >&6;}
21514 if test ! -f "$cache_file" || test -h "$cache_file"; then
21515 cat confcache >"$cache_file"
21516 else
21517 case $cache_file in #(
21518 */* | ?:*)
21519 mv -f confcache "$cache_file"$$ &&
21520 mv -f "$cache_file"$$ "$cache_file" ;; #(
21522 mv -f confcache "$cache_file" ;;
21523 esac
21526 else
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21528 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21531 rm -f confcache
21533 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21534 # Let make expand exec_prefix.
21535 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21537 DEFS=-DHAVE_CONFIG_H
21539 ac_libobjs=
21540 ac_ltlibobjs=
21542 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21543 # 1. Remove the extension, and $U if already installed.
21544 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21545 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21546 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21547 # will be set to the directory where LIBOBJS objects are built.
21548 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21549 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21550 done
21551 LIBOBJS=$ac_libobjs
21553 LTLIBOBJS=$ac_ltlibobjs
21557 : "${CONFIG_STATUS=./config.status}"
21558 ac_write_fail=0
21559 ac_clean_files_save=$ac_clean_files
21560 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21562 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21563 as_write_fail=0
21564 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21565 #! $SHELL
21566 # Generated by $as_me.
21567 # Run this file to recreate the current configuration.
21568 # Compiler output produced by configure, useful for debugging
21569 # configure, is in config.log if it exists.
21571 debug=false
21572 ac_cs_recheck=false
21573 ac_cs_silent=false
21575 SHELL=\${CONFIG_SHELL-$SHELL}
21576 export SHELL
21577 _ASEOF
21578 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21579 ## -------------------- ##
21580 ## M4sh Initialization. ##
21581 ## -------------------- ##
21583 # Be more Bourne compatible
21584 DUALCASE=1; export DUALCASE # for MKS sh
21585 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21586 emulate sh
21587 NULLCMD=:
21588 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21589 # is contrary to our usage. Disable this feature.
21590 alias -g '${1+"$@"}'='"$@"'
21591 setopt NO_GLOB_SUBST
21592 else
21593 case `(set -o) 2>/dev/null` in #(
21594 *posix*) :
21595 set -o posix ;; #(
21596 *) :
21598 esac
21602 as_nl='
21604 export as_nl
21605 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21606 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21608 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21609 # Prefer a ksh shell builtin over an external printf program on Solaris,
21610 # but without wasting forks for bash or zsh.
21611 if test -z "$BASH_VERSION$ZSH_VERSION" \
21612 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21613 as_echo='print -r --'
21614 as_echo_n='print -rn --'
21615 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21616 as_echo='printf %s\n'
21617 as_echo_n='printf %s'
21618 else
21619 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21620 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21621 as_echo_n='/usr/ucb/echo -n'
21622 else
21623 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21624 as_echo_n_body='eval
21625 arg=$1;
21626 case $arg in #(
21627 *"$as_nl"*)
21628 expr "X$arg" : "X\\(.*\\)$as_nl";
21629 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21630 esac;
21631 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21633 export as_echo_n_body
21634 as_echo_n='sh -c $as_echo_n_body as_echo'
21636 export as_echo_body
21637 as_echo='sh -c $as_echo_body as_echo'
21640 # The user is always right.
21641 if test "${PATH_SEPARATOR+set}" != set; then
21642 PATH_SEPARATOR=:
21643 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21644 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21645 PATH_SEPARATOR=';'
21650 # IFS
21651 # We need space, tab and new line, in precisely that order. Quoting is
21652 # there to prevent editors from complaining about space-tab.
21653 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21654 # splitting by setting IFS to empty value.)
21655 IFS=" "" $as_nl"
21657 # Find who we are. Look in the path if we contain no directory separator.
21658 as_myself=
21659 case $0 in #((
21660 *[\\/]* ) as_myself=$0 ;;
21661 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21662 for as_dir in $PATH
21664 IFS=$as_save_IFS
21665 test -z "$as_dir" && as_dir=.
21666 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21667 done
21668 IFS=$as_save_IFS
21671 esac
21672 # We did not find ourselves, most probably we were run as `sh COMMAND'
21673 # in which case we are not to be found in the path.
21674 if test "x$as_myself" = x; then
21675 as_myself=$0
21677 if test ! -f "$as_myself"; then
21678 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21679 exit 1
21682 # Unset variables that we do not need and which cause bugs (e.g. in
21683 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21684 # suppresses any "Segmentation fault" message there. '((' could
21685 # trigger a bug in pdksh 5.2.14.
21686 for as_var in BASH_ENV ENV MAIL MAILPATH
21687 do eval test x\${$as_var+set} = xset \
21688 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21689 done
21690 PS1='$ '
21691 PS2='> '
21692 PS4='+ '
21694 # NLS nuisances.
21695 LC_ALL=C
21696 export LC_ALL
21697 LANGUAGE=C
21698 export LANGUAGE
21700 # CDPATH.
21701 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21704 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21705 # ----------------------------------------
21706 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21707 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21708 # script with STATUS, using 1 if that was 0.
21709 as_fn_error ()
21711 as_status=$1; test $as_status -eq 0 && as_status=1
21712 if test "$4"; then
21713 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21714 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21716 $as_echo "$as_me: error: $2" >&2
21717 as_fn_exit $as_status
21718 } # as_fn_error
21721 # as_fn_set_status STATUS
21722 # -----------------------
21723 # Set $? to STATUS, without forking.
21724 as_fn_set_status ()
21726 return $1
21727 } # as_fn_set_status
21729 # as_fn_exit STATUS
21730 # -----------------
21731 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21732 as_fn_exit ()
21734 set +e
21735 as_fn_set_status $1
21736 exit $1
21737 } # as_fn_exit
21739 # as_fn_unset VAR
21740 # ---------------
21741 # Portably unset VAR.
21742 as_fn_unset ()
21744 { eval $1=; unset $1;}
21746 as_unset=as_fn_unset
21747 # as_fn_append VAR VALUE
21748 # ----------------------
21749 # Append the text in VALUE to the end of the definition contained in VAR. Take
21750 # advantage of any shell optimizations that allow amortized linear growth over
21751 # repeated appends, instead of the typical quadratic growth present in naive
21752 # implementations.
21753 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21754 eval 'as_fn_append ()
21756 eval $1+=\$2
21758 else
21759 as_fn_append ()
21761 eval $1=\$$1\$2
21763 fi # as_fn_append
21765 # as_fn_arith ARG...
21766 # ------------------
21767 # Perform arithmetic evaluation on the ARGs, and store the result in the
21768 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21769 # must be portable across $(()) and expr.
21770 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21771 eval 'as_fn_arith ()
21773 as_val=$(( $* ))
21775 else
21776 as_fn_arith ()
21778 as_val=`expr "$@" || test $? -eq 1`
21780 fi # as_fn_arith
21783 if expr a : '\(a\)' >/dev/null 2>&1 &&
21784 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21785 as_expr=expr
21786 else
21787 as_expr=false
21790 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21791 as_basename=basename
21792 else
21793 as_basename=false
21796 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21797 as_dirname=dirname
21798 else
21799 as_dirname=false
21802 as_me=`$as_basename -- "$0" ||
21803 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21804 X"$0" : 'X\(//\)$' \| \
21805 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21806 $as_echo X/"$0" |
21807 sed '/^.*\/\([^/][^/]*\)\/*$/{
21808 s//\1/
21811 /^X\/\(\/\/\)$/{
21812 s//\1/
21815 /^X\/\(\/\).*/{
21816 s//\1/
21819 s/.*/./; q'`
21821 # Avoid depending upon Character Ranges.
21822 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21823 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21824 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21825 as_cr_digits='0123456789'
21826 as_cr_alnum=$as_cr_Letters$as_cr_digits
21828 ECHO_C= ECHO_N= ECHO_T=
21829 case `echo -n x` in #(((((
21830 -n*)
21831 case `echo 'xy\c'` in
21832 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21833 xy) ECHO_C='\c';;
21834 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21835 ECHO_T=' ';;
21836 esac;;
21838 ECHO_N='-n';;
21839 esac
21841 rm -f conf$$ conf$$.exe conf$$.file
21842 if test -d conf$$.dir; then
21843 rm -f conf$$.dir/conf$$.file
21844 else
21845 rm -f conf$$.dir
21846 mkdir conf$$.dir 2>/dev/null
21848 if (echo >conf$$.file) 2>/dev/null; then
21849 if ln -s conf$$.file conf$$ 2>/dev/null; then
21850 as_ln_s='ln -s'
21851 # ... but there are two gotchas:
21852 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21853 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21854 # In both cases, we have to default to `cp -pR'.
21855 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21856 as_ln_s='cp -pR'
21857 elif ln conf$$.file conf$$ 2>/dev/null; then
21858 as_ln_s=ln
21859 else
21860 as_ln_s='cp -pR'
21862 else
21863 as_ln_s='cp -pR'
21865 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21866 rmdir conf$$.dir 2>/dev/null
21869 # as_fn_mkdir_p
21870 # -------------
21871 # Create "$as_dir" as a directory, including parents if necessary.
21872 as_fn_mkdir_p ()
21875 case $as_dir in #(
21876 -*) as_dir=./$as_dir;;
21877 esac
21878 test -d "$as_dir" || eval $as_mkdir_p || {
21879 as_dirs=
21880 while :; do
21881 case $as_dir in #(
21882 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21883 *) as_qdir=$as_dir;;
21884 esac
21885 as_dirs="'$as_qdir' $as_dirs"
21886 as_dir=`$as_dirname -- "$as_dir" ||
21887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21888 X"$as_dir" : 'X\(//\)[^/]' \| \
21889 X"$as_dir" : 'X\(//\)$' \| \
21890 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21891 $as_echo X"$as_dir" |
21892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21893 s//\1/
21896 /^X\(\/\/\)[^/].*/{
21897 s//\1/
21900 /^X\(\/\/\)$/{
21901 s//\1/
21904 /^X\(\/\).*/{
21905 s//\1/
21908 s/.*/./; q'`
21909 test -d "$as_dir" && break
21910 done
21911 test -z "$as_dirs" || eval "mkdir $as_dirs"
21912 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21915 } # as_fn_mkdir_p
21916 if mkdir -p . 2>/dev/null; then
21917 as_mkdir_p='mkdir -p "$as_dir"'
21918 else
21919 test -d ./-p && rmdir ./-p
21920 as_mkdir_p=false
21924 # as_fn_executable_p FILE
21925 # -----------------------
21926 # Test if FILE is an executable regular file.
21927 as_fn_executable_p ()
21929 test -f "$1" && test -x "$1"
21930 } # as_fn_executable_p
21931 as_test_x='test -x'
21932 as_executable_p=as_fn_executable_p
21934 # Sed expression to map a string onto a valid CPP name.
21935 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21937 # Sed expression to map a string onto a valid variable name.
21938 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21941 exec 6>&1
21942 ## ----------------------------------- ##
21943 ## Main body of $CONFIG_STATUS script. ##
21944 ## ----------------------------------- ##
21945 _ASEOF
21946 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21949 # Save the log message, to keep $0 and so on meaningful, and to
21950 # report actual input values of CONFIG_FILES etc. instead of their
21951 # values after options handling.
21952 ac_log="
21953 This file was extended by Wine $as_me 6.10, which was
21954 generated by GNU Autoconf 2.69. Invocation command line was
21956 CONFIG_FILES = $CONFIG_FILES
21957 CONFIG_HEADERS = $CONFIG_HEADERS
21958 CONFIG_LINKS = $CONFIG_LINKS
21959 CONFIG_COMMANDS = $CONFIG_COMMANDS
21960 $ $0 $@
21962 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21965 _ACEOF
21967 case $ac_config_files in *"
21968 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21969 esac
21971 case $ac_config_headers in *"
21972 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21973 esac
21976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21977 # Files that config.status was made for.
21978 config_files="$ac_config_files"
21979 config_headers="$ac_config_headers"
21980 config_links="$ac_config_links"
21981 config_commands="$ac_config_commands"
21983 _ACEOF
21985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21986 ac_cs_usage="\
21987 \`$as_me' instantiates files and other configuration actions
21988 from templates according to the current configuration. Unless the files
21989 and actions are specified as TAGs, all are instantiated by default.
21991 Usage: $0 [OPTION]... [TAG]...
21993 -h, --help print this help, then exit
21994 -V, --version print version number and configuration settings, then exit
21995 --config print configuration, then exit
21996 -q, --quiet, --silent
21997 do not print progress messages
21998 -d, --debug don't remove temporary files
21999 --recheck update $as_me by reconfiguring in the same conditions
22000 --file=FILE[:TEMPLATE]
22001 instantiate the configuration file FILE
22002 --header=FILE[:TEMPLATE]
22003 instantiate the configuration header FILE
22005 Configuration files:
22006 $config_files
22008 Configuration headers:
22009 $config_headers
22011 Configuration links:
22012 $config_links
22014 Configuration commands:
22015 $config_commands
22017 Report bugs to <wine-devel@winehq.org>.
22018 Wine home page: <https://www.winehq.org>."
22020 _ACEOF
22021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22022 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22023 ac_cs_version="\\
22024 Wine config.status 6.10
22025 configured by $0, generated by GNU Autoconf 2.69,
22026 with options \\"\$ac_cs_config\\"
22028 Copyright (C) 2012 Free Software Foundation, Inc.
22029 This config.status script is free software; the Free Software Foundation
22030 gives unlimited permission to copy, distribute and modify it."
22032 ac_pwd='$ac_pwd'
22033 srcdir='$srcdir'
22034 test -n "\$AWK" || AWK=awk
22035 _ACEOF
22037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22038 # The default lists apply if the user does not specify any file.
22039 ac_need_defaults=:
22040 while test $# != 0
22042 case $1 in
22043 --*=?*)
22044 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22045 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22046 ac_shift=:
22048 --*=)
22049 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22050 ac_optarg=
22051 ac_shift=:
22054 ac_option=$1
22055 ac_optarg=$2
22056 ac_shift=shift
22058 esac
22060 case $ac_option in
22061 # Handling of the options.
22062 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22063 ac_cs_recheck=: ;;
22064 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22065 $as_echo "$ac_cs_version"; exit ;;
22066 --config | --confi | --conf | --con | --co | --c )
22067 $as_echo "$ac_cs_config"; exit ;;
22068 --debug | --debu | --deb | --de | --d | -d )
22069 debug=: ;;
22070 --file | --fil | --fi | --f )
22071 $ac_shift
22072 case $ac_optarg in
22073 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22074 '') as_fn_error $? "missing file argument" ;;
22075 esac
22076 as_fn_append CONFIG_FILES " '$ac_optarg'"
22077 ac_need_defaults=false;;
22078 --header | --heade | --head | --hea )
22079 $ac_shift
22080 case $ac_optarg in
22081 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22082 esac
22083 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22084 ac_need_defaults=false;;
22085 --he | --h)
22086 # Conflict between --help and --header
22087 as_fn_error $? "ambiguous option: \`$1'
22088 Try \`$0 --help' for more information.";;
22089 --help | --hel | -h )
22090 $as_echo "$ac_cs_usage"; exit ;;
22091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22092 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22093 ac_cs_silent=: ;;
22095 # This is an error.
22096 -*) as_fn_error $? "unrecognized option: \`$1'
22097 Try \`$0 --help' for more information." ;;
22099 *) as_fn_append ac_config_targets " $1"
22100 ac_need_defaults=false ;;
22102 esac
22103 shift
22104 done
22106 ac_configure_extra_args=
22108 if $ac_cs_silent; then
22109 exec 6>/dev/null
22110 ac_configure_extra_args="$ac_configure_extra_args --silent"
22113 _ACEOF
22114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22115 if \$ac_cs_recheck; then
22116 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22117 shift
22118 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22119 CONFIG_SHELL='$SHELL'
22120 export CONFIG_SHELL
22121 exec "\$@"
22124 _ACEOF
22125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22126 exec 5>>config.log
22128 echo
22129 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22130 ## Running $as_me. ##
22131 _ASBOX
22132 $as_echo "$ac_log"
22133 } >&5
22135 _ACEOF
22136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22138 # INIT-COMMANDS
22140 wine_fn_output_makedep ()
22142 as_dir=tools; as_fn_mkdir_p
22143 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22145 wine_fn_output_makefile ()
22147 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22148 `cat $wine_rules_file`
22149 _WINE_EOF
22150 as_fn_error $? "could not create Makefile" "$LINENO" 5
22153 _ACEOF
22155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22157 # Handling of arguments.
22158 for ac_config_target in $ac_config_targets
22160 case $ac_config_target in
22161 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22162 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22163 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22164 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22165 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22166 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22167 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22169 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22170 esac
22171 done
22174 # If the user did not use the arguments to specify the items to instantiate,
22175 # then the envvar interface is used. Set only those that are not.
22176 # We use the long form for the default assignment because of an extremely
22177 # bizarre bug on SunOS 4.1.3.
22178 if $ac_need_defaults; then
22179 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22180 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22181 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22182 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22185 # Have a temporary directory for convenience. Make it in the build tree
22186 # simply because there is no reason against having it here, and in addition,
22187 # creating and moving files from /tmp can sometimes cause problems.
22188 # Hook for its removal unless debugging.
22189 # Note that there is a small window in which the directory will not be cleaned:
22190 # after its creation but before its name has been assigned to `$tmp'.
22191 $debug ||
22193 tmp= ac_tmp=
22194 trap 'exit_status=$?
22195 : "${ac_tmp:=$tmp}"
22196 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22198 trap 'as_fn_exit 1' 1 2 13 15
22200 # Create a (secure) tmp directory for tmp files.
22203 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22204 test -d "$tmp"
22205 } ||
22207 tmp=./conf$$-$RANDOM
22208 (umask 077 && mkdir "$tmp")
22209 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22210 ac_tmp=$tmp
22212 # Set up the scripts for CONFIG_FILES section.
22213 # No need to generate them if there are no CONFIG_FILES.
22214 # This happens for instance with `./config.status config.h'.
22215 if test -n "$CONFIG_FILES"; then
22218 ac_cr=`echo X | tr X '\015'`
22219 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22220 # But we know of no other shell where ac_cr would be empty at this
22221 # point, so we can use a bashism as a fallback.
22222 if test "x$ac_cr" = x; then
22223 eval ac_cr=\$\'\\r\'
22225 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22226 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22227 ac_cs_awk_cr='\\r'
22228 else
22229 ac_cs_awk_cr=$ac_cr
22232 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22233 _ACEOF
22237 echo "cat >conf$$subs.awk <<_ACEOF" &&
22238 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22239 echo "_ACEOF"
22240 } >conf$$subs.sh ||
22241 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22242 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22243 ac_delim='%!_!# '
22244 for ac_last_try in false false false false false :; do
22245 . ./conf$$subs.sh ||
22246 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22248 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22249 if test $ac_delim_n = $ac_delim_num; then
22250 break
22251 elif $ac_last_try; then
22252 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22253 else
22254 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22256 done
22257 rm -f conf$$subs.sh
22259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22260 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22261 _ACEOF
22262 sed -n '
22264 s/^/S["/; s/!.*/"]=/
22267 s/^[^!]*!//
22268 :repl
22269 t repl
22270 s/'"$ac_delim"'$//
22271 t delim
22274 s/\(.\{148\}\)..*/\1/
22275 t more1
22276 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22279 b repl
22280 :more1
22281 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22284 s/.\{148\}//
22285 t nl
22286 :delim
22288 s/\(.\{148\}\)..*/\1/
22289 t more2
22290 s/["\\]/\\&/g; s/^/"/; s/$/"/
22293 :more2
22294 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22297 s/.\{148\}//
22298 t delim
22299 ' <conf$$subs.awk | sed '
22300 /^[^""]/{
22302 s/\n//
22304 ' >>$CONFIG_STATUS || ac_write_fail=1
22305 rm -f conf$$subs.awk
22306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22307 _ACAWK
22308 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22309 for (key in S) S_is_set[key] = 1
22310 FS = "\a"
22314 line = $ 0
22315 nfields = split(line, field, "@")
22316 substed = 0
22317 len = length(field[1])
22318 for (i = 2; i < nfields; i++) {
22319 key = field[i]
22320 keylen = length(key)
22321 if (S_is_set[key]) {
22322 value = S[key]
22323 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22324 len += length(value) + length(field[++i])
22325 substed = 1
22326 } else
22327 len += 1 + keylen
22330 print line
22333 _ACAWK
22334 _ACEOF
22335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22336 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22337 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22338 else
22340 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22341 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22342 _ACEOF
22344 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22345 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22346 # trailing colons and then remove the whole line if VPATH becomes empty
22347 # (actually we leave an empty line to preserve line numbers).
22348 if test "x$srcdir" = x.; then
22349 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22351 s///
22352 s/^/:/
22353 s/[ ]*$/:/
22354 s/:\$(srcdir):/:/g
22355 s/:\${srcdir}:/:/g
22356 s/:@srcdir@:/:/g
22357 s/^:*//
22358 s/:*$//
22360 s/\(=[ ]*\).*/\1/
22362 s/\n//
22363 s/^[^=]*=[ ]*$//
22367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22368 fi # test -n "$CONFIG_FILES"
22370 # Set up the scripts for CONFIG_HEADERS section.
22371 # No need to generate them if there are no CONFIG_HEADERS.
22372 # This happens for instance with `./config.status Makefile'.
22373 if test -n "$CONFIG_HEADERS"; then
22374 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22375 BEGIN {
22376 _ACEOF
22378 # Transform confdefs.h into an awk script `defines.awk', embedded as
22379 # here-document in config.status, that substitutes the proper values into
22380 # config.h.in to produce config.h.
22382 # Create a delimiter string that does not exist in confdefs.h, to ease
22383 # handling of long lines.
22384 ac_delim='%!_!# '
22385 for ac_last_try in false false :; do
22386 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22387 if test -z "$ac_tt"; then
22388 break
22389 elif $ac_last_try; then
22390 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22391 else
22392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22394 done
22396 # For the awk script, D is an array of macro values keyed by name,
22397 # likewise P contains macro parameters if any. Preserve backslash
22398 # newline sequences.
22400 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22401 sed -n '
22402 s/.\{148\}/&'"$ac_delim"'/g
22403 t rset
22404 :rset
22405 s/^[ ]*#[ ]*define[ ][ ]*/ /
22406 t def
22408 :def
22409 s/\\$//
22410 t bsnl
22411 s/["\\]/\\&/g
22412 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22413 D["\1"]=" \3"/p
22414 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22416 :bsnl
22417 s/["\\]/\\&/g
22418 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22419 D["\1"]=" \3\\\\\\n"\\/p
22420 t cont
22421 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22422 t cont
22424 :cont
22426 s/.\{148\}/&'"$ac_delim"'/g
22427 t clear
22428 :clear
22429 s/\\$//
22430 t bsnlc
22431 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22433 :bsnlc
22434 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22435 b cont
22436 ' <confdefs.h | sed '
22437 s/'"$ac_delim"'/"\\\
22438 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22441 for (key in D) D_is_set[key] = 1
22442 FS = "\a"
22444 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22445 line = \$ 0
22446 split(line, arg, " ")
22447 if (arg[1] == "#") {
22448 defundef = arg[2]
22449 mac1 = arg[3]
22450 } else {
22451 defundef = substr(arg[1], 2)
22452 mac1 = arg[2]
22454 split(mac1, mac2, "(") #)
22455 macro = mac2[1]
22456 prefix = substr(line, 1, index(line, defundef) - 1)
22457 if (D_is_set[macro]) {
22458 # Preserve the white space surrounding the "#".
22459 print prefix "define", macro P[macro] D[macro]
22460 next
22461 } else {
22462 # Replace #undef with comments. This is necessary, for example,
22463 # in the case of _POSIX_SOURCE, which is predefined and required
22464 # on some systems where configure will not decide to define it.
22465 if (defundef == "undef") {
22466 print "/*", prefix defundef, macro, "*/"
22467 next
22471 { print }
22472 _ACAWK
22473 _ACEOF
22474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22475 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22476 fi # test -n "$CONFIG_HEADERS"
22479 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22480 shift
22481 for ac_tag
22483 case $ac_tag in
22484 :[FHLC]) ac_mode=$ac_tag; continue;;
22485 esac
22486 case $ac_mode$ac_tag in
22487 :[FHL]*:*);;
22488 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22489 :[FH]-) ac_tag=-:-;;
22490 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22491 esac
22492 ac_save_IFS=$IFS
22493 IFS=:
22494 set x $ac_tag
22495 IFS=$ac_save_IFS
22496 shift
22497 ac_file=$1
22498 shift
22500 case $ac_mode in
22501 :L) ac_source=$1;;
22502 :[FH])
22503 ac_file_inputs=
22504 for ac_f
22506 case $ac_f in
22507 -) ac_f="$ac_tmp/stdin";;
22508 *) # Look for the file first in the build tree, then in the source tree
22509 # (if the path is not absolute). The absolute path cannot be DOS-style,
22510 # because $ac_f cannot contain `:'.
22511 test -f "$ac_f" ||
22512 case $ac_f in
22513 [\\/$]*) false;;
22514 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22515 esac ||
22516 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22517 esac
22518 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22519 as_fn_append ac_file_inputs " '$ac_f'"
22520 done
22522 # Let's still pretend it is `configure' which instantiates (i.e., don't
22523 # use $as_me), people would be surprised to read:
22524 # /* config.h. Generated by config.status. */
22525 configure_input='Generated from '`
22526 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22527 `' by configure.'
22528 if test x"$ac_file" != x-; then
22529 configure_input="$ac_file. $configure_input"
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22531 $as_echo "$as_me: creating $ac_file" >&6;}
22533 # Neutralize special characters interpreted by sed in replacement strings.
22534 case $configure_input in #(
22535 *\&* | *\|* | *\\* )
22536 ac_sed_conf_input=`$as_echo "$configure_input" |
22537 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22538 *) ac_sed_conf_input=$configure_input;;
22539 esac
22541 case $ac_tag in
22542 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22543 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22544 esac
22546 esac
22548 ac_dir=`$as_dirname -- "$ac_file" ||
22549 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22550 X"$ac_file" : 'X\(//\)[^/]' \| \
22551 X"$ac_file" : 'X\(//\)$' \| \
22552 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22553 $as_echo X"$ac_file" |
22554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22555 s//\1/
22558 /^X\(\/\/\)[^/].*/{
22559 s//\1/
22562 /^X\(\/\/\)$/{
22563 s//\1/
22566 /^X\(\/\).*/{
22567 s//\1/
22570 s/.*/./; q'`
22571 as_dir="$ac_dir"; as_fn_mkdir_p
22572 ac_builddir=.
22574 case "$ac_dir" in
22575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22577 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22578 # A ".." for each directory in $ac_dir_suffix.
22579 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22580 case $ac_top_builddir_sub in
22581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22583 esac ;;
22584 esac
22585 ac_abs_top_builddir=$ac_pwd
22586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22587 # for backward compatibility:
22588 ac_top_builddir=$ac_top_build_prefix
22590 case $srcdir in
22591 .) # We are building in place.
22592 ac_srcdir=.
22593 ac_top_srcdir=$ac_top_builddir_sub
22594 ac_abs_top_srcdir=$ac_pwd ;;
22595 [\\/]* | ?:[\\/]* ) # Absolute name.
22596 ac_srcdir=$srcdir$ac_dir_suffix;
22597 ac_top_srcdir=$srcdir
22598 ac_abs_top_srcdir=$srcdir ;;
22599 *) # Relative name.
22600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22601 ac_top_srcdir=$ac_top_build_prefix$srcdir
22602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22603 esac
22604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22607 case $ac_mode in
22610 # CONFIG_FILE
22613 _ACEOF
22615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22616 # If the template does not know about datarootdir, expand it.
22617 # FIXME: This hack should be removed a few years after 2.60.
22618 ac_datarootdir_hack=; ac_datarootdir_seen=
22619 ac_sed_dataroot='
22620 /datarootdir/ {
22624 /@datadir@/p
22625 /@docdir@/p
22626 /@infodir@/p
22627 /@localedir@/p
22628 /@mandir@/p'
22629 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22630 *datarootdir*) ac_datarootdir_seen=yes;;
22631 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22633 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22634 _ACEOF
22635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22636 ac_datarootdir_hack='
22637 s&@datadir@&$datadir&g
22638 s&@docdir@&$docdir&g
22639 s&@infodir@&$infodir&g
22640 s&@localedir@&$localedir&g
22641 s&@mandir@&$mandir&g
22642 s&\\\${datarootdir}&$datarootdir&g' ;;
22643 esac
22644 _ACEOF
22646 # Neutralize VPATH when `$srcdir' = `.'.
22647 # Shell code in configure.ac might set extrasub.
22648 # FIXME: do we really want to maintain this feature?
22649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22650 ac_sed_extra="$ac_vpsub
22651 $extrasub
22652 _ACEOF
22653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22655 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22656 s|@configure_input@|$ac_sed_conf_input|;t t
22657 s&@top_builddir@&$ac_top_builddir_sub&;t t
22658 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22659 s&@srcdir@&$ac_srcdir&;t t
22660 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22661 s&@top_srcdir@&$ac_top_srcdir&;t t
22662 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22663 s&@builddir@&$ac_builddir&;t t
22664 s&@abs_builddir@&$ac_abs_builddir&;t t
22665 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22666 $ac_datarootdir_hack
22668 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22669 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22671 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22672 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22673 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22674 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22676 which seems to be undefined. Please make sure it is defined" >&5
22677 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22678 which seems to be undefined. Please make sure it is defined" >&2;}
22680 rm -f "$ac_tmp/stdin"
22681 case $ac_file in
22682 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22683 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22684 esac \
22685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22689 # CONFIG_HEADER
22691 if test x"$ac_file" != x-; then
22693 $as_echo "/* $configure_input */" \
22694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22695 } >"$ac_tmp/config.h" \
22696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22697 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22699 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22700 else
22701 rm -f "$ac_file"
22702 mv "$ac_tmp/config.h" "$ac_file" \
22703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22705 else
22706 $as_echo "/* $configure_input */" \
22707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22708 || as_fn_error $? "could not create -" "$LINENO" 5
22713 # CONFIG_LINK
22716 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22718 else
22719 # Prefer the file from the source tree if names are identical.
22720 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22721 ac_source=$srcdir/$ac_source
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22725 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22727 if test ! -r "$ac_source"; then
22728 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22730 rm -f "$ac_file"
22732 # Try a relative symlink, then a hard link, then a copy.
22733 case $ac_source in
22734 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22735 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22736 esac
22737 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22738 ln "$ac_source" "$ac_file" 2>/dev/null ||
22739 cp -p "$ac_source" "$ac_file" ||
22740 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22743 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22744 $as_echo "$as_me: executing $ac_file commands" >&6;}
22746 esac
22749 case $ac_file$ac_mode in
22750 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22751 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22752 "Makefile":C) wine_fn_output_makefile Makefile ;;
22754 esac
22755 done # for ac_tag
22758 as_fn_exit 0
22759 _ACEOF
22760 ac_clean_files=$ac_clean_files_save
22762 test $ac_write_fail = 0 ||
22763 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22766 # configure is writing to config.log, and then calls config.status.
22767 # config.status does its own redirection, appending to config.log.
22768 # Unfortunately, on DOS this fails, as config.log is still kept open
22769 # by configure, so config.status won't be able to write to it; its
22770 # output is simply discarded. So we exec the FD to /dev/null,
22771 # effectively closing config.log, so it can be properly (re)opened and
22772 # appended to by config.status. When coming back to configure, we
22773 # need to make the FD available again.
22774 if test "$no_create" != yes; then
22775 ac_cs_success=:
22776 ac_config_status_args=
22777 test "$silent" = yes &&
22778 ac_config_status_args="$ac_config_status_args --quiet"
22779 exec 5>/dev/null
22780 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22781 exec 5>>config.log
22782 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22783 # would make configure fail if this is the last instruction.
22784 $ac_cs_success || as_fn_exit 1
22786 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22788 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22792 if test "$no_create" = "yes"
22793 then
22794 exit 0
22797 ac_save_IFS="$IFS"
22798 if test "x$wine_notices" != x; then
22799 echo >&6
22800 IFS="|"
22801 for msg in $wine_notices; do
22802 IFS="$ac_save_IFS"
22803 if ${msg:+false} :; then :
22805 else
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22807 $as_echo "$as_me: $msg" >&6;}
22809 done
22811 IFS="|"
22812 for msg in $wine_warnings; do
22813 IFS="$ac_save_IFS"
22814 if ${msg:+false} :; then :
22816 else
22817 echo >&2
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22819 $as_echo "$as_me: WARNING: $msg" >&2;}
22821 done
22822 IFS="$ac_save_IFS"
22824 $as_echo "
22825 $as_me: Finished. Do '${ac_make}' to compile Wine.
22826 " >&6