wined3d: Factor out most of the execute_command_list callback to a common function.
[wine.git] / configure
blobf9dce332f63a103a954b69582ca9dd17eba840ef
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.12.
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.12'
584 PACKAGE_STRING='Wine 6.12'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxerr8
1302 enable_dxerr9
1303 enable_dxgi
1304 enable_dxguid
1305 enable_dxva2
1306 enable_esent
1307 enable_evr
1308 enable_explorerframe
1309 enable_ext_ms_win_authz_context_l1_1_0
1310 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1311 enable_ext_ms_win_dwmapi_ext_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_1
1314 enable_ext_ms_win_gdi_dc_l1_2_0
1315 enable_ext_ms_win_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_1
1318 enable_ext_ms_win_gdi_font_l1_1_0
1319 enable_ext_ms_win_gdi_font_l1_1_1
1320 enable_ext_ms_win_gdi_render_l1_1_0
1321 enable_ext_ms_win_kernel32_package_current_l1_1_0
1322 enable_ext_ms_win_kernel32_package_l1_1_1
1323 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1324 enable_ext_ms_win_ntuser_draw_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_3_0
1327 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1328 enable_ext_ms_win_ntuser_message_l1_1_0
1329 enable_ext_ms_win_ntuser_message_l1_1_1
1330 enable_ext_ms_win_ntuser_misc_l1_1_0
1331 enable_ext_ms_win_ntuser_misc_l1_2_0
1332 enable_ext_ms_win_ntuser_misc_l1_5_1
1333 enable_ext_ms_win_ntuser_mouse_l1_1_0
1334 enable_ext_ms_win_ntuser_private_l1_1_1
1335 enable_ext_ms_win_ntuser_private_l1_3_1
1336 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_1
1340 enable_ext_ms_win_ntuser_window_l1_1_4
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1343 enable_ext_ms_win_oleacc_l1_1_0
1344 enable_ext_ms_win_ras_rasapi32_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1352 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1355 enable_ext_ms_win_security_credui_l1_1_0
1356 enable_ext_ms_win_security_cryptui_l1_1_0
1357 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1358 enable_ext_ms_win_shell_comdlg32_l1_1_0
1359 enable_ext_ms_win_shell_shell32_l1_2_0
1360 enable_ext_ms_win_uxtheme_themes_l1_1_0
1361 enable_faultrep
1362 enable_feclient
1363 enable_fltlib
1364 enable_fltmgr_sys
1365 enable_fntcache
1366 enable_fontsub
1367 enable_fusion
1368 enable_fwpuclnt
1369 enable_gameux
1370 enable_gamingtcui
1371 enable_gdi32
1372 enable_gdiplus
1373 enable_glu32
1374 enable_gphoto2_ds
1375 enable_gpkcsp
1376 enable_hal
1377 enable_hhctrl_ocx
1378 enable_hid
1379 enable_hidclass_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_light_msstyles
1415 enable_loadperf
1416 enable_localspl
1417 enable_localui
1418 enable_lz32
1419 enable_mapi32
1420 enable_mapistub
1421 enable_mciavi32
1422 enable_mcicda
1423 enable_mciqtz32
1424 enable_mciseq
1425 enable_mciwave
1426 enable_mf
1427 enable_mf3216
1428 enable_mferror
1429 enable_mfmediaengine
1430 enable_mfplat
1431 enable_mfplay
1432 enable_mfreadwrite
1433 enable_mfuuid
1434 enable_mgmtapi
1435 enable_midimap
1436 enable_mlang
1437 enable_mmcndmgr
1438 enable_mmdevapi
1439 enable_mountmgr_sys
1440 enable_mp3dmod
1441 enable_mpr
1442 enable_mprapi
1443 enable_msacm32_drv
1444 enable_msacm32
1445 enable_msado15
1446 enable_msadp32_acm
1447 enable_msasn1
1448 enable_mscat32
1449 enable_mscms
1450 enable_mscoree
1451 enable_mscorwks
1452 enable_msctf
1453 enable_msctfp
1454 enable_msdaps
1455 enable_msdelta
1456 enable_msdmo
1457 enable_msdrm
1458 enable_msftedit
1459 enable_msg711_acm
1460 enable_msgsm32_acm
1461 enable_mshtml_tlb
1462 enable_mshtml
1463 enable_msi
1464 enable_msident
1465 enable_msimg32
1466 enable_msimsg
1467 enable_msimtf
1468 enable_msisip
1469 enable_msisys_ocx
1470 enable_msls31
1471 enable_msnet32
1472 enable_mspatcha
1473 enable_msports
1474 enable_msrle32
1475 enable_msscript_ocx
1476 enable_mssign32
1477 enable_mssip32
1478 enable_mstask
1479 enable_msv1_0
1480 enable_msvcirt
1481 enable_msvcm80
1482 enable_msvcm90
1483 enable_msvcp100
1484 enable_msvcp110
1485 enable_msvcp120
1486 enable_msvcp120_app
1487 enable_msvcp140
1488 enable_msvcp140_1
1489 enable_msvcp60
1490 enable_msvcp70
1491 enable_msvcp71
1492 enable_msvcp80
1493 enable_msvcp90
1494 enable_msvcr100
1495 enable_msvcr110
1496 enable_msvcr120
1497 enable_msvcr120_app
1498 enable_msvcr70
1499 enable_msvcr71
1500 enable_msvcr80
1501 enable_msvcr90
1502 enable_msvcrt
1503 enable_msvcrt20
1504 enable_msvcrt40
1505 enable_msvcrtd
1506 enable_msvfw32
1507 enable_msvidc32
1508 enable_mswsock
1509 enable_msxml
1510 enable_msxml2
1511 enable_msxml3
1512 enable_msxml4
1513 enable_msxml6
1514 enable_mtxdm
1515 enable_ncrypt
1516 enable_nddeapi
1517 enable_ndis_sys
1518 enable_netapi32
1519 enable_netcfgx
1520 enable_netio_sys
1521 enable_netprofm
1522 enable_netutils
1523 enable_newdev
1524 enable_ninput
1525 enable_normaliz
1526 enable_npmshtml
1527 enable_npptools
1528 enable_nsi
1529 enable_nsiproxy_sys
1530 enable_ntdll
1531 enable_ntdsapi
1532 enable_ntoskrnl_exe
1533 enable_ntprint
1534 enable_objsel
1535 enable_odbc32
1536 enable_odbcbcp
1537 enable_odbccp32
1538 enable_odbccu32
1539 enable_ole32
1540 enable_oleacc
1541 enable_oleaut32
1542 enable_olecli32
1543 enable_oledb32
1544 enable_oledlg
1545 enable_olepro32
1546 enable_olesvr32
1547 enable_olethk32
1548 enable_opcservices
1549 enable_openal32
1550 enable_opencl
1551 enable_opengl32
1552 enable_packager
1553 enable_pdh
1554 enable_photometadatahandler
1555 enable_pidgen
1556 enable_powrprof
1557 enable_printui
1558 enable_prntvpt
1559 enable_propsys
1560 enable_psapi
1561 enable_pstorec
1562 enable_pwrshplugin
1563 enable_qasf
1564 enable_qcap
1565 enable_qdvd
1566 enable_qedit
1567 enable_qmgr
1568 enable_qmgrprxy
1569 enable_quartz
1570 enable_query
1571 enable_qwave
1572 enable_rasapi32
1573 enable_rasdlg
1574 enable_regapi
1575 enable_resutils
1576 enable_riched20
1577 enable_riched32
1578 enable_rpcrt4
1579 enable_rsabase
1580 enable_rsaenh
1581 enable_rstrtmgr
1582 enable_rtutils
1583 enable_rtworkq
1584 enable_samlib
1585 enable_sane_ds
1586 enable_sapi
1587 enable_sas
1588 enable_scarddlg
1589 enable_sccbase
1590 enable_schannel
1591 enable_schedsvc
1592 enable_scrobj
1593 enable_scrrun
1594 enable_scsiport_sys
1595 enable_sechost
1596 enable_secur32
1597 enable_security
1598 enable_sensapi
1599 enable_serialui
1600 enable_setupapi
1601 enable_sfc
1602 enable_sfc_os
1603 enable_shcore
1604 enable_shdoclc
1605 enable_shdocvw
1606 enable_shell32
1607 enable_shfolder
1608 enable_shlwapi
1609 enable_slbcsp
1610 enable_slc
1611 enable_snmpapi
1612 enable_softpub
1613 enable_spoolss
1614 enable_sppc
1615 enable_srclient
1616 enable_srvcli
1617 enable_sspicli
1618 enable_stdole2_tlb
1619 enable_stdole32_tlb
1620 enable_sti
1621 enable_strmbase
1622 enable_strmdll
1623 enable_strmiids
1624 enable_svrapi
1625 enable_sxs
1626 enable_t2embed
1627 enable_tapi32
1628 enable_taskschd
1629 enable_tbs
1630 enable_tdh
1631 enable_tdi_sys
1632 enable_traffic
1633 enable_twain_32
1634 enable_tzres
1635 enable_ucrtbase
1636 enable_uianimation
1637 enable_uiautomationcore
1638 enable_uiribbon
1639 enable_unicows
1640 enable_updspapi
1641 enable_url
1642 enable_urlmon
1643 enable_usbd_sys
1644 enable_user32
1645 enable_userenv
1646 enable_usp10
1647 enable_utildll
1648 enable_uuid
1649 enable_uxtheme
1650 enable_vbscript
1651 enable_vcomp
1652 enable_vcomp100
1653 enable_vcomp110
1654 enable_vcomp120
1655 enable_vcomp140
1656 enable_vcomp90
1657 enable_vcruntime140
1658 enable_vcruntime140_1
1659 enable_vdmdbg
1660 enable_version
1661 enable_vga
1662 enable_virtdisk
1663 enable_vssapi
1664 enable_vulkan_1
1665 enable_wbemdisp
1666 enable_wbemprox
1667 enable_wbemuuid
1668 enable_wdscore
1669 enable_webservices
1670 enable_websocket
1671 enable_wer
1672 enable_wevtapi
1673 enable_wevtsvc
1674 enable_wiaservc
1675 enable_wimgapi
1676 enable_win32u
1677 enable_windows_gaming_input
1678 enable_windows_globalization
1679 enable_windows_media_devices
1680 enable_windows_media_speech
1681 enable_windowscodecs
1682 enable_windowscodecsext
1683 enable_winealsa_drv
1684 enable_wineandroid_drv
1685 enable_winebus_sys
1686 enable_winecoreaudio_drv
1687 enable_winecrt0
1688 enable_wined3d
1689 enable_winegstreamer
1690 enable_winehid_sys
1691 enable_winejoystick_drv
1692 enable_winemac_drv
1693 enable_winemapi
1694 enable_wineoss_drv
1695 enable_wineps_drv
1696 enable_winepulse_drv
1697 enable_wineqtdecoder
1698 enable_wineusb_sys
1699 enable_winevulkan
1700 enable_winex11_drv
1701 enable_wing32
1702 enable_winhttp
1703 enable_wininet
1704 enable_winmm
1705 enable_winnls32
1706 enable_winscard
1707 enable_winspool_drv
1708 enable_winsta
1709 enable_wintab32
1710 enable_wintrust
1711 enable_winusb
1712 enable_wlanapi
1713 enable_wlanui
1714 enable_wldap32
1715 enable_wmasf
1716 enable_wmcodecdspuuid
1717 enable_wmi
1718 enable_wmiutils
1719 enable_wmp
1720 enable_wmphoto
1721 enable_wmvcore
1722 enable_wnaspi32
1723 enable_wow64
1724 enable_wow64cpu
1725 enable_wow64win
1726 enable_wpc
1727 enable_wpcap
1728 enable_ws2_32
1729 enable_wsdapi
1730 enable_wshom_ocx
1731 enable_wsnmp32
1732 enable_wsock32
1733 enable_wtsapi32
1734 enable_wuapi
1735 enable_wuaueng
1736 enable_x3daudio1_0
1737 enable_x3daudio1_1
1738 enable_x3daudio1_2
1739 enable_x3daudio1_3
1740 enable_x3daudio1_4
1741 enable_x3daudio1_5
1742 enable_x3daudio1_6
1743 enable_x3daudio1_7
1744 enable_xactengine2_0
1745 enable_xactengine2_4
1746 enable_xactengine2_7
1747 enable_xactengine2_9
1748 enable_xactengine3_0
1749 enable_xactengine3_1
1750 enable_xactengine3_2
1751 enable_xactengine3_3
1752 enable_xactengine3_4
1753 enable_xactengine3_5
1754 enable_xactengine3_6
1755 enable_xactengine3_7
1756 enable_xapofx1_1
1757 enable_xapofx1_2
1758 enable_xapofx1_3
1759 enable_xapofx1_4
1760 enable_xapofx1_5
1761 enable_xaudio2_0
1762 enable_xaudio2_1
1763 enable_xaudio2_2
1764 enable_xaudio2_3
1765 enable_xaudio2_4
1766 enable_xaudio2_5
1767 enable_xaudio2_6
1768 enable_xaudio2_7
1769 enable_xaudio2_8
1770 enable_xaudio2_9
1771 enable_xinput1_1
1772 enable_xinput1_2
1773 enable_xinput1_3
1774 enable_xinput1_4
1775 enable_xinput9_1_0
1776 enable_xmllite
1777 enable_xolehlp
1778 enable_xpsprint
1779 enable_xpssvcs
1780 enable_fonts
1781 enable_include
1782 enable_port
1783 enable_wine
1784 enable_wpp
1785 enable_loader
1786 enable_nls
1787 enable_po
1788 enable_arp
1789 enable_aspnet_regiis
1790 enable_attrib
1791 enable_cabarc
1792 enable_cacls
1793 enable_chcp_com
1794 enable_clock
1795 enable_cmd
1796 enable_conhost
1797 enable_control
1798 enable_cscript
1799 enable_dism
1800 enable_dplaysvr
1801 enable_dpnsvr
1802 enable_dpvsetup
1803 enable_dxdiag
1804 enable_eject
1805 enable_expand
1806 enable_explorer
1807 enable_extrac32
1808 enable_fc
1809 enable_find
1810 enable_findstr
1811 enable_fsutil
1812 enable_hh
1813 enable_hostname
1814 enable_icacls
1815 enable_icinfo
1816 enable_iexplore
1817 enable_ipconfig
1818 enable_lodctr
1819 enable_mofcomp
1820 enable_mshta
1821 enable_msidb
1822 enable_msiexec
1823 enable_msinfo32
1824 enable_net
1825 enable_netsh
1826 enable_netstat
1827 enable_ngen
1828 enable_notepad
1829 enable_oleview
1830 enable_ping
1831 enable_plugplay
1832 enable_powershell
1833 enable_presentationfontcache
1834 enable_progman
1835 enable_reg
1836 enable_regasm
1837 enable_regedit
1838 enable_regini
1839 enable_regsvcs
1840 enable_regsvr32
1841 enable_rpcss
1842 enable_rundll32
1843 enable_sc
1844 enable_schtasks
1845 enable_sdbinst
1846 enable_secedit
1847 enable_servicemodelreg
1848 enable_services
1849 enable_shutdown
1850 enable_spoolsv
1851 enable_start
1852 enable_subst
1853 enable_svchost
1854 enable_systeminfo
1855 enable_taskkill
1856 enable_tasklist
1857 enable_taskmgr
1858 enable_termsv
1859 enable_uninstaller
1860 enable_unlodctr
1861 enable_view
1862 enable_wevtutil
1863 enable_where
1864 enable_whoami
1865 enable_wineboot
1866 enable_winebrowser
1867 enable_winecfg
1868 enable_wineconsole
1869 enable_winedbg
1870 enable_winedevice
1871 enable_winefile
1872 enable_winemenubuilder
1873 enable_winemine
1874 enable_winemsibuilder
1875 enable_winepath
1876 enable_winetest
1877 enable_winhlp32
1878 enable_winmgmt
1879 enable_winver
1880 enable_wmic
1881 enable_wmplayer
1882 enable_wordpad
1883 enable_write
1884 enable_wscript
1885 enable_wuauserv
1886 enable_wusa
1887 enable_xcopy
1888 enable_server
1889 enable_tools
1890 enable_sfnt2fon
1891 enable_widl
1892 enable_winebuild
1893 enable_winedump
1894 enable_winegcc
1895 enable_winemaker
1896 enable_wmc
1897 enable_wrc
1899 ac_precious_vars='build_alias
1900 host_alias
1901 target_alias
1903 CFLAGS
1904 LDFLAGS
1905 LIBS
1906 CPPFLAGS
1908 CXXFLAGS
1911 OBJC
1912 OBJCFLAGS
1913 OBJCPP
1914 XMKMF
1915 XML2_CFLAGS
1916 XML2_LIBS
1917 XSLT_CFLAGS
1918 XSLT_LIBS
1919 INOTIFY_CFLAGS
1920 INOTIFY_LIBS
1921 DBUS_CFLAGS
1922 DBUS_LIBS
1923 HAL_CFLAGS
1924 HAL_LIBS
1925 GNUTLS_CFLAGS
1926 GNUTLS_LIBS
1927 SANE_CFLAGS
1928 SANE_LIBS
1929 USB_CFLAGS
1930 USB_LIBS
1931 GPHOTO2_CFLAGS
1932 GPHOTO2_LIBS
1933 GPHOTO2_PORT_CFLAGS
1934 GPHOTO2_PORT_LIBS
1935 LCMS2_CFLAGS
1936 LCMS2_LIBS
1937 FREETYPE_CFLAGS
1938 FREETYPE_LIBS
1939 PULSE_CFLAGS
1940 PULSE_LIBS
1941 GSTREAMER_CFLAGS
1942 GSTREAMER_LIBS
1943 UDEV_CFLAGS
1944 UDEV_LIBS
1945 UNWIND_CFLAGS
1946 UNWIND_LIBS
1947 SDL2_CFLAGS
1948 SDL2_LIBS
1949 FAUDIO_CFLAGS
1950 FAUDIO_LIBS
1951 CAPI20_CFLAGS
1952 CAPI20_LIBS
1953 CUPS_CFLAGS
1954 CUPS_LIBS
1955 FONTCONFIG_CFLAGS
1956 FONTCONFIG_LIBS
1957 KRB5_CFLAGS
1958 KRB5_LIBS
1959 GSSAPI_CFLAGS
1960 GSSAPI_LIBS
1961 JPEG_CFLAGS
1962 JPEG_LIBS
1963 JXRLIB_CFLAGS
1964 JXRLIB_LIBS
1965 PNG_CFLAGS
1966 PNG_LIBS
1967 TIFF_CFLAGS
1968 TIFF_LIBS
1969 MPG123_CFLAGS
1970 MPG123_LIBS
1971 NETAPI_CFLAGS
1972 NETAPI_LIBS
1973 VKD3D_CFLAGS
1974 VKD3D_LIBS
1975 VKD3D_SHADER_CFLAGS
1976 VKD3D_SHADER_LIBS
1977 LDAP_CFLAGS
1978 LDAP_LIBS'
1981 # Initialize some variables set by options.
1982 ac_init_help=
1983 ac_init_version=false
1984 ac_unrecognized_opts=
1985 ac_unrecognized_sep=
1986 # The variables have the same names as the options, with
1987 # dashes changed to underlines.
1988 cache_file=/dev/null
1989 exec_prefix=NONE
1990 no_create=
1991 no_recursion=
1992 prefix=NONE
1993 program_prefix=NONE
1994 program_suffix=NONE
1995 program_transform_name=s,x,x,
1996 silent=
1997 site=
1998 srcdir=
1999 verbose=
2000 x_includes=NONE
2001 x_libraries=NONE
2003 # Installation directory options.
2004 # These are left unexpanded so users can "make install exec_prefix=/foo"
2005 # and all the variables that are supposed to be based on exec_prefix
2006 # by default will actually change.
2007 # Use braces instead of parens because sh, perl, etc. also accept them.
2008 # (The list follows the same order as the GNU Coding Standards.)
2009 bindir='${exec_prefix}/bin'
2010 sbindir='${exec_prefix}/sbin'
2011 libexecdir='${exec_prefix}/libexec'
2012 datarootdir='${prefix}/share'
2013 datadir='${datarootdir}'
2014 sysconfdir='${prefix}/etc'
2015 sharedstatedir='${prefix}/com'
2016 localstatedir='${prefix}/var'
2017 runstatedir='${localstatedir}/run'
2018 includedir='${prefix}/include'
2019 oldincludedir='/usr/include'
2020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2021 infodir='${datarootdir}/info'
2022 htmldir='${docdir}'
2023 dvidir='${docdir}'
2024 pdfdir='${docdir}'
2025 psdir='${docdir}'
2026 libdir='${exec_prefix}/lib'
2027 localedir='${datarootdir}/locale'
2028 mandir='${datarootdir}/man'
2030 ac_prev=
2031 ac_dashdash=
2032 for ac_option
2034 # If the previous option needs an argument, assign it.
2035 if test -n "$ac_prev"; then
2036 eval $ac_prev=\$ac_option
2037 ac_prev=
2038 continue
2041 case $ac_option in
2042 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2043 *=) ac_optarg= ;;
2044 *) ac_optarg=yes ;;
2045 esac
2047 # Accept the important Cygnus configure options, so we can diagnose typos.
2049 case $ac_dashdash$ac_option in
2051 ac_dashdash=yes ;;
2053 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2054 ac_prev=bindir ;;
2055 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2056 bindir=$ac_optarg ;;
2058 -build | --build | --buil | --bui | --bu)
2059 ac_prev=build_alias ;;
2060 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2061 build_alias=$ac_optarg ;;
2063 -cache-file | --cache-file | --cache-fil | --cache-fi \
2064 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2065 ac_prev=cache_file ;;
2066 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2067 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2068 cache_file=$ac_optarg ;;
2070 --config-cache | -C)
2071 cache_file=config.cache ;;
2073 -datadir | --datadir | --datadi | --datad)
2074 ac_prev=datadir ;;
2075 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2076 datadir=$ac_optarg ;;
2078 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2079 | --dataroo | --dataro | --datar)
2080 ac_prev=datarootdir ;;
2081 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2082 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2083 datarootdir=$ac_optarg ;;
2085 -disable-* | --disable-*)
2086 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2087 # Reject names that are not valid shell variable names.
2088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2089 as_fn_error $? "invalid feature name: $ac_useropt"
2090 ac_useropt_orig=$ac_useropt
2091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2092 case $ac_user_opts in
2094 "enable_$ac_useropt"
2095 "*) ;;
2096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2097 ac_unrecognized_sep=', ';;
2098 esac
2099 eval enable_$ac_useropt=no ;;
2101 -docdir | --docdir | --docdi | --doc | --do)
2102 ac_prev=docdir ;;
2103 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2104 docdir=$ac_optarg ;;
2106 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2107 ac_prev=dvidir ;;
2108 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2109 dvidir=$ac_optarg ;;
2111 -enable-* | --enable-*)
2112 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2113 # Reject names that are not valid shell variable names.
2114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2115 as_fn_error $? "invalid feature name: $ac_useropt"
2116 ac_useropt_orig=$ac_useropt
2117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2118 case $ac_user_opts in
2120 "enable_$ac_useropt"
2121 "*) ;;
2122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2123 ac_unrecognized_sep=', ';;
2124 esac
2125 eval enable_$ac_useropt=\$ac_optarg ;;
2127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2129 | --exec | --exe | --ex)
2130 ac_prev=exec_prefix ;;
2131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2133 | --exec=* | --exe=* | --ex=*)
2134 exec_prefix=$ac_optarg ;;
2136 -gas | --gas | --ga | --g)
2137 # Obsolete; use --with-gas.
2138 with_gas=yes ;;
2140 -help | --help | --hel | --he | -h)
2141 ac_init_help=long ;;
2142 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2143 ac_init_help=recursive ;;
2144 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2145 ac_init_help=short ;;
2147 -host | --host | --hos | --ho)
2148 ac_prev=host_alias ;;
2149 -host=* | --host=* | --hos=* | --ho=*)
2150 host_alias=$ac_optarg ;;
2152 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2153 ac_prev=htmldir ;;
2154 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2155 | --ht=*)
2156 htmldir=$ac_optarg ;;
2158 -includedir | --includedir | --includedi | --included | --include \
2159 | --includ | --inclu | --incl | --inc)
2160 ac_prev=includedir ;;
2161 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2162 | --includ=* | --inclu=* | --incl=* | --inc=*)
2163 includedir=$ac_optarg ;;
2165 -infodir | --infodir | --infodi | --infod | --info | --inf)
2166 ac_prev=infodir ;;
2167 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2168 infodir=$ac_optarg ;;
2170 -libdir | --libdir | --libdi | --libd)
2171 ac_prev=libdir ;;
2172 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2173 libdir=$ac_optarg ;;
2175 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2176 | --libexe | --libex | --libe)
2177 ac_prev=libexecdir ;;
2178 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2179 | --libexe=* | --libex=* | --libe=*)
2180 libexecdir=$ac_optarg ;;
2182 -localedir | --localedir | --localedi | --localed | --locale)
2183 ac_prev=localedir ;;
2184 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2185 localedir=$ac_optarg ;;
2187 -localstatedir | --localstatedir | --localstatedi | --localstated \
2188 | --localstate | --localstat | --localsta | --localst | --locals)
2189 ac_prev=localstatedir ;;
2190 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2191 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2192 localstatedir=$ac_optarg ;;
2194 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2195 ac_prev=mandir ;;
2196 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2197 mandir=$ac_optarg ;;
2199 -nfp | --nfp | --nf)
2200 # Obsolete; use --without-fp.
2201 with_fp=no ;;
2203 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2204 | --no-cr | --no-c | -n)
2205 no_create=yes ;;
2207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2209 no_recursion=yes ;;
2211 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2212 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2213 | --oldin | --oldi | --old | --ol | --o)
2214 ac_prev=oldincludedir ;;
2215 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2216 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2217 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2218 oldincludedir=$ac_optarg ;;
2220 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2221 ac_prev=prefix ;;
2222 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2223 prefix=$ac_optarg ;;
2225 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2226 | --program-pre | --program-pr | --program-p)
2227 ac_prev=program_prefix ;;
2228 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2229 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2230 program_prefix=$ac_optarg ;;
2232 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2233 | --program-suf | --program-su | --program-s)
2234 ac_prev=program_suffix ;;
2235 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2236 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2237 program_suffix=$ac_optarg ;;
2239 -program-transform-name | --program-transform-name \
2240 | --program-transform-nam | --program-transform-na \
2241 | --program-transform-n | --program-transform- \
2242 | --program-transform | --program-transfor \
2243 | --program-transfo | --program-transf \
2244 | --program-trans | --program-tran \
2245 | --progr-tra | --program-tr | --program-t)
2246 ac_prev=program_transform_name ;;
2247 -program-transform-name=* | --program-transform-name=* \
2248 | --program-transform-nam=* | --program-transform-na=* \
2249 | --program-transform-n=* | --program-transform-=* \
2250 | --program-transform=* | --program-transfor=* \
2251 | --program-transfo=* | --program-transf=* \
2252 | --program-trans=* | --program-tran=* \
2253 | --progr-tra=* | --program-tr=* | --program-t=*)
2254 program_transform_name=$ac_optarg ;;
2256 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2257 ac_prev=pdfdir ;;
2258 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2259 pdfdir=$ac_optarg ;;
2261 -psdir | --psdir | --psdi | --psd | --ps)
2262 ac_prev=psdir ;;
2263 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2264 psdir=$ac_optarg ;;
2266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2267 | -silent | --silent | --silen | --sile | --sil)
2268 silent=yes ;;
2270 -runstatedir | --runstatedir | --runstatedi | --runstated \
2271 | --runstate | --runstat | --runsta | --runst | --runs \
2272 | --run | --ru | --r)
2273 ac_prev=runstatedir ;;
2274 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2275 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2276 | --run=* | --ru=* | --r=*)
2277 runstatedir=$ac_optarg ;;
2279 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2280 ac_prev=sbindir ;;
2281 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2282 | --sbi=* | --sb=*)
2283 sbindir=$ac_optarg ;;
2285 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2286 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2287 | --sharedst | --shareds | --shared | --share | --shar \
2288 | --sha | --sh)
2289 ac_prev=sharedstatedir ;;
2290 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2291 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2292 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2293 | --sha=* | --sh=*)
2294 sharedstatedir=$ac_optarg ;;
2296 -site | --site | --sit)
2297 ac_prev=site ;;
2298 -site=* | --site=* | --sit=*)
2299 site=$ac_optarg ;;
2301 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2302 ac_prev=srcdir ;;
2303 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2304 srcdir=$ac_optarg ;;
2306 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2307 | --syscon | --sysco | --sysc | --sys | --sy)
2308 ac_prev=sysconfdir ;;
2309 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2310 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2311 sysconfdir=$ac_optarg ;;
2313 -target | --target | --targe | --targ | --tar | --ta | --t)
2314 ac_prev=target_alias ;;
2315 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2316 target_alias=$ac_optarg ;;
2318 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2319 verbose=yes ;;
2321 -version | --version | --versio | --versi | --vers | -V)
2322 ac_init_version=: ;;
2324 -with-* | --with-*)
2325 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2326 # Reject names that are not valid shell variable names.
2327 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2328 as_fn_error $? "invalid package name: $ac_useropt"
2329 ac_useropt_orig=$ac_useropt
2330 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2331 case $ac_user_opts in
2333 "with_$ac_useropt"
2334 "*) ;;
2335 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2336 ac_unrecognized_sep=', ';;
2337 esac
2338 eval with_$ac_useropt=\$ac_optarg ;;
2340 -without-* | --without-*)
2341 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2342 # Reject names that are not valid shell variable names.
2343 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2344 as_fn_error $? "invalid package name: $ac_useropt"
2345 ac_useropt_orig=$ac_useropt
2346 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2347 case $ac_user_opts in
2349 "with_$ac_useropt"
2350 "*) ;;
2351 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2352 ac_unrecognized_sep=', ';;
2353 esac
2354 eval with_$ac_useropt=no ;;
2356 --x)
2357 # Obsolete; use --with-x.
2358 with_x=yes ;;
2360 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2361 | --x-incl | --x-inc | --x-in | --x-i)
2362 ac_prev=x_includes ;;
2363 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2364 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2365 x_includes=$ac_optarg ;;
2367 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2368 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2369 ac_prev=x_libraries ;;
2370 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2371 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2372 x_libraries=$ac_optarg ;;
2374 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2375 Try \`$0 --help' for more information"
2378 *=*)
2379 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2380 # Reject names that are not valid shell variable names.
2381 case $ac_envvar in #(
2382 '' | [0-9]* | *[!_$as_cr_alnum]* )
2383 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2384 esac
2385 eval $ac_envvar=\$ac_optarg
2386 export $ac_envvar ;;
2389 # FIXME: should be removed in autoconf 3.0.
2390 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2391 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2392 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2393 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2396 esac
2397 done
2399 if test -n "$ac_prev"; then
2400 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2401 as_fn_error $? "missing argument to $ac_option"
2404 if test -n "$ac_unrecognized_opts"; then
2405 case $enable_option_checking in
2406 no) ;;
2407 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2408 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2409 esac
2412 # Check all directory arguments for consistency.
2413 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2414 datadir sysconfdir sharedstatedir localstatedir includedir \
2415 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2416 libdir localedir mandir runstatedir
2418 eval ac_val=\$$ac_var
2419 # Remove trailing slashes.
2420 case $ac_val in
2421 */ )
2422 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2423 eval $ac_var=\$ac_val;;
2424 esac
2425 # Be sure to have absolute directory names.
2426 case $ac_val in
2427 [\\/$]* | ?:[\\/]* ) continue;;
2428 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2429 esac
2430 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2431 done
2433 # There might be people who depend on the old broken behavior: `$host'
2434 # used to hold the argument of --host etc.
2435 # FIXME: To remove some day.
2436 build=$build_alias
2437 host=$host_alias
2438 target=$target_alias
2440 # FIXME: To remove some day.
2441 if test "x$host_alias" != x; then
2442 if test "x$build_alias" = x; then
2443 cross_compiling=maybe
2444 elif test "x$build_alias" != "x$host_alias"; then
2445 cross_compiling=yes
2449 ac_tool_prefix=
2450 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2452 test "$silent" = yes && exec 6>/dev/null
2455 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2456 ac_ls_di=`ls -di .` &&
2457 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2458 as_fn_error $? "working directory cannot be determined"
2459 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2460 as_fn_error $? "pwd does not report name of working directory"
2463 # Find the source files, if location was not specified.
2464 if test -z "$srcdir"; then
2465 ac_srcdir_defaulted=yes
2466 # Try the directory containing this script, then the parent directory.
2467 ac_confdir=`$as_dirname -- "$as_myself" ||
2468 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2469 X"$as_myself" : 'X\(//\)[^/]' \| \
2470 X"$as_myself" : 'X\(//\)$' \| \
2471 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2472 $as_echo X"$as_myself" |
2473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2474 s//\1/
2477 /^X\(\/\/\)[^/].*/{
2478 s//\1/
2481 /^X\(\/\/\)$/{
2482 s//\1/
2485 /^X\(\/\).*/{
2486 s//\1/
2489 s/.*/./; q'`
2490 srcdir=$ac_confdir
2491 if test ! -r "$srcdir/$ac_unique_file"; then
2492 srcdir=..
2494 else
2495 ac_srcdir_defaulted=no
2497 if test ! -r "$srcdir/$ac_unique_file"; then
2498 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2499 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2501 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2502 ac_abs_confdir=`(
2503 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2504 pwd)`
2505 # When building in place, set srcdir=.
2506 if test "$ac_abs_confdir" = "$ac_pwd"; then
2507 srcdir=.
2509 # Remove unnecessary trailing slashes from srcdir.
2510 # Double slashes in file names in object file debugging info
2511 # mess up M-x gdb in Emacs.
2512 case $srcdir in
2513 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2514 esac
2515 for ac_var in $ac_precious_vars; do
2516 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2517 eval ac_env_${ac_var}_value=\$${ac_var}
2518 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2519 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2520 done
2523 # Report the --help message.
2525 if test "$ac_init_help" = "long"; then
2526 # Omit some internal or obsolete options to make the list less imposing.
2527 # This message is too long to be a string in the A/UX 3.1 sh.
2528 cat <<_ACEOF
2529 \`configure' configures Wine 6.12 to adapt to many kinds of systems.
2531 Usage: $0 [OPTION]... [VAR=VALUE]...
2533 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2534 VAR=VALUE. See below for descriptions of some of the useful variables.
2536 Defaults for the options are specified in brackets.
2538 Configuration:
2539 -h, --help display this help and exit
2540 --help=short display options specific to this package
2541 --help=recursive display the short help of all the included packages
2542 -V, --version display version information and exit
2543 -q, --quiet, --silent do not print \`checking ...' messages
2544 --cache-file=FILE cache test results in FILE [disabled]
2545 -C, --config-cache alias for \`--cache-file=config.cache'
2546 -n, --no-create do not create output files
2547 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2549 Installation directories:
2550 --prefix=PREFIX install architecture-independent files in PREFIX
2551 [$ac_default_prefix]
2552 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2553 [PREFIX]
2555 By default, \`make install' will install all the files in
2556 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2557 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2558 for instance \`--prefix=\$HOME'.
2560 For better control, use the options below.
2562 Fine tuning of the installation directories:
2563 --bindir=DIR user executables [EPREFIX/bin]
2564 --sbindir=DIR system admin executables [EPREFIX/sbin]
2565 --libexecdir=DIR program executables [EPREFIX/libexec]
2566 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2567 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2568 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2569 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2570 --libdir=DIR object code libraries [EPREFIX/lib]
2571 --includedir=DIR C header files [PREFIX/include]
2572 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2573 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2574 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2575 --infodir=DIR info documentation [DATAROOTDIR/info]
2576 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2577 --mandir=DIR man documentation [DATAROOTDIR/man]
2578 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2579 --htmldir=DIR html documentation [DOCDIR]
2580 --dvidir=DIR dvi documentation [DOCDIR]
2581 --pdfdir=DIR pdf documentation [DOCDIR]
2582 --psdir=DIR ps documentation [DOCDIR]
2583 _ACEOF
2585 cat <<\_ACEOF
2587 X features:
2588 --x-includes=DIR X include files are in DIR
2589 --x-libraries=DIR X library files are in DIR
2591 System types:
2592 --build=BUILD configure for building on BUILD [guessed]
2593 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2594 _ACEOF
2597 if test -n "$ac_init_help"; then
2598 case $ac_init_help in
2599 short | recursive ) echo "Configuration of Wine 6.12:";;
2600 esac
2601 cat <<\_ACEOF
2603 Optional Features:
2604 --disable-option-checking ignore unrecognized --enable/--with options
2605 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2606 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2607 --disable-win16 do not include Win16 support
2608 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2609 binaries)
2610 --disable-tests do not build the regression tests
2611 --enable-build-id include .buildid section in output objects
2612 --enable-maintainer-mode
2613 enable maintainer-specific build rules
2614 --enable-silent-rules use silent build rules (override: "make V=1")
2615 --enable-werror treat compilation warnings as errors
2616 --disable-largefile omit support for large files
2618 Optional Packages:
2619 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2620 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2621 --without-alsa do not use the Alsa sound support
2622 --without-capi do not use CAPI (ISDN support)
2623 --without-cms do not use CMS (color management support)
2624 --without-coreaudio do not use the CoreAudio sound support
2625 --without-cups do not use CUPS
2626 --without-dbus do not use DBus (dynamic device support)
2627 --without-faudio do not use FAudio (XAudio2 support)
2628 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2629 --without-fontconfig do not use fontconfig
2630 --without-freetype do not use the FreeType library
2631 --without-gettext do not use gettext
2632 --with-gettextpo use the GetTextPO library to rebuild po files
2633 --without-gphoto do not use gphoto (Digital Camera support)
2634 --without-gnutls do not use GnuTLS (schannel support)
2635 --without-gsm do not use libgsm (GSM 06.10 codec support)
2636 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2637 --without-gstreamer do not use GStreamer (codecs support)
2638 --without-hal do not use HAL (dynamic device support)
2639 --without-inotify do not use inotify (filesystem change notifications)
2640 --without-jpeg do not use JPEG
2641 --without-jxrlib do not use JPEG-XR
2642 --without-krb5 do not use krb5 (Kerberos)
2643 --without-ldap do not use LDAP
2644 --without-mingw do not use the MinGW cross-compiler
2645 --without-mpg123 do not use the mpg123 library
2646 --without-netapi do not use the Samba NetAPI library
2647 --without-openal do not use OpenAL
2648 --without-opencl do not use OpenCL
2649 --without-opengl do not use OpenGL
2650 --without-osmesa do not use the OSMesa library
2651 --without-oss do not use the OSS sound support
2652 --without-pcap do not use the Packet Capture library
2653 --without-png do not use PNG
2654 --without-pthread do not use the pthread library
2655 --without-pulse do not use PulseAudio sound support
2656 --without-quicktime do not use QuickTime support
2657 --without-sane do not use SANE (scanner support)
2658 --without-sdl do not use SDL
2659 --without-tiff do not use TIFF
2660 --without-udev do not use udev (plug and play support)
2661 --without-unwind do not use the libunwind library (exception
2662 handling)
2663 --without-usb do not use the libusb library
2664 --without-v4l2 do not use v4l2 (video capture)
2665 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2666 --without-vulkan do not use Vulkan
2667 --without-xcomposite do not use the Xcomposite extension
2668 --without-xcursor do not use the Xcursor extension
2669 --without-xfixes do not use Xfixes for clipboard change notifications
2670 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2671 --without-xinput do not use the Xinput extension
2672 --without-xinput2 do not use the Xinput 2 extension
2673 --without-xml do not use XML
2674 --without-xrandr do not use Xrandr (multi-monitor support)
2675 --without-xrender do not use the Xrender extension
2676 --without-xshape do not use the Xshape extension
2677 --without-xshm do not use XShm (shared memory extension)
2678 --without-xslt do not use XSLT
2679 --without-xxf86vm do not use XFree video mode extension
2680 --with-wine-tools=DIR use Wine tools from directory DIR
2681 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2682 --with-x use the X Window System
2684 Some influential environment variables:
2685 CC C compiler command
2686 CFLAGS C compiler flags
2687 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2688 nonstandard directory <lib dir>
2689 LIBS libraries to pass to the linker, e.g. -l<library>
2690 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2691 you have headers in a nonstandard directory <include dir>
2692 CXX C++ compiler command
2693 CXXFLAGS C++ compiler flags
2694 CPP C preprocessor
2695 OBJC Objective C compiler command
2696 OBJCFLAGS Objective C compiler flags
2697 OBJCPP Objective C preprocessor
2698 XMKMF Path to xmkmf, Makefile generator for X Window System
2699 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2700 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2701 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2702 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2703 INOTIFY_CFLAGS
2704 C compiler flags for libinotify, overriding pkg-config
2705 INOTIFY_LIBS
2706 Linker flags for libinotify, overriding pkg-config
2707 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2708 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2709 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2710 HAL_LIBS Linker flags for hal, overriding pkg-config
2711 GNUTLS_CFLAGS
2712 C compiler flags for gnutls, overriding pkg-config
2713 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2714 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2715 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2716 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2717 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2718 GPHOTO2_CFLAGS
2719 C compiler flags for libgphoto2, overriding pkg-config
2720 GPHOTO2_LIBS
2721 Linker flags for libgphoto2, overriding pkg-config
2722 GPHOTO2_PORT_CFLAGS
2723 C compiler flags for libgphoto2_port, overriding pkg-config
2724 GPHOTO2_PORT_LIBS
2725 Linker flags for libgphoto2_port, overriding pkg-config
2726 LCMS2_CFLAGS
2727 C compiler flags for lcms2, overriding pkg-config
2728 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2729 FREETYPE_CFLAGS
2730 C compiler flags for freetype2, overriding pkg-config
2731 FREETYPE_LIBS
2732 Linker flags for freetype2, overriding pkg-config
2733 PULSE_CFLAGS
2734 C compiler flags for libpulse, overriding pkg-config
2735 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2736 GSTREAMER_CFLAGS
2737 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2738 gstreamer-audio-1.0, overriding pkg-config
2739 GSTREAMER_LIBS
2740 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2741 gstreamer-audio-1.0, overriding pkg-config
2742 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2743 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2744 UNWIND_CFLAGS
2745 C compiler flags for libunwind, overriding pkg-config
2746 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2747 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2748 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2749 FAUDIO_CFLAGS
2750 C compiler flags for FAudio, overriding pkg-config
2751 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2752 CAPI20_CFLAGS
2753 C compiler flags for capi20, overriding pkg-config
2754 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2755 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2756 CUPS_LIBS Linker flags for cups, overriding pkg-config
2757 FONTCONFIG_CFLAGS
2758 C compiler flags for fontconfig, overriding pkg-config
2759 FONTCONFIG_LIBS
2760 Linker flags for fontconfig, overriding pkg-config
2761 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2762 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2763 GSSAPI_CFLAGS
2764 C compiler flags for krb5-gssapi, overriding pkg-config
2765 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2766 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2767 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2768 JXRLIB_CFLAGS
2769 C compiler flags for jxrlib, overriding pkg-config
2770 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2771 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2772 PNG_LIBS Linker flags for libpng, overriding pkg-config
2773 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2774 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2775 MPG123_CFLAGS
2776 C compiler flags for libmpg123, overriding pkg-config
2777 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2778 NETAPI_CFLAGS
2779 C compiler flags for netapi, overriding pkg-config
2780 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2781 VKD3D_CFLAGS
2782 C compiler flags for libvkd3d, overriding pkg-config
2783 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2784 VKD3D_SHADER_CFLAGS
2785 C compiler flags for libvkd3d-shader, overriding pkg-config
2786 VKD3D_SHADER_LIBS
2787 Linker flags for libvkd3d-shader, overriding pkg-config
2788 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2789 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2791 Use these variables to override the choices made by `configure' or to help
2792 it to find libraries and programs with nonstandard names/locations.
2794 Report bugs to <wine-devel@winehq.org>.
2795 Wine home page: <https://www.winehq.org>.
2796 _ACEOF
2797 ac_status=$?
2800 if test "$ac_init_help" = "recursive"; then
2801 # If there are subdirs, report their specific --help.
2802 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2803 test -d "$ac_dir" ||
2804 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2805 continue
2806 ac_builddir=.
2808 case "$ac_dir" in
2809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2811 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2812 # A ".." for each directory in $ac_dir_suffix.
2813 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2814 case $ac_top_builddir_sub in
2815 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2816 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2817 esac ;;
2818 esac
2819 ac_abs_top_builddir=$ac_pwd
2820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2821 # for backward compatibility:
2822 ac_top_builddir=$ac_top_build_prefix
2824 case $srcdir in
2825 .) # We are building in place.
2826 ac_srcdir=.
2827 ac_top_srcdir=$ac_top_builddir_sub
2828 ac_abs_top_srcdir=$ac_pwd ;;
2829 [\\/]* | ?:[\\/]* ) # Absolute name.
2830 ac_srcdir=$srcdir$ac_dir_suffix;
2831 ac_top_srcdir=$srcdir
2832 ac_abs_top_srcdir=$srcdir ;;
2833 *) # Relative name.
2834 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2835 ac_top_srcdir=$ac_top_build_prefix$srcdir
2836 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2837 esac
2838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2840 cd "$ac_dir" || { ac_status=$?; continue; }
2841 # Check for guested configure.
2842 if test -f "$ac_srcdir/configure.gnu"; then
2843 echo &&
2844 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2845 elif test -f "$ac_srcdir/configure"; then
2846 echo &&
2847 $SHELL "$ac_srcdir/configure" --help=recursive
2848 else
2849 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2850 fi || ac_status=$?
2851 cd "$ac_pwd" || { ac_status=$?; break; }
2852 done
2855 test -n "$ac_init_help" && exit $ac_status
2856 if $ac_init_version; then
2857 cat <<\_ACEOF
2858 Wine configure 6.12
2859 generated by GNU Autoconf 2.69
2861 Copyright (C) 2012 Free Software Foundation, Inc.
2862 This configure script is free software; the Free Software Foundation
2863 gives unlimited permission to copy, distribute and modify it.
2864 _ACEOF
2865 exit
2868 ## ------------------------ ##
2869 ## Autoconf initialization. ##
2870 ## ------------------------ ##
2872 # ac_fn_c_try_compile LINENO
2873 # --------------------------
2874 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2875 ac_fn_c_try_compile ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 rm -f conftest.$ac_objext
2879 if { { ac_try="$ac_compile"
2880 case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 $as_echo "$ac_try_echo"; } >&5
2886 (eval "$ac_compile") 2>conftest.err
2887 ac_status=$?
2888 if test -s conftest.err; then
2889 grep -v '^ *+' conftest.err >conftest.er1
2890 cat conftest.er1 >&5
2891 mv -f conftest.er1 conftest.err
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; } && {
2895 test -z "$ac_c_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest.$ac_objext; then :
2898 ac_retval=0
2899 else
2900 $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2903 ac_retval=1
2905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2906 as_fn_set_status $ac_retval
2908 } # ac_fn_c_try_compile
2910 # ac_fn_cxx_try_compile LINENO
2911 # ----------------------------
2912 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2913 ac_fn_cxx_try_compile ()
2915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2916 rm -f conftest.$ac_objext
2917 if { { ac_try="$ac_compile"
2918 case "(($ac_try" in
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2921 esac
2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923 $as_echo "$ac_try_echo"; } >&5
2924 (eval "$ac_compile") 2>conftest.err
2925 ac_status=$?
2926 if test -s conftest.err; then
2927 grep -v '^ *+' conftest.err >conftest.er1
2928 cat conftest.er1 >&5
2929 mv -f conftest.er1 conftest.err
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; } && {
2933 test -z "$ac_cxx_werror_flag" ||
2934 test ! -s conftest.err
2935 } && test -s conftest.$ac_objext; then :
2936 ac_retval=0
2937 else
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 ac_retval=1
2943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 as_fn_set_status $ac_retval
2946 } # ac_fn_cxx_try_compile
2948 # ac_fn_c_try_link LINENO
2949 # -----------------------
2950 # Try to link conftest.$ac_ext, and return whether this succeeded.
2951 ac_fn_c_try_link ()
2953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2954 rm -f conftest.$ac_objext conftest$ac_exeext
2955 if { { ac_try="$ac_link"
2956 case "(($ac_try" in
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2959 esac
2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2961 $as_echo "$ac_try_echo"; } >&5
2962 (eval "$ac_link") 2>conftest.err
2963 ac_status=$?
2964 if test -s conftest.err; then
2965 grep -v '^ *+' conftest.err >conftest.er1
2966 cat conftest.er1 >&5
2967 mv -f conftest.er1 conftest.err
2969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2970 test $ac_status = 0; } && {
2971 test -z "$ac_c_werror_flag" ||
2972 test ! -s conftest.err
2973 } && test -s conftest$ac_exeext && {
2974 test "$cross_compiling" = yes ||
2975 test -x conftest$ac_exeext
2976 }; then :
2977 ac_retval=0
2978 else
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2985 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2986 # interfere with the next link command; also delete a directory that is
2987 # left behind by Apple's compiler. We do this before executing the actions.
2988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2990 as_fn_set_status $ac_retval
2992 } # ac_fn_c_try_link
2994 # ac_fn_c_try_cpp LINENO
2995 # ----------------------
2996 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2997 ac_fn_c_try_cpp ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 if { { ac_try="$ac_cpp conftest.$ac_ext"
3001 case "(($ac_try" in
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3004 esac
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3008 ac_status=$?
3009 if test -s conftest.err; then
3010 grep -v '^ *+' conftest.err >conftest.er1
3011 cat conftest.er1 >&5
3012 mv -f conftest.er1 conftest.err
3014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; } > conftest.i && {
3016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3017 test ! -s conftest.err
3018 }; then :
3019 ac_retval=0
3020 else
3021 $as_echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3024 ac_retval=1
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 as_fn_set_status $ac_retval
3029 } # ac_fn_c_try_cpp
3031 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3032 # -------------------------------------------------------
3033 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3034 # the include files in INCLUDES and setting the cache variable VAR
3035 # accordingly.
3036 ac_fn_c_check_header_mongrel ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 if eval \${$3+:} false; then :
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 $as_echo_n "checking for $2... " >&6; }
3042 if eval \${$3+:} false; then :
3043 $as_echo_n "(cached) " >&6
3045 eval ac_res=\$$3
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3047 $as_echo "$ac_res" >&6; }
3048 else
3049 # Is the header compilable?
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3051 $as_echo_n "checking $2 usability... " >&6; }
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3055 #include <$2>
3056 _ACEOF
3057 if ac_fn_c_try_compile "$LINENO"; then :
3058 ac_header_compiler=yes
3059 else
3060 ac_header_compiler=no
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3064 $as_echo "$ac_header_compiler" >&6; }
3066 # Is the header present?
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3068 $as_echo_n "checking $2 presence... " >&6; }
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3071 #include <$2>
3072 _ACEOF
3073 if ac_fn_c_try_cpp "$LINENO"; then :
3074 ac_header_preproc=yes
3075 else
3076 ac_header_preproc=no
3078 rm -f conftest.err conftest.i conftest.$ac_ext
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3080 $as_echo "$ac_header_preproc" >&6; }
3082 # So? What about this header?
3083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3084 yes:no: )
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3086 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3088 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3090 no:yes:* )
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3092 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3094 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3096 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3098 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3101 ( $as_echo "## ------------------------------------ ##
3102 ## Report this to wine-devel@winehq.org ##
3103 ## ------------------------------------ ##"
3104 ) | sed "s/^/$as_me: WARNING: /" >&2
3106 esac
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3108 $as_echo_n "checking for $2... " >&6; }
3109 if eval \${$3+:} false; then :
3110 $as_echo_n "(cached) " >&6
3111 else
3112 eval "$3=\$ac_header_compiler"
3114 eval ac_res=\$$3
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 $as_echo "$ac_res" >&6; }
3118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3120 } # ac_fn_c_check_header_mongrel
3122 # ac_fn_c_try_run LINENO
3123 # ----------------------
3124 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3125 # that executables *can* be run.
3126 ac_fn_c_try_run ()
3128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3129 if { { ac_try="$ac_link"
3130 case "(($ac_try" in
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3133 esac
3134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3135 $as_echo "$ac_try_echo"; } >&5
3136 (eval "$ac_link") 2>&5
3137 ac_status=$?
3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3139 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3140 { { case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3143 esac
3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_try") 2>&5
3147 ac_status=$?
3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 test $ac_status = 0; }; }; then :
3150 ac_retval=0
3151 else
3152 $as_echo "$as_me: program exited with status $ac_status" >&5
3153 $as_echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3156 ac_retval=$ac_status
3158 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3160 as_fn_set_status $ac_retval
3162 } # ac_fn_c_try_run
3164 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3165 # -------------------------------------------------------
3166 # Tests whether HEADER exists and can be compiled using the include files in
3167 # INCLUDES, setting the cache variable VAR accordingly.
3168 ac_fn_c_check_header_compile ()
3170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3172 $as_echo_n "checking for $2... " >&6; }
3173 if eval \${$3+:} false; then :
3174 $as_echo_n "(cached) " >&6
3175 else
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3179 #include <$2>
3180 _ACEOF
3181 if ac_fn_c_try_compile "$LINENO"; then :
3182 eval "$3=yes"
3183 else
3184 eval "$3=no"
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193 } # ac_fn_c_check_header_compile
3195 # ac_fn_objc_try_compile LINENO
3196 # -----------------------------
3197 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3198 ac_fn_objc_try_compile ()
3200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3201 rm -f conftest.$ac_objext
3202 if { { ac_try="$ac_compile"
3203 case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206 esac
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_compile") 2>conftest.err
3210 ac_status=$?
3211 if test -s conftest.err; then
3212 grep -v '^ *+' conftest.err >conftest.er1
3213 cat conftest.er1 >&5
3214 mv -f conftest.er1 conftest.err
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; } && {
3218 test -z "$ac_objc_werror_flag" ||
3219 test ! -s conftest.err
3220 } && test -s conftest.$ac_objext; then :
3221 ac_retval=0
3222 else
3223 $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 ac_retval=1
3228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3229 as_fn_set_status $ac_retval
3231 } # ac_fn_objc_try_compile
3233 # ac_fn_objc_try_cpp LINENO
3234 # -------------------------
3235 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3236 ac_fn_objc_try_cpp ()
3238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3239 if { { ac_try="$ac_cpp conftest.$ac_ext"
3240 case "(($ac_try" in
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3243 esac
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3247 ac_status=$?
3248 if test -s conftest.err; then
3249 grep -v '^ *+' conftest.err >conftest.er1
3250 cat conftest.er1 >&5
3251 mv -f conftest.er1 conftest.err
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; } > conftest.i && {
3255 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3256 test ! -s conftest.err
3257 }; then :
3258 ac_retval=0
3259 else
3260 $as_echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3263 ac_retval=1
3265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3266 as_fn_set_status $ac_retval
3268 } # ac_fn_objc_try_cpp
3270 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3271 # ----------------------------------------------------------
3272 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3273 # the include files in INCLUDES and setting the cache variable VAR
3274 # accordingly.
3275 ac_fn_objc_check_header_mongrel ()
3277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3278 if eval \${$3+:} false; then :
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3280 $as_echo_n "checking for $2... " >&6; }
3281 if eval \${$3+:} false; then :
3282 $as_echo_n "(cached) " >&6
3284 eval ac_res=\$$3
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3286 $as_echo "$ac_res" >&6; }
3287 else
3288 # Is the header compilable?
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3290 $as_echo_n "checking $2 usability... " >&6; }
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3294 #include <$2>
3295 _ACEOF
3296 if ac_fn_objc_try_compile "$LINENO"; then :
3297 ac_header_compiler=yes
3298 else
3299 ac_header_compiler=no
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3303 $as_echo "$ac_header_compiler" >&6; }
3305 # Is the header present?
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3307 $as_echo_n "checking $2 presence... " >&6; }
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3310 #include <$2>
3311 _ACEOF
3312 if ac_fn_objc_try_cpp "$LINENO"; then :
3313 ac_header_preproc=yes
3314 else
3315 ac_header_preproc=no
3317 rm -f conftest.err conftest.i conftest.$ac_ext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3319 $as_echo "$ac_header_preproc" >&6; }
3321 # So? What about this header?
3322 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3323 yes:no: )
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3325 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3327 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3329 no:yes:* )
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3331 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3333 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3335 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3337 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3339 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3340 ( $as_echo "## ------------------------------------ ##
3341 ## Report this to wine-devel@winehq.org ##
3342 ## ------------------------------------ ##"
3343 ) | sed "s/^/$as_me: WARNING: /" >&2
3345 esac
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3347 $as_echo_n "checking for $2... " >&6; }
3348 if eval \${$3+:} false; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 eval "$3=\$ac_header_compiler"
3353 eval ac_res=\$$3
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3355 $as_echo "$ac_res" >&6; }
3357 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3359 } # ac_fn_objc_check_header_mongrel
3361 # ac_fn_c_check_func LINENO FUNC VAR
3362 # ----------------------------------
3363 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3364 ac_fn_c_check_func ()
3366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3368 $as_echo_n "checking for $2... " >&6; }
3369 if eval \${$3+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3374 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3376 #define $2 innocuous_$2
3378 /* System header to define __stub macros and hopefully few prototypes,
3379 which can conflict with char $2 (); below.
3380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3381 <limits.h> exists even on freestanding compilers. */
3383 #ifdef __STDC__
3384 # include <limits.h>
3385 #else
3386 # include <assert.h>
3387 #endif
3389 #undef $2
3391 /* Override any GCC internal prototype to avoid an error.
3392 Use char because int might match the return type of a GCC
3393 builtin and then its argument prototype would still apply. */
3394 #ifdef __cplusplus
3395 extern "C"
3396 #endif
3397 char $2 ();
3398 /* The GNU C library defines this for functions which it implements
3399 to always fail with ENOSYS. Some functions are actually named
3400 something starting with __ and the normal name is an alias. */
3401 #if defined __stub_$2 || defined __stub___$2
3402 choke me
3403 #endif
3406 main ()
3408 return $2 ();
3410 return 0;
3412 _ACEOF
3413 if ac_fn_c_try_link "$LINENO"; then :
3414 eval "$3=yes"
3415 else
3416 eval "$3=no"
3418 rm -f core conftest.err conftest.$ac_objext \
3419 conftest$ac_exeext conftest.$ac_ext
3421 eval ac_res=\$$3
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3423 $as_echo "$ac_res" >&6; }
3424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3426 } # ac_fn_c_check_func
3428 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3429 # ----------------------------------------------------
3430 # Tries to find if the field MEMBER exists in type AGGR, after including
3431 # INCLUDES, setting cache variable VAR accordingly.
3432 ac_fn_c_check_member ()
3434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3436 $as_echo_n "checking for $2.$3... " >&6; }
3437 if eval \${$4+:} false; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3444 main ()
3446 static $2 ac_aggr;
3447 if (ac_aggr.$3)
3448 return 0;
3450 return 0;
3452 _ACEOF
3453 if ac_fn_c_try_compile "$LINENO"; then :
3454 eval "$4=yes"
3455 else
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3460 main ()
3462 static $2 ac_aggr;
3463 if (sizeof ac_aggr.$3)
3464 return 0;
3466 return 0;
3468 _ACEOF
3469 if ac_fn_c_try_compile "$LINENO"; then :
3470 eval "$4=yes"
3471 else
3472 eval "$4=no"
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 eval ac_res=\$$4
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3480 $as_echo "$ac_res" >&6; }
3481 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3483 } # ac_fn_c_check_member
3485 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3486 # -------------------------------------------
3487 # Tests whether TYPE exists after having included INCLUDES, setting cache
3488 # variable VAR accordingly.
3489 ac_fn_c_check_type ()
3491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3493 $as_echo_n "checking for $2... " >&6; }
3494 if eval \${$3+:} false; then :
3495 $as_echo_n "(cached) " >&6
3496 else
3497 eval "$3=no"
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3502 main ()
3504 if (sizeof ($2))
3505 return 0;
3507 return 0;
3509 _ACEOF
3510 if ac_fn_c_try_compile "$LINENO"; then :
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3515 main ()
3517 if (sizeof (($2)))
3518 return 0;
3520 return 0;
3522 _ACEOF
3523 if ac_fn_c_try_compile "$LINENO"; then :
3525 else
3526 eval "$3=yes"
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 eval ac_res=\$$3
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3534 $as_echo "$ac_res" >&6; }
3535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3537 } # ac_fn_c_check_type
3538 cat >config.log <<_ACEOF
3539 This file contains any messages produced by compilers while
3540 running configure, to aid debugging if configure makes a mistake.
3542 It was created by Wine $as_me 6.12, which was
3543 generated by GNU Autoconf 2.69. Invocation command line was
3545 $ $0 $@
3547 _ACEOF
3548 exec 5>>config.log
3550 cat <<_ASUNAME
3551 ## --------- ##
3552 ## Platform. ##
3553 ## --------- ##
3555 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3556 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3557 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3558 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3559 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3561 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3562 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3564 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3565 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3566 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3567 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3568 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3569 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3570 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3572 _ASUNAME
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 $as_echo "PATH: $as_dir"
3580 done
3581 IFS=$as_save_IFS
3583 } >&5
3585 cat >&5 <<_ACEOF
3588 ## ----------- ##
3589 ## Core tests. ##
3590 ## ----------- ##
3592 _ACEOF
3595 # Keep a trace of the command line.
3596 # Strip out --no-create and --no-recursion so they do not pile up.
3597 # Strip out --silent because we don't want to record it for future runs.
3598 # Also quote any args containing shell meta-characters.
3599 # Make two passes to allow for proper duplicate-argument suppression.
3600 ac_configure_args=
3601 ac_configure_args0=
3602 ac_configure_args1=
3603 ac_must_keep_next=false
3604 for ac_pass in 1 2
3606 for ac_arg
3608 case $ac_arg in
3609 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3610 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3611 | -silent | --silent | --silen | --sile | --sil)
3612 continue ;;
3613 *\'*)
3614 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3615 esac
3616 case $ac_pass in
3617 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3619 as_fn_append ac_configure_args1 " '$ac_arg'"
3620 if test $ac_must_keep_next = true; then
3621 ac_must_keep_next=false # Got value, back to normal.
3622 else
3623 case $ac_arg in
3624 *=* | --config-cache | -C | -disable-* | --disable-* \
3625 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3626 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3627 | -with-* | --with-* | -without-* | --without-* | --x)
3628 case "$ac_configure_args0 " in
3629 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3630 esac
3632 -* ) ac_must_keep_next=true ;;
3633 esac
3635 as_fn_append ac_configure_args " '$ac_arg'"
3637 esac
3638 done
3639 done
3640 { ac_configure_args0=; unset ac_configure_args0;}
3641 { ac_configure_args1=; unset ac_configure_args1;}
3643 # When interrupted or exit'd, cleanup temporary files, and complete
3644 # config.log. We remove comments because anyway the quotes in there
3645 # would cause problems or look ugly.
3646 # WARNING: Use '\'' to represent an apostrophe within the trap.
3647 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3648 trap 'exit_status=$?
3649 # Save into config.log some information that might help in debugging.
3651 echo
3653 $as_echo "## ---------------- ##
3654 ## Cache variables. ##
3655 ## ---------------- ##"
3656 echo
3657 # The following way of writing the cache mishandles newlines in values,
3659 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3660 eval ac_val=\$$ac_var
3661 case $ac_val in #(
3662 *${as_nl}*)
3663 case $ac_var in #(
3664 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3665 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3666 esac
3667 case $ac_var in #(
3668 _ | IFS | as_nl) ;; #(
3669 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3670 *) { eval $ac_var=; unset $ac_var;} ;;
3671 esac ;;
3672 esac
3673 done
3674 (set) 2>&1 |
3675 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3676 *${as_nl}ac_space=\ *)
3677 sed -n \
3678 "s/'\''/'\''\\\\'\'''\''/g;
3679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3680 ;; #(
3682 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3684 esac |
3685 sort
3687 echo
3689 $as_echo "## ----------------- ##
3690 ## Output variables. ##
3691 ## ----------------- ##"
3692 echo
3693 for ac_var in $ac_subst_vars
3695 eval ac_val=\$$ac_var
3696 case $ac_val in
3697 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3698 esac
3699 $as_echo "$ac_var='\''$ac_val'\''"
3700 done | sort
3701 echo
3703 if test -n "$ac_subst_files"; then
3704 $as_echo "## ------------------- ##
3705 ## File substitutions. ##
3706 ## ------------------- ##"
3707 echo
3708 for ac_var in $ac_subst_files
3710 eval ac_val=\$$ac_var
3711 case $ac_val in
3712 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3713 esac
3714 $as_echo "$ac_var='\''$ac_val'\''"
3715 done | sort
3716 echo
3719 if test -s confdefs.h; then
3720 $as_echo "## ----------- ##
3721 ## confdefs.h. ##
3722 ## ----------- ##"
3723 echo
3724 cat confdefs.h
3725 echo
3727 test "$ac_signal" != 0 &&
3728 $as_echo "$as_me: caught signal $ac_signal"
3729 $as_echo "$as_me: exit $exit_status"
3730 } >&5
3731 rm -f core *.core core.conftest.* &&
3732 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3733 exit $exit_status
3735 for ac_signal in 1 2 13 15; do
3736 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3737 done
3738 ac_signal=0
3740 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3741 rm -f -r conftest* confdefs.h
3743 $as_echo "/* confdefs.h */" > confdefs.h
3745 # Predefined preprocessor variables.
3747 cat >>confdefs.h <<_ACEOF
3748 #define PACKAGE_NAME "$PACKAGE_NAME"
3749 _ACEOF
3751 cat >>confdefs.h <<_ACEOF
3752 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3753 _ACEOF
3755 cat >>confdefs.h <<_ACEOF
3756 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3757 _ACEOF
3759 cat >>confdefs.h <<_ACEOF
3760 #define PACKAGE_STRING "$PACKAGE_STRING"
3761 _ACEOF
3763 cat >>confdefs.h <<_ACEOF
3764 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3765 _ACEOF
3767 cat >>confdefs.h <<_ACEOF
3768 #define PACKAGE_URL "$PACKAGE_URL"
3769 _ACEOF
3772 # Let the site file select an alternate cache file if it wants to.
3773 # Prefer an explicitly selected file to automatically selected ones.
3774 ac_site_file1=NONE
3775 ac_site_file2=NONE
3776 if test -n "$CONFIG_SITE"; then
3777 # We do not want a PATH search for config.site.
3778 case $CONFIG_SITE in #((
3779 -*) ac_site_file1=./$CONFIG_SITE;;
3780 */*) ac_site_file1=$CONFIG_SITE;;
3781 *) ac_site_file1=./$CONFIG_SITE;;
3782 esac
3783 elif test "x$prefix" != xNONE; then
3784 ac_site_file1=$prefix/share/config.site
3785 ac_site_file2=$prefix/etc/config.site
3786 else
3787 ac_site_file1=$ac_default_prefix/share/config.site
3788 ac_site_file2=$ac_default_prefix/etc/config.site
3790 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3792 test "x$ac_site_file" = xNONE && continue
3793 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3795 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3796 sed 's/^/| /' "$ac_site_file" >&5
3797 . "$ac_site_file" \
3798 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 as_fn_error $? "failed to load site script $ac_site_file
3801 See \`config.log' for more details" "$LINENO" 5; }
3803 done
3805 if test -r "$cache_file"; then
3806 # Some versions of bash will fail to source /dev/null (special files
3807 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3808 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3810 $as_echo "$as_me: loading cache $cache_file" >&6;}
3811 case $cache_file in
3812 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3813 *) . "./$cache_file";;
3814 esac
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3818 $as_echo "$as_me: creating cache $cache_file" >&6;}
3819 >$cache_file
3822 # Check that the precious variables saved in the cache have kept the same
3823 # value.
3824 ac_cache_corrupted=false
3825 for ac_var in $ac_precious_vars; do
3826 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3827 eval ac_new_set=\$ac_env_${ac_var}_set
3828 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3829 eval ac_new_val=\$ac_env_${ac_var}_value
3830 case $ac_old_set,$ac_new_set in
3831 set,)
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3833 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3834 ac_cache_corrupted=: ;;
3835 ,set)
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3837 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3838 ac_cache_corrupted=: ;;
3839 ,);;
3841 if test "x$ac_old_val" != "x$ac_new_val"; then
3842 # differences in whitespace do not lead to failure.
3843 ac_old_val_w=`echo x $ac_old_val`
3844 ac_new_val_w=`echo x $ac_new_val`
3845 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3847 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3848 ac_cache_corrupted=:
3849 else
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3851 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3852 eval $ac_var=\$ac_old_val
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3855 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3857 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3858 fi;;
3859 esac
3860 # Pass precious variables to config.status.
3861 if test "$ac_new_set" = set; then
3862 case $ac_new_val in
3863 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3864 *) ac_arg=$ac_var=$ac_new_val ;;
3865 esac
3866 case " $ac_configure_args " in
3867 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3868 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3869 esac
3871 done
3872 if $ac_cache_corrupted; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3876 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3877 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3879 ## -------------------- ##
3880 ## Main body of script. ##
3881 ## -------------------- ##
3883 ac_ext=c
3884 ac_cpp='$CPP $CPPFLAGS'
3885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891 ac_config_headers="$ac_config_headers include/config.h"
3893 ac_aux_dir=
3894 for ac_dir in tools "$srcdir"/tools; do
3895 if test -f "$ac_dir/install-sh"; then
3896 ac_aux_dir=$ac_dir
3897 ac_install_sh="$ac_aux_dir/install-sh -c"
3898 break
3899 elif test -f "$ac_dir/install.sh"; then
3900 ac_aux_dir=$ac_dir
3901 ac_install_sh="$ac_aux_dir/install.sh -c"
3902 break
3903 elif test -f "$ac_dir/shtool"; then
3904 ac_aux_dir=$ac_dir
3905 ac_install_sh="$ac_aux_dir/shtool install -c"
3906 break
3908 done
3909 if test -z "$ac_aux_dir"; then
3910 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3913 # These three variables are undocumented and unsupported,
3914 # and are intended to be withdrawn in a future Autoconf release.
3915 # They can cause serious problems if a builder's source tree is in a directory
3916 # whose full name contains unusual characters.
3917 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3918 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3919 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3923 libwine_version="1.0"
3927 # Check whether --enable-win16 was given.
3928 if test "${enable_win16+set}" = set; then :
3929 enableval=$enable_win16;
3932 # Check whether --enable-win64 was given.
3933 if test "${enable_win64+set}" = set; then :
3934 enableval=$enable_win64;
3937 # Check whether --enable-tests was given.
3938 if test "${enable_tests+set}" = set; then :
3939 enableval=$enable_tests;
3942 # Check whether --enable-build-id was given.
3943 if test "${enable_build_id+set}" = set; then :
3944 enableval=$enable_build_id;
3947 # Check whether --enable-maintainer-mode was given.
3948 if test "${enable_maintainer_mode+set}" = set; then :
3949 enableval=$enable_maintainer_mode;
3952 # Check whether --enable-silent-rules was given.
3953 if test "${enable_silent_rules+set}" = set; then :
3954 enableval=$enable_silent_rules;
3957 # Check whether --enable-werror was given.
3958 if test "${enable_werror+set}" = set; then :
3959 enableval=$enable_werror;
3964 # Check whether --with-alsa was given.
3965 if test "${with_alsa+set}" = set; then :
3966 withval=$with_alsa;
3970 # Check whether --with-capi was given.
3971 if test "${with_capi+set}" = set; then :
3972 withval=$with_capi;
3976 # Check whether --with-cms was given.
3977 if test "${with_cms+set}" = set; then :
3978 withval=$with_cms;
3982 # Check whether --with-coreaudio was given.
3983 if test "${with_coreaudio+set}" = set; then :
3984 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3988 # Check whether --with-cups was given.
3989 if test "${with_cups+set}" = set; then :
3990 withval=$with_cups;
3994 # Check whether --with-dbus was given.
3995 if test "${with_dbus+set}" = set; then :
3996 withval=$with_dbus;
4000 # Check whether --with-faudio was given.
4001 if test "${with_faudio+set}" = set; then :
4002 withval=$with_faudio;
4006 # Check whether --with-float-abi was given.
4007 if test "${with_float_abi+set}" = set; then :
4008 withval=$with_float_abi;
4012 # Check whether --with-fontconfig was given.
4013 if test "${with_fontconfig+set}" = set; then :
4014 withval=$with_fontconfig;
4018 # Check whether --with-freetype was given.
4019 if test "${with_freetype+set}" = set; then :
4020 withval=$with_freetype;
4024 # Check whether --with-gettext was given.
4025 if test "${with_gettext+set}" = set; then :
4026 withval=$with_gettext;
4030 # Check whether --with-gettextpo was given.
4031 if test "${with_gettextpo+set}" = set; then :
4032 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4036 # Check whether --with-gphoto was given.
4037 if test "${with_gphoto+set}" = set; then :
4038 withval=$with_gphoto;
4042 # Check whether --with-gnutls was given.
4043 if test "${with_gnutls+set}" = set; then :
4044 withval=$with_gnutls;
4048 # Check whether --with-gsm was given.
4049 if test "${with_gsm+set}" = set; then :
4050 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4054 # Check whether --with-gssapi was given.
4055 if test "${with_gssapi+set}" = set; then :
4056 withval=$with_gssapi;
4060 # Check whether --with-gstreamer was given.
4061 if test "${with_gstreamer+set}" = set; then :
4062 withval=$with_gstreamer;
4066 # Check whether --with-hal was given.
4067 if test "${with_hal+set}" = set; then :
4068 withval=$with_hal;
4072 # Check whether --with-inotify was given.
4073 if test "${with_inotify+set}" = set; then :
4074 withval=$with_inotify;
4078 # Check whether --with-jpeg was given.
4079 if test "${with_jpeg+set}" = set; then :
4080 withval=$with_jpeg;
4084 # Check whether --with-jxrlib was given.
4085 if test "${with_jxrlib+set}" = set; then :
4086 withval=$with_jxrlib;
4090 # Check whether --with-krb5 was given.
4091 if test "${with_krb5+set}" = set; then :
4092 withval=$with_krb5;
4096 # Check whether --with-ldap was given.
4097 if test "${with_ldap+set}" = set; then :
4098 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4102 # Check whether --with-mingw was given.
4103 if test "${with_mingw+set}" = set; then :
4104 withval=$with_mingw;
4108 # Check whether --with-mpg123 was given.
4109 if test "${with_mpg123+set}" = set; then :
4110 withval=$with_mpg123;
4114 # Check whether --with-netapi was given.
4115 if test "${with_netapi+set}" = set; then :
4116 withval=$with_netapi;
4120 # Check whether --with-openal was given.
4121 if test "${with_openal+set}" = set; then :
4122 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4126 # Check whether --with-opencl was given.
4127 if test "${with_opencl+set}" = set; then :
4128 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4132 # Check whether --with-opengl was given.
4133 if test "${with_opengl+set}" = set; then :
4134 withval=$with_opengl;
4138 # Check whether --with-osmesa was given.
4139 if test "${with_osmesa+set}" = set; then :
4140 withval=$with_osmesa;
4144 # Check whether --with-oss was given.
4145 if test "${with_oss+set}" = set; then :
4146 withval=$with_oss;
4150 # Check whether --with-pcap was given.
4151 if test "${with_pcap+set}" = set; then :
4152 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4156 # Check whether --with-png was given.
4157 if test "${with_png+set}" = set; then :
4158 withval=$with_png;
4162 # Check whether --with-pthread was given.
4163 if test "${with_pthread+set}" = set; then :
4164 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4168 # Check whether --with-pulse was given.
4169 if test "${with_pulse+set}" = set; then :
4170 withval=$with_pulse;
4174 # Check whether --with-quicktime was given.
4175 if test "${with_quicktime+set}" = set; then :
4176 withval=$with_quicktime;
4180 # Check whether --with-sane was given.
4181 if test "${with_sane+set}" = set; then :
4182 withval=$with_sane;
4186 # Check whether --with-sdl was given.
4187 if test "${with_sdl+set}" = set; then :
4188 withval=$with_sdl;
4192 # Check whether --with-tiff was given.
4193 if test "${with_tiff+set}" = set; then :
4194 withval=$with_tiff;
4198 # Check whether --with-udev was given.
4199 if test "${with_udev+set}" = set; then :
4200 withval=$with_udev;
4204 # Check whether --with-unwind was given.
4205 if test "${with_unwind+set}" = set; then :
4206 withval=$with_unwind;
4210 # Check whether --with-usb was given.
4211 if test "${with_usb+set}" = set; then :
4212 withval=$with_usb;
4216 # Check whether --with-v4l2 was given.
4217 if test "${with_v4l2+set}" = set; then :
4218 withval=$with_v4l2;
4222 # Check whether --with-vkd3d was given.
4223 if test "${with_vkd3d+set}" = set; then :
4224 withval=$with_vkd3d;
4228 # Check whether --with-vulkan was given.
4229 if test "${with_vulkan+set}" = set; then :
4230 withval=$with_vulkan;
4234 # Check whether --with-xcomposite was given.
4235 if test "${with_xcomposite+set}" = set; then :
4236 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4240 # Check whether --with-xcursor was given.
4241 if test "${with_xcursor+set}" = set; then :
4242 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4246 # Check whether --with-xfixes was given.
4247 if test "${with_xfixes+set}" = set; then :
4248 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4252 # Check whether --with-xinerama was given.
4253 if test "${with_xinerama+set}" = set; then :
4254 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4258 # Check whether --with-xinput was given.
4259 if test "${with_xinput+set}" = set; then :
4260 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4264 # Check whether --with-xinput2 was given.
4265 if test "${with_xinput2+set}" = set; then :
4266 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4270 # Check whether --with-xml was given.
4271 if test "${with_xml+set}" = set; then :
4272 withval=$with_xml;
4276 # Check whether --with-xrandr was given.
4277 if test "${with_xrandr+set}" = set; then :
4278 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4282 # Check whether --with-xrender was given.
4283 if test "${with_xrender+set}" = set; then :
4284 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4288 # Check whether --with-xshape was given.
4289 if test "${with_xshape+set}" = set; then :
4290 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4294 # Check whether --with-xshm was given.
4295 if test "${with_xshm+set}" = set; then :
4296 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4300 # Check whether --with-xslt was given.
4301 if test "${with_xslt+set}" = set; then :
4302 withval=$with_xslt;
4306 # Check whether --with-xxf86vm was given.
4307 if test "${with_xxf86vm+set}" = set; then :
4308 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
4313 # Check whether --with-wine-tools was given.
4314 if test "${with_wine_tools+set}" = set; then :
4315 withval=$with_wine_tools;
4319 # Check whether --with-wine64 was given.
4320 if test "${with_wine64+set}" = set; then :
4321 withval=$with_wine64;
4325 # Make sure we can run config.sub.
4326 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4327 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4330 $as_echo_n "checking build system type... " >&6; }
4331 if ${ac_cv_build+:} false; then :
4332 $as_echo_n "(cached) " >&6
4333 else
4334 ac_build_alias=$build_alias
4335 test "x$ac_build_alias" = x &&
4336 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4337 test "x$ac_build_alias" = x &&
4338 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4339 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4340 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4344 $as_echo "$ac_cv_build" >&6; }
4345 case $ac_cv_build in
4346 *-*-*) ;;
4347 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4348 esac
4349 build=$ac_cv_build
4350 ac_save_IFS=$IFS; IFS='-'
4351 set x $ac_cv_build
4352 shift
4353 build_cpu=$1
4354 build_vendor=$2
4355 shift; shift
4356 # Remember, the first character of IFS is used to create $*,
4357 # except with old shells:
4358 build_os=$*
4359 IFS=$ac_save_IFS
4360 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4364 $as_echo_n "checking host system type... " >&6; }
4365 if ${ac_cv_host+:} false; then :
4366 $as_echo_n "(cached) " >&6
4367 else
4368 if test "x$host_alias" = x; then
4369 ac_cv_host=$ac_cv_build
4370 else
4371 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4372 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4377 $as_echo "$ac_cv_host" >&6; }
4378 case $ac_cv_host in
4379 *-*-*) ;;
4380 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4381 esac
4382 host=$ac_cv_host
4383 ac_save_IFS=$IFS; IFS='-'
4384 set x $ac_cv_host
4385 shift
4386 host_cpu=$1
4387 host_vendor=$2
4388 shift; shift
4389 # Remember, the first character of IFS is used to create $*,
4390 # except with old shells:
4391 host_os=$*
4392 IFS=$ac_save_IFS
4393 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4399 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4400 set x ${MAKE-make}
4401 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4402 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 cat >conftest.make <<\_ACEOF
4406 SHELL = /bin/sh
4407 all:
4408 @echo '@@@%%%=$(MAKE)=@@@%%%'
4409 _ACEOF
4410 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4411 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4412 *@@@%%%=?*=@@@%%%*)
4413 eval ac_cv_prog_make_${ac_make}_set=yes;;
4415 eval ac_cv_prog_make_${ac_make}_set=no;;
4416 esac
4417 rm -f conftest.make
4419 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4421 $as_echo "yes" >&6; }
4422 SET_MAKE=
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4426 SET_MAKE="MAKE=${MAKE-make}"
4429 ac_ext=c
4430 ac_cpp='$CPP $CPPFLAGS'
4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434 if test -n "$ac_tool_prefix"; then
4435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if ${ac_cv_prog_CC+:} false; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$CC"; then
4443 ac_cv_prog_CC="$CC" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4462 CC=$ac_cv_prog_CC
4463 if test -n "$CC"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4465 $as_echo "$CC" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4473 if test -z "$ac_cv_prog_CC"; then
4474 ac_ct_CC=$CC
4475 # Extract the first word of "gcc", so it can be a program name with args.
4476 set dummy gcc; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CC"; then
4483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CC="gcc"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4505 $as_echo "$ac_ct_CC" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4511 if test "x$ac_ct_CC" = x; then
4512 CC=""
4513 else
4514 case $cross_compiling:$ac_tool_warned in
4515 yes:)
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4518 ac_tool_warned=yes ;;
4519 esac
4520 CC=$ac_ct_CC
4522 else
4523 CC="$ac_cv_prog_CC"
4526 if test -z "$CC"; then
4527 if test -n "$ac_tool_prefix"; then
4528 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4529 set dummy ${ac_tool_prefix}cc; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if ${ac_cv_prog_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if test -n "$CC"; then
4536 ac_cv_prog_CC="$CC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_CC="${ac_tool_prefix}cc"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4549 done
4550 done
4551 IFS=$as_save_IFS
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4567 if test -z "$CC"; then
4568 # Extract the first word of "cc", so it can be a program name with args.
4569 set dummy cc; ac_word=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if ${ac_cv_prog_CC+:} false; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 if test -n "$CC"; then
4576 ac_cv_prog_CC="$CC" # Let the user override the test.
4577 else
4578 ac_prog_rejected=no
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4587 ac_prog_rejected=yes
4588 continue
4590 ac_cv_prog_CC="cc"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4598 if test $ac_prog_rejected = yes; then
4599 # We found a bogon in the path, so make sure we never use it.
4600 set dummy $ac_cv_prog_CC
4601 shift
4602 if test $# != 0; then
4603 # We chose a different compiler from the bogus one.
4604 # However, it has the same basename, so the bogon will be chosen
4605 # first if we set CC to just the basename; use the full file name.
4606 shift
4607 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4612 CC=$ac_cv_prog_CC
4613 if test -n "$CC"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4615 $as_echo "$CC" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4623 if test -z "$CC"; then
4624 if test -n "$ac_tool_prefix"; then
4625 for ac_prog in cl.exe
4627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if ${ac_cv_prog_CC+:} false; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 if test -n "$CC"; then
4635 ac_cv_prog_CC="$CC" # Let the user override the test.
4636 else
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 for as_dir in $PATH
4640 IFS=$as_save_IFS
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 break 2
4648 done
4649 done
4650 IFS=$as_save_IFS
4654 CC=$ac_cv_prog_CC
4655 if test -n "$CC"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4657 $as_echo "$CC" >&6; }
4658 else
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4664 test -n "$CC" && break
4665 done
4667 if test -z "$CC"; then
4668 ac_ct_CC=$CC
4669 for ac_prog in cl.exe
4671 # Extract the first word of "$ac_prog", so it can be a program name with args.
4672 set dummy $ac_prog; ac_word=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4676 $as_echo_n "(cached) " >&6
4677 else
4678 if test -n "$ac_ct_CC"; then
4679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4680 else
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 for as_dir in $PATH
4684 IFS=$as_save_IFS
4685 test -z "$as_dir" && as_dir=.
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4688 ac_cv_prog_ac_ct_CC="$ac_prog"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 break 2
4692 done
4693 done
4694 IFS=$as_save_IFS
4698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4699 if test -n "$ac_ct_CC"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4701 $as_echo "$ac_ct_CC" >&6; }
4702 else
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4708 test -n "$ac_ct_CC" && break
4709 done
4711 if test "x$ac_ct_CC" = x; then
4712 CC=""
4713 else
4714 case $cross_compiling:$ac_tool_warned in
4715 yes:)
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4718 ac_tool_warned=yes ;;
4719 esac
4720 CC=$ac_ct_CC
4727 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4729 as_fn_error $? "no acceptable C compiler found in \$PATH
4730 See \`config.log' for more details" "$LINENO" 5; }
4732 # Provide some information about the compiler.
4733 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4734 set X $ac_compile
4735 ac_compiler=$2
4736 for ac_option in --version -v -V -qversion; do
4737 { { ac_try="$ac_compiler $ac_option >&5"
4738 case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741 esac
4742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4743 $as_echo "$ac_try_echo"; } >&5
4744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4745 ac_status=$?
4746 if test -s conftest.err; then
4747 sed '10a\
4748 ... rest of stderr output deleted ...
4749 10q' conftest.err >conftest.er1
4750 cat conftest.er1 >&5
4752 rm -f conftest.er1 conftest.err
4753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4754 test $ac_status = 0; }
4755 done
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4761 main ()
4765 return 0;
4767 _ACEOF
4768 ac_clean_files_save=$ac_clean_files
4769 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4770 # Try to create an executable without -o first, disregard a.out.
4771 # It will help us diagnose broken compilers, and finding out an intuition
4772 # of exeext.
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4774 $as_echo_n "checking whether the C compiler works... " >&6; }
4775 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4777 # The possible output files:
4778 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4780 ac_rmfiles=
4781 for ac_file in $ac_files
4783 case $ac_file in
4784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4785 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4786 esac
4787 done
4788 rm -f $ac_rmfiles
4790 if { { ac_try="$ac_link_default"
4791 case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_link_default") 2>&5
4798 ac_status=$?
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }; then :
4801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4802 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4803 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4804 # so that the user can short-circuit this test for compilers unknown to
4805 # Autoconf.
4806 for ac_file in $ac_files ''
4808 test -f "$ac_file" || continue
4809 case $ac_file in
4810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4812 [ab].out )
4813 # We found the default executable, but exeext='' is most
4814 # certainly right.
4815 break;;
4816 *.* )
4817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4818 then :; else
4819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4821 # We set ac_cv_exeext here because the later test for it is not
4822 # safe: cross compilers may not add the suffix if given an `-o'
4823 # argument, so we may need to know it at that point already.
4824 # Even if this section looks crufty: it has the advantage of
4825 # actually working.
4826 break;;
4828 break;;
4829 esac
4830 done
4831 test "$ac_cv_exeext" = no && ac_cv_exeext=
4833 else
4834 ac_file=''
4836 if test -z "$ac_file"; then :
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error 77 "C compiler cannot create executables
4845 See \`config.log' for more details" "$LINENO" 5; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4848 $as_echo "yes" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4851 $as_echo_n "checking for C compiler default output file name... " >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4853 $as_echo "$ac_file" >&6; }
4854 ac_exeext=$ac_cv_exeext
4856 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4857 ac_clean_files=$ac_clean_files_save
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4859 $as_echo_n "checking for suffix of executables... " >&6; }
4860 if { { ac_try="$ac_link"
4861 case "(($ac_try" in
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4864 esac
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_link") 2>&5
4868 ac_status=$?
4869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4870 test $ac_status = 0; }; then :
4871 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4872 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4873 # work properly (i.e., refer to `conftest.exe'), while it won't with
4874 # `rm'.
4875 for ac_file in conftest.exe conftest conftest.*; do
4876 test -f "$ac_file" || continue
4877 case $ac_file in
4878 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4879 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4880 break;;
4881 * ) break;;
4882 esac
4883 done
4884 else
4885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4887 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4888 See \`config.log' for more details" "$LINENO" 5; }
4890 rm -f conftest conftest$ac_cv_exeext
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4892 $as_echo "$ac_cv_exeext" >&6; }
4894 rm -f conftest.$ac_ext
4895 EXEEXT=$ac_cv_exeext
4896 ac_exeext=$EXEEXT
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4899 #include <stdio.h>
4901 main ()
4903 FILE *f = fopen ("conftest.out", "w");
4904 return ferror (f) || fclose (f) != 0;
4907 return 0;
4909 _ACEOF
4910 ac_clean_files="$ac_clean_files conftest.out"
4911 # Check that the compiler produces executables we can run. If not, either
4912 # the compiler is broken, or we cross compile.
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4914 $as_echo_n "checking whether we are cross compiling... " >&6; }
4915 if test "$cross_compiling" != yes; then
4916 { { ac_try="$ac_link"
4917 case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922 $as_echo "$ac_try_echo"; } >&5
4923 (eval "$ac_link") 2>&5
4924 ac_status=$?
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }
4927 if { ac_try='./conftest$ac_cv_exeext'
4928 { { case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4931 esac
4932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4933 $as_echo "$ac_try_echo"; } >&5
4934 (eval "$ac_try") 2>&5
4935 ac_status=$?
4936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4937 test $ac_status = 0; }; }; then
4938 cross_compiling=no
4939 else
4940 if test "$cross_compiling" = maybe; then
4941 cross_compiling=yes
4942 else
4943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4945 as_fn_error $? "cannot run C compiled programs.
4946 If you meant to cross compile, use \`--host'.
4947 See \`config.log' for more details" "$LINENO" 5; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4952 $as_echo "$cross_compiling" >&6; }
4954 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4955 ac_clean_files=$ac_clean_files_save
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4957 $as_echo_n "checking for suffix of object files... " >&6; }
4958 if ${ac_cv_objext+:} false; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4965 main ()
4969 return 0;
4971 _ACEOF
4972 rm -f conftest.o conftest.obj
4973 if { { ac_try="$ac_compile"
4974 case "(($ac_try" in
4975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4976 *) ac_try_echo=$ac_try;;
4977 esac
4978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4979 $as_echo "$ac_try_echo"; } >&5
4980 (eval "$ac_compile") 2>&5
4981 ac_status=$?
4982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4983 test $ac_status = 0; }; then :
4984 for ac_file in conftest.o conftest.obj conftest.*; do
4985 test -f "$ac_file" || continue;
4986 case $ac_file in
4987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4988 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4989 break;;
4990 esac
4991 done
4992 else
4993 $as_echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4998 as_fn_error $? "cannot compute suffix of object files: cannot compile
4999 See \`config.log' for more details" "$LINENO" 5; }
5001 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5004 $as_echo "$ac_cv_objext" >&6; }
5005 OBJEXT=$ac_cv_objext
5006 ac_objext=$OBJEXT
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5008 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5009 if ${ac_cv_c_compiler_gnu+:} false; then :
5010 $as_echo_n "(cached) " >&6
5011 else
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5016 main ()
5018 #ifndef __GNUC__
5019 choke me
5020 #endif
5023 return 0;
5025 _ACEOF
5026 if ac_fn_c_try_compile "$LINENO"; then :
5027 ac_compiler_gnu=yes
5028 else
5029 ac_compiler_gnu=no
5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5036 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5037 if test $ac_compiler_gnu = yes; then
5038 GCC=yes
5039 else
5040 GCC=
5042 ac_test_CFLAGS=${CFLAGS+set}
5043 ac_save_CFLAGS=$CFLAGS
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5045 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5046 if ${ac_cv_prog_cc_g+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 ac_save_c_werror_flag=$ac_c_werror_flag
5050 ac_c_werror_flag=yes
5051 ac_cv_prog_cc_g=no
5052 CFLAGS="-g"
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5057 main ()
5061 return 0;
5063 _ACEOF
5064 if ac_fn_c_try_compile "$LINENO"; then :
5065 ac_cv_prog_cc_g=yes
5066 else
5067 CFLAGS=""
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5072 main ()
5076 return 0;
5078 _ACEOF
5079 if ac_fn_c_try_compile "$LINENO"; then :
5081 else
5082 ac_c_werror_flag=$ac_save_c_werror_flag
5083 CFLAGS="-g"
5084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5085 /* end confdefs.h. */
5088 main ()
5092 return 0;
5094 _ACEOF
5095 if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_prog_cc_g=yes
5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5103 ac_c_werror_flag=$ac_save_c_werror_flag
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5106 $as_echo "$ac_cv_prog_cc_g" >&6; }
5107 if test "$ac_test_CFLAGS" = set; then
5108 CFLAGS=$ac_save_CFLAGS
5109 elif test $ac_cv_prog_cc_g = yes; then
5110 if test "$GCC" = yes; then
5111 CFLAGS="-g -O2"
5112 else
5113 CFLAGS="-g"
5115 else
5116 if test "$GCC" = yes; then
5117 CFLAGS="-O2"
5118 else
5119 CFLAGS=
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5123 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5124 if ${ac_cv_prog_cc_c89+:} false; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 ac_cv_prog_cc_c89=no
5128 ac_save_CC=$CC
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5131 #include <stdarg.h>
5132 #include <stdio.h>
5133 struct stat;
5134 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5135 struct buf { int x; };
5136 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5137 static char *e (p, i)
5138 char **p;
5139 int i;
5141 return p[i];
5143 static char *f (char * (*g) (char **, int), char **p, ...)
5145 char *s;
5146 va_list v;
5147 va_start (v,p);
5148 s = g (p, va_arg (v,int));
5149 va_end (v);
5150 return s;
5153 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5154 function prototypes and stuff, but not '\xHH' hex character constants.
5155 These don't provoke an error unfortunately, instead are silently treated
5156 as 'x'. The following induces an error, until -std is added to get
5157 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5158 array size at least. It's necessary to write '\x00'==0 to get something
5159 that's true only with -std. */
5160 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5162 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5163 inside strings and character constants. */
5164 #define FOO(x) 'x'
5165 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5167 int test (int i, double x);
5168 struct s1 {int (*f) (int a);};
5169 struct s2 {int (*f) (double a);};
5170 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5171 int argc;
5172 char **argv;
5174 main ()
5176 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5178 return 0;
5180 _ACEOF
5181 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5182 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5184 CC="$ac_save_CC $ac_arg"
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 ac_cv_prog_cc_c89=$ac_arg
5188 rm -f core conftest.err conftest.$ac_objext
5189 test "x$ac_cv_prog_cc_c89" != "xno" && break
5190 done
5191 rm -f conftest.$ac_ext
5192 CC=$ac_save_CC
5195 # AC_CACHE_VAL
5196 case "x$ac_cv_prog_cc_c89" in
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5199 $as_echo "none needed" >&6; } ;;
5200 xno)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5202 $as_echo "unsupported" >&6; } ;;
5204 CC="$CC $ac_cv_prog_cc_c89"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5206 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5207 esac
5208 if test "x$ac_cv_prog_cc_c89" != xno; then :
5212 ac_ext=c
5213 ac_cpp='$CPP $CPPFLAGS'
5214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5218 ac_ext=cpp
5219 ac_cpp='$CXXCPP $CPPFLAGS'
5220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5223 if test -z "$CXX"; then
5224 if test -n "$CCC"; then
5225 CXX=$CCC
5226 else
5227 if test -n "$ac_tool_prefix"; then
5228 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_CXX+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 if test -n "$CXX"; then
5238 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5253 IFS=$as_save_IFS
5257 CXX=$ac_cv_prog_CXX
5258 if test -n "$CXX"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5260 $as_echo "$CXX" >&6; }
5261 else
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5267 test -n "$CXX" && break
5268 done
5270 if test -z "$CXX"; then
5271 ac_ct_CXX=$CXX
5272 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5274 # Extract the first word of "$ac_prog", so it can be a program name with args.
5275 set dummy $ac_prog; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 if test -n "$ac_ct_CXX"; then
5282 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5283 else
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 for as_dir in $PATH
5287 IFS=$as_save_IFS
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_CXX="$ac_prog"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 break 2
5295 done
5296 done
5297 IFS=$as_save_IFS
5301 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5302 if test -n "$ac_ct_CXX"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5304 $as_echo "$ac_ct_CXX" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5311 test -n "$ac_ct_CXX" && break
5312 done
5314 if test "x$ac_ct_CXX" = x; then
5315 CXX="g++"
5316 else
5317 case $cross_compiling:$ac_tool_warned in
5318 yes:)
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5321 ac_tool_warned=yes ;;
5322 esac
5323 CXX=$ac_ct_CXX
5329 # Provide some information about the compiler.
5330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5331 set X $ac_compile
5332 ac_compiler=$2
5333 for ac_option in --version -v -V -qversion; do
5334 { { ac_try="$ac_compiler $ac_option >&5"
5335 case "(($ac_try" in
5336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5337 *) ac_try_echo=$ac_try;;
5338 esac
5339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5340 $as_echo "$ac_try_echo"; } >&5
5341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5342 ac_status=$?
5343 if test -s conftest.err; then
5344 sed '10a\
5345 ... rest of stderr output deleted ...
5346 10q' conftest.err >conftest.er1
5347 cat conftest.er1 >&5
5349 rm -f conftest.er1 conftest.err
5350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5351 test $ac_status = 0; }
5352 done
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5355 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5356 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5363 main ()
5365 #ifndef __GNUC__
5366 choke me
5367 #endif
5370 return 0;
5372 _ACEOF
5373 if ac_fn_cxx_try_compile "$LINENO"; then :
5374 ac_compiler_gnu=yes
5375 else
5376 ac_compiler_gnu=no
5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5379 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5383 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5384 if test $ac_compiler_gnu = yes; then
5385 GXX=yes
5386 else
5387 GXX=
5389 ac_test_CXXFLAGS=${CXXFLAGS+set}
5390 ac_save_CXXFLAGS=$CXXFLAGS
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5392 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5393 if ${ac_cv_prog_cxx_g+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5397 ac_cxx_werror_flag=yes
5398 ac_cv_prog_cxx_g=no
5399 CXXFLAGS="-g"
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main ()
5408 return 0;
5410 _ACEOF
5411 if ac_fn_cxx_try_compile "$LINENO"; then :
5412 ac_cv_prog_cxx_g=yes
5413 else
5414 CXXFLAGS=""
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5419 main ()
5423 return 0;
5425 _ACEOF
5426 if ac_fn_cxx_try_compile "$LINENO"; then :
5428 else
5429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5430 CXXFLAGS="-g"
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5435 main ()
5439 return 0;
5441 _ACEOF
5442 if ac_fn_cxx_try_compile "$LINENO"; then :
5443 ac_cv_prog_cxx_g=yes
5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5450 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5453 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5454 if test "$ac_test_CXXFLAGS" = set; then
5455 CXXFLAGS=$ac_save_CXXFLAGS
5456 elif test $ac_cv_prog_cxx_g = yes; then
5457 if test "$GXX" = yes; then
5458 CXXFLAGS="-g -O2"
5459 else
5460 CXXFLAGS="-g"
5462 else
5463 if test "$GXX" = yes; then
5464 CXXFLAGS="-O2"
5465 else
5466 CXXFLAGS=
5469 ac_ext=c
5470 ac_cpp='$CPP $CPPFLAGS'
5471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5475 if test -n "$ac_tool_prefix"; then
5476 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5477 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_CPPBIN+:} false; then :
5481 $as_echo_n "(cached) " >&6
5482 else
5483 if test -n "$CPPBIN"; then
5484 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5485 else
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 for as_dir in $PATH
5489 IFS=$as_save_IFS
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 break 2
5497 done
5498 done
5499 IFS=$as_save_IFS
5503 CPPBIN=$ac_cv_prog_CPPBIN
5504 if test -n "$CPPBIN"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5506 $as_echo "$CPPBIN" >&6; }
5507 else
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5514 if test -z "$ac_cv_prog_CPPBIN"; then
5515 ac_ct_CPPBIN=$CPPBIN
5516 # Extract the first word of "cpp", so it can be a program name with args.
5517 set dummy cpp; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$ac_ct_CPPBIN"; then
5524 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_ac_ct_CPPBIN="cpp"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5544 if test -n "$ac_ct_CPPBIN"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5546 $as_echo "$ac_ct_CPPBIN" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5552 if test "x$ac_ct_CPPBIN" = x; then
5553 CPPBIN="cpp"
5554 else
5555 case $cross_compiling:$ac_tool_warned in
5556 yes:)
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5559 ac_tool_warned=yes ;;
5560 esac
5561 CPPBIN=$ac_ct_CPPBIN
5563 else
5564 CPPBIN="$ac_cv_prog_CPPBIN"
5568 cat >>confdefs.h <<_ACEOF
5569 #define EXEEXT "$ac_exeext"
5570 _ACEOF
5572 if test -n "$ac_tool_prefix"; then
5573 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5574 set dummy ${ac_tool_prefix}ld; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_LD+:} false; then :
5578 $as_echo_n "(cached) " >&6
5579 else
5580 if test -n "$LD"; then
5581 ac_cv_prog_LD="$LD" # Let the user override the test.
5582 else
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5586 IFS=$as_save_IFS
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_LD="${ac_tool_prefix}ld"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 break 2
5594 done
5595 done
5596 IFS=$as_save_IFS
5600 LD=$ac_cv_prog_LD
5601 if test -n "$LD"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5603 $as_echo "$LD" >&6; }
5604 else
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5611 if test -z "$ac_cv_prog_LD"; then
5612 ac_ct_LD=$LD
5613 # Extract the first word of "ld", so it can be a program name with args.
5614 set dummy ld; ac_word=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616 $as_echo_n "checking for $ac_word... " >&6; }
5617 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5618 $as_echo_n "(cached) " >&6
5619 else
5620 if test -n "$ac_ct_LD"; then
5621 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5622 else
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 for as_dir in $PATH
5626 IFS=$as_save_IFS
5627 test -z "$as_dir" && as_dir=.
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5630 ac_cv_prog_ac_ct_LD="ld"
5631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 break 2
5634 done
5635 done
5636 IFS=$as_save_IFS
5640 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5641 if test -n "$ac_ct_LD"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5643 $as_echo "$ac_ct_LD" >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5649 if test "x$ac_ct_LD" = x; then
5650 LD=""
5651 else
5652 case $cross_compiling:$ac_tool_warned in
5653 yes:)
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5656 ac_tool_warned=yes ;;
5657 esac
5658 LD=$ac_ct_LD
5660 else
5661 LD="$ac_cv_prog_LD"
5665 case $host in
5666 *-darwin*)
5667 with_fontconfig=${with_fontconfig:-no}
5669 *-mingw32*|*-cygwin*)
5670 enable_win16=${enable_win16:-no}
5671 with_mingw=${with_mingw:-no}
5672 CFLAGS="$CFLAGS -D_WIN32"
5674 esac
5677 case $host in
5678 x86_64*|amd64*)
5679 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5680 then
5681 CC="$CC -m32"
5682 CXX="$CXX -m32"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5685 $as_echo_n "checking whether $CC works... " >&6; }
5686 if ${wine_cv_cc_m32+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5693 main ()
5697 return 0;
5699 _ACEOF
5700 if ac_fn_c_try_link "$LINENO"; then :
5701 wine_cv_cc_m32=yes
5702 else
5703 wine_cv_cc_m32=no
5705 rm -f core conftest.err conftest.$ac_objext \
5706 conftest$ac_exeext conftest.$ac_ext
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5709 $as_echo "$wine_cv_cc_m32" >&6; }
5710 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
5711 host_cpu="i386"
5712 notice_platform="32-bit "
5713 TARGETFLAGS="$TARGETFLAGS -m32"
5714 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5715 export PKG_CONFIG_PATH
5716 enable_win16=${enable_win16:-yes}
5717 with_unwind=${with_unwind:-no}
5718 else
5719 if test "x${GCC}" = "xyes"
5720 then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5722 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5723 if ${wine_cv_builtin_ms_va_list+:} false; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5728 #include <stdarg.h>
5730 main ()
5732 void func(__builtin_ms_va_list *args);
5734 return 0;
5736 _ACEOF
5737 if ac_fn_c_try_compile "$LINENO"; then :
5738 wine_cv_builtin_ms_va_list=yes
5739 else
5740 wine_cv_builtin_ms_va_list=no
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5745 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5746 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
5748 CC="$CC -m64"
5749 CXX="$CXX -m64"
5750 host_cpu="x86_64"
5751 notice_platform="64-bit "
5752 TARGETFLAGS="$TARGETFLAGS -m64"
5753 enable_wow64=${enable_wow64:-yes}
5754 enable_wow64win=${enable_wow64win:-yes}
5755 enable_wow64cpu=${enable_wow64cpu:-yes}
5758 arm*)
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5760 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5761 if ${wine_cv_thumb2+:} false; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5765 /* end confdefs.h. */
5768 main ()
5770 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5772 return 0;
5774 _ACEOF
5775 if ac_fn_c_try_link "$LINENO"; then :
5776 wine_cv_thumb2=yes
5777 else
5778 wine_cv_thumb2=no
5780 rm -f core conftest.err conftest.$ac_objext \
5781 conftest$ac_exeext conftest.$ac_ext
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5784 $as_echo "$wine_cv_thumb2" >&6; }
5785 if test x"$wine_cv_thumb2" = xyes
5786 then
5787 CFLAGS="$CFLAGS -mthumb"
5788 TARGETFLAGS="$TARGETFLAGS -mthumb"
5789 else
5790 CFLAGS="$CFLAGS -marm"
5791 TARGETFLAGS="$TARGETFLAGS -marm"
5793 case $with_float_abi in
5794 soft|softfp|hard)
5795 float_abi=$with_float_abi ;;
5797 case $host_os in
5798 *eabihf)
5799 float_abi=hard ;;
5801 float_abi=softfp
5802 saved_CFLAGS=$CFLAGS
5803 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5805 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5806 if ${wine_cv_float_abi+:} false; then :
5807 $as_echo_n "(cached) " >&6
5808 else
5809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5810 /* end confdefs.h. */
5813 main ()
5815 asm("vmrs r2,fpscr");
5817 return 0;
5819 _ACEOF
5820 if ac_fn_c_try_link "$LINENO"; then :
5821 wine_cv_float_abi=yes
5822 else
5823 wine_cv_float_abi=no
5825 rm -f core conftest.err conftest.$ac_objext \
5826 conftest$ac_exeext conftest.$ac_ext
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5829 $as_echo "$wine_cv_float_abi" >&6; }
5830 if test $wine_cv_float_abi = no
5831 then
5832 float_abi=soft
5833 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5835 CFLAGS=$saved_CFLAGS
5836 esac
5838 esac
5839 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5840 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5842 aarch64*)
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5844 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5845 if ${wine_cv_builtin_ms_va_list+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5850 #include <stdarg.h>
5852 main ()
5854 void func(__builtin_ms_va_list *args);
5856 return 0;
5858 _ACEOF
5859 if ac_fn_c_try_compile "$LINENO"; then :
5860 wine_cv_builtin_ms_va_list=yes
5861 else
5862 wine_cv_builtin_ms_va_list=no
5864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5867 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5868 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5869 enable_wow64=${enable_wow64:-yes}
5870 enable_wow64win=${enable_wow64win:-yes}
5872 i[3456789]86*)
5873 enable_win16=${enable_win16:-yes}
5874 with_unwind=${with_unwind:-no}
5876 esac
5878 enable_win16=${enable_win16:-no}
5879 enable_win64=${enable_win64:-no}
5880 enable_wow64=${enable_wow64:-no}
5881 enable_wow64win=${enable_wow64win:-no}
5882 enable_wow64cpu=${enable_wow64cpu:-no}
5884 enable_winetest=${enable_winetest:-$enable_tests}
5886 if test "x$enable_win64" = "xyes"
5887 then
5888 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5889 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5892 case $host_cpu in
5893 *i[3456789]86*) ARCH="i386"
5895 *x86_64*) ARCH="x86_64"
5897 *aarch64*) ARCH="aarch64"
5899 *arm*) ARCH="arm"
5901 *) ARCH=""
5903 esac
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5906 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5907 if ${wine_cv_toolsdir+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 wine_cv_toolsdir="$with_wine_tools"
5911 if test -z "$with_wine_tools"; then
5912 if test "$cross_compiling" = "yes"; then
5913 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5914 elif test -n "$with_wine64"; then
5915 wine_cv_toolsdir="$with_wine64"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5920 $as_echo "$wine_cv_toolsdir" >&6; }
5921 if test -z "$wine_cv_toolsdir"; then
5922 wine_makedep=tools/makedep
5923 TOOLSDIR="."
5925 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5926 wine_makedep=$wine_cv_toolsdir/tools/makedep
5927 TOOLSDIR=$wine_cv_toolsdir
5929 enable_tools=${enable_tools:-no}
5930 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5931 else
5932 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5934 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5935 then
5936 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5939 for ac_prog in flex
5941 # Extract the first word of "$ac_prog", so it can be a program name with args.
5942 set dummy $ac_prog; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_FLEX+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$FLEX"; then
5949 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_FLEX="$ac_prog"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5962 done
5963 done
5964 IFS=$as_save_IFS
5968 FLEX=$ac_cv_prog_FLEX
5969 if test -n "$FLEX"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5971 $as_echo "$FLEX" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5978 test -n "$FLEX" && break
5979 done
5980 test -n "$FLEX" || FLEX="none"
5982 if test "$FLEX" = "none"
5983 then
5984 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5987 $as_echo_n "checking whether flex is recent enough... " >&6; }
5988 if ${wine_cv_recent_flex+:} false; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 cat >conftest.l <<EOF
5992 %top{
5993 #include "prediluvian.h"
5997 if $FLEX -t conftest.l >/dev/null 2>&5
5998 then
5999 wine_cv_recent_flex=yes
6000 else
6001 wine_cv_recent_flex=no
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6005 $as_echo "$wine_cv_recent_flex" >&6; }
6006 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
6008 for ac_prog in bison
6010 # Extract the first word of "$ac_prog", so it can be a program name with args.
6011 set dummy $ac_prog; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_BISON+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 if test -n "$BISON"; then
6018 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_BISON="$ac_prog"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 BISON=$ac_cv_prog_BISON
6038 if test -n "$BISON"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6040 $as_echo "$BISON" >&6; }
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6047 test -n "$BISON" && break
6048 done
6049 test -n "$BISON" || BISON="none"
6051 if test "$BISON" = "none"
6052 then
6053 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6056 $as_echo_n "checking whether bison is recent enough... " >&6; }
6057 if ${wine_cv_recent_bison+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 cat >conftest.y <<EOF
6061 %define parse.error verbose
6063 empty: ;
6065 if $BISON conftest.y >/dev/null 2>&5
6066 then
6067 wine_cv_recent_bison=yes
6068 else
6069 wine_cv_recent_bison=no
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6073 $as_echo "$wine_cv_recent_bison" >&6; }
6074 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
6076 if test -n "$ac_tool_prefix"; then
6077 for ac_prog in ar gar
6079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_AR+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$AR"; then
6087 ac_cv_prog_AR="$AR" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 AR=$ac_cv_prog_AR
6107 if test -n "$AR"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6109 $as_echo "$AR" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6116 test -n "$AR" && break
6117 done
6119 if test -z "$AR"; then
6120 ac_ct_AR=$AR
6121 for ac_prog in ar gar
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$ac_ct_AR"; then
6131 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ac_ct_AR="$ac_prog"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6151 if test -n "$ac_ct_AR"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6153 $as_echo "$ac_ct_AR" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6160 test -n "$ac_ct_AR" && break
6161 done
6163 if test "x$ac_ct_AR" = x; then
6164 AR="ar"
6165 else
6166 case $cross_compiling:$ac_tool_warned in
6167 yes:)
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6170 ac_tool_warned=yes ;;
6171 esac
6172 AR=$ac_ct_AR
6176 if test -n "$ac_tool_prefix"; then
6177 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6178 set dummy ${ac_tool_prefix}strip; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_STRIP+:} false; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 if test -n "$STRIP"; then
6185 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6186 else
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 for as_dir in $PATH
6190 IFS=$as_save_IFS
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 break 2
6198 done
6199 done
6200 IFS=$as_save_IFS
6204 STRIP=$ac_cv_prog_STRIP
6205 if test -n "$STRIP"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6207 $as_echo "$STRIP" >&6; }
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6215 if test -z "$ac_cv_prog_STRIP"; then
6216 ac_ct_STRIP=$STRIP
6217 # Extract the first word of "strip", so it can be a program name with args.
6218 set dummy strip; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 if test -n "$ac_ct_STRIP"; then
6225 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6226 else
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH
6230 IFS=$as_save_IFS
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 ac_cv_prog_ac_ct_STRIP="strip"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236 break 2
6238 done
6239 done
6240 IFS=$as_save_IFS
6244 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6245 if test -n "$ac_ct_STRIP"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6247 $as_echo "$ac_ct_STRIP" >&6; }
6248 else
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6253 if test "x$ac_ct_STRIP" = x; then
6254 STRIP="strip"
6255 else
6256 case $cross_compiling:$ac_tool_warned in
6257 yes:)
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6260 ac_tool_warned=yes ;;
6261 esac
6262 STRIP=$ac_ct_STRIP
6264 else
6265 STRIP="$ac_cv_prog_STRIP"
6268 if test -n "$ac_tool_prefix"; then
6269 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6270 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 $as_echo_n "checking for $ac_word... " >&6; }
6273 if ${ac_cv_prog_RANLIB+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 if test -n "$RANLIB"; then
6277 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6278 else
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 break 2
6290 done
6291 done
6292 IFS=$as_save_IFS
6296 RANLIB=$ac_cv_prog_RANLIB
6297 if test -n "$RANLIB"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6299 $as_echo "$RANLIB" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6307 if test -z "$ac_cv_prog_RANLIB"; then
6308 ac_ct_RANLIB=$RANLIB
6309 # Extract the first word of "ranlib", so it can be a program name with args.
6310 set dummy ranlib; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 if test -n "$ac_ct_RANLIB"; then
6317 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6318 else
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 for as_dir in $PATH
6322 IFS=$as_save_IFS
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_ac_ct_RANLIB="ranlib"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 break 2
6330 done
6331 done
6332 IFS=$as_save_IFS
6336 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6337 if test -n "$ac_ct_RANLIB"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6339 $as_echo "$ac_ct_RANLIB" >&6; }
6340 else
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6345 if test "x$ac_ct_RANLIB" = x; then
6346 RANLIB=":"
6347 else
6348 case $cross_compiling:$ac_tool_warned in
6349 yes:)
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6352 ac_tool_warned=yes ;;
6353 esac
6354 RANLIB=$ac_ct_RANLIB
6356 else
6357 RANLIB="$ac_cv_prog_RANLIB"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6361 $as_echo_n "checking whether ln -s works... " >&6; }
6362 LN_S=$as_ln_s
6363 if test "$LN_S" = "ln -s"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6365 $as_echo "yes" >&6; }
6366 else
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6368 $as_echo "no, using $LN_S" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6372 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6373 if ${ac_cv_path_GREP+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 if test -z "$GREP"; then
6377 ac_path_GREP_found=false
6378 # Loop through the user's path and test for each of PROGNAME-LIST
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6382 IFS=$as_save_IFS
6383 test -z "$as_dir" && as_dir=.
6384 for ac_prog in grep ggrep; do
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6387 as_fn_executable_p "$ac_path_GREP" || continue
6388 # Check for GNU ac_path_GREP and select it if it is found.
6389 # Check for GNU $ac_path_GREP
6390 case `"$ac_path_GREP" --version 2>&1` in
6391 *GNU*)
6392 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6394 ac_count=0
6395 $as_echo_n 0123456789 >"conftest.in"
6396 while :
6398 cat "conftest.in" "conftest.in" >"conftest.tmp"
6399 mv "conftest.tmp" "conftest.in"
6400 cp "conftest.in" "conftest.nl"
6401 $as_echo 'GREP' >> "conftest.nl"
6402 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6404 as_fn_arith $ac_count + 1 && ac_count=$as_val
6405 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6406 # Best one so far, save it but keep looking for a better one
6407 ac_cv_path_GREP="$ac_path_GREP"
6408 ac_path_GREP_max=$ac_count
6410 # 10*(2^10) chars as input seems more than enough
6411 test $ac_count -gt 10 && break
6412 done
6413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6414 esac
6416 $ac_path_GREP_found && break 3
6417 done
6418 done
6419 done
6420 IFS=$as_save_IFS
6421 if test -z "$ac_cv_path_GREP"; then
6422 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6424 else
6425 ac_cv_path_GREP=$GREP
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6430 $as_echo "$ac_cv_path_GREP" >&6; }
6431 GREP="$ac_cv_path_GREP"
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6435 $as_echo_n "checking for egrep... " >&6; }
6436 if ${ac_cv_path_EGREP+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6440 then ac_cv_path_EGREP="$GREP -E"
6441 else
6442 if test -z "$EGREP"; then
6443 ac_path_EGREP_found=false
6444 # Loop through the user's path and test for each of PROGNAME-LIST
6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6448 IFS=$as_save_IFS
6449 test -z "$as_dir" && as_dir=.
6450 for ac_prog in egrep; do
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6453 as_fn_executable_p "$ac_path_EGREP" || continue
6454 # Check for GNU ac_path_EGREP and select it if it is found.
6455 # Check for GNU $ac_path_EGREP
6456 case `"$ac_path_EGREP" --version 2>&1` in
6457 *GNU*)
6458 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6460 ac_count=0
6461 $as_echo_n 0123456789 >"conftest.in"
6462 while :
6464 cat "conftest.in" "conftest.in" >"conftest.tmp"
6465 mv "conftest.tmp" "conftest.in"
6466 cp "conftest.in" "conftest.nl"
6467 $as_echo 'EGREP' >> "conftest.nl"
6468 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6469 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6470 as_fn_arith $ac_count + 1 && ac_count=$as_val
6471 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6472 # Best one so far, save it but keep looking for a better one
6473 ac_cv_path_EGREP="$ac_path_EGREP"
6474 ac_path_EGREP_max=$ac_count
6476 # 10*(2^10) chars as input seems more than enough
6477 test $ac_count -gt 10 && break
6478 done
6479 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6480 esac
6482 $ac_path_EGREP_found && break 3
6483 done
6484 done
6485 done
6486 IFS=$as_save_IFS
6487 if test -z "$ac_cv_path_EGREP"; then
6488 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6490 else
6491 ac_cv_path_EGREP=$EGREP
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6497 $as_echo "$ac_cv_path_EGREP" >&6; }
6498 EGREP="$ac_cv_path_EGREP"
6501 # Extract the first word of "ldconfig", so it can be a program name with args.
6502 set dummy ldconfig; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if ${ac_cv_path_LDCONFIG+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 case $LDCONFIG in
6509 [\\/]* | ?:[\\/]*)
6510 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in /sbin /usr/sbin $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6528 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6530 esac
6532 LDCONFIG=$ac_cv_path_LDCONFIG
6533 if test -n "$LDCONFIG"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6535 $as_echo "$LDCONFIG" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6542 for ac_prog in msgfmt
6544 # Extract the first word of "$ac_prog", so it can be a program name with args.
6545 set dummy $ac_prog; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if ${ac_cv_prog_MSGFMT+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 if test -n "$MSGFMT"; then
6552 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6553 else
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 for as_dir in $PATH
6557 IFS=$as_save_IFS
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_MSGFMT="$ac_prog"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6563 break 2
6565 done
6566 done
6567 IFS=$as_save_IFS
6571 MSGFMT=$ac_cv_prog_MSGFMT
6572 if test -n "$MSGFMT"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6574 $as_echo "$MSGFMT" >&6; }
6575 else
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6581 test -n "$MSGFMT" && break
6582 done
6583 test -n "$MSGFMT" || MSGFMT="false"
6585 if ${ac_tool_prefix+:} false; then :
6586 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6587 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$PKG_CONFIG"; then
6594 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6614 if test -n "$PKG_CONFIG"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6616 $as_echo "$PKG_CONFIG" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6624 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6625 if test "x$cross_compiling" = xyes; then :
6627 else
6628 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6629 # Extract the first word of "pkg-config", so it can be a program name with args.
6630 set dummy pkg-config; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$PKG_CONFIG"; then
6637 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_PKG_CONFIG="pkg-config"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6657 if test -n "$PKG_CONFIG"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6659 $as_echo "$PKG_CONFIG" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 else
6668 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6671 if test "x$enable_maintainer_mode" != "xyes"
6672 then
6673 FONTFORGE=""
6674 RSVG=""
6675 CONVERT=""
6676 ICOTOOL=""
6677 else
6678 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6679 for ac_prog in fontforge
6681 # Extract the first word of "$ac_prog", so it can be a program name with args.
6682 set dummy $ac_prog; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_FONTFORGE+:} false; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$FONTFORGE"; then
6689 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_FONTFORGE="$ac_prog"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 FONTFORGE=$ac_cv_prog_FONTFORGE
6709 if test -n "$FONTFORGE"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6711 $as_echo "$FONTFORGE" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6718 test -n "$FONTFORGE" && break
6719 done
6720 test -n "$FONTFORGE" || FONTFORGE="false"
6722 for ac_prog in rsvg-convert rsvg
6724 # Extract the first word of "$ac_prog", so it can be a program name with args.
6725 set dummy $ac_prog; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_RSVG+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 if test -n "$RSVG"; then
6732 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6733 else
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $PATH
6737 IFS=$as_save_IFS
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6741 ac_cv_prog_RSVG="$ac_prog"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 break 2
6745 done
6746 done
6747 IFS=$as_save_IFS
6751 RSVG=$ac_cv_prog_RSVG
6752 if test -n "$RSVG"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6754 $as_echo "$RSVG" >&6; }
6755 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6761 test -n "$RSVG" && break
6762 done
6763 test -n "$RSVG" || RSVG="false"
6765 for ac_prog in convert
6767 # Extract the first word of "$ac_prog", so it can be a program name with args.
6768 set dummy $ac_prog; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_CONVERT+:} false; then :
6772 $as_echo_n "(cached) " >&6
6773 else
6774 if test -n "$CONVERT"; then
6775 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6780 IFS=$as_save_IFS
6781 test -z "$as_dir" && as_dir=.
6782 for ac_exec_ext in '' $ac_executable_extensions; do
6783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784 ac_cv_prog_CONVERT="$ac_prog"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 break 2
6788 done
6789 done
6790 IFS=$as_save_IFS
6794 CONVERT=$ac_cv_prog_CONVERT
6795 if test -n "$CONVERT"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6797 $as_echo "$CONVERT" >&6; }
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6804 test -n "$CONVERT" && break
6805 done
6806 test -n "$CONVERT" || CONVERT="false"
6808 for ac_prog in icotool
6810 # Extract the first word of "$ac_prog", so it can be a program name with args.
6811 set dummy $ac_prog; ac_word=$2
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6813 $as_echo_n "checking for $ac_word... " >&6; }
6814 if ${ac_cv_prog_ICOTOOL+:} false; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817 if test -n "$ICOTOOL"; then
6818 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6819 else
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 for as_dir in $PATH
6823 IFS=$as_save_IFS
6824 test -z "$as_dir" && as_dir=.
6825 for ac_exec_ext in '' $ac_executable_extensions; do
6826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6827 ac_cv_prog_ICOTOOL="$ac_prog"
6828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 break 2
6831 done
6832 done
6833 IFS=$as_save_IFS
6837 ICOTOOL=$ac_cv_prog_ICOTOOL
6838 if test -n "$ICOTOOL"; then
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6840 $as_echo "$ICOTOOL" >&6; }
6841 else
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6843 $as_echo "no" >&6; }
6847 test -n "$ICOTOOL" && break
6848 done
6849 test -n "$ICOTOOL" || ICOTOOL="false"
6851 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6852 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6854 if test "$CONVERT" = false
6855 then
6856 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6857 else
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6859 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6860 convert_version=`convert --version | head -n1`
6861 if test "x$convert_version" != "x"
6862 then
6863 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6864 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6865 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6866 then
6867 CONVERT=false
6870 if test "$CONVERT" = false
6871 then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6873 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6874 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6875 else
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6877 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6881 if test "$ICOTOOL" = false
6882 then
6883 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6884 else
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6886 $as_echo_n "checking for recent enough icotool... " >&6; }
6887 icotool_version=`icotool --version | head -n1`
6888 if test "x$icotool_version" != "x"
6889 then
6890 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6891 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6892 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6893 then
6894 ICOTOOL=false
6895 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6898 if test "$ICOTOOL" = false
6899 then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6901 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6902 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6903 else
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6905 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6909 with_gettext=yes
6910 with_gettextpo=yes
6912 enable_werror=yes
6915 test "x$with_gettext" != xno || MSGFMT=false
6916 if test "$MSGFMT" != "false"
6917 then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6919 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6920 if ${wine_cv_msgfmt_contexts+:} false; then :
6921 $as_echo_n "(cached) " >&6
6922 else
6923 cat >conftest.po <<EOF
6924 # comment
6925 msgctxt "ctxt"
6926 msgid "id"
6927 msgstr "str"
6929 if $MSGFMT -o /dev/null conftest.po 2>&5
6930 then
6931 wine_cv_msgfmt_contexts=yes
6932 else
6933 wine_cv_msgfmt_contexts=no
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6937 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6938 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6940 if test "$MSGFMT" = false; then :
6941 case "x$with_gettext" in
6942 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6943 xno) ;;
6944 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6945 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6946 esac
6947 enable_po=${enable_po:-no}
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6952 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6953 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6954 $as_echo_n "(cached) " >&6
6955 else
6956 ac_check_lib_save_LIBS=$LIBS
6957 LIBS="-li386 $LIBS"
6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959 /* end confdefs.h. */
6961 /* Override any GCC internal prototype to avoid an error.
6962 Use char because int might match the return type of a GCC
6963 builtin and then its argument prototype would still apply. */
6964 #ifdef __cplusplus
6965 extern "C"
6966 #endif
6967 char i386_set_ldt ();
6969 main ()
6971 return i386_set_ldt ();
6973 return 0;
6975 _ACEOF
6976 if ac_fn_c_try_link "$LINENO"; then :
6977 ac_cv_lib_i386_i386_set_ldt=yes
6978 else
6979 ac_cv_lib_i386_i386_set_ldt=no
6981 rm -f core conftest.err conftest.$ac_objext \
6982 conftest$ac_exeext conftest.$ac_ext
6983 LIBS=$ac_check_lib_save_LIBS
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6986 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6987 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6988 I386_LIBS="-li386"
6993 OPENGL_LIBS=""
6997 # Check whether --enable-largefile was given.
6998 if test "${enable_largefile+set}" = set; then :
6999 enableval=$enable_largefile;
7002 if test "$enable_largefile" != no; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7005 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7006 if ${ac_cv_sys_largefile_CC+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 ac_cv_sys_largefile_CC=no
7010 if test "$GCC" != yes; then
7011 ac_save_CC=$CC
7012 while :; do
7013 # IRIX 6.2 and later do not support large files by default,
7014 # so use the C compiler's -n32 option if that helps.
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7017 #include <sys/types.h>
7018 /* Check that off_t can represent 2**63 - 1 correctly.
7019 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7020 since some C++ compilers masquerading as C compilers
7021 incorrectly reject 9223372036854775807. */
7022 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7023 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7024 && LARGE_OFF_T % 2147483647 == 1)
7025 ? 1 : -1];
7027 main ()
7031 return 0;
7033 _ACEOF
7034 if ac_fn_c_try_compile "$LINENO"; then :
7035 break
7037 rm -f core conftest.err conftest.$ac_objext
7038 CC="$CC -n32"
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 ac_cv_sys_largefile_CC=' -n32'; break
7042 rm -f core conftest.err conftest.$ac_objext
7043 break
7044 done
7045 CC=$ac_save_CC
7046 rm -f conftest.$ac_ext
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7050 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7051 if test "$ac_cv_sys_largefile_CC" != no; then
7052 CC=$CC$ac_cv_sys_largefile_CC
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7056 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7057 if ${ac_cv_sys_file_offset_bits+:} false; then :
7058 $as_echo_n "(cached) " >&6
7059 else
7060 while :; do
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7063 #include <sys/types.h>
7064 /* Check that off_t can represent 2**63 - 1 correctly.
7065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7066 since some C++ compilers masquerading as C compilers
7067 incorrectly reject 9223372036854775807. */
7068 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7070 && LARGE_OFF_T % 2147483647 == 1)
7071 ? 1 : -1];
7073 main ()
7077 return 0;
7079 _ACEOF
7080 if ac_fn_c_try_compile "$LINENO"; then :
7081 ac_cv_sys_file_offset_bits=no; break
7083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #define _FILE_OFFSET_BITS 64
7087 #include <sys/types.h>
7088 /* Check that off_t can represent 2**63 - 1 correctly.
7089 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7090 since some C++ compilers masquerading as C compilers
7091 incorrectly reject 9223372036854775807. */
7092 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7093 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7094 && LARGE_OFF_T % 2147483647 == 1)
7095 ? 1 : -1];
7097 main ()
7101 return 0;
7103 _ACEOF
7104 if ac_fn_c_try_compile "$LINENO"; then :
7105 ac_cv_sys_file_offset_bits=64; break
7107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7108 ac_cv_sys_file_offset_bits=unknown
7109 break
7110 done
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7113 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7114 case $ac_cv_sys_file_offset_bits in #(
7115 no | unknown) ;;
7117 cat >>confdefs.h <<_ACEOF
7118 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7119 _ACEOF
7121 esac
7122 rm -rf conftest*
7123 if test $ac_cv_sys_file_offset_bits = unknown; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7125 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7126 if ${ac_cv_sys_large_files+:} false; then :
7127 $as_echo_n "(cached) " >&6
7128 else
7129 while :; do
7130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7132 #include <sys/types.h>
7133 /* Check that off_t can represent 2**63 - 1 correctly.
7134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7135 since some C++ compilers masquerading as C compilers
7136 incorrectly reject 9223372036854775807. */
7137 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7139 && LARGE_OFF_T % 2147483647 == 1)
7140 ? 1 : -1];
7142 main ()
7146 return 0;
7148 _ACEOF
7149 if ac_fn_c_try_compile "$LINENO"; then :
7150 ac_cv_sys_large_files=no; break
7152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7155 #define _LARGE_FILES 1
7156 #include <sys/types.h>
7157 /* Check that off_t can represent 2**63 - 1 correctly.
7158 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7159 since some C++ compilers masquerading as C compilers
7160 incorrectly reject 9223372036854775807. */
7161 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7162 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7163 && LARGE_OFF_T % 2147483647 == 1)
7164 ? 1 : -1];
7166 main ()
7170 return 0;
7172 _ACEOF
7173 if ac_fn_c_try_compile "$LINENO"; then :
7174 ac_cv_sys_large_files=1; break
7176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7177 ac_cv_sys_large_files=unknown
7178 break
7179 done
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7182 $as_echo "$ac_cv_sys_large_files" >&6; }
7183 case $ac_cv_sys_large_files in #(
7184 no | unknown) ;;
7186 cat >>confdefs.h <<_ACEOF
7187 #define _LARGE_FILES $ac_cv_sys_large_files
7188 _ACEOF
7190 esac
7191 rm -rf conftest*
7198 ac_ext=c
7199 ac_cpp='$CPP $CPPFLAGS'
7200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7204 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7205 # On Suns, sometimes $CPP names a directory.
7206 if test -n "$CPP" && test -d "$CPP"; then
7207 CPP=
7209 if test -z "$CPP"; then
7210 if ${ac_cv_prog_CPP+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 # Double quotes because CPP needs to be expanded
7214 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7216 ac_preproc_ok=false
7217 for ac_c_preproc_warn_flag in '' yes
7219 # Use a header file that comes with gcc, so configuring glibc
7220 # with a fresh cross-compiler works.
7221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7222 # <limits.h> exists even on freestanding compilers.
7223 # On the NeXT, cc -E runs the code through the compiler's parser,
7224 # not just through cpp. "Syntax error" is here to catch this case.
7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7227 #ifdef __STDC__
7228 # include <limits.h>
7229 #else
7230 # include <assert.h>
7231 #endif
7232 Syntax error
7233 _ACEOF
7234 if ac_fn_c_try_cpp "$LINENO"; then :
7236 else
7237 # Broken: fails on valid input.
7238 continue
7240 rm -f conftest.err conftest.i conftest.$ac_ext
7242 # OK, works on sane cases. Now check whether nonexistent headers
7243 # can be detected and how.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <ac_nonexistent.h>
7247 _ACEOF
7248 if ac_fn_c_try_cpp "$LINENO"; then :
7249 # Broken: success on invalid input.
7250 continue
7251 else
7252 # Passes both tests.
7253 ac_preproc_ok=:
7254 break
7256 rm -f conftest.err conftest.i conftest.$ac_ext
7258 done
7259 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7260 rm -f conftest.i conftest.err conftest.$ac_ext
7261 if $ac_preproc_ok; then :
7262 break
7265 done
7266 ac_cv_prog_CPP=$CPP
7269 CPP=$ac_cv_prog_CPP
7270 else
7271 ac_cv_prog_CPP=$CPP
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7274 $as_echo "$CPP" >&6; }
7275 ac_preproc_ok=false
7276 for ac_c_preproc_warn_flag in '' yes
7278 # Use a header file that comes with gcc, so configuring glibc
7279 # with a fresh cross-compiler works.
7280 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7281 # <limits.h> exists even on freestanding compilers.
7282 # On the NeXT, cc -E runs the code through the compiler's parser,
7283 # not just through cpp. "Syntax error" is here to catch this case.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7286 #ifdef __STDC__
7287 # include <limits.h>
7288 #else
7289 # include <assert.h>
7290 #endif
7291 Syntax error
7292 _ACEOF
7293 if ac_fn_c_try_cpp "$LINENO"; then :
7295 else
7296 # Broken: fails on valid input.
7297 continue
7299 rm -f conftest.err conftest.i conftest.$ac_ext
7301 # OK, works on sane cases. Now check whether nonexistent headers
7302 # can be detected and how.
7303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7305 #include <ac_nonexistent.h>
7306 _ACEOF
7307 if ac_fn_c_try_cpp "$LINENO"; then :
7308 # Broken: success on invalid input.
7309 continue
7310 else
7311 # Passes both tests.
7312 ac_preproc_ok=:
7313 break
7315 rm -f conftest.err conftest.i conftest.$ac_ext
7317 done
7318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7319 rm -f conftest.i conftest.err conftest.$ac_ext
7320 if $ac_preproc_ok; then :
7322 else
7323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7325 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7326 See \`config.log' for more details" "$LINENO" 5; }
7329 ac_ext=c
7330 ac_cpp='$CPP $CPPFLAGS'
7331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7337 $as_echo_n "checking for ANSI C header files... " >&6; }
7338 if ${ac_cv_header_stdc+:} false; then :
7339 $as_echo_n "(cached) " >&6
7340 else
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7343 #include <stdlib.h>
7344 #include <stdarg.h>
7345 #include <string.h>
7346 #include <float.h>
7349 main ()
7353 return 0;
7355 _ACEOF
7356 if ac_fn_c_try_compile "$LINENO"; then :
7357 ac_cv_header_stdc=yes
7358 else
7359 ac_cv_header_stdc=no
7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363 if test $ac_cv_header_stdc = yes; then
7364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7367 #include <string.h>
7369 _ACEOF
7370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7371 $EGREP "memchr" >/dev/null 2>&1; then :
7373 else
7374 ac_cv_header_stdc=no
7376 rm -f conftest*
7380 if test $ac_cv_header_stdc = yes; then
7381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383 /* end confdefs.h. */
7384 #include <stdlib.h>
7386 _ACEOF
7387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7388 $EGREP "free" >/dev/null 2>&1; then :
7390 else
7391 ac_cv_header_stdc=no
7393 rm -f conftest*
7397 if test $ac_cv_header_stdc = yes; then
7398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7399 if test "$cross_compiling" = yes; then :
7401 else
7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7404 #include <ctype.h>
7405 #include <stdlib.h>
7406 #if ((' ' & 0x0FF) == 0x020)
7407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7409 #else
7410 # define ISLOWER(c) \
7411 (('a' <= (c) && (c) <= 'i') \
7412 || ('j' <= (c) && (c) <= 'r') \
7413 || ('s' <= (c) && (c) <= 'z'))
7414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7415 #endif
7417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7419 main ()
7421 int i;
7422 for (i = 0; i < 256; i++)
7423 if (XOR (islower (i), ISLOWER (i))
7424 || toupper (i) != TOUPPER (i))
7425 return 2;
7426 return 0;
7428 _ACEOF
7429 if ac_fn_c_try_run "$LINENO"; then :
7431 else
7432 ac_cv_header_stdc=no
7434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7435 conftest.$ac_objext conftest.beam conftest.$ac_ext
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7441 $as_echo "$ac_cv_header_stdc" >&6; }
7442 if test $ac_cv_header_stdc = yes; then
7444 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7448 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7449 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7450 inttypes.h stdint.h unistd.h
7451 do :
7452 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7453 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7455 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7456 cat >>confdefs.h <<_ACEOF
7457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7458 _ACEOF
7462 done
7465 for ac_header in \
7466 AL/al.h \
7467 ApplicationServices/ApplicationServices.h \
7468 CL/cl.h \
7469 Carbon/Carbon.h \
7470 CommonCrypto/CommonCryptor.h \
7471 CoreAudio/CoreAudio.h \
7472 DiskArbitration/DiskArbitration.h \
7473 EGL/egl.h \
7474 IOKit/IOKitLib.h \
7475 IOKit/hid/IOHIDLib.h \
7476 OpenAL/al.h \
7477 OpenCL/opencl.h \
7478 QuickTime/ImageCompression.h \
7479 Security/Security.h \
7480 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7481 SystemConfiguration/SCNetworkConfiguration.h \
7482 alias.h \
7483 arpa/inet.h \
7484 arpa/nameser.h \
7485 asm/types.h \
7486 asm/user.h \
7487 dirent.h \
7488 dlfcn.h \
7489 elf.h \
7490 float.h \
7491 fnmatch.h \
7492 getopt.h \
7493 gettext-po.h \
7494 grp.h \
7495 gsm.h \
7496 gsm/gsm.h \
7497 ieeefp.h \
7498 inet/mib2.h \
7499 kstat.h \
7500 libproc.h \
7501 link.h \
7502 linux/cdrom.h \
7503 linux/filter.h \
7504 linux/hdreg.h \
7505 linux/hidraw.h \
7506 linux/input.h \
7507 linux/ioctl.h \
7508 linux/joystick.h \
7509 linux/major.h \
7510 linux/param.h \
7511 linux/serial.h \
7512 linux/types.h \
7513 linux/ucdrom.h \
7514 lwp.h \
7515 mach-o/loader.h \
7516 mach/mach.h \
7517 machine/cpu.h \
7518 machine/sysarch.h \
7519 mntent.h \
7520 netdb.h \
7521 netinet/in.h \
7522 netinet/in_systm.h \
7523 netinet/tcp.h \
7524 netinet/tcp_fsm.h \
7525 pcap/pcap.h \
7526 poll.h \
7527 port.h \
7528 pthread.h \
7529 pwd.h \
7530 sasl/sasl.h \
7531 sched.h \
7532 scsi/scsi.h \
7533 scsi/scsi_ioctl.h \
7534 scsi/sg.h \
7535 stdint.h \
7536 stropts.h \
7537 sys/attr.h \
7538 sys/auxv.h \
7539 sys/cdio.h \
7540 sys/epoll.h \
7541 sys/event.h \
7542 sys/filio.h \
7543 sys/ioctl.h \
7544 sys/ipc.h \
7545 sys/link.h \
7546 sys/mman.h \
7547 sys/modem.h \
7548 sys/msg.h \
7549 sys/mtio.h \
7550 sys/param.h \
7551 sys/poll.h \
7552 sys/prctl.h \
7553 sys/protosw.h \
7554 sys/ptrace.h \
7555 sys/queue.h \
7556 sys/random.h \
7557 sys/resource.h \
7558 sys/scsiio.h \
7559 sys/shm.h \
7560 sys/signal.h \
7561 sys/socket.h \
7562 sys/socketvar.h \
7563 sys/sockio.h \
7564 sys/statvfs.h \
7565 sys/strtio.h \
7566 sys/syscall.h \
7567 sys/sysinfo.h \
7568 sys/tihdr.h \
7569 sys/time.h \
7570 sys/timeout.h \
7571 sys/times.h \
7572 sys/uio.h \
7573 sys/user.h \
7574 sys/utsname.h \
7575 sys/vnode.h \
7576 sys/wait.h \
7577 syscall.h \
7578 termios.h \
7579 unistd.h \
7580 utime.h \
7581 valgrind/memcheck.h \
7582 valgrind/valgrind.h
7584 do :
7585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7586 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7588 cat >>confdefs.h <<_ACEOF
7589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7594 done
7596 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7597 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7599 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7604 if test $ac_cv_header_sys_mkdev_h = no; then
7605 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7606 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7608 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7615 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7616 if ${ac_cv_header_stat_broken+:} false; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7621 #include <sys/types.h>
7622 #include <sys/stat.h>
7624 #if defined S_ISBLK && defined S_IFDIR
7625 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7626 #endif
7628 #if defined S_ISBLK && defined S_IFCHR
7629 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7630 #endif
7632 #if defined S_ISLNK && defined S_IFREG
7633 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7634 #endif
7636 #if defined S_ISSOCK && defined S_IFREG
7637 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7638 #endif
7640 _ACEOF
7641 if ac_fn_c_try_compile "$LINENO"; then :
7642 ac_cv_header_stat_broken=no
7643 else
7644 ac_cv_header_stat_broken=yes
7646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7649 $as_echo "$ac_cv_header_stat_broken" >&6; }
7650 if test $ac_cv_header_stat_broken = yes; then
7652 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7658 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7659 do :
7660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7661 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7662 #ifdef HAVE_SYS_PARAM_H
7663 # include <sys/param.h>
7664 #endif
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7676 saved_sysctl_h_CFLAGS=$CFLAGS
7677 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7678 for ac_header in sys/sysctl.h
7679 do :
7680 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7681 #ifdef HAVE_SYS_PARAM_H
7682 # include <sys/param.h>
7683 #endif
7685 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7686 cat >>confdefs.h <<_ACEOF
7687 #define HAVE_SYS_SYSCTL_H 1
7688 _ACEOF
7692 done
7694 CFLAGS=$saved_sysctl_h_CFLAGS
7696 for ac_header in \
7697 netinet/ip.h \
7698 net/if.h \
7699 net/if_arp.h \
7700 net/if_dl.h \
7701 net/if_types.h \
7702 net/route.h \
7703 netinet/if_ether.h \
7704 netinet/if_inarp.h \
7705 netinet/in_pcb.h \
7706 netinet/ip_icmp.h \
7707 netinet/ip_var.h \
7708 netinet/udp.h \
7709 netipx/ipx.h \
7710 sys/un.h \
7712 do :
7713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7715 #ifdef HAVE_SYS_SOCKET_H
7716 # include <sys/socket.h>
7717 #endif
7718 #ifdef HAVE_SYS_SOCKETVAR_H
7719 # include <sys/socketvar.h>
7720 #endif
7721 #ifdef HAVE_NET_ROUTE_H
7722 # include <net/route.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IN_H
7725 # include <netinet/in.h>
7726 #endif
7727 #ifdef HAVE_NETINET_IN_SYSTM_H
7728 # include <netinet/in_systm.h>
7729 #endif
7730 #ifdef HAVE_NET_IF_H
7731 # include <net/if.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IP_H
7734 # include <netinet/ip.h>
7735 #endif
7737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7738 cat >>confdefs.h <<_ACEOF
7739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7744 done
7747 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7748 do :
7749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7750 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7751 #ifdef HAVE_ALIAS_H
7752 # include <alias.h>
7753 #endif
7754 #ifdef HAVE_SYS_SOCKET_H
7755 # include <sys/socket.h>
7756 #endif
7757 #ifdef HAVE_SYS_SOCKETVAR_H
7758 # include <sys/socketvar.h>
7759 #endif
7760 #ifdef HAVE_SYS_TIMEOUT_H
7761 # include <sys/timeout.h>
7762 #endif
7763 #ifdef HAVE_NETINET_IN_H
7764 # include <netinet/in.h>
7765 #endif
7766 #ifdef HAVE_NETINET_IN_SYSTM_H
7767 # include <netinet/in_systm.h>
7768 #endif
7769 #ifdef HAVE_NETINET_IP_H
7770 # include <netinet/ip.h>
7771 #endif
7772 #ifdef HAVE_NETINET_IP_VAR_H
7773 # include <netinet/ip_var.h>
7774 #endif
7775 #ifdef HAVE_NETINET_IP_ICMP_H
7776 # include <netinet/ip_icmp.h>
7777 #endif
7778 #ifdef HAVE_NETINET_UDP_H
7779 # include <netinet/udp.h>
7780 #endif
7781 #ifdef HAVE_NETINET_TCP_H
7782 # include <netinet/tcp.h>
7783 #endif
7784 #ifdef HAVE_NETINET_TCP_TIMER_H
7785 #include <netinet/tcp_timer.h>
7786 #endif
7788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7789 cat >>confdefs.h <<_ACEOF
7790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7791 _ACEOF
7795 done
7798 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7799 do :
7800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7801 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7802 #ifdef HAVE_ASM_TYPES_H
7803 # include <asm/types.h>
7804 #endif
7805 #ifdef HAVE_SYS_SOCKET_H
7806 # include <sys/socket.h>
7807 #endif
7808 #ifdef HAVE_LINUX_TYPES_H
7809 # include <linux/types.h>
7810 #endif
7812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7815 _ACEOF
7819 done
7822 for ac_header in resolv.h
7823 do :
7824 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7825 #ifdef HAVE_SYS_SOCKET_H
7826 # include <sys/socket.h>
7827 #endif
7828 #ifdef HAVE_NETINET_IN_H
7829 # include <netinet/in.h>
7830 #endif
7831 #ifdef HAVE_ARPA_NAMESER_H
7832 # include <arpa/nameser.h>
7833 #endif
7835 if test "x$ac_cv_header_resolv_h" = xyes; then :
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_RESOLV_H 1
7838 _ACEOF
7842 done
7845 for ac_header in ifaddrs.h
7846 do :
7847 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7849 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7850 cat >>confdefs.h <<_ACEOF
7851 #define HAVE_IFADDRS_H 1
7852 _ACEOF
7856 done
7859 for ac_header in sys/ucontext.h
7860 do :
7861 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7863 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7864 cat >>confdefs.h <<_ACEOF
7865 #define HAVE_SYS_UCONTEXT_H 1
7866 _ACEOF
7870 done
7873 for ac_header in sys/thr.h
7874 do :
7875 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7876 #ifdef HAVE_SYS_UCONTEXT_H
7877 #include <sys/ucontext.h>
7878 #endif
7880 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7881 cat >>confdefs.h <<_ACEOF
7882 #define HAVE_SYS_THR_H 1
7883 _ACEOF
7887 done
7890 for ac_header in pthread_np.h
7891 do :
7892 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7893 #include <pthread.h>
7894 #endif
7896 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7897 cat >>confdefs.h <<_ACEOF
7898 #define HAVE_PTHREAD_NP_H 1
7899 _ACEOF
7903 done
7906 for ac_header in linux/videodev2.h
7907 do :
7908 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7909 #include <sys/time.h>
7910 #endif
7911 #include <sys/types.h>
7912 #ifdef HAVE_ASM_TYPES_H
7913 #include <asm/types.h>
7914 #endif
7916 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7917 cat >>confdefs.h <<_ACEOF
7918 #define HAVE_LINUX_VIDEODEV2_H 1
7919 _ACEOF
7923 done
7926 for ac_header in libprocstat.h
7927 do :
7928 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7929 #include <sys/param.h>
7930 #endif
7931 #ifdef HAVE_SYS_QUEUE_H
7932 #include <sys/queue.h>
7933 #endif
7934 #ifdef HAVE_SYS_SOCKET_H
7935 #include <sys/socket.h>
7936 #endif
7938 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7939 cat >>confdefs.h <<_ACEOF
7940 #define HAVE_LIBPROCSTAT_H 1
7941 _ACEOF
7945 done
7949 DLLFLAGS="-D_REENTRANT"
7951 LDDLLFLAGS=""
7953 LDEXECFLAGS=""
7955 TOP_INSTALL_LIB=""
7957 TOP_INSTALL_DEV=""
7959 WINELOADER_LDFLAGS=""
7961 WINEPRELOADER_LDFLAGS=""
7963 LIBEXT="so"
7964 DLLEXT=".so"
7965 # Extract the first word of "ldd", so it can be a program name with args.
7966 set dummy ldd; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_path_LDD+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 case $LDD in
7973 [\\/]* | ?:[\\/]*)
7974 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 as_dummy="/sbin:/usr/sbin:$PATH"
7979 for as_dir in $as_dummy
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7993 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7995 esac
7997 LDD=$ac_cv_path_LDD
7998 if test -n "$LDD"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
8000 $as_echo "$LDD" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8007 if test -n "$ac_tool_prefix"; then
8008 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8009 set dummy ${ac_tool_prefix}otool; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_OTOOL+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$OTOOL"; then
8016 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 OTOOL=$ac_cv_prog_OTOOL
8036 if test -n "$OTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8038 $as_echo "$OTOOL" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8046 if test -z "$ac_cv_prog_OTOOL"; then
8047 ac_ct_OTOOL=$OTOOL
8048 # Extract the first word of "otool", so it can be a program name with args.
8049 set dummy otool; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 if test -n "$ac_ct_OTOOL"; then
8056 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8057 else
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 for as_dir in $PATH
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_ac_ct_OTOOL="otool"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8069 done
8070 done
8071 IFS=$as_save_IFS
8075 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8076 if test -n "$ac_ct_OTOOL"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8078 $as_echo "$ac_ct_OTOOL" >&6; }
8079 else
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8084 if test "x$ac_ct_OTOOL" = x; then
8085 OTOOL="otool"
8086 else
8087 case $cross_compiling:$ac_tool_warned in
8088 yes:)
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091 ac_tool_warned=yes ;;
8092 esac
8093 OTOOL=$ac_ct_OTOOL
8095 else
8096 OTOOL="$ac_cv_prog_OTOOL"
8099 if test -n "$ac_tool_prefix"; then
8100 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8101 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_READELF+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$READELF"; then
8108 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 READELF=$ac_cv_prog_READELF
8128 if test -n "$READELF"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8130 $as_echo "$READELF" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8138 if test -z "$ac_cv_prog_READELF"; then
8139 ac_ct_READELF=$READELF
8140 # Extract the first word of "readelf", so it can be a program name with args.
8141 set dummy readelf; ac_word=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 $as_echo_n "checking for $ac_word... " >&6; }
8144 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 if test -n "$ac_ct_READELF"; then
8148 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8149 else
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8151 for as_dir in $PATH
8153 IFS=$as_save_IFS
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8157 ac_cv_prog_ac_ct_READELF="readelf"
8158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 break 2
8161 done
8162 done
8163 IFS=$as_save_IFS
8167 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8168 if test -n "$ac_ct_READELF"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8170 $as_echo "$ac_ct_READELF" >&6; }
8171 else
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8176 if test "x$ac_ct_READELF" = x; then
8177 READELF="true"
8178 else
8179 case $cross_compiling:$ac_tool_warned in
8180 yes:)
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8183 ac_tool_warned=yes ;;
8184 esac
8185 READELF=$ac_ct_READELF
8187 else
8188 READELF="$ac_cv_prog_READELF"
8191 wine_rules_file=conf$$rules.make
8192 rm -f $wine_rules_file
8193 SUBDIRS=""
8195 DISABLED_SUBDIRS=""
8197 CONFIGURE_TARGETS=""
8200 wine_fn_append_file ()
8202 as_fn_append $1 " \\$as_nl $2"
8205 wine_fn_append_rule ()
8207 $as_echo "$1" >>$wine_rules_file
8210 wine_fn_config_makefile ()
8212 wine_fn_append_file SUBDIRS $1
8213 if eval test \"x\$"$2"\" = x"no"; then :
8214 wine_fn_append_file DISABLED_SUBDIRS $1
8218 wine_fn_config_symlink ()
8220 ac_links=$@
8221 wine_fn_append_rule \
8222 "$ac_links:
8223 @./config.status \$@"
8224 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8227 wine_binary="wine"
8228 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8229 WINELOADER_PROGRAMS="$wine_binary"
8231 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8233 case $host_os in
8234 cygwin*|mingw32*)
8235 if test -n "$ac_tool_prefix"; then
8236 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8237 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8239 $as_echo_n "checking for $ac_word... " >&6; }
8240 if ${ac_cv_prog_DLLTOOL+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 if test -n "$DLLTOOL"; then
8244 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8245 else
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 for as_dir in $PATH
8249 IFS=$as_save_IFS
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 break 2
8257 done
8258 done
8259 IFS=$as_save_IFS
8263 DLLTOOL=$ac_cv_prog_DLLTOOL
8264 if test -n "$DLLTOOL"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8266 $as_echo "$DLLTOOL" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8274 if test -z "$ac_cv_prog_DLLTOOL"; then
8275 ac_ct_DLLTOOL=$DLLTOOL
8276 # Extract the first word of "dlltool", so it can be a program name with args.
8277 set dummy dlltool; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 if test -n "$ac_ct_DLLTOOL"; then
8284 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8297 done
8298 done
8299 IFS=$as_save_IFS
8303 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8304 if test -n "$ac_ct_DLLTOOL"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8306 $as_echo "$ac_ct_DLLTOOL" >&6; }
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8312 if test "x$ac_ct_DLLTOOL" = x; then
8313 DLLTOOL="false"
8314 else
8315 case $cross_compiling:$ac_tool_warned in
8316 yes:)
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8319 ac_tool_warned=yes ;;
8320 esac
8321 DLLTOOL=$ac_ct_DLLTOOL
8323 else
8324 DLLTOOL="$ac_cv_prog_DLLTOOL"
8327 LIBEXT="dll"
8328 DLLEXT=""
8329 case $host_cpu in
8330 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8331 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8332 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 ac_wine_try_cflags_saved=$CFLAGS
8336 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8340 _ACEOF
8341 if ac_fn_c_try_link "$LINENO"; then :
8342 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8343 else
8344 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8346 rm -f core conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8351 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8352 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8353 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8354 fi ;;
8355 esac
8356 enable_iphlpapi=${enable_iphlpapi:-no}
8357 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8358 enable_ws2_32=${enable_ws2_32:-no}
8359 enable_loader=${enable_loader:-no}
8360 enable_server=${enable_server:-no}
8361 with_x=${with_x:-no}
8362 with_pthread=${with_pthread:-no}
8365 darwin*|macosx*)
8366 ac_ext=m
8367 ac_cpp='$OBJCPP $CPPFLAGS'
8368 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8369 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8370 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8372 ac_ext=m
8373 ac_cpp='$OBJCPP $CPPFLAGS'
8374 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8375 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8376 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8377 if test -n "$ac_tool_prefix"; then
8378 for ac_prog in gcc objcc objc cc CC
8380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if ${ac_cv_prog_OBJC+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 if test -n "$OBJC"; then
8388 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8389 else
8390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8391 for as_dir in $PATH
8393 IFS=$as_save_IFS
8394 test -z "$as_dir" && as_dir=.
8395 for ac_exec_ext in '' $ac_executable_extensions; do
8396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8397 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 break 2
8401 done
8402 done
8403 IFS=$as_save_IFS
8407 OBJC=$ac_cv_prog_OBJC
8408 if test -n "$OBJC"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8410 $as_echo "$OBJC" >&6; }
8411 else
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8417 test -n "$OBJC" && break
8418 done
8420 if test -z "$OBJC"; then
8421 ac_ct_OBJC=$OBJC
8422 for ac_prog in gcc objcc objc cc CC
8424 # Extract the first word of "$ac_prog", so it can be a program name with args.
8425 set dummy $ac_prog; ac_word=$2
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8427 $as_echo_n "checking for $ac_word... " >&6; }
8428 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 if test -n "$ac_ct_OBJC"; then
8432 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8433 else
8434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8435 for as_dir in $PATH
8437 IFS=$as_save_IFS
8438 test -z "$as_dir" && as_dir=.
8439 for ac_exec_ext in '' $ac_executable_extensions; do
8440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8441 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8443 break 2
8445 done
8446 done
8447 IFS=$as_save_IFS
8451 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8452 if test -n "$ac_ct_OBJC"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8454 $as_echo "$ac_ct_OBJC" >&6; }
8455 else
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8457 $as_echo "no" >&6; }
8461 test -n "$ac_ct_OBJC" && break
8462 done
8464 if test "x$ac_ct_OBJC" = x; then
8465 OBJC="gcc"
8466 else
8467 case $cross_compiling:$ac_tool_warned in
8468 yes:)
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8471 ac_tool_warned=yes ;;
8472 esac
8473 OBJC=$ac_ct_OBJC
8477 # Provide some information about the compiler.
8478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8479 set X $ac_compile
8480 ac_compiler=$2
8481 for ac_option in --version -v -V -qversion; do
8482 { { ac_try="$ac_compiler $ac_option >&5"
8483 case "(($ac_try" in
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8486 esac
8487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8488 $as_echo "$ac_try_echo"; } >&5
8489 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8490 ac_status=$?
8491 if test -s conftest.err; then
8492 sed '10a\
8493 ... rest of stderr output deleted ...
8494 10q' conftest.err >conftest.er1
8495 cat conftest.er1 >&5
8497 rm -f conftest.er1 conftest.err
8498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8499 test $ac_status = 0; }
8500 done
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8503 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8504 if ${ac_cv_objc_compiler_gnu+:} false; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 main ()
8513 #ifndef __GNUC__
8514 choke me
8515 #endif
8518 return 0;
8520 _ACEOF
8521 if ac_fn_objc_try_compile "$LINENO"; then :
8522 ac_compiler_gnu=yes
8523 else
8524 ac_compiler_gnu=no
8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8527 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8531 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8532 if test $ac_compiler_gnu = yes; then
8533 GOBJC=yes
8534 else
8535 GOBJC=
8537 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8538 ac_save_OBJCFLAGS=$OBJCFLAGS
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8540 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8541 if ${ac_cv_prog_objc_g+:} false; then :
8542 $as_echo_n "(cached) " >&6
8543 else
8544 ac_save_objc_werror_flag=$ac_objc_werror_flag
8545 ac_objc_werror_flag=yes
8546 ac_cv_prog_objc_g=no
8547 OBJCFLAGS="-g"
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8552 main ()
8556 return 0;
8558 _ACEOF
8559 if ac_fn_objc_try_compile "$LINENO"; then :
8560 ac_cv_prog_objc_g=yes
8561 else
8562 OBJCFLAGS=""
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8567 main ()
8571 return 0;
8573 _ACEOF
8574 if ac_fn_objc_try_compile "$LINENO"; then :
8576 else
8577 ac_objc_werror_flag=$ac_save_objc_werror_flag
8578 OBJCFLAGS="-g"
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8583 main ()
8587 return 0;
8589 _ACEOF
8590 if ac_fn_objc_try_compile "$LINENO"; then :
8591 ac_cv_prog_objc_g=yes
8593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8598 ac_objc_werror_flag=$ac_save_objc_werror_flag
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8601 $as_echo "$ac_cv_prog_objc_g" >&6; }
8602 if test "$ac_test_OBJCFLAGS" = set; then
8603 OBJCFLAGS=$ac_save_OBJCFLAGS
8604 elif test $ac_cv_prog_objc_g = yes; then
8605 if test "$GOBJC" = yes; then
8606 OBJCFLAGS="-g -O2"
8607 else
8608 OBJCFLAGS="-g"
8610 else
8611 if test "$GOBJC" = yes; then
8612 OBJCFLAGS="-O2"
8613 else
8614 OBJCFLAGS=
8617 ac_ext=m
8618 ac_cpp='$OBJCPP $CPPFLAGS'
8619 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8624 ac_ext=m
8625 ac_cpp='$OBJCPP $CPPFLAGS'
8626 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8627 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8628 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8630 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8631 if test -z "$OBJCPP"; then
8632 if ${ac_cv_prog_OBJCPP+:} false; then :
8633 $as_echo_n "(cached) " >&6
8634 else
8635 # Double quotes because OBJCPP needs to be expanded
8636 for OBJCPP in "$OBJC -E" "/lib/cpp"
8638 ac_preproc_ok=false
8639 for ac_objc_preproc_warn_flag in '' yes
8641 # Use a header file that comes with gcc, so configuring glibc
8642 # with a fresh cross-compiler works.
8643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8644 # <limits.h> exists even on freestanding compilers.
8645 # On the NeXT, cc -E runs the code through the compiler's parser,
8646 # not just through cpp. "Syntax error" is here to catch this case.
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 #ifdef __STDC__
8650 # include <limits.h>
8651 #else
8652 # include <assert.h>
8653 #endif
8654 Syntax error
8655 _ACEOF
8656 if ac_fn_objc_try_cpp "$LINENO"; then :
8658 else
8659 # Broken: fails on valid input.
8660 continue
8662 rm -f conftest.err conftest.i conftest.$ac_ext
8664 # OK, works on sane cases. Now check whether nonexistent headers
8665 # can be detected and how.
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 #include <ac_nonexistent.h>
8669 _ACEOF
8670 if ac_fn_objc_try_cpp "$LINENO"; then :
8671 # Broken: success on invalid input.
8672 continue
8673 else
8674 # Passes both tests.
8675 ac_preproc_ok=:
8676 break
8678 rm -f conftest.err conftest.i conftest.$ac_ext
8680 done
8681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8682 rm -f conftest.i conftest.err conftest.$ac_ext
8683 if $ac_preproc_ok; then :
8684 break
8687 done
8688 ac_cv_prog_OBJCPP=$OBJCPP
8691 OBJCPP=$ac_cv_prog_OBJCPP
8692 else
8693 ac_cv_prog_OBJCPP=$OBJCPP
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8696 $as_echo "$OBJCPP" >&6; }
8697 ac_preproc_ok=false
8698 for ac_objc_preproc_warn_flag in '' yes
8700 # Use a header file that comes with gcc, so configuring glibc
8701 # with a fresh cross-compiler works.
8702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8703 # <limits.h> exists even on freestanding compilers.
8704 # On the NeXT, cc -E runs the code through the compiler's parser,
8705 # not just through cpp. "Syntax error" is here to catch this case.
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 #ifdef __STDC__
8709 # include <limits.h>
8710 #else
8711 # include <assert.h>
8712 #endif
8713 Syntax error
8714 _ACEOF
8715 if ac_fn_objc_try_cpp "$LINENO"; then :
8717 else
8718 # Broken: fails on valid input.
8719 continue
8721 rm -f conftest.err conftest.i conftest.$ac_ext
8723 # OK, works on sane cases. Now check whether nonexistent headers
8724 # can be detected and how.
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 #include <ac_nonexistent.h>
8728 _ACEOF
8729 if ac_fn_objc_try_cpp "$LINENO"; then :
8730 # Broken: success on invalid input.
8731 continue
8732 else
8733 # Passes both tests.
8734 ac_preproc_ok=:
8735 break
8737 rm -f conftest.err conftest.i conftest.$ac_ext
8739 done
8740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8741 rm -f conftest.i conftest.err conftest.$ac_ext
8742 if $ac_preproc_ok; then :
8744 else
8745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8747 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8748 See \`config.log' for more details" "$LINENO" 5; }
8751 ac_ext=m
8752 ac_cpp='$OBJCPP $CPPFLAGS'
8753 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8754 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8755 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8758 for ac_header in Metal/Metal.h
8759 do :
8760 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8761 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8762 cat >>confdefs.h <<_ACEOF
8763 #define HAVE_METAL_METAL_H 1
8764 _ACEOF
8768 done
8770 ac_ext=c
8771 ac_cpp='$CPP $CPPFLAGS'
8772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8776 LIBEXT="dylib"
8777 DLLFLAGS="$DLLFLAGS -fPIC"
8778 LDDLLFLAGS="-fPIC"
8779 COREFOUNDATION_LIBS="-framework CoreFoundation"
8781 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8783 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8785 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8787 CORESERVICES_LIBS="-framework CoreServices"
8789 APPKIT_LIBS="-framework AppKit"
8791 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8794 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8796 wine_can_build_preloader=yes
8797 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"
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8800 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__Wl__no_new_main__e__main=yes
8811 else
8812 ac_cv_cflags__Wl__no_new_main__e__main=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8819 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8820 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8821 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8823 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8824 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8835 else
8836 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8843 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8844 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8845 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8846 else
8847 { $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
8848 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8849 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 ac_wine_try_cflags_saved=$CFLAGS
8853 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8856 int main(int argc, char **argv) { return 0; }
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8860 else
8861 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { $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
8868 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8869 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8870 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8871 else
8872 wine_can_build_preloader=no
8875 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8877 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8878 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 ac_wine_try_cflags_saved=$CFLAGS
8882 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8885 int main(int argc, char **argv) { return 0; }
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8889 else
8890 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 CFLAGS=$ac_wine_try_cflags_saved
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8897 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8898 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8899 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8900 else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8902 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8903 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8904 $as_echo_n "(cached) " >&6
8905 else
8906 ac_wine_try_cflags_saved=$CFLAGS
8907 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8910 int main(int argc, char **argv) { return 0; }
8911 _ACEOF
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8914 else
8915 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8917 rm -f core conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8919 CFLAGS=$ac_wine_try_cflags_saved
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8922 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8923 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8924 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8925 else
8926 wine_can_build_preloader=no
8930 if test "$wine_can_build_preloader" = "yes"
8931 then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8933 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8934 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 ac_wine_try_cflags_saved=$CFLAGS
8938 CFLAGS="$CFLAGS -Wl,-no_pie"
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8941 int main(int argc, char **argv) { return 0; }
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 ac_cv_cflags__Wl__no_pie=yes
8945 else
8946 ac_cv_cflags__Wl__no_pie=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 CFLAGS=$ac_wine_try_cflags_saved
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8953 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8954 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8955 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8957 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8958 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8959 else
8960 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8963 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8964 then
8965 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8968 if test "$ac_cv_header_Security_Security_h" = "yes"
8969 then
8970 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8972 ac_save_LIBS="$LIBS"
8973 LIBS="$LIBS $SECURITY_LIBS"
8974 for ac_func in SSLCopyPeerCertificates
8975 do :
8976 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8977 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8978 cat >>confdefs.h <<_ACEOF
8979 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8980 _ACEOF
8983 done
8985 LIBS="$ac_save_LIBS"
8987 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8988 then
8989 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8991 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8993 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8994 then
8995 OPENAL_LIBS="-framework OpenAL"
8998 cat >>confdefs.h <<_ACEOF
8999 #define HAVE_OPENAL 1
9000 _ACEOF
9002 ac_cv_lib_openal=yes
9004 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9005 then
9006 OPENCL_LIBS="-framework OpenCL"
9008 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9010 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9011 then
9012 ac_save_LIBS="$LIBS"
9013 LIBS="$LIBS $IOKIT_LIBS"
9014 for ac_func in IOHIDManagerCreate
9015 do :
9016 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9017 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9018 cat >>confdefs.h <<_ACEOF
9019 #define HAVE_IOHIDMANAGERCREATE 1
9020 _ACEOF
9023 done
9025 LIBS="$ac_save_LIBS"
9028 if test "x$with_quicktime" != "xno"
9029 then
9030 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9031 then
9032 ac_save_LIBS="$LIBS"
9033 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9035 $as_echo_n "checking for the QuickTime framework... " >&6; }
9036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9037 /* end confdefs.h. */
9038 #include <QuickTime/ImageCompression.h>
9040 main ()
9042 CodecManagerVersion(NULL);
9044 return 0;
9046 _ACEOF
9047 if ac_fn_c_try_link "$LINENO"; then :
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9049 $as_echo "yes" >&6; }
9050 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9052 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9053 else
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9056 ac_cv_header_QuickTime_ImageCompression_h=no
9058 rm -f core conftest.err conftest.$ac_objext \
9059 conftest$ac_exeext conftest.$ac_ext
9060 LIBS="$ac_save_LIBS"
9063 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9064 case "x$with_quicktime" in
9065 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9066 xno) ;;
9067 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9068 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9069 esac
9073 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9074 then
9075 CARBON_LIBS="-framework Carbon"
9078 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9079 then
9080 METAL_LIBS="-framework Metal -framework QuartzCore"
9084 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9085 then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9087 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9088 ac_ext=m
9089 ac_cpp='$OBJCPP $CPPFLAGS'
9090 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9091 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9092 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9096 #include <Metal/Metal.h>
9098 main ()
9100 id<MTLDevice> device; device.registryID;
9102 return 0;
9104 _ACEOF
9105 if ac_fn_objc_try_compile "$LINENO"; then :
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9107 $as_echo "yes" >&6; }
9109 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9111 else
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9113 $as_echo "no" >&6; }
9115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9116 ac_ext=c
9117 ac_cpp='$CPP $CPPFLAGS'
9118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9124 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9125 then
9126 ac_save_LIBS="$LIBS"
9127 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9128 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9129 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9130 enable_winemac_drv=${enable_winemac_drv:-yes}
9133 LIBS="$ac_save_LIBS"
9136 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9138 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9140 WINELOADER_DEPENDS="wine_info.plist"
9142 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9145 linux-android*)
9146 DLLFLAGS="$DLLFLAGS -fPIC"
9147 LDDLLFLAGS="-fPIC"
9148 LDEXECFLAGS="-Wl,-pie"
9149 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9151 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9152 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9153 $as_echo_n "(cached) " >&6
9154 else
9155 ac_wine_try_cflags_saved=$CFLAGS
9156 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9159 int main(int argc, char **argv) { return 0; }
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9163 else
9164 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 CFLAGS=$ac_wine_try_cflags_saved
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9171 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9172 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9173 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9175 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9178 $as_echo_n "checking for -lEGL... " >&6; }
9179 if ${ac_cv_lib_soname_EGL+:} false; then :
9180 $as_echo_n "(cached) " >&6
9181 else
9182 ac_check_soname_save_LIBS=$LIBS
9183 LIBS="-lEGL $LIBS"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char eglGetProcAddress ();
9195 main ()
9197 return eglGetProcAddress ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 case "$LIBEXT" in
9204 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9205 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'` ;;
9206 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9209 fi ;;
9210 esac
9211 else
9212 ac_cv_lib_soname_EGL=
9214 rm -f core conftest.err conftest.$ac_objext \
9215 conftest$ac_exeext conftest.$ac_ext
9216 LIBS=$ac_check_soname_save_LIBS
9218 if ${ac_cv_lib_soname_EGL:+false} :; then :
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9220 $as_echo "not found" >&6; }
9222 else
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9224 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9226 cat >>confdefs.h <<_ACEOF
9227 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9228 _ACEOF
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9233 $as_echo_n "checking for -lGLESv2... " >&6; }
9234 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_check_soname_save_LIBS=$LIBS
9238 LIBS="-lGLESv2 $LIBS"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9245 #ifdef __cplusplus
9246 extern "C"
9247 #endif
9248 char glFlush ();
9250 main ()
9252 return glFlush ();
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9258 case "$LIBEXT" in
9259 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9260 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'` ;;
9261 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9264 fi ;;
9265 esac
9266 else
9267 ac_cv_lib_soname_GLESv2=
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 LIBS=$ac_check_soname_save_LIBS
9273 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9275 $as_echo "not found" >&6; }
9277 else
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9279 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9281 cat >>confdefs.h <<_ACEOF
9282 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9283 _ACEOF
9288 if test "x$exec_prefix" = xNONE
9289 then
9290 case $host_cpu in
9291 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9292 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9293 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9294 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9295 esac
9300 case $host_cpu in
9301 *i[3456789]86*)
9302 DLLFLAGS="$DLLFLAGS -fno-PIC"
9303 LDDLLFLAGS="-fno-PIC"
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9305 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9306 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_wine_try_cflags_saved=$CFLAGS
9310 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 int main(int argc, char **argv) { return 0; }
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9317 else
9318 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 CFLAGS=$ac_wine_try_cflags_saved
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9325 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9326 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9327 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9331 DLLFLAGS="$DLLFLAGS -fPIC"
9332 LDDLLFLAGS="-fPIC" ;;
9333 esac
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9335 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9336 if ${ac_cv_c_dll_gnuelf+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_wine_try_cflags_saved=$CFLAGS
9340 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9343 void myfunc() {}
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9347 else
9348 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 CFLAGS=$ac_wine_try_cflags_saved
9353 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9354 ac_cv_c_dll_gnuelf="yes"
9355 else
9356 ac_cv_c_dll_gnuelf="no"
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9360 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9361 if test "$ac_cv_c_dll_gnuelf" = "yes"
9362 then
9363 LIBWINE_LDFLAGS="-shared"
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9388 else
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9390 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9391 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_wine_try_cflags_saved=$CFLAGS
9395 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9398 int main(int argc, char **argv) { return 0; }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9402 else
9403 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 CFLAGS=$ac_wine_try_cflags_saved
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9410 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9411 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9412 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9416 echo '{ global: *; };' >conftest.map
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9418 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9419 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_wine_try_cflags_saved=$CFLAGS
9423 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9426 int main(int argc, char **argv) { return 0; }
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9430 else
9431 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 CFLAGS=$ac_wine_try_cflags_saved
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9438 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9439 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9440 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9442 rm -f conftest.map
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9445 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9446 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_wine_try_cflags_saved=$CFLAGS
9450 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9453 int main(int argc, char **argv) { return 0; }
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_cflags__Wl___export_dynamic=yes
9457 else
9458 ac_cv_cflags__Wl___export_dynamic=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 CFLAGS=$ac_wine_try_cflags_saved
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9465 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9466 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9467 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9469 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9471 case $host_cpu in
9472 *i[3456789]86* | x86_64 | *aarch64*)
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9474 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9475 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 ac_wine_try_cflags_saved=$CFLAGS
9479 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9482 int main(int argc, char **argv) { return 0; }
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9486 else
9487 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 CFLAGS=$ac_wine_try_cflags_saved
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9494 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9495 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9496 case $host_os in
9497 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9498 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9499 esac
9500 else
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9502 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9503 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_wine_try_cflags_saved=$CFLAGS
9507 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9510 int main(int argc, char **argv) { return 0; }
9511 _ACEOF
9512 if ac_fn_c_try_link "$LINENO"; then :
9513 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9514 else
9515 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 CFLAGS=$ac_wine_try_cflags_saved
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9522 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9523 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9524 case $host_os in
9525 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9526 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9527 esac
9529 # Extract the first word of "prelink", so it can be a program name with args.
9530 set dummy prelink; ac_word=$2
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9532 $as_echo_n "checking for $ac_word... " >&6; }
9533 if ${ac_cv_path_PRELINK+:} false; then :
9534 $as_echo_n "(cached) " >&6
9535 else
9536 case $PRELINK in
9537 [\\/]* | ?:[\\/]*)
9538 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9542 for as_dir in /sbin /usr/sbin $PATH
9544 IFS=$as_save_IFS
9545 test -z "$as_dir" && as_dir=.
9546 for ac_exec_ext in '' $ac_executable_extensions; do
9547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9548 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9550 break 2
9552 done
9553 done
9554 IFS=$as_save_IFS
9556 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9558 esac
9560 PRELINK=$ac_cv_path_PRELINK
9561 if test -n "$PRELINK"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9563 $as_echo "$PRELINK" >&6; }
9564 else
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566 $as_echo "no" >&6; }
9570 if test "x$PRELINK" = xfalse
9571 then
9572 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9576 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9577 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 ac_wine_try_cflags_saved=$CFLAGS
9581 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9584 int main(int argc, char **argv) { return 0; }
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9588 else
9589 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 CFLAGS=$ac_wine_try_cflags_saved
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9596 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9597 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9598 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9601 esac
9603 else
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9605 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9606 if ${ac_cv_c_dll_unixware+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608 else
9609 ac_wine_try_cflags_saved=$CFLAGS
9610 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9613 void myfunc() {}
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9617 else
9618 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 CFLAGS=$ac_wine_try_cflags_saved
9623 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9624 ac_cv_c_dll_unixware="yes"
9625 else
9626 ac_cv_c_dll_unixware="no"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9630 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9631 if test "$ac_cv_c_dll_unixware" = "yes"
9632 then
9633 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9636 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9638 LIBWINE_DEPENDS="wine.map"
9640 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9642 esac
9644 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9645 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9646 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9647 enable_winemac_drv=${enable_winemac_drv:-no}
9648 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9651 if test "x$with_mingw" != xno
9652 then
9653 case "x$with_mingw" in
9654 x|xyes) case "$host_cpu" in
9655 aarch64*)
9656 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9657 arm*)
9658 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9659 i[3456789]86*)
9660 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
9661 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9662 mingw32-gcc clang" ;;
9663 x86_64)
9664 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
9665 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9667 ac_prefix_list="" ;;
9668 esac
9669 for ac_prog in $ac_prefix_list
9671 # Extract the first word of "$ac_prog", so it can be a program name with args.
9672 set dummy $ac_prog; ac_word=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9674 $as_echo_n "checking for $ac_word... " >&6; }
9675 if ${ac_cv_prog_CROSSCC+:} false; then :
9676 $as_echo_n "(cached) " >&6
9677 else
9678 if test -n "$CROSSCC"; then
9679 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9680 else
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9682 for as_dir in $PATH
9684 IFS=$as_save_IFS
9685 test -z "$as_dir" && as_dir=.
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9688 ac_cv_prog_CROSSCC="$ac_prog"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9690 break 2
9692 done
9693 done
9694 IFS=$as_save_IFS
9698 CROSSCC=$ac_cv_prog_CROSSCC
9699 if test -n "$CROSSCC"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9701 $as_echo "$CROSSCC" >&6; }
9702 else
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 $as_echo "no" >&6; }
9708 test -n "$CROSSCC" && break
9709 done
9710 test -n "$CROSSCC" || CROSSCC="false"
9712 *) CROSSCC=$with_mingw ;;
9713 esac
9714 if test "$CROSSCC" != "false"
9715 then
9716 ac_save_CC="$CC"
9717 saved_CFLAGS=$CFLAGS
9718 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9720 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9724 CC="$CROSSCC"
9725 CFLAGS=$CROSSCFLAGS
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9727 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9728 if ${wine_cv_crosscc+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9735 main ()
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_compile "$LINENO"; then :
9743 wine_cv_crosscc=yes
9744 else
9745 wine_cv_crosscc=no
9747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9750 $as_echo "$wine_cv_crosscc" >&6; }
9751 if test $wine_cv_crosscc = yes
9752 then
9753 set x $CROSSCC
9754 shift
9755 while test $# -ge 1
9757 case "$1" in
9758 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9759 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9760 esac
9761 shift
9762 done
9764 llvm_target=$CROSSTARGET
9765 llvm_cflags="-fuse-ld=lld"
9766 if test -z "$llvm_target"
9767 then
9768 case $host_cpu in
9769 *i[3456789]86*) llvm_target=i686-windows ;;
9770 *) llvm_target=$host_cpu-windows ;;
9771 esac
9773 case $llvm_target in
9774 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9775 esac
9776 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9778 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9779 if eval \${$as_ac_var+:} false; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 ac_wine_try_cflags_saved=$CFLAGS
9783 ac_wine_try_cflags_saved_cc=$CC
9784 ac_wine_try_cflags_saved_exeext=$ac_exeext
9785 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9786 CC="$CROSSCC"
9787 ac_exeext=".exe"
9788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789 /* end confdefs.h. */
9790 int __cdecl mainCRTStartup(void) { return 0; }
9791 _ACEOF
9792 if ac_fn_c_try_link "$LINENO"; then :
9793 eval "$as_ac_var=yes"
9794 else
9795 eval "$as_ac_var=no"
9797 rm -f core conftest.err conftest.$ac_objext \
9798 conftest$ac_exeext conftest.$ac_ext
9799 CFLAGS=$ac_wine_try_cflags_saved
9800 CC=$ac_wine_try_cflags_saved_cc
9801 ac_exeext=$ac_wine_try_cflags_saved_exeext
9803 eval ac_res=\$$as_ac_var
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9805 $as_echo "$ac_res" >&6; }
9806 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9807 CROSSTARGET=$llvm_target
9808 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9809 DELAYLOADFLAG="-Wl,-delayload,"
9811 CFLAGS="$CFLAGS $llvm_cflags"
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9815 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9816 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9817 $as_echo_n "(cached) " >&6
9818 else
9819 ac_wine_try_cflags_saved=$CFLAGS
9820 ac_wine_try_cflags_saved_cc=$CC
9821 ac_wine_try_cflags_saved_exeext=$ac_exeext
9822 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9823 CC="$CROSSCC"
9824 ac_exeext=".exe"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9827 int __cdecl mainCRTStartup(void) { return 0; }
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_crosscflags__fno_strict_aliasing=yes
9831 else
9832 ac_cv_crosscflags__fno_strict_aliasing=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 CFLAGS=$ac_wine_try_cflags_saved
9837 CC=$ac_wine_try_cflags_saved_cc
9838 ac_exeext=$ac_wine_try_cflags_saved_exeext
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9841 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9842 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9843 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9846 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9847 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_wine_try_cflags_saved=$CFLAGS
9851 ac_wine_try_cflags_saved_cc=$CC
9852 ac_wine_try_cflags_saved_exeext=$ac_exeext
9853 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9854 CC="$CROSSCC"
9855 ac_exeext=".exe"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 int __cdecl mainCRTStartup(void) { return 0; }
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9862 else
9863 ac_cv_crosscflags__Werror_unknown_warning_option=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 CFLAGS=$ac_wine_try_cflags_saved
9868 CC=$ac_wine_try_cflags_saved_cc
9869 ac_exeext=$ac_wine_try_cflags_saved_exeext
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9872 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9873 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9874 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9877 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9878 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 ac_wine_try_cflags_saved_cc=$CC
9883 ac_wine_try_cflags_saved_exeext=$ac_exeext
9884 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9885 CC="$CROSSCC"
9886 ac_exeext=".exe"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 int __cdecl mainCRTStartup(void) { return 0; }
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"; then :
9892 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9893 else
9894 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 CFLAGS=$ac_wine_try_cflags_saved
9899 CC=$ac_wine_try_cflags_saved_cc
9900 ac_exeext=$ac_wine_try_cflags_saved_exeext
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9903 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9904 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9905 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9908 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9909 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_wine_try_cflags_saved=$CFLAGS
9913 ac_wine_try_cflags_saved_cc=$CC
9914 ac_wine_try_cflags_saved_exeext=$ac_exeext
9915 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9916 CC="$CROSSCC"
9917 ac_exeext=".exe"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 int __cdecl mainCRTStartup(void) { return 0; }
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9924 else
9925 ac_cv_crosscflags__Wdeclaration_after_statement=no
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9930 CC=$ac_wine_try_cflags_saved_cc
9931 ac_exeext=$ac_wine_try_cflags_saved_exeext
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9934 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9935 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9936 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9939 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9940 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_wine_try_cflags_saved=$CFLAGS
9944 ac_wine_try_cflags_saved_cc=$CC
9945 ac_wine_try_cflags_saved_exeext=$ac_exeext
9946 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9947 CC="$CROSSCC"
9948 ac_exeext=".exe"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int __cdecl mainCRTStartup(void) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_crosscflags__Wempty_body=yes
9955 else
9956 ac_cv_crosscflags__Wempty_body=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9961 CC=$ac_wine_try_cflags_saved_cc
9962 ac_exeext=$ac_wine_try_cflags_saved_exeext
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9965 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9966 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9967 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9970 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9971 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 ac_wine_try_cflags_saved_cc=$CC
9976 ac_wine_try_cflags_saved_exeext=$ac_exeext
9977 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9978 CC="$CROSSCC"
9979 ac_exeext=".exe"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int __cdecl mainCRTStartup(void) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 ac_cv_crosscflags__Wignored_qualifiers=yes
9986 else
9987 ac_cv_crosscflags__Wignored_qualifiers=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9992 CC=$ac_wine_try_cflags_saved_cc
9993 ac_exeext=$ac_wine_try_cflags_saved_exeext
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9996 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9997 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9998 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10001 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10002 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_wine_try_cflags_saved=$CFLAGS
10006 ac_wine_try_cflags_saved_cc=$CC
10007 ac_wine_try_cflags_saved_exeext=$ac_exeext
10008 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10009 CC="$CROSSCC"
10010 ac_exeext=".exe"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 int __cdecl mainCRTStartup(void) { return 0; }
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_crosscflags__Winit_self=yes
10017 else
10018 ac_cv_crosscflags__Winit_self=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 CFLAGS=$ac_wine_try_cflags_saved
10023 CC=$ac_wine_try_cflags_saved_cc
10024 ac_exeext=$ac_wine_try_cflags_saved_exeext
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10027 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10028 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10029 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10032 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10033 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_wine_try_cflags_saved=$CFLAGS
10037 ac_wine_try_cflags_saved_cc=$CC
10038 ac_wine_try_cflags_saved_exeext=$ac_exeext
10039 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10040 CC="$CROSSCC"
10041 ac_exeext=".exe"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 int __cdecl mainCRTStartup(void) { return 0; }
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_crosscflags__Wpacked_not_aligned=yes
10048 else
10049 ac_cv_crosscflags__Wpacked_not_aligned=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10054 CC=$ac_wine_try_cflags_saved_cc
10055 ac_exeext=$ac_wine_try_cflags_saved_exeext
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10058 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10059 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10060 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10063 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10064 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_wine_try_cflags_saved=$CFLAGS
10068 ac_wine_try_cflags_saved_cc=$CC
10069 ac_wine_try_cflags_saved_exeext=$ac_exeext
10070 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10071 CC="$CROSSCC"
10072 ac_exeext=".exe"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int __cdecl mainCRTStartup(void) { return 0; }
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 ac_cv_crosscflags__Wpragma_pack=yes
10079 else
10080 ac_cv_crosscflags__Wpragma_pack=no
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10085 CC=$ac_wine_try_cflags_saved_cc
10086 ac_exeext=$ac_wine_try_cflags_saved_exeext
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10089 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10090 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10091 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10094 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10095 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 ac_wine_try_cflags_saved_cc=$CC
10100 ac_wine_try_cflags_saved_exeext=$ac_exeext
10101 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10102 CC="$CROSSCC"
10103 ac_exeext=".exe"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 int __cdecl mainCRTStartup(void) { return 0; }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_crosscflags__Wshift_overflow_2=yes
10110 else
10111 ac_cv_crosscflags__Wshift_overflow_2=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 CFLAGS=$ac_wine_try_cflags_saved
10116 CC=$ac_wine_try_cflags_saved_cc
10117 ac_exeext=$ac_wine_try_cflags_saved_exeext
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10120 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10121 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10122 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10125 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10126 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 ac_wine_try_cflags_saved_cc=$CC
10131 ac_wine_try_cflags_saved_exeext=$ac_exeext
10132 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10133 CC="$CROSSCC"
10134 ac_exeext=".exe"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int __cdecl mainCRTStartup(void) { return 0; }
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 ac_cv_crosscflags__Wstrict_prototypes=yes
10141 else
10142 ac_cv_crosscflags__Wstrict_prototypes=no
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10147 CC=$ac_wine_try_cflags_saved_cc
10148 ac_exeext=$ac_wine_try_cflags_saved_exeext
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10151 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10152 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10156 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10157 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 ac_wine_try_cflags_saved_cc=$CC
10162 ac_wine_try_cflags_saved_exeext=$ac_exeext
10163 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10164 CC="$CROSSCC"
10165 ac_exeext=".exe"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int __cdecl mainCRTStartup(void) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_crosscflags__Wtype_limits=yes
10172 else
10173 ac_cv_crosscflags__Wtype_limits=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 CFLAGS=$ac_wine_try_cflags_saved
10178 CC=$ac_wine_try_cflags_saved_cc
10179 ac_exeext=$ac_wine_try_cflags_saved_exeext
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10182 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10183 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10187 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10188 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 ac_wine_try_cflags_saved_cc=$CC
10193 ac_wine_try_cflags_saved_exeext=$ac_exeext
10194 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10195 CC="$CROSSCC"
10196 ac_exeext=".exe"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10199 int __cdecl mainCRTStartup(void) { return 0; }
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10203 else
10204 ac_cv_crosscflags__Wunused_but_set_parameter=no
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10209 CC=$ac_wine_try_cflags_saved_cc
10210 ac_exeext=$ac_wine_try_cflags_saved_exeext
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10213 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10214 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10218 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10219 if ${ac_cv_crosscflags__Wvla+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 ac_wine_try_cflags_saved_cc=$CC
10224 ac_wine_try_cflags_saved_exeext=$ac_exeext
10225 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10226 CC="$CROSSCC"
10227 ac_exeext=".exe"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int __cdecl mainCRTStartup(void) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_crosscflags__Wvla=yes
10234 else
10235 ac_cv_crosscflags__Wvla=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS=$ac_wine_try_cflags_saved
10240 CC=$ac_wine_try_cflags_saved_cc
10241 ac_exeext=$ac_wine_try_cflags_saved_exeext
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10244 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10245 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10249 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10250 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10251 $as_echo_n "(cached) " >&6
10252 else
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 ac_wine_try_cflags_saved_cc=$CC
10255 ac_wine_try_cflags_saved_exeext=$ac_exeext
10256 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10257 CC="$CROSSCC"
10258 ac_exeext=".exe"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10261 int __cdecl mainCRTStartup(void) { return 0; }
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 ac_cv_crosscflags__Wwrite_strings=yes
10265 else
10266 ac_cv_crosscflags__Wwrite_strings=no
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 CFLAGS=$ac_wine_try_cflags_saved
10271 CC=$ac_wine_try_cflags_saved_cc
10272 ac_exeext=$ac_wine_try_cflags_saved_exeext
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10275 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10276 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10277 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10280 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10281 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10282 $as_echo_n "(cached) " >&6
10283 else
10284 ac_wine_try_cflags_saved=$CFLAGS
10285 ac_wine_try_cflags_saved_cc=$CC
10286 ac_wine_try_cflags_saved_exeext=$ac_exeext
10287 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10288 CC="$CROSSCC"
10289 ac_exeext=".exe"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10292 int __cdecl mainCRTStartup(void) { return 0; }
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 ac_cv_crosscflags__Wpointer_arith=yes
10296 else
10297 ac_cv_crosscflags__Wpointer_arith=no
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 CFLAGS=$ac_wine_try_cflags_saved
10302 CC=$ac_wine_try_cflags_saved_cc
10303 ac_exeext=$ac_wine_try_cflags_saved_exeext
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10306 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10307 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10308 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10311 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10312 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_wine_try_cflags_saved=$CFLAGS
10316 ac_wine_try_cflags_saved_cc=$CC
10317 ac_wine_try_cflags_saved_exeext=$ac_exeext
10318 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10319 CC="$CROSSCC"
10320 ac_exeext=".exe"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int __cdecl mainCRTStartup(void) { return 0; }
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_crosscflags__Wlogical_op=yes
10327 else
10328 ac_cv_crosscflags__Wlogical_op=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 CFLAGS=$ac_wine_try_cflags_saved
10333 CC=$ac_wine_try_cflags_saved_cc
10334 ac_exeext=$ac_wine_try_cflags_saved_exeext
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10337 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10338 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10339 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10342 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10343 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_wine_try_cflags_saved=$CFLAGS
10347 ac_wine_try_cflags_saved_cc=$CC
10348 ac_wine_try_cflags_saved_exeext=$ac_exeext
10349 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10350 CC="$CROSSCC"
10351 ac_exeext=".exe"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 int __cdecl mainCRTStartup(void) { return 0; }
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_crosscflags__Wabsolute_value=yes
10358 else
10359 ac_cv_crosscflags__Wabsolute_value=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 CFLAGS=$ac_wine_try_cflags_saved
10364 CC=$ac_wine_try_cflags_saved_cc
10365 ac_exeext=$ac_wine_try_cflags_saved_exeext
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10368 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10369 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10370 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10373 case $host_cpu in
10374 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10375 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10376 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10377 $as_echo_n "(cached) " >&6
10378 else
10379 ac_wine_try_cflags_saved=$CFLAGS
10380 ac_wine_try_cflags_saved_cc=$CC
10381 ac_wine_try_cflags_saved_exeext=$ac_exeext
10382 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10383 CC="$CROSSCC"
10384 ac_exeext=".exe"
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 int __cdecl mainCRTStartup(void) { return 0; }
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10391 else
10392 ac_cv_crosscflags__fno_omit_frame_pointer=no
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 CFLAGS=$ac_wine_try_cflags_saved
10397 CC=$ac_wine_try_cflags_saved_cc
10398 ac_exeext=$ac_wine_try_cflags_saved_exeext
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10401 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10402 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10403 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10404 fi ;;
10405 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10406 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10407 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_wine_try_cflags_saved=$CFLAGS
10411 ac_wine_try_cflags_saved_cc=$CC
10412 ac_wine_try_cflags_saved_exeext=$ac_exeext
10413 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10414 CC="$CROSSCC"
10415 ac_exeext=".exe"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 int __cdecl mainCRTStartup(void) { return 0; }
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 ac_cv_crosscflags__Wno_format=yes
10422 else
10423 ac_cv_crosscflags__Wno_format=no
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 CFLAGS=$ac_wine_try_cflags_saved
10428 CC=$ac_wine_try_cflags_saved_cc
10429 ac_exeext=$ac_wine_try_cflags_saved_exeext
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10432 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10433 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10434 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10437 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10438 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10439 $as_echo_n "(cached) " >&6
10440 else
10441 ac_wine_try_cflags_saved=$CFLAGS
10442 ac_wine_try_cflags_saved_cc=$CC
10443 ac_wine_try_cflags_saved_exeext=$ac_exeext
10444 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10445 CC="$CROSSCC"
10446 ac_exeext=".exe"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10449 int __cdecl mainCRTStartup(void) { return 0; }
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"; then :
10452 ac_cv_crosscflags__Wformat_overflow=yes
10453 else
10454 ac_cv_crosscflags__Wformat_overflow=no
10456 rm -f core conftest.err conftest.$ac_objext \
10457 conftest$ac_exeext conftest.$ac_ext
10458 CFLAGS=$ac_wine_try_cflags_saved
10459 CC=$ac_wine_try_cflags_saved_cc
10460 ac_exeext=$ac_wine_try_cflags_saved_exeext
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10463 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10464 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10465 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10468 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10469 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_wine_try_cflags_saved=$CFLAGS
10473 ac_wine_try_cflags_saved_cc=$CC
10474 ac_wine_try_cflags_saved_exeext=$ac_exeext
10475 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10476 CC="$CROSSCC"
10477 ac_exeext=".exe"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int __cdecl mainCRTStartup(void) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10483 ac_cv_crosscflags__Wnonnull=yes
10484 else
10485 ac_cv_crosscflags__Wnonnull=no
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 CFLAGS=$ac_wine_try_cflags_saved
10490 CC=$ac_wine_try_cflags_saved_cc
10491 ac_exeext=$ac_wine_try_cflags_saved_exeext
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10494 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10495 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10496 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10499 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10500 if ${ac_cv_crosscflags__mcx16+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_wine_try_cflags_saved=$CFLAGS
10504 ac_wine_try_cflags_saved_cc=$CC
10505 ac_wine_try_cflags_saved_exeext=$ac_exeext
10506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10507 CC="$CROSSCC"
10508 ac_exeext=".exe"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 int __cdecl mainCRTStartup(void) { return 0; }
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 ac_cv_crosscflags__mcx16=yes
10515 else
10516 ac_cv_crosscflags__mcx16=no
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10521 CC=$ac_wine_try_cflags_saved_cc
10522 ac_exeext=$ac_wine_try_cflags_saved_exeext
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10525 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10526 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10528 fi ;;
10529 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10530 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10531 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_wine_try_cflags_saved=$CFLAGS
10535 ac_wine_try_cflags_saved_cc=$CC
10536 ac_wine_try_cflags_saved_exeext=$ac_exeext
10537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10538 CC="$CROSSCC"
10539 ac_exeext=".exe"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 int __cdecl mainCRTStartup(void) { return 0; }
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_crosscflags__Wno_format=yes
10546 else
10547 ac_cv_crosscflags__Wno_format=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 CFLAGS=$ac_wine_try_cflags_saved
10552 CC=$ac_wine_try_cflags_saved_cc
10553 ac_exeext=$ac_wine_try_cflags_saved_exeext
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10556 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10557 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10558 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10559 fi ;;
10560 esac
10563 if test -z "$CROSSDEBUG"
10564 then
10565 for ac_flag in $CROSSCFLAGS; do
10566 case $ac_flag in
10567 -gdwarf*) CROSSDEBUG=dwarf ;;
10568 -gcodeview) CROSSDEBUG=pdb ;;
10569 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10570 esac
10571 done
10573 case $CROSSDEBUG in
10574 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10575 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10576 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10577 $as_echo_n "(cached) " >&6
10578 else
10579 ac_wine_try_cflags_saved=$CFLAGS
10580 ac_wine_try_cflags_saved_cc=$CC
10581 ac_wine_try_cflags_saved_exeext=$ac_exeext
10582 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10583 CC="$CROSSCC"
10584 ac_exeext=".exe"
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10587 int __cdecl mainCRTStartup(void) { return 0; }
10588 _ACEOF
10589 if ac_fn_c_try_link "$LINENO"; then :
10590 ac_cv_crosscflags__gdwarf_2=yes
10591 else
10592 ac_cv_crosscflags__gdwarf_2=no
10594 rm -f core conftest.err conftest.$ac_objext \
10595 conftest$ac_exeext conftest.$ac_ext
10596 CFLAGS=$ac_wine_try_cflags_saved
10597 CC=$ac_wine_try_cflags_saved_cc
10598 ac_exeext=$ac_wine_try_cflags_saved_exeext
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10601 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10602 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10603 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10606 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10607 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10608 $as_echo_n "(cached) " >&6
10609 else
10610 ac_wine_try_cflags_saved=$CFLAGS
10611 ac_wine_try_cflags_saved_cc=$CC
10612 ac_wine_try_cflags_saved_exeext=$ac_exeext
10613 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10614 CC="$CROSSCC"
10615 ac_exeext=".exe"
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10618 int __cdecl mainCRTStartup(void) { return 0; }
10619 _ACEOF
10620 if ac_fn_c_try_link "$LINENO"; then :
10621 ac_cv_crosscflags__gstrict_dwarf=yes
10622 else
10623 ac_cv_crosscflags__gstrict_dwarf=no
10625 rm -f core conftest.err conftest.$ac_objext \
10626 conftest$ac_exeext conftest.$ac_ext
10627 CFLAGS=$ac_wine_try_cflags_saved
10628 CC=$ac_wine_try_cflags_saved_cc
10629 ac_exeext=$ac_wine_try_cflags_saved_exeext
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10632 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10633 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10634 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10635 fi ;;
10636 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10637 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10638 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10639 $as_echo_n "(cached) " >&6
10640 else
10641 ac_wine_try_cflags_saved=$CFLAGS
10642 ac_wine_try_cflags_saved_cc=$CC
10643 ac_wine_try_cflags_saved_exeext=$ac_exeext
10644 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10645 CC="$CROSSCC"
10646 ac_exeext=".exe"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10649 int __cdecl mainCRTStartup(void) { return 0; }
10650 _ACEOF
10651 if ac_fn_c_try_link "$LINENO"; then :
10652 ac_cv_crosscflags__gcodeview=yes
10653 else
10654 ac_cv_crosscflags__gcodeview=no
10656 rm -f core conftest.err conftest.$ac_objext \
10657 conftest$ac_exeext conftest.$ac_ext
10658 CFLAGS=$ac_wine_try_cflags_saved
10659 CC=$ac_wine_try_cflags_saved_cc
10660 ac_exeext=$ac_wine_try_cflags_saved_exeext
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10663 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10664 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10665 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10666 fi ;;
10667 esac
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10670 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10671 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10672 $as_echo_n "(cached) " >&6
10673 else
10674 ac_wine_try_cflags_saved=$CFLAGS
10675 ac_wine_try_cflags_saved_cc=$CC
10676 ac_wine_try_cflags_saved_exeext=$ac_exeext
10677 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10678 CC="$CROSSCC"
10679 ac_exeext=".exe"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10682 int __cdecl mainCRTStartup(void) { return 0; }
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 ac_cv_crosscflags__fexcess_precision_standard=yes
10686 else
10687 ac_cv_crosscflags__fexcess_precision_standard=no
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 CFLAGS=$ac_wine_try_cflags_saved
10692 CC=$ac_wine_try_cflags_saved_cc
10693 ac_exeext=$ac_wine_try_cflags_saved_exeext
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10696 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10697 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10698 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10702 if test "x$enable_werror" = "xyes"
10703 then
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10705 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10706 if ${ac_cv_crosscflags__Werror+:} false; then :
10707 $as_echo_n "(cached) " >&6
10708 else
10709 ac_wine_try_cflags_saved=$CFLAGS
10710 ac_wine_try_cflags_saved_cc=$CC
10711 ac_wine_try_cflags_saved_exeext=$ac_exeext
10712 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10713 CC="$CROSSCC"
10714 ac_exeext=".exe"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 int __cdecl mainCRTStartup(void) { return 0; }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 ac_cv_crosscflags__Werror=yes
10721 else
10722 ac_cv_crosscflags__Werror=no
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 CFLAGS=$ac_wine_try_cflags_saved
10727 CC=$ac_wine_try_cflags_saved_cc
10728 ac_exeext=$ac_wine_try_cflags_saved_exeext
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10731 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10732 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10733 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10736 if test "x$enable_build_id" = "xyes"
10737 then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10739 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10740 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10741 $as_echo_n "(cached) " >&6
10742 else
10743 ac_wine_try_cflags_saved=$CFLAGS
10744 ac_wine_try_cflags_saved_cc=$CC
10745 ac_wine_try_cflags_saved_exeext=$ac_exeext
10746 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10747 CC="$CROSSCC"
10748 ac_exeext=".exe"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10751 int __cdecl mainCRTStartup(void) { return 0; }
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754 ac_cv_crosscflags__Wl___build_id=yes
10755 else
10756 ac_cv_crosscflags__Wl___build_id=no
10758 rm -f core conftest.err conftest.$ac_objext \
10759 conftest$ac_exeext conftest.$ac_ext
10760 CFLAGS=$ac_wine_try_cflags_saved
10761 CC=$ac_wine_try_cflags_saved_cc
10762 ac_exeext=$ac_wine_try_cflags_saved_exeext
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10765 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10766 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10767 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10768 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10772 CFLAGS=$saved_CFLAGS
10773 CC="$ac_save_CC"
10776 if test "x$CROSSTARGET" = "x"; then :
10777 case "x$with_mingw" in
10778 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10779 xno) ;;
10780 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10781 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10782 esac
10787 if test "$ac_cv_header_pthread_h" = "yes"
10788 then
10789 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10790 if test "x$ac_cv_func_pthread_create" = xyes; then :
10792 else
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10794 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10795 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 ac_check_lib_save_LIBS=$LIBS
10799 LIBS="-lpthread $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char pthread_create ();
10811 main ()
10813 return pthread_create ();
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 ac_cv_lib_pthread_pthread_create=yes
10820 else
10821 ac_cv_lib_pthread_pthread_create=no
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10828 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10829 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10830 PTHREAD_LIBS="-lpthread"
10837 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10838 case "x$with_pthread" in
10839 xno) ;;
10840 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10841 Wine cannot support threads without libpthread.
10842 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10843 esac
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10849 $as_echo_n "checking for X... " >&6; }
10852 # Check whether --with-x was given.
10853 if test "${with_x+set}" = set; then :
10854 withval=$with_x;
10857 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10858 if test "x$with_x" = xno; then
10859 # The user explicitly disabled X.
10860 have_x=disabled
10861 else
10862 case $x_includes,$x_libraries in #(
10863 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10864 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10865 $as_echo_n "(cached) " >&6
10866 else
10867 # One or both of the vars are not set, and there is no cached value.
10868 ac_x_includes=no ac_x_libraries=no
10869 rm -f -r conftest.dir
10870 if mkdir conftest.dir; then
10871 cd conftest.dir
10872 cat >Imakefile <<'_ACEOF'
10873 incroot:
10874 @echo incroot='${INCROOT}'
10875 usrlibdir:
10876 @echo usrlibdir='${USRLIBDIR}'
10877 libdir:
10878 @echo libdir='${LIBDIR}'
10879 _ACEOF
10880 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10881 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10882 for ac_var in incroot usrlibdir libdir; do
10883 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10884 done
10885 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10886 for ac_extension in a so sl dylib la dll; do
10887 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10888 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10889 ac_im_usrlibdir=$ac_im_libdir; break
10891 done
10892 # Screen out bogus values from the imake configuration. They are
10893 # bogus both because they are the default anyway, and because
10894 # using them would break gcc on systems where it needs fixed includes.
10895 case $ac_im_incroot in
10896 /usr/include) ac_x_includes= ;;
10897 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10898 esac
10899 case $ac_im_usrlibdir in
10900 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10901 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10902 esac
10904 cd ..
10905 rm -f -r conftest.dir
10908 # Standard set of common directories for X headers.
10909 # Check X11 before X11Rn because it is often a symlink to the current release.
10910 ac_x_header_dirs='
10911 /usr/X11/include
10912 /usr/X11R7/include
10913 /usr/X11R6/include
10914 /usr/X11R5/include
10915 /usr/X11R4/include
10917 /usr/include/X11
10918 /usr/include/X11R7
10919 /usr/include/X11R6
10920 /usr/include/X11R5
10921 /usr/include/X11R4
10923 /usr/local/X11/include
10924 /usr/local/X11R7/include
10925 /usr/local/X11R6/include
10926 /usr/local/X11R5/include
10927 /usr/local/X11R4/include
10929 /usr/local/include/X11
10930 /usr/local/include/X11R7
10931 /usr/local/include/X11R6
10932 /usr/local/include/X11R5
10933 /usr/local/include/X11R4
10935 /usr/X386/include
10936 /usr/x386/include
10937 /usr/XFree86/include/X11
10939 /usr/include
10940 /usr/local/include
10941 /usr/unsupported/include
10942 /usr/athena/include
10943 /usr/local/x11r5/include
10944 /usr/lpp/Xamples/include
10946 /usr/openwin/include
10947 /usr/openwin/share/include'
10949 if test "$ac_x_includes" = no; then
10950 # Guess where to find include files, by looking for Xlib.h.
10951 # First, try using that file with no special directory specified.
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10954 #include <X11/Xlib.h>
10955 _ACEOF
10956 if ac_fn_c_try_cpp "$LINENO"; then :
10957 # We can compile using X headers with no special include directory.
10958 ac_x_includes=
10959 else
10960 for ac_dir in $ac_x_header_dirs; do
10961 if test -r "$ac_dir/X11/Xlib.h"; then
10962 ac_x_includes=$ac_dir
10963 break
10965 done
10967 rm -f conftest.err conftest.i conftest.$ac_ext
10968 fi # $ac_x_includes = no
10970 if test "$ac_x_libraries" = no; then
10971 # Check for the libraries.
10972 # See if we find them without any special options.
10973 # Don't add to $LIBS permanently.
10974 ac_save_LIBS=$LIBS
10975 LIBS="-lX11 $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10978 #include <X11/Xlib.h>
10980 main ()
10982 XrmInitialize ()
10984 return 0;
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"; then :
10988 LIBS=$ac_save_LIBS
10989 # We can link X programs with no special library path.
10990 ac_x_libraries=
10991 else
10992 LIBS=$ac_save_LIBS
10993 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10995 # Don't even attempt the hair of trying to link an X program!
10996 for ac_extension in a so sl dylib la dll; do
10997 if test -r "$ac_dir/libX11.$ac_extension"; then
10998 ac_x_libraries=$ac_dir
10999 break 2
11001 done
11002 done
11004 rm -f core conftest.err conftest.$ac_objext \
11005 conftest$ac_exeext conftest.$ac_ext
11006 fi # $ac_x_libraries = no
11008 case $ac_x_includes,$ac_x_libraries in #(
11009 no,* | *,no | *\'*)
11010 # Didn't find X, or a directory has "'" in its name.
11011 ac_cv_have_x="have_x=no";; #(
11013 # Record where we found X for the cache.
11014 ac_cv_have_x="have_x=yes\
11015 ac_x_includes='$ac_x_includes'\
11016 ac_x_libraries='$ac_x_libraries'"
11017 esac
11019 ;; #(
11020 *) have_x=yes;;
11021 esac
11022 eval "$ac_cv_have_x"
11023 fi # $with_x != no
11025 if test "$have_x" != yes; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11027 $as_echo "$have_x" >&6; }
11028 no_x=yes
11029 else
11030 # If each of the values was on the command line, it overrides each guess.
11031 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11032 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11033 # Update the cache value to reflect the command line values.
11034 ac_cv_have_x="have_x=yes\
11035 ac_x_includes='$x_includes'\
11036 ac_x_libraries='$x_libraries'"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11038 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11041 if test "$no_x" = yes; then
11042 # Not all programs may use this symbol, but it does not hurt to define it.
11044 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11046 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11047 else
11048 if test -n "$x_includes"; then
11049 X_CFLAGS="$X_CFLAGS -I$x_includes"
11052 # It would also be nice to do this for all -L options, not just this one.
11053 if test -n "$x_libraries"; then
11054 X_LIBS="$X_LIBS -L$x_libraries"
11055 # For Solaris; some versions of Sun CC require a space after -R and
11056 # others require no space. Words are not sufficient . . . .
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11058 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11059 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11060 ac_xsave_c_werror_flag=$ac_c_werror_flag
11061 ac_c_werror_flag=yes
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11066 main ()
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11075 $as_echo "no" >&6; }
11076 X_LIBS="$X_LIBS -R$x_libraries"
11077 else
11078 LIBS="$ac_xsave_LIBS -R $x_libraries"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11083 main ()
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11092 $as_echo "yes" >&6; }
11093 X_LIBS="$X_LIBS -R $x_libraries"
11094 else
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11096 $as_echo "neither works" >&6; }
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 ac_c_werror_flag=$ac_xsave_c_werror_flag
11104 LIBS=$ac_xsave_LIBS
11107 # Check for system-dependent libraries X programs must link with.
11108 # Do this before checking for the system-independent R6 libraries
11109 # (-lICE), since we may need -lsocket or whatever for X linking.
11111 if test "$ISC" = yes; then
11112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11113 else
11114 # Martyn Johnson says this is needed for Ultrix, if the X
11115 # libraries were built with DECnet support. And Karl Berry says
11116 # the Alpha needs dnet_stub (dnet does not exist).
11117 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char XOpenDisplay ();
11129 main ()
11131 return XOpenDisplay ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11138 else
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11140 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11141 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-ldnet $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char dnet_ntoa ();
11157 main ()
11159 return dnet_ntoa ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_dnet_dnet_ntoa=yes
11166 else
11167 ac_cv_lib_dnet_dnet_ntoa=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11174 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11175 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11181 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11182 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11183 $as_echo_n "(cached) " >&6
11184 else
11185 ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-ldnet_stub $LIBS"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11190 /* Override any GCC internal prototype to avoid an error.
11191 Use char because int might match the return type of a GCC
11192 builtin and then its argument prototype would still apply. */
11193 #ifdef __cplusplus
11194 extern "C"
11195 #endif
11196 char dnet_ntoa ();
11198 main ()
11200 return dnet_ntoa ();
11202 return 0;
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"; then :
11206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11207 else
11208 ac_cv_lib_dnet_stub_dnet_ntoa=no
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS=$ac_check_lib_save_LIBS
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11215 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11216 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11217 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS="$ac_xsave_LIBS"
11226 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11227 # to get the SysV transport functions.
11228 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11229 # needs -lnsl.
11230 # The nsl library prevents programs from opening the X display
11231 # on Irix 5.2, according to T.E. Dickey.
11232 # The functions gethostbyname, getservbyname, and inet_addr are
11233 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11234 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11235 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11239 if test $ac_cv_func_gethostbyname = no; then
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11241 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11242 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-lnsl $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char gethostbyname ();
11258 main ()
11260 return gethostbyname ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 ac_cv_lib_nsl_gethostbyname=yes
11267 else
11268 ac_cv_lib_nsl_gethostbyname=no
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11275 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11276 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11280 if test $ac_cv_lib_nsl_gethostbyname = no; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11282 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11283 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-lbsd $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char gethostbyname ();
11299 main ()
11301 return gethostbyname ();
11303 return 0;
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 ac_cv_lib_bsd_gethostbyname=yes
11308 else
11309 ac_cv_lib_bsd_gethostbyname=no
11311 rm -f core conftest.err conftest.$ac_objext \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11316 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11317 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11318 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11324 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11325 # socket/setsockopt and other routines are undefined under SCO ODT
11326 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11327 # on later versions), says Simon Leinen: it contains gethostby*
11328 # variants that don't use the name server (or something). -lsocket
11329 # must be given before -lnsl if both are needed. We assume that
11330 # if connect needs -lnsl, so does gethostbyname.
11331 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11332 if test "x$ac_cv_func_connect" = xyes; then :
11336 if test $ac_cv_func_connect = no; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11338 $as_echo_n "checking for connect in -lsocket... " >&6; }
11339 if ${ac_cv_lib_socket_connect+:} false; then :
11340 $as_echo_n "(cached) " >&6
11341 else
11342 ac_check_lib_save_LIBS=$LIBS
11343 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char connect ();
11355 main ()
11357 return connect ();
11359 return 0;
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_socket_connect=yes
11364 else
11365 ac_cv_lib_socket_connect=no
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11372 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11373 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11374 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11379 # Guillermo Gomez says -lposix is necessary on A/UX.
11380 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11381 if test "x$ac_cv_func_remove" = xyes; then :
11385 if test $ac_cv_func_remove = no; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11387 $as_echo_n "checking for remove in -lposix... " >&6; }
11388 if ${ac_cv_lib_posix_remove+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-lposix $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char remove ();
11404 main ()
11406 return remove ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_posix_remove=yes
11413 else
11414 ac_cv_lib_posix_remove=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11421 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11422 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11428 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11429 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11430 if test "x$ac_cv_func_shmat" = xyes; then :
11434 if test $ac_cv_func_shmat = no; then
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11436 $as_echo_n "checking for shmat in -lipc... " >&6; }
11437 if ${ac_cv_lib_ipc_shmat+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-lipc $LIBS"
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11448 #ifdef __cplusplus
11449 extern "C"
11450 #endif
11451 char shmat ();
11453 main ()
11455 return shmat ();
11457 return 0;
11459 _ACEOF
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 ac_cv_lib_ipc_shmat=yes
11462 else
11463 ac_cv_lib_ipc_shmat=no
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11470 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11471 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11478 # Check for libraries that X11R6 Xt/Xaw programs need.
11479 ac_save_LDFLAGS=$LDFLAGS
11480 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11481 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11482 # check for ICE first), but we must link in the order -lSM -lICE or
11483 # we get undefined symbols. So assume we have SM if we have ICE.
11484 # These have to be linked with before -lX11, unlike the other
11485 # libraries we check for below, so use a different variable.
11486 # John Interrante, Karl Berry
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11488 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11489 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11490 $as_echo_n "(cached) " >&6
11491 else
11492 ac_check_lib_save_LIBS=$LIBS
11493 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char IceConnectionNumber ();
11505 main ()
11507 return IceConnectionNumber ();
11509 return 0;
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513 ac_cv_lib_ICE_IceConnectionNumber=yes
11514 else
11515 ac_cv_lib_ICE_IceConnectionNumber=no
11517 rm -f core conftest.err conftest.$ac_objext \
11518 conftest$ac_exeext conftest.$ac_ext
11519 LIBS=$ac_check_lib_save_LIBS
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11522 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11523 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11524 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11527 LDFLAGS=$ac_save_LDFLAGS
11532 if test "$have_x" = "yes"
11533 then
11534 ac_save_CPPFLAGS="$CPPFLAGS"
11535 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11538 $as_echo_n "checking for -lX11... " >&6; }
11539 if ${ac_cv_lib_soname_X11+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_soname_save_LIBS=$LIBS
11543 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char XCreateWindow ();
11555 main ()
11557 return XCreateWindow ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 case "$LIBEXT" in
11564 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11567 if ${ac_cv_lib_soname_X11:+false} :; then :
11568 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11569 fi ;;
11570 esac
11571 else
11572 ac_cv_lib_soname_X11=
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_soname_save_LIBS
11578 if ${ac_cv_lib_soname_X11:+false} :; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11580 $as_echo "not found" >&6; }
11582 else
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11584 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11586 cat >>confdefs.h <<_ACEOF
11587 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11588 _ACEOF
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11593 $as_echo_n "checking for -lXext... " >&6; }
11594 if ${ac_cv_lib_soname_Xext+:} false; then :
11595 $as_echo_n "(cached) " >&6
11596 else
11597 ac_check_soname_save_LIBS=$LIBS
11598 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11605 #ifdef __cplusplus
11606 extern "C"
11607 #endif
11608 char XextCreateExtension ();
11610 main ()
11612 return XextCreateExtension ();
11614 return 0;
11616 _ACEOF
11617 if ac_fn_c_try_link "$LINENO"; then :
11618 case "$LIBEXT" in
11619 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11620 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'` ;;
11621 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11622 if ${ac_cv_lib_soname_Xext:+false} :; then :
11623 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11624 fi ;;
11625 esac
11626 else
11627 ac_cv_lib_soname_Xext=
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_soname_save_LIBS
11633 if ${ac_cv_lib_soname_Xext:+false} :; then :
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11635 $as_echo "not found" >&6; }
11637 else
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11639 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11641 cat >>confdefs.h <<_ACEOF
11642 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11643 _ACEOF
11645 X_LIBS="$X_LIBS -lXext"
11647 X_LIBS="$X_LIBS -lX11"
11649 for ac_header in X11/Xlib.h \
11650 X11/XKBlib.h \
11651 X11/Xutil.h \
11652 X11/Xcursor/Xcursor.h \
11653 X11/extensions/shape.h \
11654 X11/extensions/XInput.h \
11655 X11/extensions/XInput2.h \
11656 X11/extensions/XShm.h \
11657 X11/extensions/Xcomposite.h \
11658 X11/extensions/Xfixes.h \
11659 X11/extensions/Xinerama.h \
11660 X11/extensions/Xrandr.h \
11661 X11/extensions/Xrender.h \
11662 X11/extensions/xf86vmode.h \
11663 X11/extensions/xf86vmproto.h
11664 do :
11665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11667 # include <X11/Xlib.h>
11668 #endif
11669 #ifdef HAVE_X11_XUTIL_H
11670 # include <X11/Xutil.h>
11671 #endif
11673 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11674 cat >>confdefs.h <<_ACEOF
11675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11676 _ACEOF
11680 done
11683 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11684 then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11686 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11687 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11688 $as_echo_n "(cached) " >&6
11689 else
11690 ac_check_lib_save_LIBS=$LIBS
11691 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11698 #ifdef __cplusplus
11699 extern "C"
11700 #endif
11701 char XkbQueryExtension ();
11703 main ()
11705 return XkbQueryExtension ();
11707 return 0;
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"; then :
11711 ac_cv_lib_X11_XkbQueryExtension=yes
11712 else
11713 ac_cv_lib_X11_XkbQueryExtension=no
11715 rm -f core conftest.err conftest.$ac_objext \
11716 conftest$ac_exeext conftest.$ac_ext
11717 LIBS=$ac_check_lib_save_LIBS
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11720 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11721 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11723 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11729 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11730 then
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11732 $as_echo_n "checking for -lXcursor... " >&6; }
11733 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11734 $as_echo_n "(cached) " >&6
11735 else
11736 ac_check_soname_save_LIBS=$LIBS
11737 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739 /* end confdefs.h. */
11741 /* Override any GCC internal prototype to avoid an error.
11742 Use char because int might match the return type of a GCC
11743 builtin and then its argument prototype would still apply. */
11744 #ifdef __cplusplus
11745 extern "C"
11746 #endif
11747 char XcursorImageLoadCursor ();
11749 main ()
11751 return XcursorImageLoadCursor ();
11753 return 0;
11755 _ACEOF
11756 if ac_fn_c_try_link "$LINENO"; then :
11757 case "$LIBEXT" in
11758 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11759 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'` ;;
11760 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11761 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11762 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11763 fi ;;
11764 esac
11765 else
11766 ac_cv_lib_soname_Xcursor=
11768 rm -f core conftest.err conftest.$ac_objext \
11769 conftest$ac_exeext conftest.$ac_ext
11770 LIBS=$ac_check_soname_save_LIBS
11772 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11774 $as_echo "not found" >&6; }
11776 else
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11778 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11780 cat >>confdefs.h <<_ACEOF
11781 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11782 _ACEOF
11787 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11788 case "x$with_xcursor" in
11789 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11790 xno) ;;
11791 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11792 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11793 esac
11797 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11798 then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11800 $as_echo_n "checking for -lXi... " >&6; }
11801 if ${ac_cv_lib_soname_Xi+:} false; then :
11802 $as_echo_n "(cached) " >&6
11803 else
11804 ac_check_soname_save_LIBS=$LIBS
11805 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11809 /* Override any GCC internal prototype to avoid an error.
11810 Use char because int might match the return type of a GCC
11811 builtin and then its argument prototype would still apply. */
11812 #ifdef __cplusplus
11813 extern "C"
11814 #endif
11815 char XOpenDevice ();
11817 main ()
11819 return XOpenDevice ();
11821 return 0;
11823 _ACEOF
11824 if ac_fn_c_try_link "$LINENO"; then :
11825 case "$LIBEXT" in
11826 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11827 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'` ;;
11828 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11829 if ${ac_cv_lib_soname_Xi:+false} :; then :
11830 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11831 fi ;;
11832 esac
11833 else
11834 ac_cv_lib_soname_Xi=
11836 rm -f core conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_soname_save_LIBS
11840 if ${ac_cv_lib_soname_Xi:+false} :; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11842 $as_echo "not found" >&6; }
11844 else
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11846 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11848 cat >>confdefs.h <<_ACEOF
11849 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11850 _ACEOF
11855 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11856 case "x$with_xinput" in
11857 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11858 xno) ;;
11859 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11860 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11861 esac
11865 if test "x$ac_cv_lib_soname_Xi" != x
11866 then
11867 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11868 case "x$with_xinput2" in
11869 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11870 xno) ;;
11871 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11872 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11873 esac
11878 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11879 then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11881 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11882 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11883 $as_echo_n "(cached) " >&6
11884 else
11885 ac_check_lib_save_LIBS=$LIBS
11886 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11893 #ifdef __cplusplus
11894 extern "C"
11895 #endif
11896 char XShmQueryExtension ();
11898 main ()
11900 return XShmQueryExtension ();
11902 return 0;
11904 _ACEOF
11905 if ac_fn_c_try_link "$LINENO"; then :
11906 ac_cv_lib_Xext_XShmQueryExtension=yes
11907 else
11908 ac_cv_lib_Xext_XShmQueryExtension=no
11910 rm -f core conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext
11912 LIBS=$ac_check_lib_save_LIBS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11915 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11916 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11918 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11923 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11924 case "x$with_xshm" in
11925 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11926 xno) ;;
11927 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11928 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11929 esac
11933 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11934 then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11936 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11937 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11938 $as_echo_n "(cached) " >&6
11939 else
11940 ac_check_lib_save_LIBS=$LIBS
11941 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char XShapeQueryExtension ();
11953 main ()
11955 return XShapeQueryExtension ();
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_link "$LINENO"; then :
11961 ac_cv_lib_Xext_XShapeQueryExtension=yes
11962 else
11963 ac_cv_lib_Xext_XShapeQueryExtension=no
11965 rm -f core conftest.err conftest.$ac_objext \
11966 conftest$ac_exeext conftest.$ac_ext
11967 LIBS=$ac_check_lib_save_LIBS
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11970 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11971 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11973 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11978 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11979 case "x$with_xshape" in
11980 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11981 xno) ;;
11982 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11983 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11984 esac
11988 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11989 then
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11991 $as_echo_n "checking for -lXxf86vm... " >&6; }
11992 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11993 $as_echo_n "(cached) " >&6
11994 else
11995 ac_check_soname_save_LIBS=$LIBS
11996 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 /* Override any GCC internal prototype to avoid an error.
12001 Use char because int might match the return type of a GCC
12002 builtin and then its argument prototype would still apply. */
12003 #ifdef __cplusplus
12004 extern "C"
12005 #endif
12006 char XF86VidModeQueryExtension ();
12008 main ()
12010 return XF86VidModeQueryExtension ();
12012 return 0;
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 case "$LIBEXT" in
12017 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12018 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'` ;;
12019 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12020 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12021 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12022 fi ;;
12023 esac
12024 else
12025 ac_cv_lib_soname_Xxf86vm=
12027 rm -f core conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 LIBS=$ac_check_soname_save_LIBS
12031 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12033 $as_echo "not found" >&6; }
12035 else
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12037 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12039 cat >>confdefs.h <<_ACEOF
12040 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12041 _ACEOF
12046 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12047 case "x$with_xxf86vm" in
12048 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12051 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12052 esac
12056 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12057 then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12059 $as_echo_n "checking for -lXrender... " >&6; }
12060 if ${ac_cv_lib_soname_Xrender+:} false; then :
12061 $as_echo_n "(cached) " >&6
12062 else
12063 ac_check_soname_save_LIBS=$LIBS
12064 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char XRenderQueryExtension ();
12076 main ()
12078 return XRenderQueryExtension ();
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_link "$LINENO"; then :
12084 case "$LIBEXT" in
12085 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12086 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'` ;;
12087 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12088 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12089 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12090 fi ;;
12091 esac
12092 else
12093 ac_cv_lib_soname_Xrender=
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_soname_save_LIBS
12099 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12101 $as_echo "not found" >&6; }
12103 else
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12105 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12107 cat >>confdefs.h <<_ACEOF
12108 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12109 _ACEOF
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12112 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12113 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12114 $as_echo_n "(cached) " >&6
12115 else
12116 ac_check_lib_save_LIBS=$LIBS
12117 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char XRenderSetPictureTransform ();
12129 main ()
12131 return XRenderSetPictureTransform ();
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_link "$LINENO"; then :
12137 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12138 else
12139 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12141 rm -f core conftest.err conftest.$ac_objext \
12142 conftest$ac_exeext conftest.$ac_ext
12143 LIBS=$ac_check_lib_save_LIBS
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12146 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12147 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12149 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12154 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12155 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12156 $as_echo_n "(cached) " >&6
12157 else
12158 ac_check_lib_save_LIBS=$LIBS
12159 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char XRenderCreateLinearGradient ();
12171 main ()
12173 return XRenderCreateLinearGradient ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12180 else
12181 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12188 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12189 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12191 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12198 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12199 case "x$with_xrender" in
12200 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12201 xno) ;;
12202 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12203 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12204 esac
12208 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12209 then
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12212 #include <X11/Xlib.h>
12213 #include <X11/extensions/Xrandr.h>
12215 main ()
12217 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_compile "$LINENO"; then :
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12224 $as_echo_n "checking for -lXrandr... " >&6; }
12225 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12226 $as_echo_n "(cached) " >&6
12227 else
12228 ac_check_soname_save_LIBS=$LIBS
12229 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 char XRRQueryExtension ();
12241 main ()
12243 return XRRQueryExtension ();
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_link "$LINENO"; then :
12249 case "$LIBEXT" in
12250 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12251 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'` ;;
12252 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12253 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12254 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12255 fi ;;
12256 esac
12257 else
12258 ac_cv_lib_soname_Xrandr=
12260 rm -f core conftest.err conftest.$ac_objext \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_soname_save_LIBS
12264 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12266 $as_echo "not found" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12270 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12272 cat >>confdefs.h <<_ACEOF
12273 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12274 _ACEOF
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12278 #include <X11/Xlib.h>
12279 #include <X11/extensions/Xrandr.h>
12281 main ()
12283 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_compile "$LINENO"; then :
12290 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12292 else
12293 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12300 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12301 case "x$with_xrandr" in
12302 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12303 xno) ;;
12304 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12305 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12306 esac
12310 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12311 then
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 #include <X11/Xlib.h>
12315 #include <X11/extensions/Xfixes.h>
12317 main ()
12319 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12321 return 0;
12323 _ACEOF
12324 if ac_fn_c_try_compile "$LINENO"; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12326 $as_echo_n "checking for -lXfixes... " >&6; }
12327 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12328 $as_echo_n "(cached) " >&6
12329 else
12330 ac_check_soname_save_LIBS=$LIBS
12331 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12335 /* Override any GCC internal prototype to avoid an error.
12336 Use char because int might match the return type of a GCC
12337 builtin and then its argument prototype would still apply. */
12338 #ifdef __cplusplus
12339 extern "C"
12340 #endif
12341 char XFixesQueryVersion ();
12343 main ()
12345 return XFixesQueryVersion ();
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"; then :
12351 case "$LIBEXT" in
12352 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12353 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'` ;;
12354 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12355 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12356 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12357 fi ;;
12358 esac
12359 else
12360 ac_cv_lib_soname_Xfixes=
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 LIBS=$ac_check_soname_save_LIBS
12366 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12368 $as_echo "not found" >&6; }
12370 else
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12372 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12374 cat >>confdefs.h <<_ACEOF
12375 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12376 _ACEOF
12381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12383 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12384 case "x$with_xfixes" in
12385 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12386 xno) ;;
12387 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12388 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12389 esac
12393 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12394 then
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12397 #include <X11/Xlib.h>
12398 #include <X11/extensions/Xinerama.h>
12400 main ()
12402 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_compile "$LINENO"; then :
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12409 $as_echo_n "checking for -lXinerama... " >&6; }
12410 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_check_soname_save_LIBS=$LIBS
12414 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12421 #ifdef __cplusplus
12422 extern "C"
12423 #endif
12424 char XineramaQueryScreens ();
12426 main ()
12428 return XineramaQueryScreens ();
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_link "$LINENO"; then :
12434 case "$LIBEXT" in
12435 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12436 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'` ;;
12437 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12438 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12439 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12440 fi ;;
12441 esac
12442 else
12443 ac_cv_lib_soname_Xinerama=
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_soname_save_LIBS
12449 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12451 $as_echo "not found" >&6; }
12453 else
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12455 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12457 cat >>confdefs.h <<_ACEOF
12458 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12459 _ACEOF
12464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12466 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12467 case "x$with_xinerama" in
12468 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12469 xno) ;;
12470 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12471 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12472 esac
12476 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12477 then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12479 $as_echo_n "checking for -lXcomposite... " >&6; }
12480 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12481 $as_echo_n "(cached) " >&6
12482 else
12483 ac_check_soname_save_LIBS=$LIBS
12484 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char XCompositeRedirectWindow ();
12496 main ()
12498 return XCompositeRedirectWindow ();
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_link "$LINENO"; then :
12504 case "$LIBEXT" in
12505 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12506 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'` ;;
12507 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12509 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12510 fi ;;
12511 esac
12512 else
12513 ac_cv_lib_soname_Xcomposite=
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_soname_save_LIBS
12519 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12521 $as_echo "not found" >&6; }
12523 else
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12525 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12527 cat >>confdefs.h <<_ACEOF
12528 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12529 _ACEOF
12534 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12535 case "x$with_xcomposite" in
12536 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12537 xno) ;;
12538 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12539 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12540 esac
12544 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12545 #include <X11/Xlib.h>
12546 #endif
12548 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12550 cat >>confdefs.h <<_ACEOF
12551 #define HAVE_XICCALLBACK_CALLBACK 1
12552 _ACEOF
12556 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12557 #include <X11/Xlib.h>
12558 #endif
12560 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define HAVE_XEVENT_XCOOKIE 1
12564 _ACEOF
12571 opengl_msg=""
12572 if test "x$with_opengl" != "xno"
12573 then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12575 $as_echo_n "checking for -lGL... " >&6; }
12576 if ${ac_cv_lib_soname_GL+:} false; then :
12577 $as_echo_n "(cached) " >&6
12578 else
12579 ac_check_soname_save_LIBS=$LIBS
12580 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 #ifdef __cplusplus
12588 extern "C"
12589 #endif
12590 char glXCreateContext ();
12592 main ()
12594 return glXCreateContext ();
12596 return 0;
12598 _ACEOF
12599 if ac_fn_c_try_link "$LINENO"; then :
12600 case "$LIBEXT" in
12601 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12602 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'` ;;
12603 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12604 if ${ac_cv_lib_soname_GL:+false} :; then :
12605 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12606 fi ;;
12607 esac
12608 else
12609 ac_cv_lib_soname_GL=
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_soname_save_LIBS
12615 if ${ac_cv_lib_soname_GL:+false} :; then :
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12617 $as_echo "not found" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12619 $as_echo_n "checking for -lGL... " >&6; }
12620 if ${ac_cv_lib_soname_GL+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_soname_save_LIBS=$LIBS
12624 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"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char glXCreateContext ();
12636 main ()
12638 return glXCreateContext ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 case "$LIBEXT" in
12645 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12646 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'` ;;
12647 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12648 if ${ac_cv_lib_soname_GL:+false} :; then :
12649 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12650 fi ;;
12651 esac
12652 else
12653 ac_cv_lib_soname_GL=
12655 rm -f core conftest.err conftest.$ac_objext \
12656 conftest$ac_exeext conftest.$ac_ext
12657 LIBS=$ac_check_soname_save_LIBS
12659 if ${ac_cv_lib_soname_GL:+false} :; then :
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12661 $as_echo "not found" >&6; }
12662 if test -f /usr/X11R6/lib/libGL.a
12663 then
12664 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12665 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12666 else
12667 opengl_msg="No OpenGL library found on this system."
12669 else
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12673 cat >>confdefs.h <<_ACEOF
12674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12675 _ACEOF
12677 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"
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="-lGL"
12689 if test "x$with_osmesa" != "xno"
12690 then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12692 $as_echo_n "checking for -lOSMesa... " >&6; }
12693 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12694 $as_echo_n "(cached) " >&6
12695 else
12696 ac_check_soname_save_LIBS=$LIBS
12697 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 char OSMesaGetProcAddress ();
12709 main ()
12711 return OSMesaGetProcAddress ();
12713 return 0;
12715 _ACEOF
12716 if ac_fn_c_try_link "$LINENO"; then :
12717 case "$LIBEXT" in
12718 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12719 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'` ;;
12720 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12721 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12722 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12723 fi ;;
12724 esac
12725 else
12726 ac_cv_lib_soname_OSMesa=
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_soname_save_LIBS
12732 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12734 $as_echo "not found" >&6; }
12736 else
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12738 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12740 cat >>confdefs.h <<_ACEOF
12741 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12742 _ACEOF
12746 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12747 case "x$with_osmesa" in
12748 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12749 xno) ;;
12750 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12751 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12752 esac
12757 if test -n "$opengl_msg"; then :
12758 case "x$with_opengl" in
12759 x) as_fn_append wine_warnings "|$opengl_msg
12760 OpenGL and Direct3D won't be supported." ;;
12761 xno) ;;
12762 *) as_fn_error $? "$opengl_msg
12763 OpenGL and Direct3D won't be supported.
12764 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12765 esac
12769 CPPFLAGS="$ac_save_CPPFLAGS"
12770 else
12771 X_CFLAGS=""
12772 X_LIBS=""
12775 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12776 then
12777 if test "x$X_LIBS" = "x"; then :
12778 case "x$with_x" in
12779 xno) ;;
12780 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12781 without X support, which probably isn't what you want. You will need
12782 to install ${notice_platform}development packages of Xlib at the very least.
12783 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12784 esac
12785 enable_winex11_drv=${enable_winex11_drv:-no}
12787 else
12788 if test "x$X_LIBS" = "x"; then :
12789 case "x$with_x" in
12790 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12791 xno) ;;
12792 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12793 This is an error since --with-x was requested." "$LINENO" 5 ;;
12794 esac
12795 enable_winex11_drv=${enable_winex11_drv:-no}
12799 if test "$ac_cv_header_CL_cl_h" = "yes"
12800 then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12802 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12803 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12804 $as_echo_n "(cached) " >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lOpenCL $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12814 #ifdef __cplusplus
12815 extern "C"
12816 #endif
12817 char clGetPlatformInfo ();
12819 main ()
12821 return clGetPlatformInfo ();
12823 return 0;
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12828 else
12829 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12836 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12837 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12838 OPENCL_LIBS="-lOpenCL"
12843 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12844 case "x$with_opencl" in
12845 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12846 xno) ;;
12847 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12848 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12849 esac
12850 enable_opencl=${enable_opencl:-no}
12853 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12854 then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12856 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12857 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12858 $as_echo_n "(cached) " >&6
12859 else
12860 ac_check_lib_save_LIBS=$LIBS
12861 LIBS="-lpcap $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char pcap_create ();
12873 main ()
12875 return pcap_create ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 ac_cv_lib_pcap_pcap_create=yes
12882 else
12883 ac_cv_lib_pcap_pcap_create=no
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12890 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12891 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12892 PCAP_LIBS="-lpcap"
12897 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12898 case "x$with_pcap" in
12899 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12900 xno) ;;
12901 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12902 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12903 esac
12904 enable_wpcap=${enable_wpcap:-no}
12908 if test "x$with_xml" != "xno"
12909 then
12910 if ${XML2_CFLAGS:+false} :; then :
12911 if ${PKG_CONFIG+:} false; then :
12912 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12915 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12916 if ${XML2_LIBS:+false} :; then :
12917 if ${PKG_CONFIG+:} false; then :
12918 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12921 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12922 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12923 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12924 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12925 ac_save_CPPFLAGS=$CPPFLAGS
12926 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12927 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12928 do :
12929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12930 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12931 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12932 cat >>confdefs.h <<_ACEOF
12933 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12934 _ACEOF
12938 done
12940 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"
12941 then
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12943 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12944 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12945 $as_echo_n "(cached) " >&6
12946 else
12947 ac_check_lib_save_LIBS=$LIBS
12948 LIBS="-lxml2 $XML2_LIBS $LIBS"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12955 #ifdef __cplusplus
12956 extern "C"
12957 #endif
12958 char xmlParseMemory ();
12960 main ()
12962 return xmlParseMemory ();
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_link "$LINENO"; then :
12968 ac_cv_lib_xml2_xmlParseMemory=yes
12969 else
12970 ac_cv_lib_xml2_xmlParseMemory=no
12972 rm -f core conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext conftest.$ac_ext
12974 LIBS=$ac_check_lib_save_LIBS
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12977 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12978 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12980 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12982 else
12983 XML2_LIBS=""
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12987 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12988 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12989 $as_echo_n "(cached) " >&6
12990 else
12991 ac_check_lib_save_LIBS=$LIBS
12992 LIBS="-lxml2 $XML2_LIBS $LIBS"
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
12999 #ifdef __cplusplus
13000 extern "C"
13001 #endif
13002 char xmlReadMemory ();
13004 main ()
13006 return xmlReadMemory ();
13008 return 0;
13010 _ACEOF
13011 if ac_fn_c_try_link "$LINENO"; then :
13012 ac_cv_lib_xml2_xmlReadMemory=yes
13013 else
13014 ac_cv_lib_xml2_xmlReadMemory=no
13016 rm -f core conftest.err conftest.$ac_objext \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_lib_save_LIBS
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13021 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13022 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13024 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13029 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13030 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13031 $as_echo_n "(cached) " >&6
13032 else
13033 ac_check_lib_save_LIBS=$LIBS
13034 LIBS="-lxml2 $XML2_LIBS $LIBS"
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 /* Override any GCC internal prototype to avoid an error.
13039 Use char because int might match the return type of a GCC
13040 builtin and then its argument prototype would still apply. */
13041 #ifdef __cplusplus
13042 extern "C"
13043 #endif
13044 char xmlNewDocPI ();
13046 main ()
13048 return xmlNewDocPI ();
13050 return 0;
13052 _ACEOF
13053 if ac_fn_c_try_link "$LINENO"; then :
13054 ac_cv_lib_xml2_xmlNewDocPI=yes
13055 else
13056 ac_cv_lib_xml2_xmlNewDocPI=no
13058 rm -f core conftest.err conftest.$ac_objext \
13059 conftest$ac_exeext conftest.$ac_ext
13060 LIBS=$ac_check_lib_save_LIBS
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13063 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13064 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13066 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13071 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13072 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13073 $as_echo_n "(cached) " >&6
13074 else
13075 ac_check_lib_save_LIBS=$LIBS
13076 LIBS="-lxml2 $XML2_LIBS $LIBS"
13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13083 #ifdef __cplusplus
13084 extern "C"
13085 #endif
13086 char xmlSchemaSetParserStructuredErrors ();
13088 main ()
13090 return xmlSchemaSetParserStructuredErrors ();
13092 return 0;
13094 _ACEOF
13095 if ac_fn_c_try_link "$LINENO"; then :
13096 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13097 else
13098 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13100 rm -f core conftest.err conftest.$ac_objext \
13101 conftest$ac_exeext conftest.$ac_ext
13102 LIBS=$ac_check_lib_save_LIBS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13105 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13106 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13108 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13113 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13114 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_lib_save_LIBS=$LIBS
13118 LIBS="-lxml2 $XML2_LIBS $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char xmlSchemaSetValidStructuredErrors ();
13130 main ()
13132 return xmlSchemaSetValidStructuredErrors ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13139 else
13140 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13142 rm -f core conftest.err conftest.$ac_objext \
13143 conftest$ac_exeext conftest.$ac_ext
13144 LIBS=$ac_check_lib_save_LIBS
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13147 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13148 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13150 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13155 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13156 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13157 $as_echo_n "(cached) " >&6
13158 else
13159 ac_check_lib_save_LIBS=$LIBS
13160 LIBS="-lxml2 $XML2_LIBS $LIBS"
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13167 #ifdef __cplusplus
13168 extern "C"
13169 #endif
13170 char xmlFirstElementChild ();
13172 main ()
13174 return xmlFirstElementChild ();
13176 return 0;
13178 _ACEOF
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 ac_cv_lib_xml2_xmlFirstElementChild=yes
13181 else
13182 ac_cv_lib_xml2_xmlFirstElementChild=no
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_lib_save_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13189 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13190 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13192 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13196 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13198 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13200 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13204 else
13205 XML2_CFLAGS=""
13206 XML2_LIBS=""
13208 CPPFLAGS=$ac_save_CPPFLAGS
13211 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13212 case "x$with_xml" in
13213 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13214 xno) ;;
13215 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13216 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13217 esac
13221 if test "x$with_xslt" != "xno"
13222 then
13223 if ${XSLT_CFLAGS:+false} :; then :
13224 if ${PKG_CONFIG+:} false; then :
13225 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13228 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13229 if ${XSLT_LIBS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13234 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13235 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13236 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13237 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13238 ac_save_CPPFLAGS=$CPPFLAGS
13239 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13240 for ac_header in libxslt/pattern.h libxslt/transform.h
13241 do :
13242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13243 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13244 # include <libxslt/pattern.h>
13245 #endif
13247 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13248 cat >>confdefs.h <<_ACEOF
13249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13250 _ACEOF
13254 done
13256 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13257 then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13259 $as_echo_n "checking for -lxslt... " >&6; }
13260 if ${ac_cv_lib_soname_xslt+:} false; then :
13261 $as_echo_n "(cached) " >&6
13262 else
13263 ac_check_soname_save_LIBS=$LIBS
13264 LIBS="-lxslt $XSLT_LIBS $LIBS"
13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13268 /* Override any GCC internal prototype to avoid an error.
13269 Use char because int might match the return type of a GCC
13270 builtin and then its argument prototype would still apply. */
13271 #ifdef __cplusplus
13272 extern "C"
13273 #endif
13274 char xsltCompilePattern ();
13276 main ()
13278 return xsltCompilePattern ();
13280 return 0;
13282 _ACEOF
13283 if ac_fn_c_try_link "$LINENO"; then :
13284 case "$LIBEXT" in
13285 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13286 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'` ;;
13287 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13288 if ${ac_cv_lib_soname_xslt:+false} :; then :
13289 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13290 fi ;;
13291 esac
13292 else
13293 ac_cv_lib_soname_xslt=
13295 rm -f core conftest.err conftest.$ac_objext \
13296 conftest$ac_exeext conftest.$ac_ext
13297 LIBS=$ac_check_soname_save_LIBS
13299 if ${ac_cv_lib_soname_xslt:+false} :; then :
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13301 $as_echo "not found" >&6; }
13303 else
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13305 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13307 cat >>confdefs.h <<_ACEOF
13308 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13309 _ACEOF
13313 else
13314 XSLT_CFLAGS=""
13316 CPPFLAGS=$ac_save_CPPFLAGS
13319 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13320 case "x$with_xslt" in
13321 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13322 xno) ;;
13323 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13324 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13325 esac
13329 if test "x$with_inotify" != "xno"
13330 then
13331 if ${INOTIFY_CFLAGS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13337 if ${INOTIFY_LIBS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13344 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13345 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13346 ac_save_CPPFLAGS=$CPPFLAGS
13347 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13348 for ac_header in sys/inotify.h
13349 do :
13350 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13351 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13352 cat >>confdefs.h <<_ACEOF
13353 #define HAVE_SYS_INOTIFY_H 1
13354 _ACEOF
13358 done
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13361 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13362 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13363 $as_echo_n "(cached) " >&6
13364 else
13365 ac_check_lib_save_LIBS=$LIBS
13366 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13370 /* Override any GCC internal prototype to avoid an error.
13371 Use char because int might match the return type of a GCC
13372 builtin and then its argument prototype would still apply. */
13373 #ifdef __cplusplus
13374 extern "C"
13375 #endif
13376 char inotify_add_watch ();
13378 main ()
13380 return inotify_add_watch ();
13382 return 0;
13384 _ACEOF
13385 if ac_fn_c_try_link "$LINENO"; then :
13386 ac_cv_lib_inotify_inotify_add_watch=yes
13387 else
13388 ac_cv_lib_inotify_inotify_add_watch=no
13390 rm -f core conftest.err conftest.$ac_objext \
13391 conftest$ac_exeext conftest.$ac_ext
13392 LIBS=$ac_check_lib_save_LIBS
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13395 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13396 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13398 else
13399 INOTIFY_LIBS=""
13402 CPPFLAGS=$ac_save_CPPFLAGS
13405 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13406 case "x$with_inotify" in
13407 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13408 xno) ;;
13409 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13410 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13411 esac
13415 if test "x$with_dbus" != "xno"
13416 then
13417 if ${DBUS_CFLAGS:+false} :; then :
13418 if ${PKG_CONFIG+:} false; then :
13419 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13423 if ${DBUS_LIBS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13430 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13432 ac_save_CPPFLAGS=$CPPFLAGS
13433 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13434 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13435 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13437 $as_echo_n "checking for -ldbus-1... " >&6; }
13438 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13439 $as_echo_n "(cached) " >&6
13440 else
13441 ac_check_soname_save_LIBS=$LIBS
13442 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13449 #ifdef __cplusplus
13450 extern "C"
13451 #endif
13452 char dbus_connection_close ();
13454 main ()
13456 return dbus_connection_close ();
13458 return 0;
13460 _ACEOF
13461 if ac_fn_c_try_link "$LINENO"; then :
13462 case "$LIBEXT" in
13463 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13464 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'` ;;
13465 *) 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'`
13466 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13467 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13468 fi ;;
13469 esac
13470 else
13471 ac_cv_lib_soname_dbus_1=
13473 rm -f core conftest.err conftest.$ac_objext \
13474 conftest$ac_exeext conftest.$ac_ext
13475 LIBS=$ac_check_soname_save_LIBS
13477 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13479 $as_echo "not found" >&6; }
13480 DBUS_CFLAGS=""
13481 else
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13483 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13485 cat >>confdefs.h <<_ACEOF
13486 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13487 _ACEOF
13491 else
13492 DBUS_CFLAGS=""
13496 CPPFLAGS=$ac_save_CPPFLAGS
13499 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13500 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13501 case "x$with_dbus" in
13502 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13503 xno) ;;
13504 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13505 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13506 esac
13510 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13511 then
13512 if ${HAL_CFLAGS:+false} :; then :
13513 if ${PKG_CONFIG+:} false; then :
13514 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13518 if ${HAL_LIBS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13524 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13525 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13526 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13527 ac_save_CPPFLAGS=$CPPFLAGS
13528 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13529 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13530 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13532 $as_echo_n "checking for -lhal... " >&6; }
13533 if ${ac_cv_lib_soname_hal+:} false; then :
13534 $as_echo_n "(cached) " >&6
13535 else
13536 ac_check_soname_save_LIBS=$LIBS
13537 LIBS="-lhal $HAL_LIBS $LIBS"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13541 /* Override any GCC internal prototype to avoid an error.
13542 Use char because int might match the return type of a GCC
13543 builtin and then its argument prototype would still apply. */
13544 #ifdef __cplusplus
13545 extern "C"
13546 #endif
13547 char libhal_ctx_new ();
13549 main ()
13551 return libhal_ctx_new ();
13553 return 0;
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 case "$LIBEXT" in
13558 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13559 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'` ;;
13560 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13561 if ${ac_cv_lib_soname_hal:+false} :; then :
13562 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13563 fi ;;
13564 esac
13565 else
13566 ac_cv_lib_soname_hal=
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_soname_save_LIBS
13572 if ${ac_cv_lib_soname_hal:+false} :; then :
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13574 $as_echo "not found" >&6; }
13575 HAL_CFLAGS=""
13576 else
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13578 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13580 cat >>confdefs.h <<_ACEOF
13581 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13582 _ACEOF
13586 else
13587 HAL_CFLAGS=""
13591 CPPFLAGS=$ac_save_CPPFLAGS
13593 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13594 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13595 case "x$with_hal" in
13596 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13597 xno) ;;
13598 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13599 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13600 esac
13605 if test "x$with_gnutls" != "xno"
13606 then
13607 if ${GNUTLS_CFLAGS:+false} :; then :
13608 if ${PKG_CONFIG+:} false; then :
13609 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13613 if ${GNUTLS_LIBS:+false} :; then :
13614 if ${PKG_CONFIG+:} false; then :
13615 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13619 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13620 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13621 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13622 ac_save_CPPFLAGS=$CPPFLAGS
13623 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13624 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13625 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <gnutls/gnutls.h>
13629 #include <gnutls/crypto.h>
13631 main ()
13633 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_compile "$LINENO"; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13640 $as_echo_n "checking for -lgnutls... " >&6; }
13641 if ${ac_cv_lib_soname_gnutls+:} false; then :
13642 $as_echo_n "(cached) " >&6
13643 else
13644 ac_check_soname_save_LIBS=$LIBS
13645 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13649 /* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13652 #ifdef __cplusplus
13653 extern "C"
13654 #endif
13655 char gnutls_global_init ();
13657 main ()
13659 return gnutls_global_init ();
13661 return 0;
13663 _ACEOF
13664 if ac_fn_c_try_link "$LINENO"; then :
13665 case "$LIBEXT" in
13666 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13667 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'` ;;
13668 *) 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'`
13669 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13670 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'`
13671 fi ;;
13672 esac
13673 else
13674 ac_cv_lib_soname_gnutls=
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13678 LIBS=$ac_check_soname_save_LIBS
13680 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13682 $as_echo "not found" >&6; }
13683 GNUTLS_CFLAGS=""
13684 else
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13686 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13688 cat >>confdefs.h <<_ACEOF
13689 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13690 _ACEOF
13694 ac_wine_check_funcs_save_LIBS="$LIBS"
13695 LIBS="$LIBS $GNUTLS_LIBS"
13696 for ac_func in gnutls_cipher_init
13697 do :
13698 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13699 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13700 cat >>confdefs.h <<_ACEOF
13701 #define HAVE_GNUTLS_CIPHER_INIT 1
13702 _ACEOF
13704 else
13705 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13707 done
13709 LIBS="$ac_wine_check_funcs_save_LIBS"
13711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 else
13713 GNUTLS_CFLAGS=""
13717 CPPFLAGS=$ac_save_CPPFLAGS
13720 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13721 case "x$with_gnutls" in
13722 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13723 xno) ;;
13724 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13725 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13726 esac
13730 if test "x$with_sane" != "xno"
13731 then
13732 if ${SANE_CFLAGS:+false} :; then :
13733 if ${PKG_CONFIG+:} false; then :
13734 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13737 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13738 if ${SANE_LIBS:+false} :; then :
13739 if ${PKG_CONFIG+:} false; then :
13740 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13743 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13745 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13746 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13747 ac_save_CPPFLAGS=$CPPFLAGS
13748 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13749 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13750 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13752 $as_echo_n "checking for -lsane... " >&6; }
13753 if ${ac_cv_lib_soname_sane+:} false; then :
13754 $as_echo_n "(cached) " >&6
13755 else
13756 ac_check_soname_save_LIBS=$LIBS
13757 LIBS="-lsane $SANE_LIBS $LIBS"
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13761 /* Override any GCC internal prototype to avoid an error.
13762 Use char because int might match the return type of a GCC
13763 builtin and then its argument prototype would still apply. */
13764 #ifdef __cplusplus
13765 extern "C"
13766 #endif
13767 char sane_init ();
13769 main ()
13771 return sane_init ();
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"; then :
13777 case "$LIBEXT" in
13778 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13779 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'` ;;
13780 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13781 if ${ac_cv_lib_soname_sane:+false} :; then :
13782 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13783 fi ;;
13784 esac
13785 else
13786 ac_cv_lib_soname_sane=
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 LIBS=$ac_check_soname_save_LIBS
13792 if ${ac_cv_lib_soname_sane:+false} :; then :
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13794 $as_echo "not found" >&6; }
13795 SANE_CFLAGS=""
13796 else
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13798 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13800 cat >>confdefs.h <<_ACEOF
13801 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13802 _ACEOF
13806 else
13807 SANE_CFLAGS=""
13811 CPPFLAGS=$ac_save_CPPFLAGS
13814 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13815 case "x$with_sane" in
13816 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13817 xno) ;;
13818 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13819 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13820 esac
13824 if test "x$with_usb" != "xno"
13825 then
13826 if ${USB_CFLAGS:+false} :; then :
13827 if ${PKG_CONFIG+:} false; then :
13828 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13832 if ${USB_LIBS:+false} :; then :
13833 if ${PKG_CONFIG+:} false; then :
13834 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13838 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13839 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13840 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13841 ac_save_CPPFLAGS=$CPPFLAGS
13842 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13843 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13844 if test "x$ac_cv_header_libusb_h" = xyes; then :
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13846 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13847 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 ac_check_lib_save_LIBS=$LIBS
13851 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13855 /* Override any GCC internal prototype to avoid an error.
13856 Use char because int might match the return type of a GCC
13857 builtin and then its argument prototype would still apply. */
13858 #ifdef __cplusplus
13859 extern "C"
13860 #endif
13861 char libusb_interrupt_event_handler ();
13863 main ()
13865 return libusb_interrupt_event_handler ();
13867 return 0;
13869 _ACEOF
13870 if ac_fn_c_try_link "$LINENO"; then :
13871 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13872 else
13873 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_lib_save_LIBS
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13880 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13881 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13883 else
13884 USB_LIBS=""
13887 else
13888 USB_LIBS=""
13892 CPPFLAGS=$ac_save_CPPFLAGS
13895 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13896 case "x$with_usb" in
13897 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13898 xno) ;;
13899 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13900 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13901 esac
13902 enable_wineusb_sys=${enable_wineusb_sys:-no}
13905 if test "x$with_v4l2" != "xno"
13906 then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13908 $as_echo_n "checking for -lv4l2... " >&6; }
13909 if ${ac_cv_lib_soname_v4l2+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 ac_check_soname_save_LIBS=$LIBS
13913 LIBS="-lv4l2 $LIBS"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char v4l2_open ();
13925 main ()
13927 return v4l2_open ();
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 case "$LIBEXT" in
13934 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13935 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'` ;;
13936 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13937 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13938 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13939 fi ;;
13940 esac
13941 else
13942 ac_cv_lib_soname_v4l2=
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 LIBS=$ac_check_soname_save_LIBS
13948 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13950 $as_echo "not found" >&6; }
13952 else
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13954 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13956 cat >>confdefs.h <<_ACEOF
13957 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13958 _ACEOF
13963 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13964 case "x$with_v4l2" in
13965 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13966 xno) ;;
13967 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13968 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13969 esac
13973 if test "x$with_gphoto" != "xno"
13974 then
13975 if ${GPHOTO2_CFLAGS:+false} :; then :
13976 if ${PKG_CONFIG+:} false; then :
13977 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13980 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13981 if ${GPHOTO2_LIBS:+false} :; then :
13982 if ${PKG_CONFIG+:} false; then :
13983 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13986 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13987 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13988 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13989 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13990 ac_save_CPPFLAGS=$CPPFLAGS
13991 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13992 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13993 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13995 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13996 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 ac_check_lib_save_LIBS=$LIBS
14000 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 #ifdef __cplusplus
14008 extern "C"
14009 #endif
14010 char gp_camera_new ();
14012 main ()
14014 return gp_camera_new ();
14016 return 0;
14018 _ACEOF
14019 if ac_fn_c_try_link "$LINENO"; then :
14020 ac_cv_lib_gphoto2_gp_camera_new=yes
14021 else
14022 ac_cv_lib_gphoto2_gp_camera_new=no
14024 rm -f core conftest.err conftest.$ac_objext \
14025 conftest$ac_exeext conftest.$ac_ext
14026 LIBS=$ac_check_lib_save_LIBS
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14029 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14030 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14032 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14034 else
14035 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14038 else
14039 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14043 CPPFLAGS=$ac_save_CPPFLAGS
14045 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14046 if ${PKG_CONFIG+:} false; then :
14047 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14050 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14051 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14052 if ${PKG_CONFIG+:} false; then :
14053 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14056 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14057 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14058 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14059 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14060 ac_save_CPPFLAGS=$CPPFLAGS
14061 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14062 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14063 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14065 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14066 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14067 $as_echo_n "(cached) " >&6
14068 else
14069 ac_check_lib_save_LIBS=$LIBS
14070 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14074 /* Override any GCC internal prototype to avoid an error.
14075 Use char because int might match the return type of a GCC
14076 builtin and then its argument prototype would still apply. */
14077 #ifdef __cplusplus
14078 extern "C"
14079 #endif
14080 char gp_port_info_list_new ();
14082 main ()
14084 return gp_port_info_list_new ();
14086 return 0;
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14091 else
14092 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 LIBS=$ac_check_lib_save_LIBS
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14099 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14100 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14102 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14104 else
14105 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14108 else
14109 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14113 CPPFLAGS=$ac_save_CPPFLAGS
14116 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14117 case "x$with_gphoto" in
14118 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14119 xno) ;;
14120 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14121 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14122 esac
14125 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14126 case "x$with_gphoto" in
14127 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14128 xno) ;;
14129 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14130 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14131 esac
14136 if test "$ac_cv_header_resolv_h" = "yes"
14137 then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14139 $as_echo_n "checking for resolver library... " >&6; }
14140 if ${ac_cv_have_resolv+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_save_LIBS="$LIBS"
14144 for lib in '' -lresolv
14146 LIBS="$lib $ac_save_LIBS"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 #ifdef HAVE_NETINET_IN_H
14150 #include <netinet/in.h>
14151 #endif
14152 #include <resolv.h>
14154 main ()
14156 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 ac_cv_have_resolv=${lib:-"none required"}
14163 else
14164 ac_cv_have_resolv="not found"
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 test "x$ac_cv_have_resolv" = "xnot found" || break
14169 done
14170 LIBS="$ac_save_LIBS"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14173 $as_echo "$ac_cv_have_resolv" >&6; }
14175 case "$ac_cv_have_resolv" in
14176 "not found") ;;
14177 "none required")
14179 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14182 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14184 RESOLV_LIBS=$ac_cv_have_resolv
14186 esac
14188 if test "x$ac_cv_have_resolv" != "xnot found"
14189 then
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14191 $as_echo_n "checking for res_getservers... " >&6; }
14192 if ${ac_cv_have_res_getservers+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_save_LIBS="$LIBS"
14196 LIBS="$RESOLV_LIBS $LIBS"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 #include <resolv.h>
14201 main ()
14203 res_getservers(NULL, NULL, 0);
14205 return 0;
14207 _ACEOF
14208 if ac_fn_c_try_link "$LINENO"; then :
14209 ac_cv_have_res_getservers=yes
14210 else
14211 ac_cv_have_res_getservers=no
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS="$ac_save_LIBS"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14218 $as_echo "$ac_cv_have_res_getservers" >&6; }
14219 if test "$ac_cv_have_res_getservers" = "yes"
14220 then
14222 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14228 if test "x$with_cms" != "xno"
14229 then
14230 if ${LCMS2_CFLAGS:+false} :; then :
14231 if ${PKG_CONFIG+:} false; then :
14232 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14236 if ${LCMS2_LIBS:+false} :; then :
14237 if ${PKG_CONFIG+:} false; then :
14238 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14242 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14243 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14244 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14245 ac_save_CPPFLAGS=$CPPFLAGS
14246 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14247 for ac_header in lcms2.h
14248 do :
14249 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14250 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14251 cat >>confdefs.h <<_ACEOF
14252 #define HAVE_LCMS2_H 1
14253 _ACEOF
14257 done
14259 if test "$ac_cv_header_lcms2_h" = "yes"
14260 then
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14262 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14263 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14264 $as_echo_n "(cached) " >&6
14265 else
14266 ac_check_lib_save_LIBS=$LIBS
14267 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14271 /* Override any GCC internal prototype to avoid an error.
14272 Use char because int might match the return type of a GCC
14273 builtin and then its argument prototype would still apply. */
14274 #ifdef __cplusplus
14275 extern "C"
14276 #endif
14277 char cmsOpenProfileFromFile ();
14279 main ()
14281 return cmsOpenProfileFromFile ();
14283 return 0;
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"; then :
14287 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14288 else
14289 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 LIBS=$ac_check_lib_save_LIBS
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14296 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14297 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14299 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14301 else
14302 LCMS2_LIBS=""
14305 else
14306 LCMS2_CFLAGS=""
14307 LCMS2_LIBS=""
14309 CPPFLAGS=$ac_save_CPPFLAGS
14312 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14313 case "x$with_cms" in
14314 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14315 xno) ;;
14316 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14317 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14318 esac
14322 if test "x$with_freetype" != "xno"
14323 then
14324 if ${FREETYPE_CFLAGS:+false} :; then :
14325 if ${PKG_CONFIG+:} false; then :
14326 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14329 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14330 if ${FREETYPE_LIBS:+false} :; then :
14331 if ${PKG_CONFIG+:} false; then :
14332 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14335 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14336 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14337 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14338 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14339 ac_save_CPPFLAGS=$CPPFLAGS
14340 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14341 for ac_header in ft2build.h
14342 do :
14343 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14344 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14345 cat >>confdefs.h <<_ACEOF
14346 #define HAVE_FT2BUILD_H 1
14347 _ACEOF
14351 done
14353 if test "$ac_cv_header_ft2build_h" = "yes"
14354 then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14356 $as_echo_n "checking for -lfreetype... " >&6; }
14357 if ${ac_cv_lib_soname_freetype+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 ac_check_soname_save_LIBS=$LIBS
14361 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14368 #ifdef __cplusplus
14369 extern "C"
14370 #endif
14371 char FT_Init_FreeType ();
14373 main ()
14375 return FT_Init_FreeType ();
14377 return 0;
14379 _ACEOF
14380 if ac_fn_c_try_link "$LINENO"; then :
14381 case "$LIBEXT" in
14382 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14383 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'` ;;
14384 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14385 if ${ac_cv_lib_soname_freetype:+false} :; then :
14386 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14387 fi ;;
14388 esac
14389 else
14390 ac_cv_lib_soname_freetype=
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 LIBS=$ac_check_soname_save_LIBS
14396 if ${ac_cv_lib_soname_freetype:+false} :; then :
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14398 $as_echo "not found" >&6; }
14399 FREETYPE_LIBS=""
14400 else
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14402 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14404 cat >>confdefs.h <<_ACEOF
14405 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14406 _ACEOF
14409 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14411 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14412 #include FT_MODULE_H
14414 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14416 cat >>confdefs.h <<_ACEOF
14417 #define HAVE_FT_TRUETYPEENGINETYPE 1
14418 _ACEOF
14424 else
14425 FREETYPE_CFLAGS=""
14426 FREETYPE_LIBS=""
14428 CPPFLAGS=$ac_save_CPPFLAGS
14431 if test "x$ac_cv_lib_soname_freetype" = x; then :
14432 case "x$with_freetype" in
14433 xno) ;;
14434 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14435 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14436 esac
14437 enable_fonts=${enable_fonts:-no}
14440 ac_wine_check_funcs_save_LIBS="$LIBS"
14441 LIBS="$LIBS $PTHREAD_LIBS"
14442 for ac_func in \
14443 pthread_getthreadid_np
14444 do :
14445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14448 cat >>confdefs.h <<_ACEOF
14449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14450 _ACEOF
14453 done
14455 LIBS="$ac_wine_check_funcs_save_LIBS"
14457 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14458 then
14459 if test "$ac_cv_header_gettext_po_h" = "yes"
14460 then
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14462 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14463 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 ac_check_lib_save_LIBS=$LIBS
14467 LIBS="-lgettextpo $LIBS"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 #ifdef __cplusplus
14475 extern "C"
14476 #endif
14477 char po_message_msgctxt ();
14479 main ()
14481 return po_message_msgctxt ();
14483 return 0;
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14488 else
14489 ac_cv_lib_gettextpo_po_message_msgctxt=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LIBS=$ac_check_lib_save_LIBS
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14496 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14497 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14499 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14501 GETTEXTPO_LIBS="-lgettextpo"
14506 if test "x$GETTEXTPO_LIBS" = "x"; then :
14507 case "x$with_gettextpo" in
14508 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14509 xno) ;;
14510 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14511 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14512 esac
14515 if test "$srcdir" != .; then :
14516 case "x$with_gettextpo" in
14517 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14518 xno) ;;
14519 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14520 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14521 esac
14526 if test "x$with_pulse" != "xno";
14527 then
14528 if ${PULSE_CFLAGS:+false} :; then :
14529 if ${PKG_CONFIG+:} false; then :
14530 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14534 if ${PULSE_LIBS:+false} :; then :
14535 if ${PKG_CONFIG+:} false; then :
14536 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14541 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14542 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14543 ac_save_CPPFLAGS=$CPPFLAGS
14544 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14545 for ac_header in pulse/pulseaudio.h
14546 do :
14547 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14548 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14549 cat >>confdefs.h <<_ACEOF
14550 #define HAVE_PULSE_PULSEAUDIO_H 1
14551 _ACEOF
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14553 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14554 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14555 $as_echo_n "(cached) " >&6
14556 else
14557 ac_check_lib_save_LIBS=$LIBS
14558 LIBS="-lpulse $PULSE_LIBS $LIBS"
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14562 /* Override any GCC internal prototype to avoid an error.
14563 Use char because int might match the return type of a GCC
14564 builtin and then its argument prototype would still apply. */
14565 #ifdef __cplusplus
14566 extern "C"
14567 #endif
14568 char pa_stream_is_corked ();
14570 main ()
14572 return pa_stream_is_corked ();
14574 return 0;
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_lib_pulse_pa_stream_is_corked=yes
14579 else
14580 ac_cv_lib_pulse_pa_stream_is_corked=no
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 LIBS=$ac_check_lib_save_LIBS
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14587 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14588 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14590 else
14591 PULSE_LIBS=""
14594 else
14595 PULSE_LIBS=""
14598 done
14600 CPPFLAGS=$ac_save_CPPFLAGS
14603 if test -z "$PULSE_LIBS"; then :
14604 case "x$with_pulse" in
14605 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14606 xno) ;;
14607 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14608 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14609 esac
14610 enable_winepulse_drv=${enable_winepulse_drv:-no}
14613 if test "x$with_gstreamer" != "xno"
14614 then
14615 if ${GSTREAMER_CFLAGS:+false} :; then :
14616 if ${PKG_CONFIG+:} false; then :
14617 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14621 if ${GSTREAMER_LIBS:+false} :; then :
14622 if ${PKG_CONFIG+:} false; then :
14623 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14628 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14629 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14630 ac_save_CPPFLAGS=$CPPFLAGS
14631 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14632 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14633 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14635 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14638 #include <gst/gst.h>
14640 main ()
14642 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_compile "$LINENO"; then :
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14649 $as_echo "yes" >&6; }
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14651 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14652 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_check_lib_save_LIBS=$LIBS
14656 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14660 /* Override any GCC internal prototype to avoid an error.
14661 Use char because int might match the return type of a GCC
14662 builtin and then its argument prototype would still apply. */
14663 #ifdef __cplusplus
14664 extern "C"
14665 #endif
14666 char gst_pad_new ();
14668 main ()
14670 return gst_pad_new ();
14672 return 0;
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14677 else
14678 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 LIBS=$ac_check_lib_save_LIBS
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14685 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14686 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14690 else
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14692 $as_echo "no" >&6; }
14693 ac_glib2_broken=yes
14694 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14700 CPPFLAGS=$ac_save_CPPFLAGS
14703 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14704 then
14705 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14706 case "x$with_gstreamer" in
14707 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14708 xno) ;;
14709 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14710 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14711 esac
14715 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14717 ALSA_LIBS=""
14719 if test "x$with_alsa" != "xno"
14720 then
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14722 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14723 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 ac_check_lib_save_LIBS=$LIBS
14727 LIBS="-lasound $LIBS"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14731 /* Override any GCC internal prototype to avoid an error.
14732 Use char because int might match the return type of a GCC
14733 builtin and then its argument prototype would still apply. */
14734 #ifdef __cplusplus
14735 extern "C"
14736 #endif
14737 char snd_pcm_hw_params_get_access_mask ();
14739 main ()
14741 return snd_pcm_hw_params_get_access_mask ();
14743 return 0;
14745 _ACEOF
14746 if ac_fn_c_try_link "$LINENO"; then :
14747 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14748 else
14749 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14751 rm -f core conftest.err conftest.$ac_objext \
14752 conftest$ac_exeext conftest.$ac_ext
14753 LIBS=$ac_check_lib_save_LIBS
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14756 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14757 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 #include <alsa/asoundlib.h>
14762 main ()
14764 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14766 return 0;
14768 _ACEOF
14769 if ac_fn_c_try_compile "$LINENO"; then :
14770 ALSA_LIBS="-lasound"
14772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14778 if test "x$with_oss" != xno
14779 then
14780 ac_save_CPPFLAGS="$CPPFLAGS"
14781 if test -f /etc/oss.conf
14782 then
14783 . /etc/oss.conf
14785 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14786 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14787 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14788 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14789 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14791 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14793 cat >>confdefs.h <<_ACEOF
14794 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14795 _ACEOF
14797 OSS4_CFLAGS="$ac_oss_incl"
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14800 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14801 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_check_lib_save_LIBS=$LIBS
14805 LIBS="-lossaudio $LIBS"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14812 #ifdef __cplusplus
14813 extern "C"
14814 #endif
14815 char _oss_ioctl ();
14817 main ()
14819 return _oss_ioctl ();
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"; then :
14825 ac_cv_lib_ossaudio__oss_ioctl=yes
14826 else
14827 ac_cv_lib_ossaudio__oss_ioctl=no
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_check_lib_save_LIBS
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14834 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14835 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14836 OSS4_LIBS="-lossaudio"
14845 CPPFLAGS="$ac_save_CPPFLAGS"
14847 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14848 case "x$with_oss" in
14849 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14852 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14853 esac
14854 enable_wineoss_drv=${enable_wineoss_drv:-no}
14857 if test "x$with_udev" != "xno"
14858 then
14859 if ${UDEV_CFLAGS:+false} :; then :
14860 if ${PKG_CONFIG+:} false; then :
14861 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14865 if ${UDEV_LIBS:+false} :; then :
14866 if ${PKG_CONFIG+:} false; then :
14867 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14871 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14872 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14873 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14874 ac_save_CPPFLAGS=$CPPFLAGS
14875 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14876 for ac_header in libudev.h
14877 do :
14878 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14879 if test "x$ac_cv_header_libudev_h" = xyes; then :
14880 cat >>confdefs.h <<_ACEOF
14881 #define HAVE_LIBUDEV_H 1
14882 _ACEOF
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14884 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14885 if ${ac_cv_lib_udev_udev_new+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_check_lib_save_LIBS=$LIBS
14889 LIBS="-ludev $UDEV_LIBS $LIBS"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 #ifdef __cplusplus
14897 extern "C"
14898 #endif
14899 char udev_new ();
14901 main ()
14903 return udev_new ();
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_lib_udev_udev_new=yes
14910 else
14911 ac_cv_lib_udev_udev_new=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 LIBS=$ac_check_lib_save_LIBS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14918 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14919 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14921 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14923 else
14924 UDEV_LIBS=""
14927 else
14928 UDEV_LIBS=""
14931 done
14933 CPPFLAGS=$ac_save_CPPFLAGS
14936 if test "x$UDEV_LIBS" = "x"; then :
14937 case "x$with_udev" in
14938 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14939 xno) ;;
14940 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14941 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14942 esac
14946 if test "x$with_unwind" != xno
14947 then
14948 if ${UNWIND_CFLAGS:+false} :; then :
14949 if ${PKG_CONFIG+:} false; then :
14950 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14954 if ${UNWIND_LIBS:+false} :; then :
14955 if ${PKG_CONFIG+:} false; then :
14956 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14960 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14961 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14962 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14963 ac_save_CPPFLAGS=$CPPFLAGS
14964 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14966 $as_echo_n "checking for unw_step... " >&6; }
14967 if ${wine_cv_have_unw_step+:} false; then :
14968 $as_echo_n "(cached) " >&6
14969 else
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 #define UNW_LOCAL_ONLY
14973 #include <libunwind.h>
14975 main ()
14977 unw_cursor_t cursor; unw_step( &cursor );
14979 return 0;
14981 _ACEOF
14982 if ac_fn_c_try_link "$LINENO"; then :
14983 wine_cv_have_unw_step="yes"
14984 else
14985 wine_cv_have_unw_step="no"
14987 rm -f core conftest.err conftest.$ac_objext \
14988 conftest$ac_exeext conftest.$ac_ext
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14991 $as_echo "$wine_cv_have_unw_step" >&6; }
14992 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14993 then
14994 save_libs=$LIBS
14995 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14996 LIBS="$UNWIND_LIBS $LIBS"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14998 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14999 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 #define UNW_LOCAL_ONLY
15005 #include <libunwind.h>
15007 main ()
15009 unw_cursor_t cursor; unw_step( &cursor );
15011 return 0;
15013 _ACEOF
15014 if ac_fn_c_try_link "$LINENO"; then :
15015 wine_cv_have_libunwind_unw_step="yes"
15016 else
15017 wine_cv_have_libunwind_unw_step="no"
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15023 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15024 LIBS=$save_libs
15026 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15027 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15028 then
15030 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15033 CPPFLAGS=$ac_save_CPPFLAGS
15036 case $host in
15037 aarch64*|*-darwin*)
15038 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15039 case "x$with_unwind" in
15040 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15041 xno) ;;
15042 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15043 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15044 esac
15046 fi ;;
15047 esac
15049 if test "x$with_sdl" != "xno"
15050 then
15051 if ${SDL2_CFLAGS:+false} :; then :
15052 if ${PKG_CONFIG+:} false; then :
15053 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15057 if ${SDL2_LIBS:+false} :; then :
15058 if ${PKG_CONFIG+:} false; then :
15059 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15063 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15064 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15065 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15066 ac_save_CPPFLAGS=$CPPFLAGS
15067 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15068 for ac_header in SDL.h
15069 do :
15070 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15071 if test "x$ac_cv_header_SDL_h" = xyes; then :
15072 cat >>confdefs.h <<_ACEOF
15073 #define HAVE_SDL_H 1
15074 _ACEOF
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15076 $as_echo_n "checking for -lSDL2... " >&6; }
15077 if ${ac_cv_lib_soname_SDL2+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 ac_check_soname_save_LIBS=$LIBS
15081 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 #ifdef __cplusplus
15089 extern "C"
15090 #endif
15091 char SDL_Init ();
15093 main ()
15095 return SDL_Init ();
15097 return 0;
15099 _ACEOF
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 case "$LIBEXT" in
15102 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15103 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'` ;;
15104 *) 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'`
15105 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15106 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15107 fi ;;
15108 esac
15109 else
15110 ac_cv_lib_soname_SDL2=
15112 rm -f core conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15114 LIBS=$ac_check_soname_save_LIBS
15116 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15118 $as_echo "not found" >&6; }
15120 else
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15122 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15124 cat >>confdefs.h <<_ACEOF
15125 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15126 _ACEOF
15132 done
15134 CPPFLAGS=$ac_save_CPPFLAGS
15137 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15138 case "x$with_sdl" in
15139 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15140 xno) ;;
15141 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15142 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15143 esac
15147 if test "x$with_faudio" != "xno"
15148 then
15149 if ${FAUDIO_CFLAGS:+false} :; then :
15150 if ${PKG_CONFIG+:} false; then :
15151 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15155 if ${FAUDIO_LIBS:+false} :; then :
15156 if ${PKG_CONFIG+:} false; then :
15157 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15161 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15162 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15163 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15164 ac_save_CPPFLAGS=$CPPFLAGS
15165 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15166 for ac_header in FAudio.h
15167 do :
15168 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15169 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15170 cat >>confdefs.h <<_ACEOF
15171 #define HAVE_FAUDIO_H 1
15172 _ACEOF
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15174 $as_echo_n "checking for -lFAudio... " >&6; }
15175 if ${ac_cv_lib_soname_FAudio+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_check_soname_save_LIBS=$LIBS
15179 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 #ifdef __cplusplus
15187 extern "C"
15188 #endif
15189 char FAudioCreate ();
15191 main ()
15193 return FAudioCreate ();
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 case "$LIBEXT" in
15200 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15201 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'` ;;
15202 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15203 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15204 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15207 else
15208 ac_cv_lib_soname_FAudio=
15210 rm -f core conftest.err conftest.$ac_objext \
15211 conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_soname_save_LIBS
15214 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 $as_echo "not found" >&6; }
15218 else
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15220 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15222 cat >>confdefs.h <<_ACEOF
15223 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15224 _ACEOF
15230 done
15232 ac_wine_check_funcs_save_LIBS="$LIBS"
15233 LIBS="$LIBS $FAUDIO_LIBS"
15234 for ac_func in FAudio_CommitOperationSet \
15235 F3DAudioInitialize8 \
15236 FAudioLinkedVersion \
15237 FAudioCreateReverb9WithCustomAllocatorEXT
15238 do :
15239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15242 cat >>confdefs.h <<_ACEOF
15243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15244 _ACEOF
15247 done
15249 LIBS="$ac_wine_check_funcs_save_LIBS"
15251 CPPFLAGS=$ac_save_CPPFLAGS
15254 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15255 case "x$with_faudio" in
15256 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15257 xno) ;;
15258 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15259 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15260 esac
15264 if test "x$with_capi" != "xno"
15265 then
15266 if ${CAPI20_CFLAGS:+false} :; then :
15267 if ${PKG_CONFIG+:} false; then :
15268 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15272 if ${CAPI20_LIBS:+false} :; then :
15273 if ${PKG_CONFIG+:} false; then :
15274 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15279 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15280 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15281 ac_save_CPPFLAGS=$CPPFLAGS
15282 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15283 for ac_header in capi20.h linux/capi.h
15284 do :
15285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15286 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15291 _ACEOF
15295 done
15297 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15298 then
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15300 $as_echo_n "checking for -lcapi20... " >&6; }
15301 if ${ac_cv_lib_soname_capi20+:} false; then :
15302 $as_echo_n "(cached) " >&6
15303 else
15304 ac_check_soname_save_LIBS=$LIBS
15305 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15309 /* Override any GCC internal prototype to avoid an error.
15310 Use char because int might match the return type of a GCC
15311 builtin and then its argument prototype would still apply. */
15312 #ifdef __cplusplus
15313 extern "C"
15314 #endif
15315 char capi20_register ();
15317 main ()
15319 return capi20_register ();
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_link "$LINENO"; then :
15325 case "$LIBEXT" in
15326 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15327 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'` ;;
15328 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15329 if ${ac_cv_lib_soname_capi20:+false} :; then :
15330 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 fi ;;
15332 esac
15333 else
15334 ac_cv_lib_soname_capi20=
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15338 LIBS=$ac_check_soname_save_LIBS
15340 if ${ac_cv_lib_soname_capi20:+false} :; then :
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15342 $as_echo "not found" >&6; }
15344 else
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15346 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15348 cat >>confdefs.h <<_ACEOF
15349 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15350 _ACEOF
15355 CPPFLAGS=$ac_save_CPPFLAGS
15358 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15359 case "x$with_capi" in
15360 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15361 xno) ;;
15362 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15363 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15364 esac
15368 if test "x$with_cups" != "xno"
15369 then
15370 if ${CUPS_CFLAGS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15375 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15376 if ${CUPS_LIBS:+false} :; then :
15377 if ${PKG_CONFIG+:} false; then :
15378 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15381 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15382 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15383 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15384 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15385 ac_save_CPPFLAGS=$CPPFLAGS
15386 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15387 for ac_header in cups/cups.h cups/ppd.h
15388 do :
15389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15390 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15394 _ACEOF
15398 done
15400 if test "$ac_cv_header_cups_cups_h" = "yes"
15401 then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15403 $as_echo_n "checking for -lcups... " >&6; }
15404 if ${ac_cv_lib_soname_cups+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 ac_check_soname_save_LIBS=$LIBS
15408 LIBS="-lcups $CUPS_LIBS $LIBS"
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 #ifdef __cplusplus
15416 extern "C"
15417 #endif
15418 char cupsGetDefault ();
15420 main ()
15422 return cupsGetDefault ();
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 case "$LIBEXT" in
15429 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15430 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'` ;;
15431 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15432 if ${ac_cv_lib_soname_cups:+false} :; then :
15433 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15434 fi ;;
15435 esac
15436 else
15437 ac_cv_lib_soname_cups=
15439 rm -f core conftest.err conftest.$ac_objext \
15440 conftest$ac_exeext conftest.$ac_ext
15441 LIBS=$ac_check_soname_save_LIBS
15443 if ${ac_cv_lib_soname_cups:+false} :; then :
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15445 $as_echo "not found" >&6; }
15446 CUPS_LIBS=""
15447 else
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15449 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15451 cat >>confdefs.h <<_ACEOF
15452 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15453 _ACEOF
15457 else
15458 CUPS_CFLAGS=""
15459 CUPS_LIBS=""
15461 CPPFLAGS=$ac_save_CPPFLAGS
15464 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15465 case "x$with_cups" in
15466 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15467 xno) ;;
15468 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15469 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15470 esac
15474 if test "x$with_fontconfig" != "xno"
15475 then
15476 if ${FONTCONFIG_CFLAGS:+false} :; then :
15477 if ${PKG_CONFIG+:} false; then :
15478 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15481 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15482 if ${FONTCONFIG_LIBS:+false} :; then :
15483 if ${PKG_CONFIG+:} false; then :
15484 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15487 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15489 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15490 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15491 ac_save_CPPFLAGS=$CPPFLAGS
15492 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15493 for ac_header in fontconfig/fontconfig.h
15494 do :
15495 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15496 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15499 _ACEOF
15503 done
15505 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15506 then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15508 $as_echo_n "checking for -lfontconfig... " >&6; }
15509 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15510 $as_echo_n "(cached) " >&6
15511 else
15512 ac_check_soname_save_LIBS=$LIBS
15513 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15517 /* Override any GCC internal prototype to avoid an error.
15518 Use char because int might match the return type of a GCC
15519 builtin and then its argument prototype would still apply. */
15520 #ifdef __cplusplus
15521 extern "C"
15522 #endif
15523 char FcInit ();
15525 main ()
15527 return FcInit ();
15529 return 0;
15531 _ACEOF
15532 if ac_fn_c_try_link "$LINENO"; then :
15533 case "$LIBEXT" in
15534 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15535 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'` ;;
15536 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15537 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15538 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15539 fi ;;
15540 esac
15541 else
15542 ac_cv_lib_soname_fontconfig=
15544 rm -f core conftest.err conftest.$ac_objext \
15545 conftest$ac_exeext conftest.$ac_ext
15546 LIBS=$ac_check_soname_save_LIBS
15548 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15550 $as_echo "not found" >&6; }
15551 FONTCONFIG_CFLAGS=""
15552 else
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15554 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15556 cat >>confdefs.h <<_ACEOF
15557 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15558 _ACEOF
15562 else
15563 FONTCONFIG_CFLAGS=""
15565 CPPFLAGS=$ac_save_CPPFLAGS
15568 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15569 case "x$with_fontconfig" in
15570 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15571 xno) ;;
15572 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15573 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15574 esac
15578 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15579 then
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15581 $as_echo_n "checking for -lgsm... " >&6; }
15582 if ${ac_cv_lib_soname_gsm+:} false; then :
15583 $as_echo_n "(cached) " >&6
15584 else
15585 ac_check_soname_save_LIBS=$LIBS
15586 LIBS="-lgsm $LIBS"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 #ifdef __cplusplus
15594 extern "C"
15595 #endif
15596 char gsm_create ();
15598 main ()
15600 return gsm_create ();
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 case "$LIBEXT" in
15607 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15608 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'` ;;
15609 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15610 if ${ac_cv_lib_soname_gsm:+false} :; then :
15611 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15612 fi ;;
15613 esac
15614 else
15615 ac_cv_lib_soname_gsm=
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_soname_save_LIBS
15621 if ${ac_cv_lib_soname_gsm:+false} :; then :
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15623 $as_echo "not found" >&6; }
15625 else
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15627 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15629 cat >>confdefs.h <<_ACEOF
15630 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15631 _ACEOF
15636 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15637 case "x$with_gsm" in
15638 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15639 xno) ;;
15640 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15641 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15642 esac
15646 if test "x$with_krb5" != "xno"
15647 then
15648 if ${KRB5_CFLAGS:+false} :; then :
15649 if ${PKG_CONFIG+:} false; then :
15650 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15653 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15654 if ${KRB5_LIBS:+false} :; then :
15655 if ${PKG_CONFIG+:} false; then :
15656 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15659 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15661 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15662 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15663 ac_save_CPPFLAGS=$CPPFLAGS
15664 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15665 for ac_header in krb5/krb5.h
15666 do :
15667 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15668 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15669 cat >>confdefs.h <<_ACEOF
15670 #define HAVE_KRB5_KRB5_H 1
15671 _ACEOF
15675 done
15677 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15678 then
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15680 $as_echo_n "checking for -lkrb5... " >&6; }
15681 if ${ac_cv_lib_soname_krb5+:} false; then :
15682 $as_echo_n "(cached) " >&6
15683 else
15684 ac_check_soname_save_LIBS=$LIBS
15685 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15689 /* Override any GCC internal prototype to avoid an error.
15690 Use char because int might match the return type of a GCC
15691 builtin and then its argument prototype would still apply. */
15692 #ifdef __cplusplus
15693 extern "C"
15694 #endif
15695 char krb5_is_config_principal ();
15697 main ()
15699 return krb5_is_config_principal ();
15701 return 0;
15703 _ACEOF
15704 if ac_fn_c_try_link "$LINENO"; then :
15705 case "$LIBEXT" in
15706 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15707 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'` ;;
15708 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15709 if ${ac_cv_lib_soname_krb5:+false} :; then :
15710 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15711 fi ;;
15712 esac
15713 else
15714 ac_cv_lib_soname_krb5=
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_soname_save_LIBS
15720 if ${ac_cv_lib_soname_krb5:+false} :; then :
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15722 $as_echo "not found" >&6; }
15723 KRB5_CFLAGS=""
15724 else
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15726 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15728 cat >>confdefs.h <<_ACEOF
15729 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15730 _ACEOF
15734 else
15735 KRB5_CFLAGS=""
15737 CPPFLAGS=$ac_save_CPPFLAGS
15740 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15741 case "x$with_krb5" in
15742 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15743 xno) ;;
15744 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15745 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15746 esac
15749 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15751 if test "x$with_gssapi" != "xno"
15752 then
15753 if ${GSSAPI_CFLAGS:+false} :; then :
15754 if ${PKG_CONFIG+:} false; then :
15755 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15758 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15759 if ${GSSAPI_LIBS:+false} :; then :
15760 if ${PKG_CONFIG+:} false; then :
15761 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15764 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15766 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15767 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15768 ac_save_CPPFLAGS=$CPPFLAGS
15769 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15770 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15771 do :
15772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15773 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15777 _ACEOF
15781 done
15783 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15784 then
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15786 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15787 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15790 ac_check_soname_save_LIBS=$LIBS
15791 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15795 /* Override any GCC internal prototype to avoid an error.
15796 Use char because int might match the return type of a GCC
15797 builtin and then its argument prototype would still apply. */
15798 #ifdef __cplusplus
15799 extern "C"
15800 #endif
15801 char gss_init_sec_context ();
15803 main ()
15805 return gss_init_sec_context ();
15807 return 0;
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"; then :
15811 case "$LIBEXT" in
15812 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15813 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'` ;;
15814 *) 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'`
15815 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15816 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15817 fi ;;
15818 esac
15819 else
15820 ac_cv_lib_soname_gssapi_krb5=
15822 rm -f core conftest.err conftest.$ac_objext \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_soname_save_LIBS
15826 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15828 $as_echo "not found" >&6; }
15829 GSSAPI_CFLAGS=""
15830 else
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15832 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15834 cat >>confdefs.h <<_ACEOF
15835 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15836 _ACEOF
15840 else
15841 GSSAPI_CFLAGS=""
15843 CPPFLAGS=$ac_save_CPPFLAGS
15846 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15847 case "x$with_gssapi" in
15848 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15849 xno) ;;
15850 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15851 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15852 esac
15856 if test "x$with_jpeg" != "xno"
15857 then
15858 if ${JPEG_CFLAGS:+false} :; then :
15859 if ${PKG_CONFIG+:} false; then :
15860 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15864 if ${JPEG_LIBS:+false} :; then :
15865 if ${PKG_CONFIG+:} false; then :
15866 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15871 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15872 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15873 ac_save_CPPFLAGS=$CPPFLAGS
15874 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15875 for ac_header in jpeglib.h
15876 do :
15877 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15878 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_JPEGLIB_H 1
15881 _ACEOF
15885 done
15887 if test "$ac_cv_header_jpeglib_h" = "yes"
15888 then
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15890 $as_echo_n "checking for -ljpeg... " >&6; }
15891 if ${ac_cv_lib_soname_jpeg+:} false; then :
15892 $as_echo_n "(cached) " >&6
15893 else
15894 ac_check_soname_save_LIBS=$LIBS
15895 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 #ifdef __cplusplus
15903 extern "C"
15904 #endif
15905 char jpeg_start_decompress ();
15907 main ()
15909 return jpeg_start_decompress ();
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_link "$LINENO"; then :
15915 case "$LIBEXT" in
15916 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15917 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'` ;;
15918 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15920 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15921 fi ;;
15922 esac
15923 else
15924 ac_cv_lib_soname_jpeg=
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15928 LIBS=$ac_check_soname_save_LIBS
15930 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15932 $as_echo "not found" >&6; }
15933 JPEG_CFLAGS=""
15934 else
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15936 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15938 cat >>confdefs.h <<_ACEOF
15939 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15940 _ACEOF
15944 else
15945 JPEG_CFLAGS=""
15947 CPPFLAGS=$ac_save_CPPFLAGS
15950 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15951 case "x$with_jpeg" in
15952 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15953 xno) ;;
15954 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15955 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15956 esac
15960 if test "x$with_jxrlib" != "xno"
15961 then
15962 if ${JXRLIB_CFLAGS:+false} :; then :
15963 if ${PKG_CONFIG+:} false; then :
15964 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15967 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15968 if ${JXRLIB_LIBS:+false} :; then :
15969 if ${PKG_CONFIG+:} false; then :
15970 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15975 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15976 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15979 for ac_header in JXRGlue.h
15980 do :
15981 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15983 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_JXRGLUE_H 1
15986 _ACEOF
15990 done
15992 if test "$ac_cv_header_JXRGlue_h" = "yes"
15993 then
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15995 $as_echo_n "checking for -ljxrglue... " >&6; }
15996 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15997 $as_echo_n "(cached) " >&6
15998 else
15999 ac_check_soname_save_LIBS=$LIBS
16000 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 char PKImageDecode_Create_WMP ();
16012 main ()
16014 return PKImageDecode_Create_WMP ();
16016 return 0;
16018 _ACEOF
16019 if ac_fn_c_try_link "$LINENO"; then :
16020 case "$LIBEXT" in
16021 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16022 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'` ;;
16023 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16024 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16025 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16026 fi ;;
16027 esac
16028 else
16029 ac_cv_lib_soname_jxrglue=
16031 rm -f core conftest.err conftest.$ac_objext \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_soname_save_LIBS
16035 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16037 $as_echo "not found" >&6; }
16038 JXRLIB_CFLAGS=""
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16041 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16043 cat >>confdefs.h <<_ACEOF
16044 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16045 _ACEOF
16049 else
16050 JXRLIB_CFLAGS=""
16052 CPPFLAGS=$ac_save_CPPFLAGS
16055 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16056 case "x$with_jxrlib" in
16057 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16058 xno) ;;
16059 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16060 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16061 esac
16065 if test "x$with_png" != "xno"
16066 then
16067 if ${PNG_CFLAGS:+false} :; then :
16068 if ${PKG_CONFIG+:} false; then :
16069 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16072 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16073 if ${PNG_LIBS:+false} :; then :
16074 if ${PKG_CONFIG+:} false; then :
16075 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16078 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16080 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16081 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16082 ac_save_CPPFLAGS=$CPPFLAGS
16083 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16084 for ac_header in png.h
16085 do :
16086 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16087 if test "x$ac_cv_header_png_h" = xyes; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define HAVE_PNG_H 1
16090 _ACEOF
16094 done
16096 if test "$ac_cv_header_png_h" = "yes"
16097 then
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16099 $as_echo_n "checking for -lpng... " >&6; }
16100 if ${ac_cv_lib_soname_png+:} false; then :
16101 $as_echo_n "(cached) " >&6
16102 else
16103 ac_check_soname_save_LIBS=$LIBS
16104 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 #ifdef __cplusplus
16112 extern "C"
16113 #endif
16114 char png_create_read_struct ();
16116 main ()
16118 return png_create_read_struct ();
16120 return 0;
16122 _ACEOF
16123 if ac_fn_c_try_link "$LINENO"; then :
16124 case "$LIBEXT" in
16125 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16126 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'` ;;
16127 *) 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'`
16128 if ${ac_cv_lib_soname_png:+false} :; then :
16129 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16130 fi ;;
16131 esac
16132 else
16133 ac_cv_lib_soname_png=
16135 rm -f core conftest.err conftest.$ac_objext \
16136 conftest$ac_exeext conftest.$ac_ext
16137 LIBS=$ac_check_soname_save_LIBS
16139 if ${ac_cv_lib_soname_png:+false} :; then :
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16141 $as_echo "not found" >&6; }
16142 PNG_CFLAGS=""
16143 else
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16145 $as_echo "$ac_cv_lib_soname_png" >&6; }
16147 cat >>confdefs.h <<_ACEOF
16148 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16149 _ACEOF
16153 else
16154 PNG_CFLAGS=""
16156 CPPFLAGS=$ac_save_CPPFLAGS
16159 if test "x$ac_cv_lib_soname_png" = "x"; then :
16160 case "x$with_png" in
16161 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16162 xno) ;;
16163 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16164 This is an error since --with-png was requested." "$LINENO" 5 ;;
16165 esac
16169 if test "x$with_tiff" != "xno"
16170 then
16171 if ${TIFF_CFLAGS:+false} :; then :
16172 if ${PKG_CONFIG+:} false; then :
16173 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16177 if ${TIFF_LIBS:+false} :; then :
16178 if ${PKG_CONFIG+:} false; then :
16179 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16184 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16185 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16186 ac_save_CPPFLAGS=$CPPFLAGS
16187 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16188 for ac_header in tiffio.h
16189 do :
16190 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16191 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_TIFFIO_H 1
16194 _ACEOF
16198 done
16200 if test "$ac_cv_header_tiffio_h" = "yes"
16201 then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16203 $as_echo_n "checking for -ltiff... " >&6; }
16204 if ${ac_cv_lib_soname_tiff+:} false; then :
16205 $as_echo_n "(cached) " >&6
16206 else
16207 ac_check_soname_save_LIBS=$LIBS
16208 LIBS="-ltiff $TIFF_LIBS $LIBS"
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 /* Override any GCC internal prototype to avoid an error.
16213 Use char because int might match the return type of a GCC
16214 builtin and then its argument prototype would still apply. */
16215 #ifdef __cplusplus
16216 extern "C"
16217 #endif
16218 char TIFFClientOpen ();
16220 main ()
16222 return TIFFClientOpen ();
16224 return 0;
16226 _ACEOF
16227 if ac_fn_c_try_link "$LINENO"; then :
16228 case "$LIBEXT" in
16229 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16230 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'` ;;
16231 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16232 if ${ac_cv_lib_soname_tiff:+false} :; then :
16233 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16234 fi ;;
16235 esac
16236 else
16237 ac_cv_lib_soname_tiff=
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_soname_save_LIBS
16243 if ${ac_cv_lib_soname_tiff:+false} :; then :
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16245 $as_echo "not found" >&6; }
16247 else
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16249 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16251 cat >>confdefs.h <<_ACEOF
16252 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16253 _ACEOF
16258 CPPFLAGS=$ac_save_CPPFLAGS
16261 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16262 case "x$with_tiff" in
16263 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16264 xno) ;;
16265 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16266 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16267 esac
16271 if test "x$with_mpg123" != "xno"
16272 then
16273 if ${MPG123_CFLAGS:+false} :; then :
16274 if ${PKG_CONFIG+:} false; then :
16275 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16279 if ${MPG123_LIBS:+false} :; then :
16280 if ${PKG_CONFIG+:} false; then :
16281 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16285 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16286 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16287 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16288 ac_save_CPPFLAGS=$CPPFLAGS
16289 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16290 for ac_header in mpg123.h
16291 do :
16292 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16293 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_MPG123_H 1
16296 _ACEOF
16300 done
16302 if test "$ac_cv_header_mpg123_h" = "yes"
16303 then
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16305 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16306 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16307 $as_echo_n "(cached) " >&6
16308 else
16309 ac_check_lib_save_LIBS=$LIBS
16310 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16314 /* Override any GCC internal prototype to avoid an error.
16315 Use char because int might match the return type of a GCC
16316 builtin and then its argument prototype would still apply. */
16317 #ifdef __cplusplus
16318 extern "C"
16319 #endif
16320 char mpg123_feed ();
16322 main ()
16324 return mpg123_feed ();
16326 return 0;
16328 _ACEOF
16329 if ac_fn_c_try_link "$LINENO"; then :
16330 ac_cv_lib_mpg123_mpg123_feed=yes
16331 else
16332 ac_cv_lib_mpg123_mpg123_feed=no
16334 rm -f core conftest.err conftest.$ac_objext \
16335 conftest$ac_exeext conftest.$ac_ext
16336 LIBS=$ac_check_lib_save_LIBS
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16339 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16340 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16342 else
16343 MPG123_LIBS=""
16346 else
16347 MPG123_CFLAGS=""
16348 MPG123_LIBS=""
16350 CPPFLAGS=$ac_save_CPPFLAGS
16353 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16354 case "x$with_mpg123" in
16355 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16356 xno) ;;
16357 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16358 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16359 esac
16360 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16362 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16364 if test "$ac_cv_header_AL_al_h" = "yes"
16365 then
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16367 $as_echo_n "checking for -lopenal... " >&6; }
16368 if ${ac_cv_lib_soname_openal+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 ac_check_soname_save_LIBS=$LIBS
16372 LIBS="-lopenal $LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 char alGetSource3i ();
16384 main ()
16386 return alGetSource3i ();
16388 return 0;
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 case "$LIBEXT" in
16393 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16394 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'` ;;
16395 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16396 if ${ac_cv_lib_soname_openal:+false} :; then :
16397 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16398 fi ;;
16399 esac
16400 else
16401 ac_cv_lib_soname_openal=
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16405 LIBS=$ac_check_soname_save_LIBS
16407 if ${ac_cv_lib_soname_openal:+false} :; then :
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16409 $as_echo "not found" >&6; }
16411 else
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16413 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16415 cat >>confdefs.h <<_ACEOF
16416 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16417 _ACEOF
16419 OPENAL_LIBS="-lopenal"
16421 ac_cv_lib_openal=yes
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_OPENAL 1
16425 _ACEOF
16429 if test "x$ac_cv_lib_openal" != xyes; then :
16430 case "x$with_openal" in
16431 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16432 xno) ;;
16433 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16434 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16435 esac
16436 enable_openal32=${enable_openal32:-no}
16439 if test "x$ac_cv_lib_soname_FAudio" = "x"
16440 then
16441 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16442 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16443 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16444 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16445 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16446 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16447 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16448 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16449 enable_xactengine2_0=${enable_xactengine2_0:-no}
16450 enable_xactengine2_4=${enable_xactengine2_4:-no}
16451 enable_xactengine2_7=${enable_xactengine2_7:-no}
16452 enable_xactengine2_9=${enable_xactengine2_9:-no}
16453 enable_xactengine3_0=${enable_xactengine3_0:-no}
16454 enable_xactengine3_1=${enable_xactengine3_1:-no}
16455 enable_xactengine3_2=${enable_xactengine3_2:-no}
16456 enable_xactengine3_3=${enable_xactengine3_3:-no}
16457 enable_xactengine3_4=${enable_xactengine3_4:-no}
16458 enable_xactengine3_5=${enable_xactengine3_5:-no}
16459 enable_xactengine3_6=${enable_xactengine3_6:-no}
16460 enable_xactengine3_7=${enable_xactengine3_7:-no}
16461 enable_xapofx1_1=${enable_xapofx1_1:-no}
16462 enable_xapofx1_2=${enable_xapofx1_2:-no}
16463 enable_xapofx1_3=${enable_xapofx1_3:-no}
16464 enable_xapofx1_4=${enable_xapofx1_4:-no}
16465 enable_xapofx1_5=${enable_xapofx1_5:-no}
16466 enable_xaudio2_0=${enable_xaudio2_0:-no}
16467 enable_xaudio2_1=${enable_xaudio2_1:-no}
16468 enable_xaudio2_2=${enable_xaudio2_2:-no}
16469 enable_xaudio2_3=${enable_xaudio2_3:-no}
16470 enable_xaudio2_4=${enable_xaudio2_4:-no}
16471 enable_xaudio2_5=${enable_xaudio2_5:-no}
16472 enable_xaudio2_6=${enable_xaudio2_6:-no}
16473 enable_xaudio2_7=${enable_xaudio2_7:-no}
16474 enable_xaudio2_8=${enable_xaudio2_8:-no}
16475 enable_xaudio2_9=${enable_xaudio2_9:-no}
16478 if test "$ac_cv_header_kstat_h" = "yes"
16479 then
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16481 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16482 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16483 $as_echo_n "(cached) " >&6
16484 else
16485 ac_check_lib_save_LIBS=$LIBS
16486 LIBS="-lkstat $LIBS"
16487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16490 /* Override any GCC internal prototype to avoid an error.
16491 Use char because int might match the return type of a GCC
16492 builtin and then its argument prototype would still apply. */
16493 #ifdef __cplusplus
16494 extern "C"
16495 #endif
16496 char kstat_open ();
16498 main ()
16500 return kstat_open ();
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 ac_cv_lib_kstat_kstat_open=yes
16507 else
16508 ac_cv_lib_kstat_kstat_open=no
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16512 LIBS=$ac_check_lib_save_LIBS
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16515 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16516 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16518 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16520 KSTAT_LIBS="-lkstat"
16526 if test "$ac_cv_header_libprocstat_h" = "yes"
16527 then
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16529 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16530 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16531 $as_echo_n "(cached) " >&6
16532 else
16533 ac_check_lib_save_LIBS=$LIBS
16534 LIBS="-lprocstat $LIBS"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16538 /* Override any GCC internal prototype to avoid an error.
16539 Use char because int might match the return type of a GCC
16540 builtin and then its argument prototype would still apply. */
16541 #ifdef __cplusplus
16542 extern "C"
16543 #endif
16544 char procstat_open_sysctl ();
16546 main ()
16548 return procstat_open_sysctl ();
16550 return 0;
16552 _ACEOF
16553 if ac_fn_c_try_link "$LINENO"; then :
16554 ac_cv_lib_procstat_procstat_open_sysctl=yes
16555 else
16556 ac_cv_lib_procstat_procstat_open_sysctl=no
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16560 LIBS=$ac_check_lib_save_LIBS
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16563 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16564 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16566 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16568 PROCSTAT_LIBS="-lprocstat"
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16575 $as_echo_n "checking for -lodbc... " >&6; }
16576 if ${ac_cv_lib_soname_odbc+:} false; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16579 ac_check_soname_save_LIBS=$LIBS
16580 LIBS="-lodbc $LIBS"
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16584 /* Override any GCC internal prototype to avoid an error.
16585 Use char because int might match the return type of a GCC
16586 builtin and then its argument prototype would still apply. */
16587 #ifdef __cplusplus
16588 extern "C"
16589 #endif
16590 char SQLConnect ();
16592 main ()
16594 return SQLConnect ();
16596 return 0;
16598 _ACEOF
16599 if ac_fn_c_try_link "$LINENO"; then :
16600 case "$LIBEXT" in
16601 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16602 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'` ;;
16603 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16604 if ${ac_cv_lib_soname_odbc:+false} :; then :
16605 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16606 fi ;;
16607 esac
16608 else
16609 ac_cv_lib_soname_odbc=
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16613 LIBS=$ac_check_soname_save_LIBS
16615 if ${ac_cv_lib_soname_odbc:+false} :; then :
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16617 $as_echo "not found" >&6; }
16618 cat >>confdefs.h <<_ACEOF
16619 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16620 _ACEOF
16622 else
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16624 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16626 cat >>confdefs.h <<_ACEOF
16627 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16628 _ACEOF
16633 if test "x$with_netapi" != "xno"
16634 then
16635 if ${NETAPI_CFLAGS:+false} :; then :
16636 if ${PKG_CONFIG+:} false; then :
16637 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16641 if ${NETAPI_LIBS:+false} :; then :
16642 if ${PKG_CONFIG+:} false; then :
16643 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16648 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16649 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16650 ac_save_CPPFLAGS=$CPPFLAGS
16651 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16653 $as_echo_n "checking for -lnetapi... " >&6; }
16654 if ${ac_cv_lib_soname_netapi+:} false; then :
16655 $as_echo_n "(cached) " >&6
16656 else
16657 ac_check_soname_save_LIBS=$LIBS
16658 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16662 /* Override any GCC internal prototype to avoid an error.
16663 Use char because int might match the return type of a GCC
16664 builtin and then its argument prototype would still apply. */
16665 #ifdef __cplusplus
16666 extern "C"
16667 #endif
16668 char libnetapi_init ();
16670 main ()
16672 return libnetapi_init ();
16674 return 0;
16676 _ACEOF
16677 if ac_fn_c_try_link "$LINENO"; then :
16678 case "$LIBEXT" in
16679 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16680 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'` ;;
16681 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16682 if ${ac_cv_lib_soname_netapi:+false} :; then :
16683 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16684 fi ;;
16685 esac
16686 else
16687 ac_cv_lib_soname_netapi=
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16691 LIBS=$ac_check_soname_save_LIBS
16693 if ${ac_cv_lib_soname_netapi:+false} :; then :
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16695 $as_echo "not found" >&6; }
16696 cat >>confdefs.h <<_ACEOF
16697 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16698 _ACEOF
16700 else
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16702 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16704 cat >>confdefs.h <<_ACEOF
16705 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16706 _ACEOF
16710 CPPFLAGS=$ac_save_CPPFLAGS
16714 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16715 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16716 then
16717 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16720 if test "x$with_vulkan" != "xno"
16721 then
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16723 $as_echo_n "checking for -lvulkan... " >&6; }
16724 if ${ac_cv_lib_soname_vulkan+:} false; then :
16725 $as_echo_n "(cached) " >&6
16726 else
16727 ac_check_soname_save_LIBS=$LIBS
16728 LIBS="-lvulkan $LIBS"
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16732 /* Override any GCC internal prototype to avoid an error.
16733 Use char because int might match the return type of a GCC
16734 builtin and then its argument prototype would still apply. */
16735 #ifdef __cplusplus
16736 extern "C"
16737 #endif
16738 char vkGetInstanceProcAddr ();
16740 main ()
16742 return vkGetInstanceProcAddr ();
16744 return 0;
16746 _ACEOF
16747 if ac_fn_c_try_link "$LINENO"; then :
16748 case "$LIBEXT" in
16749 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16750 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'` ;;
16751 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16752 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16753 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16754 fi ;;
16755 esac
16756 else
16757 ac_cv_lib_soname_vulkan=
16759 rm -f core conftest.err conftest.$ac_objext \
16760 conftest$ac_exeext conftest.$ac_ext
16761 LIBS=$ac_check_soname_save_LIBS
16763 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16765 $as_echo "not found" >&6; }
16767 else
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16769 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16771 cat >>confdefs.h <<_ACEOF
16772 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16773 _ACEOF
16777 if test "x$ac_cv_lib_soname_vulkan" = "x"
16778 then
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16780 $as_echo_n "checking for -lMoltenVK... " >&6; }
16781 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 ac_check_soname_save_LIBS=$LIBS
16785 LIBS="-lMoltenVK $LIBS"
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16789 /* Override any GCC internal prototype to avoid an error.
16790 Use char because int might match the return type of a GCC
16791 builtin and then its argument prototype would still apply. */
16792 #ifdef __cplusplus
16793 extern "C"
16794 #endif
16795 char vkGetInstanceProcAddr ();
16797 main ()
16799 return vkGetInstanceProcAddr ();
16801 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 case "$LIBEXT" in
16806 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16807 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'` ;;
16808 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16809 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16810 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16811 fi ;;
16812 esac
16813 else
16814 ac_cv_lib_soname_MoltenVK=
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16818 LIBS=$ac_check_soname_save_LIBS
16820 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16822 $as_echo "not found" >&6; }
16824 else
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16826 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16828 cat >>confdefs.h <<_ACEOF
16829 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16830 _ACEOF
16836 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16837 case "x$with_vulkan" in
16838 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16839 xno) ;;
16840 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16841 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16842 esac
16846 if test "x$with_vkd3d" != "xno"
16847 then
16848 if ${VKD3D_CFLAGS:+false} :; then :
16849 if ${PKG_CONFIG+:} false; then :
16850 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16854 if ${VKD3D_LIBS:+false} :; then :
16855 if ${PKG_CONFIG+:} false; then :
16856 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16861 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16862 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16863 ac_save_CPPFLAGS=$CPPFLAGS
16864 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16866 $as_echo_n "checking for -lvkd3d... " >&6; }
16867 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16868 $as_echo_n "(cached) " >&6
16869 else
16870 ac_check_soname_save_LIBS=$LIBS
16871 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16873 /* end confdefs.h. */
16875 /* Override any GCC internal prototype to avoid an error.
16876 Use char because int might match the return type of a GCC
16877 builtin and then its argument prototype would still apply. */
16878 #ifdef __cplusplus
16879 extern "C"
16880 #endif
16881 char vkd3d_serialize_versioned_root_signature ();
16883 main ()
16885 return vkd3d_serialize_versioned_root_signature ();
16887 return 0;
16889 _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then :
16891 case "$LIBEXT" in
16892 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16893 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'` ;;
16894 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16895 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16896 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16897 fi ;;
16898 esac
16899 else
16900 ac_cv_lib_soname_vkd3d=
16902 rm -f core conftest.err conftest.$ac_objext \
16903 conftest$ac_exeext conftest.$ac_ext
16904 LIBS=$ac_check_soname_save_LIBS
16906 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16908 $as_echo "not found" >&6; }
16910 else
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16912 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16914 cat >>confdefs.h <<_ACEOF
16915 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16916 _ACEOF
16920 CPPFLAGS=$ac_save_CPPFLAGS
16922 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16923 if ${PKG_CONFIG+:} false; then :
16924 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16928 if ${VKD3D_SHADER_LIBS:+false} :; then :
16929 if ${PKG_CONFIG+:} false; then :
16930 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16935 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16936 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16937 ac_save_CPPFLAGS=$CPPFLAGS
16938 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16940 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16941 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 ac_check_soname_save_LIBS=$LIBS
16945 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16949 /* Override any GCC internal prototype to avoid an error.
16950 Use char because int might match the return type of a GCC
16951 builtin and then its argument prototype would still apply. */
16952 #ifdef __cplusplus
16953 extern "C"
16954 #endif
16955 char vkd3d_shader_compile ();
16957 main ()
16959 return vkd3d_shader_compile ();
16961 return 0;
16963 _ACEOF
16964 if ac_fn_c_try_link "$LINENO"; then :
16965 case "$LIBEXT" in
16966 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16967 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'` ;;
16968 *) 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'`
16969 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16970 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16971 fi ;;
16972 esac
16973 else
16974 ac_cv_lib_soname_vkd3d_shader=
16976 rm -f core conftest.err conftest.$ac_objext \
16977 conftest$ac_exeext conftest.$ac_ext
16978 LIBS=$ac_check_soname_save_LIBS
16980 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16982 $as_echo "not found" >&6; }
16984 else
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16986 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16988 cat >>confdefs.h <<_ACEOF
16989 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16990 _ACEOF
16994 CPPFLAGS=$ac_save_CPPFLAGS
16997 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16998 case "x$with_vkd3d" in
16999 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17000 xno) ;;
17001 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17002 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17003 esac
17006 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17009 EXTRACFLAGS=""
17011 if test "x${GCC}" = "xyes"
17012 then
17013 EXTRACFLAGS="-Wall -pipe"
17015 saved_CFLAGS=$CFLAGS
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17017 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17018 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 ac_wine_try_cflags_saved=$CFLAGS
17022 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 int main(int argc, char **argv) { return 0; }
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_cflags__Werror_unknown_warning_option=yes
17029 else
17030 ac_cv_cflags__Werror_unknown_warning_option=no
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext conftest.$ac_ext
17034 CFLAGS=$ac_wine_try_cflags_saved
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17037 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17038 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17039 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17042 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17043 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17044 $as_echo_n "(cached) " >&6
17045 else
17046 ac_wine_try_cflags_saved=$CFLAGS
17047 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 int main(int argc, char **argv) { return 0; }
17051 _ACEOF
17052 if ac_fn_c_try_link "$LINENO"; then :
17053 ac_cv_cflags__Werror_unused_command_line_argument=yes
17054 else
17055 ac_cv_cflags__Werror_unused_command_line_argument=no
17057 rm -f core conftest.err conftest.$ac_objext \
17058 conftest$ac_exeext conftest.$ac_ext
17059 CFLAGS=$ac_wine_try_cflags_saved
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17062 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17063 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17064 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17067 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17068 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17069 $as_echo_n "(cached) " >&6
17070 else
17071 ac_wine_try_cflags_saved=$CFLAGS
17072 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 int main(int argc, char **argv) { return 0; }
17076 _ACEOF
17077 if ac_fn_c_try_link "$LINENO"; then :
17078 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17079 else
17080 ac_cv_cflags__Werror_ignored_optimization_argument=no
17082 rm -f core conftest.err conftest.$ac_objext \
17083 conftest$ac_exeext conftest.$ac_ext
17084 CFLAGS=$ac_wine_try_cflags_saved
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17087 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17088 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17089 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17092 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17093 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17094 $as_echo_n "(cached) " >&6
17095 else
17096 ac_wine_try_cflags_saved=$CFLAGS
17097 CFLAGS="$CFLAGS -fcf-protection=none"
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 int main(int argc, char **argv) { return 0; }
17101 _ACEOF
17102 if ac_fn_c_try_link "$LINENO"; then :
17103 ac_cv_cflags__fcf_protection_none=yes
17104 else
17105 ac_cv_cflags__fcf_protection_none=no
17107 rm -f core conftest.err conftest.$ac_objext \
17108 conftest$ac_exeext conftest.$ac_ext
17109 CFLAGS=$ac_wine_try_cflags_saved
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17112 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17113 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17114 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17117 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17118 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17119 $as_echo_n "(cached) " >&6
17120 else
17121 ac_wine_try_cflags_saved=$CFLAGS
17122 CFLAGS="$CFLAGS -fno-stack-protector"
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17125 int main(int argc, char **argv) { return 0; }
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"; then :
17128 ac_cv_cflags__fno_stack_protector=yes
17129 else
17130 ac_cv_cflags__fno_stack_protector=no
17132 rm -f core conftest.err conftest.$ac_objext \
17133 conftest$ac_exeext conftest.$ac_ext
17134 CFLAGS=$ac_wine_try_cflags_saved
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17137 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17138 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17139 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17142 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17143 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17144 $as_echo_n "(cached) " >&6
17145 else
17146 ac_wine_try_cflags_saved=$CFLAGS
17147 CFLAGS="$CFLAGS -fno-strict-aliasing"
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 int main(int argc, char **argv) { return 0; }
17151 _ACEOF
17152 if ac_fn_c_try_link "$LINENO"; then :
17153 ac_cv_cflags__fno_strict_aliasing=yes
17154 else
17155 ac_cv_cflags__fno_strict_aliasing=no
17157 rm -f core conftest.err conftest.$ac_objext \
17158 conftest$ac_exeext conftest.$ac_ext
17159 CFLAGS=$ac_wine_try_cflags_saved
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17162 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17163 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17164 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17167 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17168 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17169 $as_echo_n "(cached) " >&6
17170 else
17171 ac_wine_try_cflags_saved=$CFLAGS
17172 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175 int main(int argc, char **argv) { return 0; }
17176 _ACEOF
17177 if ac_fn_c_try_link "$LINENO"; then :
17178 ac_cv_cflags__Wdeclaration_after_statement=yes
17179 else
17180 ac_cv_cflags__Wdeclaration_after_statement=no
17182 rm -f core conftest.err conftest.$ac_objext \
17183 conftest$ac_exeext conftest.$ac_ext
17184 CFLAGS=$ac_wine_try_cflags_saved
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17187 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17188 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17189 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17192 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17193 if ${ac_cv_cflags__Wempty_body+:} false; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 ac_wine_try_cflags_saved=$CFLAGS
17197 CFLAGS="$CFLAGS -Wempty-body"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 int main(int argc, char **argv) { return 0; }
17201 _ACEOF
17202 if ac_fn_c_try_link "$LINENO"; then :
17203 ac_cv_cflags__Wempty_body=yes
17204 else
17205 ac_cv_cflags__Wempty_body=no
17207 rm -f core conftest.err conftest.$ac_objext \
17208 conftest$ac_exeext conftest.$ac_ext
17209 CFLAGS=$ac_wine_try_cflags_saved
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17212 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17213 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17214 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17217 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17218 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 ac_wine_try_cflags_saved=$CFLAGS
17222 CFLAGS="$CFLAGS -Wignored-qualifiers"
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17225 int main(int argc, char **argv) { return 0; }
17226 _ACEOF
17227 if ac_fn_c_try_link "$LINENO"; then :
17228 ac_cv_cflags__Wignored_qualifiers=yes
17229 else
17230 ac_cv_cflags__Wignored_qualifiers=no
17232 rm -f core conftest.err conftest.$ac_objext \
17233 conftest$ac_exeext conftest.$ac_ext
17234 CFLAGS=$ac_wine_try_cflags_saved
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17237 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17238 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17239 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17242 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17243 if ${ac_cv_cflags__Winit_self+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 ac_wine_try_cflags_saved=$CFLAGS
17247 CFLAGS="$CFLAGS -Winit-self"
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17250 int main(int argc, char **argv) { return 0; }
17251 _ACEOF
17252 if ac_fn_c_try_link "$LINENO"; then :
17253 ac_cv_cflags__Winit_self=yes
17254 else
17255 ac_cv_cflags__Winit_self=no
17257 rm -f core conftest.err conftest.$ac_objext \
17258 conftest$ac_exeext conftest.$ac_ext
17259 CFLAGS=$ac_wine_try_cflags_saved
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17262 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17263 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17264 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17267 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17268 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17271 ac_wine_try_cflags_saved=$CFLAGS
17272 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17275 int main(int argc, char **argv) { return 0; }
17276 _ACEOF
17277 if ac_fn_c_try_link "$LINENO"; then :
17278 ac_cv_cflags__Wpacked_not_aligned=yes
17279 else
17280 ac_cv_cflags__Wpacked_not_aligned=no
17282 rm -f core conftest.err conftest.$ac_objext \
17283 conftest$ac_exeext conftest.$ac_ext
17284 CFLAGS=$ac_wine_try_cflags_saved
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17287 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17288 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17289 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17292 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17293 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 ac_wine_try_cflags_saved=$CFLAGS
17297 CFLAGS="$CFLAGS -Wpragma-pack"
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 int main(int argc, char **argv) { return 0; }
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"; then :
17303 ac_cv_cflags__Wpragma_pack=yes
17304 else
17305 ac_cv_cflags__Wpragma_pack=no
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17309 CFLAGS=$ac_wine_try_cflags_saved
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17312 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17313 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17314 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17317 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17318 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17321 ac_wine_try_cflags_saved=$CFLAGS
17322 CFLAGS="$CFLAGS -Wshift-overflow=2"
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 int main(int argc, char **argv) { return 0; }
17326 _ACEOF
17327 if ac_fn_c_try_link "$LINENO"; then :
17328 ac_cv_cflags__Wshift_overflow_2=yes
17329 else
17330 ac_cv_cflags__Wshift_overflow_2=no
17332 rm -f core conftest.err conftest.$ac_objext \
17333 conftest$ac_exeext conftest.$ac_ext
17334 CFLAGS=$ac_wine_try_cflags_saved
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17337 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17338 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17339 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17342 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17343 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17344 $as_echo_n "(cached) " >&6
17345 else
17346 ac_wine_try_cflags_saved=$CFLAGS
17347 CFLAGS="$CFLAGS -Wstrict-prototypes"
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 int main(int argc, char **argv) { return 0; }
17351 _ACEOF
17352 if ac_fn_c_try_link "$LINENO"; then :
17353 ac_cv_cflags__Wstrict_prototypes=yes
17354 else
17355 ac_cv_cflags__Wstrict_prototypes=no
17357 rm -f core conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17359 CFLAGS=$ac_wine_try_cflags_saved
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17362 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17363 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17364 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17367 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17368 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17369 $as_echo_n "(cached) " >&6
17370 else
17371 ac_wine_try_cflags_saved=$CFLAGS
17372 CFLAGS="$CFLAGS -Wtype-limits"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 int main(int argc, char **argv) { return 0; }
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_cflags__Wtype_limits=yes
17379 else
17380 ac_cv_cflags__Wtype_limits=no
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17384 CFLAGS=$ac_wine_try_cflags_saved
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17387 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17388 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17389 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17392 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17393 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 ac_wine_try_cflags_saved=$CFLAGS
17397 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 int main(int argc, char **argv) { return 0; }
17401 _ACEOF
17402 if ac_fn_c_try_link "$LINENO"; then :
17403 ac_cv_cflags__Wunused_but_set_parameter=yes
17404 else
17405 ac_cv_cflags__Wunused_but_set_parameter=no
17407 rm -f core conftest.err conftest.$ac_objext \
17408 conftest$ac_exeext conftest.$ac_ext
17409 CFLAGS=$ac_wine_try_cflags_saved
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17412 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17413 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17414 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17417 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17418 if ${ac_cv_cflags__Wvla+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 ac_wine_try_cflags_saved=$CFLAGS
17422 CFLAGS="$CFLAGS -Wvla"
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 int main(int argc, char **argv) { return 0; }
17426 _ACEOF
17427 if ac_fn_c_try_link "$LINENO"; then :
17428 ac_cv_cflags__Wvla=yes
17429 else
17430 ac_cv_cflags__Wvla=no
17432 rm -f core conftest.err conftest.$ac_objext \
17433 conftest$ac_exeext conftest.$ac_ext
17434 CFLAGS=$ac_wine_try_cflags_saved
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17437 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17438 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17439 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17442 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17443 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17446 ac_wine_try_cflags_saved=$CFLAGS
17447 CFLAGS="$CFLAGS -Wwrite-strings"
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 int main(int argc, char **argv) { return 0; }
17451 _ACEOF
17452 if ac_fn_c_try_link "$LINENO"; then :
17453 ac_cv_cflags__Wwrite_strings=yes
17454 else
17455 ac_cv_cflags__Wwrite_strings=no
17457 rm -f core conftest.err conftest.$ac_objext \
17458 conftest$ac_exeext conftest.$ac_ext
17459 CFLAGS=$ac_wine_try_cflags_saved
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17462 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17463 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17464 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17467 if test -z "$CROSSTARGET"
17468 then
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17470 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17471 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17472 $as_echo_n "(cached) " >&6
17473 else
17474 ac_wine_try_cflags_saved=$CFLAGS
17475 CFLAGS="$CFLAGS -fexcess-precision=standard"
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 int main(int argc, char **argv) { return 0; }
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"; then :
17481 ac_cv_cflags__fexcess_precision_standard=yes
17482 else
17483 ac_cv_cflags__fexcess_precision_standard=no
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 CFLAGS=$ac_wine_try_cflags_saved
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17490 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17491 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17492 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17498 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17499 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 ac_wine_try_cflags_saved=$CFLAGS
17503 CFLAGS="$CFLAGS -Wpointer-arith"
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 int main(int argc, char **argv) { return 0; }
17507 _ACEOF
17508 if ac_fn_c_try_link "$LINENO"; then :
17509 ac_cv_cflags__Wpointer_arith=yes
17510 else
17511 ac_cv_cflags__Wpointer_arith=no
17513 rm -f core conftest.err conftest.$ac_objext \
17514 conftest$ac_exeext conftest.$ac_ext
17515 CFLAGS=$ac_wine_try_cflags_saved
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17518 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17519 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17520 saved_string_h_CFLAGS=$CFLAGS
17521 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17523 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17524 if ${ac_cv_c_string_h_warnings+:} false; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 #include <string.h>
17531 main ()
17535 return 0;
17537 _ACEOF
17538 if ac_fn_c_try_compile "$LINENO"; then :
17539 ac_cv_c_string_h_warnings=no
17540 else
17541 ac_cv_c_string_h_warnings=yes
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17546 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17547 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17548 CFLAGS=$saved_string_h_CFLAGS
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17552 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17553 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 ac_wine_try_cflags_saved=$CFLAGS
17557 CFLAGS="$CFLAGS -Wlogical-op"
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17560 int main(int argc, char **argv) { return 0; }
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"; then :
17563 ac_cv_cflags__Wlogical_op=yes
17564 else
17565 ac_cv_cflags__Wlogical_op=no
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17569 CFLAGS=$ac_wine_try_cflags_saved
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17572 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17573 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17574 saved_string_h_CFLAGS=$CFLAGS
17575 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17577 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17578 if ${ac_cv_c_logicalop_noisy+:} false; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 #include <string.h>
17584 char*f(const char *h,char n) {return strchr(h,n);}
17586 main ()
17590 return 0;
17592 _ACEOF
17593 if ac_fn_c_try_compile "$LINENO"; then :
17594 ac_cv_c_logicalop_noisy=no
17595 else
17596 ac_cv_c_logicalop_noisy=yes
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17601 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17602 CFLAGS=$saved_string_h_CFLAGS
17603 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17607 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17608 if ${wine_cv_64bit_compare_swap+:} false; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17614 #error no
17615 #endif
17617 main ()
17621 return 0;
17623 _ACEOF
17624 if ac_fn_c_try_compile "$LINENO"; then :
17625 wine_cv_64bit_compare_swap="none needed"
17626 else
17627 case $host_cpu in
17628 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17629 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17630 *) wine_cv_64bit_compare_swap="unknown" ;;
17631 esac
17632 if test "x$wine_cv_64bit_compare_swap" != xunknown
17633 then
17634 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17636 /* end confdefs.h. */
17637 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17638 #error no
17639 #endif
17641 main ()
17645 return 0;
17647 _ACEOF
17648 if ac_fn_c_try_compile "$LINENO"; then :
17650 else
17651 wine_cv_64bit_compare_swap="unknown"
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 CFLAGS=$saved_CFLAGS
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17660 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17661 case "$wine_cv_64bit_compare_swap" in
17662 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17663 "none needed") ;;
17664 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17665 esac
17667 for ac_flag in $CFLAGS; do
17668 case $ac_flag in
17669 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17670 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17671 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17672 $as_echo_n "(cached) " >&6
17673 else
17674 ac_wine_try_cflags_saved=$CFLAGS
17675 CFLAGS="$CFLAGS -gdwarf-2"
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678 int main(int argc, char **argv) { return 0; }
17679 _ACEOF
17680 if ac_fn_c_try_link "$LINENO"; then :
17681 ac_cv_cflags__gdwarf_2=yes
17682 else
17683 ac_cv_cflags__gdwarf_2=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17687 CFLAGS=$ac_wine_try_cflags_saved
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17690 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17691 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17692 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17695 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17696 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17697 $as_echo_n "(cached) " >&6
17698 else
17699 ac_wine_try_cflags_saved=$CFLAGS
17700 CFLAGS="$CFLAGS -gstrict-dwarf"
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 int main(int argc, char **argv) { return 0; }
17704 _ACEOF
17705 if ac_fn_c_try_link "$LINENO"; then :
17706 ac_cv_cflags__gstrict_dwarf=yes
17707 else
17708 ac_cv_cflags__gstrict_dwarf=no
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17712 CFLAGS=$ac_wine_try_cflags_saved
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17715 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17716 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17717 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17718 fi ;;
17719 esac
17720 done
17722 MSVCRTFLAGS=""
17724 case $host_os in
17725 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17726 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17727 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17730 ac_wine_try_cflags_saved=$CFLAGS
17731 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 int main(int argc, char **argv) { return 0; }
17735 _ACEOF
17736 if ac_fn_c_try_link "$LINENO"; then :
17737 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17738 else
17739 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17741 rm -f core conftest.err conftest.$ac_objext \
17742 conftest$ac_exeext conftest.$ac_ext
17743 CFLAGS=$ac_wine_try_cflags_saved
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17746 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17747 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17748 DELAYLOADFLAG="-Wl,-delayload,"
17750 fi ;;
17751 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17752 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17753 if ${ac_cv_cflags__fno_builtin+:} false; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17756 ac_wine_try_cflags_saved=$CFLAGS
17757 CFLAGS="$CFLAGS -fno-builtin"
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 int main(int argc, char **argv) { return 0; }
17761 _ACEOF
17762 if ac_fn_c_try_link "$LINENO"; then :
17763 ac_cv_cflags__fno_builtin=yes
17764 else
17765 ac_cv_cflags__fno_builtin=no
17767 rm -f core conftest.err conftest.$ac_objext \
17768 conftest$ac_exeext conftest.$ac_ext
17769 CFLAGS=$ac_wine_try_cflags_saved
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17772 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17773 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17774 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17777 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17778 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17779 $as_echo_n "(cached) " >&6
17780 else
17781 ac_wine_try_cflags_saved=$CFLAGS
17782 CFLAGS="$CFLAGS -fshort-wchar"
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17785 int main(int argc, char **argv) { return 0; }
17786 _ACEOF
17787 if ac_fn_c_try_link "$LINENO"; then :
17788 ac_cv_cflags__fshort_wchar=yes
17789 else
17790 ac_cv_cflags__fshort_wchar=no
17792 rm -f core conftest.err conftest.$ac_objext \
17793 conftest$ac_exeext conftest.$ac_ext
17794 CFLAGS=$ac_wine_try_cflags_saved
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17797 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17798 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17799 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17800 fi ;;
17801 esac
17803 case $host_cpu in
17804 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17805 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17806 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17807 $as_echo_n "(cached) " >&6
17808 else
17809 ac_wine_try_cflags_saved=$CFLAGS
17810 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h. */
17813 int main(int argc, char **argv) { return 0; }
17814 _ACEOF
17815 if ac_fn_c_try_link "$LINENO"; then :
17816 ac_cv_cflags__fno_omit_frame_pointer=yes
17817 else
17818 ac_cv_cflags__fno_omit_frame_pointer=no
17820 rm -f core conftest.err conftest.$ac_objext \
17821 conftest$ac_exeext conftest.$ac_ext
17822 CFLAGS=$ac_wine_try_cflags_saved
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17825 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17826 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17827 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17828 fi ;;
17829 *x86_64*)
17830 case $host_os in
17831 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17832 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17833 if ${ac_cv_cflags__Wno_format+:} false; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836 ac_wine_try_cflags_saved=$CFLAGS
17837 CFLAGS="$CFLAGS -Wno-format"
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17840 int main(int argc, char **argv) { return 0; }
17841 _ACEOF
17842 if ac_fn_c_try_link "$LINENO"; then :
17843 ac_cv_cflags__Wno_format=yes
17844 else
17845 ac_cv_cflags__Wno_format=no
17847 rm -f core conftest.err conftest.$ac_objext \
17848 conftest$ac_exeext conftest.$ac_ext
17849 CFLAGS=$ac_wine_try_cflags_saved
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17852 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17853 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17854 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17855 fi ;;
17856 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17857 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17858 if ${ac_cv_cflags__mabi_ms+:} false; then :
17859 $as_echo_n "(cached) " >&6
17860 else
17861 ac_wine_try_cflags_saved=$CFLAGS
17862 CFLAGS="$CFLAGS -mabi=ms"
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 int main(int argc, char **argv) { return 0; }
17866 _ACEOF
17867 if ac_fn_c_try_link "$LINENO"; then :
17868 ac_cv_cflags__mabi_ms=yes
17869 else
17870 ac_cv_cflags__mabi_ms=no
17872 rm -f core conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17874 CFLAGS=$ac_wine_try_cflags_saved
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17877 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17878 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17879 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17880 fi ;;
17881 esac ;;
17882 esac
17884 CFLAGS=$saved_CFLAGS
17886 if test "x$enable_werror" = "xyes"
17887 then
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17889 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17890 if ${ac_cv_cflags__Werror+:} false; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17893 ac_wine_try_cflags_saved=$CFLAGS
17894 CFLAGS="$CFLAGS -Werror"
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17897 int main(int argc, char **argv) { return 0; }
17898 _ACEOF
17899 if ac_fn_c_try_link "$LINENO"; then :
17900 ac_cv_cflags__Werror=yes
17901 else
17902 ac_cv_cflags__Werror=no
17904 rm -f core conftest.err conftest.$ac_objext \
17905 conftest$ac_exeext conftest.$ac_ext
17906 CFLAGS=$ac_wine_try_cflags_saved
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17909 $as_echo "$ac_cv_cflags__Werror" >&6; }
17910 if test "x$ac_cv_cflags__Werror" = xyes; then :
17911 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17914 if test "x$enable_build_id" = "xyes"
17915 then
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17917 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17918 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17919 $as_echo_n "(cached) " >&6
17920 else
17921 ac_wine_try_cflags_saved=$CFLAGS
17922 CFLAGS="$CFLAGS -Wl,--build-id"
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17925 int main(int argc, char **argv) { return 0; }
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"; then :
17928 ac_cv_cflags__Wl___build_id=yes
17929 else
17930 ac_cv_cflags__Wl___build_id=no
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext conftest.$ac_ext
17934 CFLAGS=$ac_wine_try_cflags_saved
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17937 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17938 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17939 CFLAGS="$CFLAGS -Wl,--build-id"
17940 LDFLAGS="$LDFLAGS -Wl,--build-id"
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17947 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17948 if ${ac_cv_c_fortify_enabled+:} false; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17953 #include <string.h>
17955 main ()
17957 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17958 #error Fortify enabled
17959 #endif
17961 return 0;
17963 _ACEOF
17964 if ac_fn_c_try_compile "$LINENO"; then :
17965 ac_cv_c_fortify_enabled=no
17966 else
17967 ac_cv_c_fortify_enabled=yes
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17972 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17973 if test "$ac_cv_c_fortify_enabled" = yes
17974 then
17975 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17980 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17981 if ${ac_cv_c_cfi_support+:} false; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17986 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17988 main ()
17992 return 0;
17994 _ACEOF
17995 if ac_fn_c_try_compile "$LINENO"; then :
17996 ac_cv_c_cfi_support="yes"
17997 else
17998 ac_cv_c_cfi_support="no"
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18003 $as_echo "$ac_cv_c_cfi_support" >&6; }
18004 if test "$ac_cv_c_cfi_support" = "yes"
18005 then
18006 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18007 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18008 else
18009 if test "x$enable_win64" = "xyes"
18010 then
18011 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18016 case $build_os in
18017 cygwin*|mingw32*) TOOLSEXT=".exe"
18019 esac
18021 case $host_os in
18022 linux*)
18023 case $host_cpu in
18024 *i[3456789]86*|x86_64*|*aarch64*)
18025 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18026 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18028 esac
18030 esac
18033 ac_save_CFLAGS="$CFLAGS"
18034 CFLAGS="$CFLAGS $BUILTINFLAG"
18035 for ac_func in \
18036 __res_get_state \
18037 __res_getservers \
18038 _spawnvp \
18039 epoll_create \
18040 fnmatch \
18041 fork \
18042 fstatfs \
18043 futimens \
18044 futimes \
18045 futimesat \
18046 getattrlist \
18047 getauxval \
18048 getifaddrs \
18049 getopt_long_only \
18050 getrandom \
18051 kqueue \
18052 lstat \
18053 mach_continuous_time \
18054 pipe2 \
18055 poll \
18056 port_create \
18057 prctl \
18058 pread \
18059 proc_pidinfo \
18060 pwrite \
18061 readlink \
18062 sched_yield \
18063 setproctitle \
18064 setprogname \
18065 sigprocmask \
18066 symlink \
18067 tcdrain \
18068 thr_kill2
18070 do :
18071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18076 _ACEOF
18079 done
18081 CFLAGS="$ac_save_CFLAGS"
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18084 $as_echo_n "checking for library containing dlopen... " >&6; }
18085 if ${ac_cv_search_dlopen+:} false; then :
18086 $as_echo_n "(cached) " >&6
18087 else
18088 ac_func_search_save_LIBS=$LIBS
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18092 /* Override any GCC internal prototype to avoid an error.
18093 Use char because int might match the return type of a GCC
18094 builtin and then its argument prototype would still apply. */
18095 #ifdef __cplusplus
18096 extern "C"
18097 #endif
18098 char dlopen ();
18100 main ()
18102 return dlopen ();
18104 return 0;
18106 _ACEOF
18107 for ac_lib in '' dl; do
18108 if test -z "$ac_lib"; then
18109 ac_res="none required"
18110 else
18111 ac_res=-l$ac_lib
18112 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18114 if ac_fn_c_try_link "$LINENO"; then :
18115 ac_cv_search_dlopen=$ac_res
18117 rm -f core conftest.err conftest.$ac_objext \
18118 conftest$ac_exeext
18119 if ${ac_cv_search_dlopen+:} false; then :
18120 break
18122 done
18123 if ${ac_cv_search_dlopen+:} false; then :
18125 else
18126 ac_cv_search_dlopen=no
18128 rm conftest.$ac_ext
18129 LIBS=$ac_func_search_save_LIBS
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18132 $as_echo "$ac_cv_search_dlopen" >&6; }
18133 ac_res=$ac_cv_search_dlopen
18134 if test "$ac_res" != no; then :
18135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18139 ac_wine_check_funcs_save_LIBS="$LIBS"
18140 LIBS="$LIBS $DL_LIBS"
18141 for ac_func in dladdr dlinfo
18142 do :
18143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18145 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18146 cat >>confdefs.h <<_ACEOF
18147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18148 _ACEOF
18151 done
18153 LIBS="$ac_wine_check_funcs_save_LIBS"
18155 if test "$ac_cv_func_poll" = no
18156 then
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18158 $as_echo_n "checking for poll in -lpoll... " >&6; }
18159 if ${ac_cv_lib_poll_poll+:} false; then :
18160 $as_echo_n "(cached) " >&6
18161 else
18162 ac_check_lib_save_LIBS=$LIBS
18163 LIBS="-lpoll $LIBS"
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 #ifdef __cplusplus
18171 extern "C"
18172 #endif
18173 char poll ();
18175 main ()
18177 return poll ();
18179 return 0;
18181 _ACEOF
18182 if ac_fn_c_try_link "$LINENO"; then :
18183 ac_cv_lib_poll_poll=yes
18184 else
18185 ac_cv_lib_poll_poll=no
18187 rm -f core conftest.err conftest.$ac_objext \
18188 conftest$ac_exeext conftest.$ac_ext
18189 LIBS=$ac_check_lib_save_LIBS
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18192 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18193 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18194 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18195 POLL_LIBS="-lpoll"
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18202 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18203 if ${ac_cv_search_gethostbyname+:} false; then :
18204 $as_echo_n "(cached) " >&6
18205 else
18206 ac_func_search_save_LIBS=$LIBS
18207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 /* Override any GCC internal prototype to avoid an error.
18211 Use char because int might match the return type of a GCC
18212 builtin and then its argument prototype would still apply. */
18213 #ifdef __cplusplus
18214 extern "C"
18215 #endif
18216 char gethostbyname ();
18218 main ()
18220 return gethostbyname ();
18222 return 0;
18224 _ACEOF
18225 for ac_lib in '' nsl; do
18226 if test -z "$ac_lib"; then
18227 ac_res="none required"
18228 else
18229 ac_res=-l$ac_lib
18230 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18232 if ac_fn_c_try_link "$LINENO"; then :
18233 ac_cv_search_gethostbyname=$ac_res
18235 rm -f core conftest.err conftest.$ac_objext \
18236 conftest$ac_exeext
18237 if ${ac_cv_search_gethostbyname+:} false; then :
18238 break
18240 done
18241 if ${ac_cv_search_gethostbyname+:} false; then :
18243 else
18244 ac_cv_search_gethostbyname=no
18246 rm conftest.$ac_ext
18247 LIBS=$ac_func_search_save_LIBS
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18250 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18251 ac_res=$ac_cv_search_gethostbyname
18252 if test "$ac_res" != no; then :
18253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18259 $as_echo_n "checking for library containing connect... " >&6; }
18260 if ${ac_cv_search_connect+:} false; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263 ac_func_search_save_LIBS=$LIBS
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18267 /* Override any GCC internal prototype to avoid an error.
18268 Use char because int might match the return type of a GCC
18269 builtin and then its argument prototype would still apply. */
18270 #ifdef __cplusplus
18271 extern "C"
18272 #endif
18273 char connect ();
18275 main ()
18277 return connect ();
18279 return 0;
18281 _ACEOF
18282 for ac_lib in '' socket; do
18283 if test -z "$ac_lib"; then
18284 ac_res="none required"
18285 else
18286 ac_res=-l$ac_lib
18287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18289 if ac_fn_c_try_link "$LINENO"; then :
18290 ac_cv_search_connect=$ac_res
18292 rm -f core conftest.err conftest.$ac_objext \
18293 conftest$ac_exeext
18294 if ${ac_cv_search_connect+:} false; then :
18295 break
18297 done
18298 if ${ac_cv_search_connect+:} false; then :
18300 else
18301 ac_cv_search_connect=no
18303 rm conftest.$ac_ext
18304 LIBS=$ac_func_search_save_LIBS
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18307 $as_echo "$ac_cv_search_connect" >&6; }
18308 ac_res=$ac_cv_search_connect
18309 if test "$ac_res" != no; then :
18310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18316 $as_echo_n "checking for library containing inet_aton... " >&6; }
18317 if ${ac_cv_search_inet_aton+:} false; then :
18318 $as_echo_n "(cached) " >&6
18319 else
18320 ac_func_search_save_LIBS=$LIBS
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 /* Override any GCC internal prototype to avoid an error.
18325 Use char because int might match the return type of a GCC
18326 builtin and then its argument prototype would still apply. */
18327 #ifdef __cplusplus
18328 extern "C"
18329 #endif
18330 char inet_aton ();
18332 main ()
18334 return inet_aton ();
18336 return 0;
18338 _ACEOF
18339 for ac_lib in '' resolv; do
18340 if test -z "$ac_lib"; then
18341 ac_res="none required"
18342 else
18343 ac_res=-l$ac_lib
18344 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18346 if ac_fn_c_try_link "$LINENO"; then :
18347 ac_cv_search_inet_aton=$ac_res
18349 rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext
18351 if ${ac_cv_search_inet_aton+:} false; then :
18352 break
18354 done
18355 if ${ac_cv_search_inet_aton+:} false; then :
18357 else
18358 ac_cv_search_inet_aton=no
18360 rm conftest.$ac_ext
18361 LIBS=$ac_func_search_save_LIBS
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18364 $as_echo "$ac_cv_search_inet_aton" >&6; }
18365 ac_res=$ac_cv_search_inet_aton
18366 if test "$ac_res" != no; then :
18367 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18372 for ac_func in \
18373 getaddrinfo \
18374 getnameinfo \
18375 getservbyport \
18377 do :
18378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18380 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18381 cat >>confdefs.h <<_ACEOF
18382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18383 _ACEOF
18386 done
18389 case $host_os in
18390 darwin*|macosx*) ;;
18391 *) ac_save_LIBS=$LIBS
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18393 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18394 if ${ac_cv_search_clock_gettime+:} false; then :
18395 $as_echo_n "(cached) " >&6
18396 else
18397 ac_func_search_save_LIBS=$LIBS
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18404 #ifdef __cplusplus
18405 extern "C"
18406 #endif
18407 char clock_gettime ();
18409 main ()
18411 return clock_gettime ();
18413 return 0;
18415 _ACEOF
18416 for ac_lib in '' rt; do
18417 if test -z "$ac_lib"; then
18418 ac_res="none required"
18419 else
18420 ac_res=-l$ac_lib
18421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18423 if ac_fn_c_try_link "$LINENO"; then :
18424 ac_cv_search_clock_gettime=$ac_res
18426 rm -f core conftest.err conftest.$ac_objext \
18427 conftest$ac_exeext
18428 if ${ac_cv_search_clock_gettime+:} false; then :
18429 break
18431 done
18432 if ${ac_cv_search_clock_gettime+:} false; then :
18434 else
18435 ac_cv_search_clock_gettime=no
18437 rm conftest.$ac_ext
18438 LIBS=$ac_func_search_save_LIBS
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18441 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18442 ac_res=$ac_cv_search_clock_gettime
18443 if test "$ac_res" != no; then :
18444 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18446 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18448 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18452 LIBS=$ac_save_LIBS
18454 esac
18456 if test "x$with_ldap" != "xno"
18457 then
18458 if ${LDAP_CFLAGS:+false} :; then :
18459 if ${PKG_CONFIG+:} false; then :
18460 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18464 if ${LDAP_LIBS:+false} :; then :
18465 if ${PKG_CONFIG+:} false; then :
18466 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18470 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18471 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18472 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18473 ac_save_CPPFLAGS=$CPPFLAGS
18474 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18475 for ac_header in ldap.h lber.h
18476 do :
18477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18479 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18480 cat >>confdefs.h <<_ACEOF
18481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18482 _ACEOF
18486 done
18488 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18489 then
18490 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18492 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18494 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18495 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18498 ac_check_lib_save_LIBS=$LIBS
18499 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18503 /* Override any GCC internal prototype to avoid an error.
18504 Use char because int might match the return type of a GCC
18505 builtin and then its argument prototype would still apply. */
18506 #ifdef __cplusplus
18507 extern "C"
18508 #endif
18509 char ldap_initialize ();
18511 main ()
18513 return ldap_initialize ();
18515 return 0;
18517 _ACEOF
18518 if ac_fn_c_try_link "$LINENO"; then :
18519 ac_cv_lib_ldap_r_ldap_initialize=yes
18520 else
18521 ac_cv_lib_ldap_r_ldap_initialize=no
18523 rm -f core conftest.err conftest.$ac_objext \
18524 conftest$ac_exeext conftest.$ac_ext
18525 LIBS=$ac_check_lib_save_LIBS
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18528 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18529 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18531 $as_echo_n "checking for ber_init in -llber... " >&6; }
18532 if ${ac_cv_lib_lber_ber_init+:} false; then :
18533 $as_echo_n "(cached) " >&6
18534 else
18535 ac_check_lib_save_LIBS=$LIBS
18536 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18538 /* end confdefs.h. */
18540 /* Override any GCC internal prototype to avoid an error.
18541 Use char because int might match the return type of a GCC
18542 builtin and then its argument prototype would still apply. */
18543 #ifdef __cplusplus
18544 extern "C"
18545 #endif
18546 char ber_init ();
18548 main ()
18550 return ber_init ();
18552 return 0;
18554 _ACEOF
18555 if ac_fn_c_try_link "$LINENO"; then :
18556 ac_cv_lib_lber_ber_init=yes
18557 else
18558 ac_cv_lib_lber_ber_init=no
18560 rm -f core conftest.err conftest.$ac_objext \
18561 conftest$ac_exeext conftest.$ac_ext
18562 LIBS=$ac_check_lib_save_LIBS
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18565 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18566 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18568 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18570 else
18571 LDAP_LIBS=""
18574 else
18575 LDAP_LIBS=""
18578 else
18579 LDAP_LIBS=""
18582 ac_wine_check_funcs_save_LIBS="$LIBS"
18583 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18584 for ac_func in \
18585 ldap_count_references \
18586 ldap_first_reference \
18587 ldap_next_reference \
18588 ldap_parse_reference \
18589 ldap_parse_sort_control \
18590 ldap_parse_sortresponse_control \
18591 ldap_parse_vlv_control \
18592 ldap_parse_vlvresponse_control
18593 do :
18594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18596 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18597 cat >>confdefs.h <<_ACEOF
18598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18599 _ACEOF
18602 done
18604 LIBS="$ac_wine_check_funcs_save_LIBS"
18605 else
18606 LDAP_LIBS=""
18608 CPPFLAGS=$ac_save_CPPFLAGS
18611 if test "x$LDAP_LIBS" = "x"; then :
18612 case "x$with_ldap" in
18613 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18614 xno) ;;
18615 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18616 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18617 esac
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18622 $as_echo_n "checking for sched_setaffinity... " >&6; }
18623 if ${wine_cv_have_sched_setaffinity+:} false; then :
18624 $as_echo_n "(cached) " >&6
18625 else
18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18628 #define _GNU_SOURCE
18629 #include <sched.h>
18631 main ()
18633 sched_setaffinity(0, 0, 0);
18635 return 0;
18637 _ACEOF
18638 if ac_fn_c_try_link "$LINENO"; then :
18639 wine_cv_have_sched_setaffinity=yes
18640 else
18641 wine_cv_have_sched_setaffinity=no
18643 rm -f core conftest.err conftest.$ac_objext \
18644 conftest$ac_exeext conftest.$ac_ext
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18647 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18648 if test "$wine_cv_have_sched_setaffinity" = "yes"
18649 then
18651 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18656 $as_echo_n "checking for fallocate... " >&6; }
18657 if ${wine_cv_have_fallocate+:} false; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 #define _GNU_SOURCE
18663 #include <fcntl.h>
18665 main ()
18667 fallocate(-1, 0, 0, 0);
18669 return 0;
18671 _ACEOF
18672 if ac_fn_c_try_link "$LINENO"; then :
18673 wine_cv_have_fallocate=yes
18674 else
18675 wine_cv_have_fallocate=no
18677 rm -f core conftest.err conftest.$ac_objext \
18678 conftest$ac_exeext conftest.$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18681 $as_echo "$wine_cv_have_fallocate" >&6; }
18682 if test "$wine_cv_have_fallocate" = "yes"
18683 then
18685 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18691 $as_echo_n "checking for inline... " >&6; }
18692 if ${ac_cv_c_inline+:} false; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18695 ac_cv_c_inline=no
18696 for ac_kw in inline __inline__ __inline; do
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #ifndef __cplusplus
18700 typedef int foo_t;
18701 static $ac_kw foo_t static_foo () {return 0; }
18702 $ac_kw foo_t foo () {return 0; }
18703 #endif
18705 _ACEOF
18706 if ac_fn_c_try_compile "$LINENO"; then :
18707 ac_cv_c_inline=$ac_kw
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 test "$ac_cv_c_inline" != no && break
18711 done
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18715 $as_echo "$ac_cv_c_inline" >&6; }
18717 case $ac_cv_c_inline in
18718 inline | yes) ;;
18720 case $ac_cv_c_inline in
18721 no) ac_val=;;
18722 *) ac_val=$ac_cv_c_inline;;
18723 esac
18724 cat >>confdefs.h <<_ACEOF
18725 #ifndef __cplusplus
18726 #define inline $ac_val
18727 #endif
18728 _ACEOF
18730 esac
18732 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18733 #include <signal.h>
18735 if test "x$ac_cv_type_sigset_t" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_SIGSET_T 1
18739 _ACEOF
18744 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18746 if test "x$ac_cv_type_request_sense" = xyes; then :
18748 cat >>confdefs.h <<_ACEOF
18749 #define HAVE_REQUEST_SENSE 1
18750 _ACEOF
18756 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18757 #ifdef HAVE_SYS_SOCKET_H
18758 #include <sys/socket.h>
18759 #endif
18760 #ifdef HAVE_SYS_SOCKETVAR_H
18761 #include <sys/socketvar.h>
18762 #endif
18763 #ifdef HAVE_NET_ROUTE_H
18764 #include <net/route.h>
18765 #endif
18766 #ifdef HAVE_NETINET_IN_H
18767 #include <netinet/in.h>
18768 #endif
18769 #ifdef HAVE_NETINET_IN_SYSTM_H
18770 #include <netinet/in_systm.h>
18771 #endif
18772 #ifdef HAVE_NETINET_IP_H
18773 #include <netinet/ip.h>
18774 #endif
18775 #ifdef HAVE_NETINET_IN_PCB_H
18776 #include <netinet/in_pcb.h>
18777 #endif
18779 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_XINPGEN 1
18783 _ACEOF
18789 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18790 #include <linux/input.h>
18791 #endif
18793 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18797 _ACEOF
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18804 $as_echo_n "checking for if_nameindex... " >&6; }
18805 if ${wine_cv_have_if_nameindex+:} false; then :
18806 $as_echo_n "(cached) " >&6
18807 else
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 #ifdef HAVE_SYS_TYPES_H
18811 #include <sys/types.h>
18812 #endif
18813 #ifdef HAVE_SYS_SOCKET_H
18814 #include <sys/socket.h>
18815 #endif
18816 #ifdef HAVE_NET_IF_H
18817 # include <net/if.h>
18818 #endif
18820 main ()
18822 struct if_nameindex *p = if_nameindex(); return p->if_index;
18824 return 0;
18826 _ACEOF
18827 if ac_fn_c_try_link "$LINENO"; then :
18828 wine_cv_have_if_nameindex=yes
18829 else
18830 wine_cv_have_if_nameindex=no
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18836 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18837 if test "$wine_cv_have_if_nameindex" = "yes"
18838 then
18840 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18845 $as_echo_n "checking for sigaddset... " >&6; }
18846 if ${wine_cv_have_sigaddset+:} false; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 #include <signal.h>
18853 main ()
18855 sigset_t set; sigaddset(&set,SIGTERM);
18857 return 0;
18859 _ACEOF
18860 if ac_fn_c_try_link "$LINENO"; then :
18861 wine_cv_have_sigaddset=yes
18862 else
18863 wine_cv_have_sigaddset=no
18865 rm -f core conftest.err conftest.$ac_objext \
18866 conftest$ac_exeext conftest.$ac_ext
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18869 $as_echo "$wine_cv_have_sigaddset" >&6; }
18870 if test "$wine_cv_have_sigaddset" = "yes"
18871 then
18873 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18879 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18880 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18881 $as_echo_n "(cached) " >&6
18882 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <netdb.h>
18887 main ()
18890 char *name=0;
18891 struct hostent he;
18892 struct hostent *result;
18893 char *buf=0;
18894 int bufsize=0;
18895 int errnr;
18896 char *addr=0;
18897 int addrlen=0;
18898 int addrtype=0;
18899 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18900 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18903 return 0;
18905 _ACEOF
18906 if ac_fn_c_try_link "$LINENO"; then :
18907 wine_cv_linux_gethostbyname_r_6=yes
18908 else
18909 wine_cv_linux_gethostbyname_r_6=no
18912 rm -f core conftest.err conftest.$ac_objext \
18913 conftest$ac_exeext conftest.$ac_ext
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18917 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18918 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18919 then
18921 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18925 if test "$ac_cv_header_linux_joystick_h" = "yes"
18926 then
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18928 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18929 if ${wine_cv_linux_joystick_22_api+:} false; then :
18930 $as_echo_n "(cached) " >&6
18931 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18935 #include <sys/ioctl.h>
18936 #include <sys/types.h>
18937 #include <linux/joystick.h>
18939 struct js_event blub;
18940 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18941 #error "no 2.2 header"
18942 #endif
18945 main ()
18947 /*empty*/
18949 return 0;
18951 _ACEOF
18952 if ac_fn_c_try_compile "$LINENO"; then :
18953 wine_cv_linux_joystick_22_api=yes
18954 else
18955 wine_cv_linux_joystick_22_api=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18961 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18962 if test "$wine_cv_linux_joystick_22_api" = "yes"
18963 then
18965 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18970 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18971 #ifdef HAVE_SYS_SOCKET_H
18972 # include <sys/socket.h>
18973 #endif
18974 #ifdef HAVE_SYS_UN_H
18975 # include <sys/un.h>
18976 #endif
18978 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18982 _ACEOF
18986 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18987 #ifdef HAVE_SYS_SOCKET_H
18988 # include <sys/socket.h>
18989 #endif
18990 #ifdef HAVE_SYS_UN_H
18991 # include <sys/un.h>
18992 #endif
18994 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18998 _ACEOF
19002 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19003 #ifdef HAVE_SYS_SOCKET_H
19004 # include <sys/socket.h>
19005 #endif
19006 #ifdef HAVE_SYS_UN_H
19007 # include <sys/un.h>
19008 #endif
19010 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19012 cat >>confdefs.h <<_ACEOF
19013 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19014 _ACEOF
19020 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19021 #ifdef HAVE_SCSI_SG_H
19022 #include <scsi/sg.h>
19023 #endif
19025 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_SCSIREQ_T_CMD 1
19029 _ACEOF
19033 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>
19034 #ifdef HAVE_SCSI_SG_H
19035 #include <scsi/sg.h>
19036 #endif
19038 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19042 _ACEOF
19048 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19050 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_SIGINFO_T_SI_FD 1
19054 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19061 #ifdef HAVE_SYS_MTIO_H
19062 #include <sys/mtio.h>
19063 #endif
19065 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19074 #ifdef HAVE_SYS_MTIO_H
19075 #include <sys/mtio.h>
19076 #endif
19078 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19082 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19087 #ifdef HAVE_SYS_MTIO_H
19088 #include <sys/mtio.h>
19089 #endif
19091 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19093 cat >>confdefs.h <<_ACEOF
19094 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19095 _ACEOF
19101 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19102 #include <getopt.h>
19103 #endif
19105 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_OPTION_NAME 1
19109 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_MTIM 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_CTIM 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT_ST_ATIM 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19174 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19179 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19183 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19188 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19197 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19201 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19206 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19210 _ACEOF
19214 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19215 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19219 _ACEOF
19225 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
19226 #include <sys/types.h>
19227 #endif
19228 #ifdef HAVE_NETINET_IN_H
19229 #include <netinet/in.h>
19230 #endif
19232 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19234 cat >>confdefs.h <<_ACEOF
19235 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19236 _ACEOF
19242 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19243 #include <sys/types.h>
19244 #endif
19245 #ifdef HAVE_NETINET_IN_H
19246 #include <netinet/in.h>
19247 #endif
19248 #ifdef HAVE_RESOLV_H
19249 #include <resolv.h>
19250 #endif
19252 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_STRUCT___RES_STATE 1
19256 _ACEOF
19262 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
19263 #include <resolv.h>
19264 #endif
19266 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19270 _ACEOF
19276 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19277 #include <sys/types.h>
19278 #endif
19279 #ifdef HAVE_NETINET_IN_H
19280 # include <netinet/in.h>
19281 #endif
19282 #ifdef HAVE_ARPA_NAMESER_H
19283 # include <arpa/nameser.h>
19284 #endif
19286 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19288 cat >>confdefs.h <<_ACEOF
19289 #define HAVE_NS_MSG__MSG_PTR 1
19290 _ACEOF
19296 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19297 #include <sys/types.h>
19298 #endif
19299 #ifdef HAVE_NETINET_IN_H
19300 #include <netinet/in.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IP_H
19303 #include <netinet/ip.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_ICMP_H
19306 #include <netinet/ip_icmp.h>
19307 #endif
19308 #ifdef HAVE_NETINET_ICMP_VAR_H
19309 #include <netinet/icmp_var.h>
19310 #endif
19312 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19314 cat >>confdefs.h <<_ACEOF
19315 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19316 _ACEOF
19322 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19323 #include <sys/types.h>
19324 #endif
19325 #ifdef HAVE_ALIAS_H
19326 #include <alias.h>
19327 #endif
19328 #ifdef HAVE_SYS_SOCKET_H
19329 #include <sys/socket.h>
19330 #endif
19331 #ifdef HAVE_SYS_SOCKETVAR_H
19332 #include <sys/socketvar.h>
19333 #endif
19334 #ifdef HAVE_SYS_TIMEOUT_H
19335 #include <sys/timeout.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IN_H
19338 #include <netinet/in.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IN_SYSTM_H
19341 #include <netinet/in_systm.h>
19342 #endif
19343 #ifdef HAVE_NETINET_IP_H
19344 #include <netinet/ip.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IP_VAR_H
19347 #include <netinet/ip_var.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IP_ICMP_H
19350 #include <netinet/ip_icmp.h>
19351 #endif
19352 #ifdef HAVE_NETINET_ICMP_VAR_H
19353 #include <netinet/icmp_var.h>
19354 #endif
19356 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19360 _ACEOF
19366 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19367 #include <sys/types.h>
19368 #endif
19369 #ifdef HAVE_SYS_SOCKETVAR_H
19370 #include <sys/socketvar.h>
19371 #endif
19372 #ifdef HAVE_NETINET_IN_H
19373 #include <netinet/in.h>
19374 #endif
19375 #ifdef HAVE_NETINET_IP_VAR_H
19376 #include <netinet/ip_var.h>
19377 #endif
19379 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19381 cat >>confdefs.h <<_ACEOF
19382 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19383 _ACEOF
19389 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
19390 #include <netinet/ip_var.h>
19391 #endif
19393 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19395 cat >>confdefs.h <<_ACEOF
19396 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19397 _ACEOF
19403 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19404 #include <sys/types.h>
19405 #endif
19406 #ifdef HAVE_SYS_SOCKETVAR_H
19407 #include <sys/socketvar.h>
19408 #endif
19409 #ifdef HAVE_NETINET_IN_H
19410 #include <netinet/in.h>
19411 #endif
19412 #ifdef HAVE_NETINET_TCP_H
19413 #include <netinet/tcp.h>
19414 #endif
19415 #ifdef HAVE_NETINET_TCP_VAR_H
19416 #include <netinet/tcp_var.h>
19417 #endif
19419 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19421 cat >>confdefs.h <<_ACEOF
19422 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19423 _ACEOF
19429 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
19430 #include <netinet/tcp_var.h>
19431 #endif
19433 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19435 cat >>confdefs.h <<_ACEOF
19436 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19437 _ACEOF
19443 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19444 #include <sys/types.h>
19445 #endif
19446 #ifdef HAVE_NETINET_IN_H
19447 #include <netinet/in.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IP_VAR_H
19450 #include <netinet/ip_var.h>
19451 #endif
19452 #ifdef HAVE_NETINET_UDP_H
19453 #include <netinet/udp.h>
19454 #endif
19455 #ifdef HAVE_NETINET_UDP_VAR_H
19456 #include <netinet/udp_var.h>
19457 #endif
19459 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19461 cat >>confdefs.h <<_ACEOF
19462 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19463 _ACEOF
19469 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19470 #include <sys/types.h>
19471 #endif
19472 #ifdef HAVE_NET_IF_H
19473 # include <net/if.h>
19474 #endif
19476 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19480 _ACEOF
19486 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19487 # include <sys/sysinfo.h>
19488 #endif
19490 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19492 cat >>confdefs.h <<_ACEOF
19493 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19494 _ACEOF
19498 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19499 # include <sys/sysinfo.h>
19500 #endif
19502 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19504 cat >>confdefs.h <<_ACEOF
19505 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19506 _ACEOF
19512 ac_save_LIBS="$LIBS"
19513 LIBS="$LIBS -lm"
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19515 $as_echo_n "checking for isfinite... " >&6; }
19516 if ${ac_cv_have_isfinite+:} false; then :
19517 $as_echo_n "(cached) " >&6
19518 else
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19521 #define _GNU_SOURCE
19522 #include <math.h>
19524 main ()
19526 float f = 0.0; return isfinite(f)
19528 return 0;
19530 _ACEOF
19531 if ac_fn_c_try_link "$LINENO"; then :
19532 ac_cv_have_isfinite="yes"
19533 else
19534 ac_cv_have_isfinite="no"
19536 rm -f core conftest.err conftest.$ac_objext \
19537 conftest$ac_exeext conftest.$ac_ext
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19540 $as_echo "$ac_cv_have_isfinite" >&6; }
19541 if test "$ac_cv_have_isfinite" = "yes"
19542 then
19544 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19549 $as_echo_n "checking for isinf... " >&6; }
19550 if ${ac_cv_have_isinf+:} false; then :
19551 $as_echo_n "(cached) " >&6
19552 else
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 #include <math.h>
19557 main ()
19559 float f = 0.0; return isinf(f)
19561 return 0;
19563 _ACEOF
19564 if ac_fn_c_try_link "$LINENO"; then :
19565 ac_cv_have_isinf="yes"
19566 else
19567 ac_cv_have_isinf="no"
19569 rm -f core conftest.err conftest.$ac_objext \
19570 conftest$ac_exeext conftest.$ac_ext
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19573 $as_echo "$ac_cv_have_isinf" >&6; }
19574 if test "$ac_cv_have_isinf" = "yes"
19575 then
19577 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19582 $as_echo_n "checking for isnan... " >&6; }
19583 if ${ac_cv_have_isnan+:} false; then :
19584 $as_echo_n "(cached) " >&6
19585 else
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19588 #include <math.h>
19590 main ()
19592 float f = 0.0; return isnan(f)
19594 return 0;
19596 _ACEOF
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 ac_cv_have_isnan="yes"
19599 else
19600 ac_cv_have_isnan="no"
19602 rm -f core conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19606 $as_echo "$ac_cv_have_isnan" >&6; }
19607 if test "$ac_cv_have_isnan" = "yes"
19608 then
19610 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19614 LIBS="$ac_save_LIBS"
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19617 $as_echo_n "checking for __builtin_popcount... " >&6; }
19618 if ${ac_cv_have___builtin_popcount+:} false; then :
19619 $as_echo_n "(cached) " >&6
19620 else
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19625 main ()
19627 return __builtin_popcount(1)
19629 return 0;
19631 _ACEOF
19632 if ac_fn_c_try_link "$LINENO"; then :
19633 ac_cv_have___builtin_popcount="yes"
19634 else
19635 ac_cv_have___builtin_popcount="no"
19637 rm -f core conftest.err conftest.$ac_objext \
19638 conftest$ac_exeext conftest.$ac_ext
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19641 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19642 if test "$ac_cv_have___builtin_popcount" = "yes"
19643 then
19645 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19650 $as_echo_n "checking for __clear_cache... " >&6; }
19651 if ${ac_cv_have___clear_cache+:} false; then :
19652 $as_echo_n "(cached) " >&6
19653 else
19654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19658 main ()
19660 __clear_cache((void*)0, (void*)0); return 0;
19662 return 0;
19664 _ACEOF
19665 if ac_fn_c_try_link "$LINENO"; then :
19666 ac_cv_have___clear_cache="yes"
19667 else
19668 ac_cv_have___clear_cache="no"
19670 rm -f core conftest.err conftest.$ac_objext \
19671 conftest$ac_exeext conftest.$ac_ext
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19674 $as_echo "$ac_cv_have___clear_cache" >&6; }
19675 if test "$ac_cv_have___clear_cache" = "yes"
19676 then
19678 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19683 case $host_cpu in
19684 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19685 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19686 if ${ac_cv_cpp_def___i386__+:} false; then :
19687 $as_echo_n "(cached) " >&6
19688 else
19689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19690 /* end confdefs.h. */
19691 #ifndef __i386__
19693 #endif
19694 _ACEOF
19695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19696 $EGREP "yes" >/dev/null 2>&1; then :
19697 ac_cv_cpp_def___i386__=yes
19698 else
19699 ac_cv_cpp_def___i386__=no
19701 rm -f conftest*
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19705 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19706 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19707 CFLAGS="$CFLAGS -D__i386__"
19708 LINTFLAGS="$LINTFLAGS -D__i386__"
19709 fi ;;
19710 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19711 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19712 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19713 $as_echo_n "(cached) " >&6
19714 else
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19717 #ifndef __x86_64__
19719 #endif
19720 _ACEOF
19721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19722 $EGREP "yes" >/dev/null 2>&1; then :
19723 ac_cv_cpp_def___x86_64__=yes
19724 else
19725 ac_cv_cpp_def___x86_64__=no
19727 rm -f conftest*
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19731 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19732 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19733 CFLAGS="$CFLAGS -D__x86_64__"
19734 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19735 fi ;;
19736 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19737 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19738 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #ifndef __sparc64__
19745 #endif
19746 _ACEOF
19747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19748 $EGREP "yes" >/dev/null 2>&1; then :
19749 ac_cv_cpp_def___sparc64__=yes
19750 else
19751 ac_cv_cpp_def___sparc64__=no
19753 rm -f conftest*
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19757 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19758 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19759 CFLAGS="$CFLAGS -D__sparc64__"
19760 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19761 fi ;;
19762 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19763 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19764 if ${ac_cv_cpp_def___sparc__+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19769 #ifndef __sparc__
19771 #endif
19772 _ACEOF
19773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19774 $EGREP "yes" >/dev/null 2>&1; then :
19775 ac_cv_cpp_def___sparc__=yes
19776 else
19777 ac_cv_cpp_def___sparc__=no
19779 rm -f conftest*
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19783 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19784 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19785 CFLAGS="$CFLAGS -D__sparc__"
19786 LINTFLAGS="$LINTFLAGS -D__sparc__"
19787 fi ;;
19788 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19789 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19790 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19791 $as_echo_n "(cached) " >&6
19792 else
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19795 #ifndef __powerpc64__
19797 #endif
19798 _ACEOF
19799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19800 $EGREP "yes" >/dev/null 2>&1; then :
19801 ac_cv_cpp_def___powerpc64__=yes
19802 else
19803 ac_cv_cpp_def___powerpc64__=no
19805 rm -f conftest*
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19809 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19810 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19811 CFLAGS="$CFLAGS -D__powerpc64__"
19812 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19813 fi ;;
19814 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19815 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19816 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19817 $as_echo_n "(cached) " >&6
19818 else
19819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19820 /* end confdefs.h. */
19821 #ifndef __powerpc__
19823 #endif
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "yes" >/dev/null 2>&1; then :
19827 ac_cv_cpp_def___powerpc__=yes
19828 else
19829 ac_cv_cpp_def___powerpc__=no
19831 rm -f conftest*
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19835 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19836 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19837 CFLAGS="$CFLAGS -D__powerpc__"
19838 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19839 fi ;;
19840 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19841 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19842 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19843 $as_echo_n "(cached) " >&6
19844 else
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #ifndef __aarch64__
19849 #endif
19850 _ACEOF
19851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19852 $EGREP "yes" >/dev/null 2>&1; then :
19853 ac_cv_cpp_def___aarch64__=yes
19854 else
19855 ac_cv_cpp_def___aarch64__=no
19857 rm -f conftest*
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19861 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19862 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19863 CFLAGS="$CFLAGS -D__aarch64__"
19864 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19865 fi ;;
19866 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19867 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19868 if ${ac_cv_cpp_def___arm__+:} false; then :
19869 $as_echo_n "(cached) " >&6
19870 else
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #ifndef __arm__
19875 #endif
19876 _ACEOF
19877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19878 $EGREP "yes" >/dev/null 2>&1; then :
19879 ac_cv_cpp_def___arm__=yes
19880 else
19881 ac_cv_cpp_def___arm__=no
19883 rm -f conftest*
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19887 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19888 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19889 CFLAGS="$CFLAGS -D__arm__"
19890 LINTFLAGS="$LINTFLAGS -D__arm__"
19891 fi ;;
19892 esac
19894 case $host_vendor in
19895 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19896 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19897 if ${ac_cv_cpp_def___sun__+:} false; then :
19898 $as_echo_n "(cached) " >&6
19899 else
19900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h. */
19902 #ifndef __sun__
19904 #endif
19905 _ACEOF
19906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19907 $EGREP "yes" >/dev/null 2>&1; then :
19908 ac_cv_cpp_def___sun__=yes
19909 else
19910 ac_cv_cpp_def___sun__=no
19912 rm -f conftest*
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19916 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19917 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19918 CFLAGS="$CFLAGS -D__sun__"
19919 LINTFLAGS="$LINTFLAGS -D__sun__"
19920 fi ;;
19921 esac
19927 ac_config_commands="$ac_config_commands include/stamp-h"
19929 $as_echo_n "creating Makefile rules..." >&6
19931 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19932 OPENGL_LIBS = $OPENGL_LIBS
19933 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19934 IOKIT_LIBS = $IOKIT_LIBS
19935 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19936 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19937 CORESERVICES_LIBS = $CORESERVICES_LIBS
19938 APPKIT_LIBS = $APPKIT_LIBS
19939 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19940 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19941 SECURITY_LIBS = $SECURITY_LIBS
19942 COREAUDIO_LIBS = $COREAUDIO_LIBS
19943 OPENAL_LIBS = $OPENAL_LIBS
19944 OPENCL_LIBS = $OPENCL_LIBS
19945 QUICKTIME_LIBS = $QUICKTIME_LIBS
19946 CARBON_LIBS = $CARBON_LIBS
19947 METAL_LIBS = $METAL_LIBS
19948 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19949 PTHREAD_LIBS = $PTHREAD_LIBS
19950 X_CFLAGS = $X_CFLAGS
19951 X_PRE_LIBS = $X_PRE_LIBS
19952 X_LIBS = $X_LIBS
19953 X_EXTRA_LIBS = $X_EXTRA_LIBS
19954 PCAP_LIBS = $PCAP_LIBS
19955 XML2_CFLAGS = $XML2_CFLAGS
19956 XML2_LIBS = $XML2_LIBS
19957 XSLT_CFLAGS = $XSLT_CFLAGS
19958 XSLT_LIBS = $XSLT_LIBS
19959 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19960 INOTIFY_LIBS = $INOTIFY_LIBS
19961 DBUS_CFLAGS = $DBUS_CFLAGS
19962 DBUS_LIBS = $DBUS_LIBS
19963 HAL_CFLAGS = $HAL_CFLAGS
19964 HAL_LIBS = $HAL_LIBS
19965 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19966 GNUTLS_LIBS = $GNUTLS_LIBS
19967 SANE_CFLAGS = $SANE_CFLAGS
19968 SANE_LIBS = $SANE_LIBS
19969 USB_CFLAGS = $USB_CFLAGS
19970 USB_LIBS = $USB_LIBS
19971 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19972 GPHOTO2_LIBS = $GPHOTO2_LIBS
19973 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19974 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19975 RESOLV_LIBS = $RESOLV_LIBS
19976 LCMS2_CFLAGS = $LCMS2_CFLAGS
19977 LCMS2_LIBS = $LCMS2_LIBS
19978 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19979 FREETYPE_LIBS = $FREETYPE_LIBS
19980 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19981 PULSE_CFLAGS = $PULSE_CFLAGS
19982 PULSE_LIBS = $PULSE_LIBS
19983 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19984 GSTREAMER_LIBS = $GSTREAMER_LIBS
19985 ALSA_LIBS = $ALSA_LIBS
19986 OSS4_CFLAGS = $OSS4_CFLAGS
19987 OSS4_LIBS = $OSS4_LIBS
19988 UDEV_CFLAGS = $UDEV_CFLAGS
19989 UDEV_LIBS = $UDEV_LIBS
19990 UNWIND_CFLAGS = $UNWIND_CFLAGS
19991 UNWIND_LIBS = $UNWIND_LIBS
19992 SDL2_CFLAGS = $SDL2_CFLAGS
19993 SDL2_LIBS = $SDL2_LIBS
19994 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19995 FAUDIO_LIBS = $FAUDIO_LIBS
19996 CAPI20_CFLAGS = $CAPI20_CFLAGS
19997 CAPI20_LIBS = $CAPI20_LIBS
19998 CUPS_CFLAGS = $CUPS_CFLAGS
19999 CUPS_LIBS = $CUPS_LIBS
20000 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20001 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20002 KRB5_CFLAGS = $KRB5_CFLAGS
20003 KRB5_LIBS = $KRB5_LIBS
20004 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20005 GSSAPI_LIBS = $GSSAPI_LIBS
20006 JPEG_CFLAGS = $JPEG_CFLAGS
20007 JPEG_LIBS = $JPEG_LIBS
20008 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20009 JXRLIB_LIBS = $JXRLIB_LIBS
20010 PNG_CFLAGS = $PNG_CFLAGS
20011 PNG_LIBS = $PNG_LIBS
20012 TIFF_CFLAGS = $TIFF_CFLAGS
20013 TIFF_LIBS = $TIFF_LIBS
20014 MPG123_CFLAGS = $MPG123_CFLAGS
20015 MPG123_LIBS = $MPG123_LIBS
20016 KSTAT_LIBS = $KSTAT_LIBS
20017 PROCSTAT_LIBS = $PROCSTAT_LIBS
20018 NETAPI_CFLAGS = $NETAPI_CFLAGS
20019 NETAPI_LIBS = $NETAPI_LIBS
20020 VKD3D_CFLAGS = $VKD3D_CFLAGS
20021 VKD3D_LIBS = $VKD3D_LIBS
20022 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20023 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20024 POLL_LIBS = $POLL_LIBS
20025 RT_LIBS = $RT_LIBS
20026 LDAP_CFLAGS = $LDAP_CFLAGS
20027 LDAP_LIBS = $LDAP_LIBS
20031 makedep_flags=""
20032 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20035 wine_fn_append_rule "
20036 # Rules automatically generated by configure
20038 .INIT: Makefile
20039 .MAKEFILEDEPS:
20040 all: Makefile
20041 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20042 @./config.status Make.tmp Makefile
20043 depend: \$(MAKEDEP)
20044 \$(MAKEDEP)$makedep_flags
20045 dummy:
20046 .PHONY: depend dummy"
20048 ac_config_links="$ac_config_links wine:tools/winewrapper"
20049 wine_fn_config_symlink wine
20050 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20051 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20052 wine_fn_config_symlink wine64
20055 wine_fn_config_makefile dlls/acledit enable_acledit
20056 wine_fn_config_makefile dlls/aclui enable_aclui
20057 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20058 wine_fn_config_makefile dlls/activeds enable_activeds
20059 wine_fn_config_makefile dlls/activeds/tests enable_tests
20060 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20061 wine_fn_config_makefile dlls/adsiid enable_adsiid
20062 wine_fn_config_makefile dlls/adsldp enable_adsldp
20063 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20064 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20065 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20066 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20067 wine_fn_config_makefile dlls/advpack enable_advpack
20068 wine_fn_config_makefile dlls/advpack/tests enable_tests
20069 wine_fn_config_makefile dlls/amsi enable_amsi
20070 wine_fn_config_makefile dlls/amstream enable_amstream
20071 wine_fn_config_makefile dlls/amstream/tests enable_tests
20072 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20075 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20098 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20099 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20107 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20110 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20124 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20131 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20136 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20145 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20146 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20147 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20161 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20188 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20191 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20207 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20215 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20235 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20267 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20271 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20275 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20281 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20283 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20294 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20302 wine_fn_config_makefile dlls/apphelp enable_apphelp
20303 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20304 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20305 wine_fn_config_makefile dlls/atl enable_atl
20306 wine_fn_config_makefile dlls/atl/tests enable_tests
20307 wine_fn_config_makefile dlls/atl100 enable_atl100
20308 wine_fn_config_makefile dlls/atl100/tests enable_tests
20309 wine_fn_config_makefile dlls/atl110 enable_atl110
20310 wine_fn_config_makefile dlls/atl80 enable_atl80
20311 wine_fn_config_makefile dlls/atl80/tests enable_tests
20312 wine_fn_config_makefile dlls/atl90 enable_atl90
20313 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20314 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20315 wine_fn_config_makefile dlls/atmlib enable_atmlib
20316 wine_fn_config_makefile dlls/authz enable_authz
20317 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20318 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20319 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20320 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20321 wine_fn_config_makefile dlls/avrt enable_avrt
20322 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20323 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20324 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20325 wine_fn_config_makefile dlls/browseui enable_browseui
20326 wine_fn_config_makefile dlls/browseui/tests enable_tests
20327 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20328 wine_fn_config_makefile dlls/cabinet enable_cabinet
20329 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20330 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20331 wine_fn_config_makefile dlls/cards enable_cards
20332 wine_fn_config_makefile dlls/cdosys enable_cdosys
20333 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20334 wine_fn_config_makefile dlls/clusapi enable_clusapi
20335 wine_fn_config_makefile dlls/combase enable_combase
20336 wine_fn_config_makefile dlls/combase/tests enable_tests
20337 wine_fn_config_makefile dlls/comcat enable_comcat
20338 wine_fn_config_makefile dlls/comcat/tests enable_tests
20339 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20340 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20341 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20342 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20343 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20344 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20345 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20346 wine_fn_config_makefile dlls/compstui enable_compstui
20347 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20348 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20349 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20350 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20351 wine_fn_config_makefile dlls/connect enable_connect
20352 wine_fn_config_makefile dlls/credui enable_credui
20353 wine_fn_config_makefile dlls/credui/tests enable_tests
20354 wine_fn_config_makefile dlls/crtdll enable_crtdll
20355 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20356 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20357 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20358 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20359 wine_fn_config_makefile dlls/cryptext enable_cryptext
20360 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20361 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20362 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20363 wine_fn_config_makefile dlls/cryptui enable_cryptui
20364 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20365 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20366 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20367 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20368 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20369 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20370 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20371 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20372 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20373 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20374 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20375 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20376 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20377 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20378 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20379 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20380 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20381 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20382 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20383 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20384 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20385 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20386 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20387 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20388 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20389 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20390 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20391 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20392 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20393 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20394 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20395 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20396 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20397 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20398 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20399 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20400 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20401 wine_fn_config_makefile dlls/d3dim enable_d3dim
20402 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20403 wine_fn_config_makefile dlls/d3drm enable_d3drm
20404 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20405 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20406 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20407 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20408 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20409 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20410 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20411 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20412 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20413 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20414 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20415 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20416 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20417 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20418 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20419 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20420 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20421 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20422 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20423 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20424 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20425 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20426 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20427 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20428 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20429 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20430 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20431 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20432 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20433 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20434 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20435 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20436 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20437 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20438 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20439 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20440 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20441 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20442 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20443 wine_fn_config_makefile dlls/davclnt enable_davclnt
20444 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20445 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20446 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20447 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20448 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20449 wine_fn_config_makefile dlls/dcomp enable_dcomp
20450 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20451 wine_fn_config_makefile dlls/ddraw enable_ddraw
20452 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20453 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20454 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20455 wine_fn_config_makefile dlls/devenum enable_devenum
20456 wine_fn_config_makefile dlls/devenum/tests enable_tests
20457 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20458 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20459 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20460 wine_fn_config_makefile dlls/difxapi enable_difxapi
20461 wine_fn_config_makefile dlls/dinput enable_dinput
20462 wine_fn_config_makefile dlls/dinput/tests enable_tests
20463 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20464 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20465 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20466 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20467 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20468 wine_fn_config_makefile dlls/dispex enable_dispex
20469 wine_fn_config_makefile dlls/dispex/tests enable_tests
20470 wine_fn_config_makefile dlls/display.drv16 enable_win16
20471 wine_fn_config_makefile dlls/dmband enable_dmband
20472 wine_fn_config_makefile dlls/dmband/tests enable_tests
20473 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20474 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20475 wine_fn_config_makefile dlls/dmime enable_dmime
20476 wine_fn_config_makefile dlls/dmime/tests enable_tests
20477 wine_fn_config_makefile dlls/dmloader enable_dmloader
20478 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20479 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20480 wine_fn_config_makefile dlls/dmscript enable_dmscript
20481 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20482 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20483 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20484 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20485 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20486 wine_fn_config_makefile dlls/dmusic enable_dmusic
20487 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20488 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20489 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20490 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20491 wine_fn_config_makefile dlls/dplay enable_dplay
20492 wine_fn_config_makefile dlls/dplayx enable_dplayx
20493 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20494 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20495 wine_fn_config_makefile dlls/dpnet enable_dpnet
20496 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20497 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20498 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20499 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20500 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20501 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20502 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20503 wine_fn_config_makefile dlls/drmclien enable_drmclien
20504 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20505 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20506 wine_fn_config_makefile dlls/dsound enable_dsound
20507 wine_fn_config_makefile dlls/dsound/tests enable_tests
20508 wine_fn_config_makefile dlls/dsquery enable_dsquery
20509 wine_fn_config_makefile dlls/dssenh enable_dssenh
20510 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20511 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20512 wine_fn_config_makefile dlls/dswave enable_dswave
20513 wine_fn_config_makefile dlls/dswave/tests enable_tests
20514 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20515 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20516 wine_fn_config_makefile dlls/dwrite enable_dwrite
20517 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20518 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20519 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20520 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20521 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20522 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20523 wine_fn_config_makefile dlls/dxgi enable_dxgi
20524 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20525 wine_fn_config_makefile dlls/dxguid enable_dxguid
20526 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20527 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20528 wine_fn_config_makefile dlls/esent enable_esent
20529 wine_fn_config_makefile dlls/evr enable_evr
20530 wine_fn_config_makefile dlls/evr/tests enable_tests
20531 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20532 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20533 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20538 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20539 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20542 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20544 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20567 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20573 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
20574 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20576 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20584 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20585 wine_fn_config_makefile dlls/faultrep enable_faultrep
20586 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20587 wine_fn_config_makefile dlls/feclient enable_feclient
20588 wine_fn_config_makefile dlls/fltlib enable_fltlib
20589 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20590 wine_fn_config_makefile dlls/fntcache enable_fntcache
20591 wine_fn_config_makefile dlls/fontsub enable_fontsub
20592 wine_fn_config_makefile dlls/fusion enable_fusion
20593 wine_fn_config_makefile dlls/fusion/tests enable_tests
20594 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20595 wine_fn_config_makefile dlls/gameux enable_gameux
20596 wine_fn_config_makefile dlls/gameux/tests enable_tests
20597 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20598 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20599 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20600 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20601 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20602 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20603 wine_fn_config_makefile dlls/glu32 enable_glu32
20604 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20605 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20606 wine_fn_config_makefile dlls/hal enable_hal
20607 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20608 wine_fn_config_makefile dlls/hid enable_hid
20609 wine_fn_config_makefile dlls/hid/tests enable_tests
20610 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20611 wine_fn_config_makefile dlls/hlink enable_hlink
20612 wine_fn_config_makefile dlls/hlink/tests enable_tests
20613 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20614 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20615 wine_fn_config_makefile dlls/http.sys enable_http_sys
20616 wine_fn_config_makefile dlls/httpapi enable_httpapi
20617 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20618 wine_fn_config_makefile dlls/iccvid enable_iccvid
20619 wine_fn_config_makefile dlls/icmp enable_icmp
20620 wine_fn_config_makefile dlls/ieframe enable_ieframe
20621 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20622 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20623 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20624 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20625 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20626 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20627 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20628 wine_fn_config_makefile dlls/imm32 enable_imm32
20629 wine_fn_config_makefile dlls/imm32/tests enable_tests
20630 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20631 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20632 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20633 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20634 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20635 wine_fn_config_makefile dlls/infosoft enable_infosoft
20636 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20637 wine_fn_config_makefile dlls/initpki enable_initpki
20638 wine_fn_config_makefile dlls/inkobj enable_inkobj
20639 wine_fn_config_makefile dlls/inseng enable_inseng
20640 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20641 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20642 wine_fn_config_makefile dlls/iprop enable_iprop
20643 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20644 wine_fn_config_makefile dlls/itircl enable_itircl
20645 wine_fn_config_makefile dlls/itss enable_itss
20646 wine_fn_config_makefile dlls/itss/tests enable_tests
20647 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20648 wine_fn_config_makefile dlls/jscript enable_jscript
20649 wine_fn_config_makefile dlls/jscript/tests enable_tests
20650 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20651 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20652 wine_fn_config_makefile dlls/kerberos enable_kerberos
20653 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20654 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20655 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20656 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20657 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20658 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20659 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20660 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20661 wine_fn_config_makefile dlls/ksuser enable_ksuser
20662 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20663 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20664 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20665 wine_fn_config_makefile dlls/loadperf enable_loadperf
20666 wine_fn_config_makefile dlls/localspl enable_localspl
20667 wine_fn_config_makefile dlls/localspl/tests enable_tests
20668 wine_fn_config_makefile dlls/localui enable_localui
20669 wine_fn_config_makefile dlls/localui/tests enable_tests
20670 wine_fn_config_makefile dlls/lz32 enable_lz32
20671 wine_fn_config_makefile dlls/lz32/tests enable_tests
20672 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20673 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20674 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20675 wine_fn_config_makefile dlls/mapistub enable_mapistub
20676 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20677 wine_fn_config_makefile dlls/mcicda enable_mcicda
20678 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20679 wine_fn_config_makefile dlls/mciseq enable_mciseq
20680 wine_fn_config_makefile dlls/mciwave enable_mciwave
20681 wine_fn_config_makefile dlls/mf enable_mf
20682 wine_fn_config_makefile dlls/mf/tests enable_tests
20683 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20684 wine_fn_config_makefile dlls/mferror enable_mferror
20685 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20686 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20687 wine_fn_config_makefile dlls/mfplat enable_mfplat
20688 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20689 wine_fn_config_makefile dlls/mfplay enable_mfplay
20690 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20691 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20692 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20693 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20694 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20695 wine_fn_config_makefile dlls/midimap enable_midimap
20696 wine_fn_config_makefile dlls/mlang enable_mlang
20697 wine_fn_config_makefile dlls/mlang/tests enable_tests
20698 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20699 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20700 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20701 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20702 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20703 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20704 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20705 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20706 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20707 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20708 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20709 wine_fn_config_makefile dlls/mpr enable_mpr
20710 wine_fn_config_makefile dlls/mpr/tests enable_tests
20711 wine_fn_config_makefile dlls/mprapi enable_mprapi
20712 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20713 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20714 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20715 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20716 wine_fn_config_makefile dlls/msado15 enable_msado15
20717 wine_fn_config_makefile dlls/msado15/tests enable_tests
20718 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20719 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20720 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20721 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20722 wine_fn_config_makefile dlls/mscms enable_mscms
20723 wine_fn_config_makefile dlls/mscms/tests enable_tests
20724 wine_fn_config_makefile dlls/mscoree enable_mscoree
20725 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20726 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20727 wine_fn_config_makefile dlls/msctf enable_msctf
20728 wine_fn_config_makefile dlls/msctf/tests enable_tests
20729 wine_fn_config_makefile dlls/msctfp enable_msctfp
20730 wine_fn_config_makefile dlls/msdaps enable_msdaps
20731 wine_fn_config_makefile dlls/msdelta enable_msdelta
20732 wine_fn_config_makefile dlls/msdmo enable_msdmo
20733 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20734 wine_fn_config_makefile dlls/msdrm enable_msdrm
20735 wine_fn_config_makefile dlls/msftedit enable_msftedit
20736 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20737 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20738 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20739 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20740 wine_fn_config_makefile dlls/mshtml enable_mshtml
20741 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20742 wine_fn_config_makefile dlls/msi enable_msi
20743 wine_fn_config_makefile dlls/msi/tests enable_tests
20744 wine_fn_config_makefile dlls/msident enable_msident
20745 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20746 wine_fn_config_makefile dlls/msimsg enable_msimsg
20747 wine_fn_config_makefile dlls/msimtf enable_msimtf
20748 wine_fn_config_makefile dlls/msisip enable_msisip
20749 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20750 wine_fn_config_makefile dlls/msls31 enable_msls31
20751 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20752 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20753 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20754 wine_fn_config_makefile dlls/msports enable_msports
20755 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20756 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20757 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20758 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20759 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20760 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20761 wine_fn_config_makefile dlls/mstask enable_mstask
20762 wine_fn_config_makefile dlls/mstask/tests enable_tests
20763 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20764 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20765 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20766 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20767 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20768 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20769 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20771 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20773 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20775 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20776 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20777 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20778 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20780 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20782 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20783 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20784 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20785 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20787 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20789 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20790 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20791 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20792 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20793 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20794 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20795 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20796 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20797 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20798 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20799 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20800 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20801 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20802 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20803 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20804 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20805 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20806 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20807 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20808 wine_fn_config_makefile dlls/mswsock enable_mswsock
20809 wine_fn_config_makefile dlls/msxml enable_msxml
20810 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20811 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20812 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20813 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20814 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20815 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20816 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20817 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20818 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20819 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20820 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20821 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20822 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20823 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20824 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20825 wine_fn_config_makefile dlls/netprofm enable_netprofm
20826 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20827 wine_fn_config_makefile dlls/netutils enable_netutils
20828 wine_fn_config_makefile dlls/newdev enable_newdev
20829 wine_fn_config_makefile dlls/ninput enable_ninput
20830 wine_fn_config_makefile dlls/ninput/tests enable_tests
20831 wine_fn_config_makefile dlls/normaliz enable_normaliz
20832 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20833 wine_fn_config_makefile dlls/npptools enable_npptools
20834 wine_fn_config_makefile dlls/nsi enable_nsi
20835 wine_fn_config_makefile dlls/nsi/tests enable_tests
20836 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20837 wine_fn_config_makefile dlls/ntdll enable_ntdll
20838 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20839 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20840 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20841 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20842 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20843 wine_fn_config_makefile dlls/ntprint enable_ntprint
20844 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20845 wine_fn_config_makefile dlls/objsel enable_objsel
20846 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20847 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20848 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20849 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20850 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20851 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20852 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20853 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20854 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20855 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20856 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20857 wine_fn_config_makefile dlls/ole32 enable_ole32
20858 wine_fn_config_makefile dlls/ole32/tests enable_tests
20859 wine_fn_config_makefile dlls/oleacc enable_oleacc
20860 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20861 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20862 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20863 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20864 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20865 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20866 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20867 wine_fn_config_makefile dlls/oledlg enable_oledlg
20868 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20869 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20870 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20871 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20872 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20873 wine_fn_config_makefile dlls/opcservices enable_opcservices
20874 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20875 wine_fn_config_makefile dlls/openal32 enable_openal32
20876 wine_fn_config_makefile dlls/opencl enable_opencl
20877 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20878 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20879 wine_fn_config_makefile dlls/packager enable_packager
20880 wine_fn_config_makefile dlls/packager/tests enable_tests
20881 wine_fn_config_makefile dlls/pdh enable_pdh
20882 wine_fn_config_makefile dlls/pdh/tests enable_tests
20883 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20884 wine_fn_config_makefile dlls/pidgen enable_pidgen
20885 wine_fn_config_makefile dlls/powrprof enable_powrprof
20886 wine_fn_config_makefile dlls/printui enable_printui
20887 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20888 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20889 wine_fn_config_makefile dlls/propsys enable_propsys
20890 wine_fn_config_makefile dlls/propsys/tests enable_tests
20891 wine_fn_config_makefile dlls/psapi enable_psapi
20892 wine_fn_config_makefile dlls/psapi/tests enable_tests
20893 wine_fn_config_makefile dlls/pstorec enable_pstorec
20894 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20895 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20896 wine_fn_config_makefile dlls/qasf enable_qasf
20897 wine_fn_config_makefile dlls/qasf/tests enable_tests
20898 wine_fn_config_makefile dlls/qcap enable_qcap
20899 wine_fn_config_makefile dlls/qcap/tests enable_tests
20900 wine_fn_config_makefile dlls/qdvd enable_qdvd
20901 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20902 wine_fn_config_makefile dlls/qedit enable_qedit
20903 wine_fn_config_makefile dlls/qedit/tests enable_tests
20904 wine_fn_config_makefile dlls/qmgr enable_qmgr
20905 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20906 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20907 wine_fn_config_makefile dlls/quartz enable_quartz
20908 wine_fn_config_makefile dlls/quartz/tests enable_tests
20909 wine_fn_config_makefile dlls/query enable_query
20910 wine_fn_config_makefile dlls/qwave enable_qwave
20911 wine_fn_config_makefile dlls/qwave/tests enable_tests
20912 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20913 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20914 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20915 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20916 wine_fn_config_makefile dlls/regapi enable_regapi
20917 wine_fn_config_makefile dlls/resutils enable_resutils
20918 wine_fn_config_makefile dlls/riched20 enable_riched20
20919 wine_fn_config_makefile dlls/riched20/tests enable_tests
20920 wine_fn_config_makefile dlls/riched32 enable_riched32
20921 wine_fn_config_makefile dlls/riched32/tests enable_tests
20922 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20923 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20924 wine_fn_config_makefile dlls/rsabase enable_rsabase
20925 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20926 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20927 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20928 wine_fn_config_makefile dlls/rtutils enable_rtutils
20929 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20930 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20931 wine_fn_config_makefile dlls/samlib enable_samlib
20932 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20933 wine_fn_config_makefile dlls/sapi enable_sapi
20934 wine_fn_config_makefile dlls/sapi/tests enable_tests
20935 wine_fn_config_makefile dlls/sas enable_sas
20936 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20937 wine_fn_config_makefile dlls/sccbase enable_sccbase
20938 wine_fn_config_makefile dlls/schannel enable_schannel
20939 wine_fn_config_makefile dlls/schannel/tests enable_tests
20940 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20941 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20942 wine_fn_config_makefile dlls/scrobj enable_scrobj
20943 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20944 wine_fn_config_makefile dlls/scrrun enable_scrrun
20945 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20946 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20947 wine_fn_config_makefile dlls/sechost enable_sechost
20948 wine_fn_config_makefile dlls/secur32 enable_secur32
20949 wine_fn_config_makefile dlls/secur32/tests enable_tests
20950 wine_fn_config_makefile dlls/security enable_security
20951 wine_fn_config_makefile dlls/sensapi enable_sensapi
20952 wine_fn_config_makefile dlls/serialui enable_serialui
20953 wine_fn_config_makefile dlls/serialui/tests enable_tests
20954 wine_fn_config_makefile dlls/setupapi enable_setupapi
20955 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20956 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20957 wine_fn_config_makefile dlls/sfc enable_sfc
20958 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20959 wine_fn_config_makefile dlls/shcore enable_shcore
20960 wine_fn_config_makefile dlls/shcore/tests enable_tests
20961 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20962 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20963 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20964 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20965 wine_fn_config_makefile dlls/shell32 enable_shell32
20966 wine_fn_config_makefile dlls/shell32/tests enable_tests
20967 wine_fn_config_makefile dlls/shfolder enable_shfolder
20968 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20969 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20970 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20971 wine_fn_config_makefile dlls/slc enable_slc
20972 wine_fn_config_makefile dlls/slc/tests enable_tests
20973 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20974 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20975 wine_fn_config_makefile dlls/softpub enable_softpub
20976 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20977 wine_fn_config_makefile dlls/spoolss enable_spoolss
20978 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20979 wine_fn_config_makefile dlls/sppc enable_sppc
20980 wine_fn_config_makefile dlls/srclient enable_srclient
20981 wine_fn_config_makefile dlls/srvcli enable_srvcli
20982 wine_fn_config_makefile dlls/sspicli enable_sspicli
20983 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20984 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20985 wine_fn_config_makefile dlls/sti enable_sti
20986 wine_fn_config_makefile dlls/sti/tests enable_tests
20987 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20988 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20989 wine_fn_config_makefile dlls/strmbase enable_strmbase
20990 wine_fn_config_makefile dlls/strmdll enable_strmdll
20991 wine_fn_config_makefile dlls/strmiids enable_strmiids
20992 wine_fn_config_makefile dlls/svrapi enable_svrapi
20993 wine_fn_config_makefile dlls/sxs enable_sxs
20994 wine_fn_config_makefile dlls/sxs/tests enable_tests
20995 wine_fn_config_makefile dlls/system.drv16 enable_win16
20996 wine_fn_config_makefile dlls/t2embed enable_t2embed
20997 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20998 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20999 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21000 wine_fn_config_makefile dlls/taskschd enable_taskschd
21001 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21002 wine_fn_config_makefile dlls/tbs enable_tbs
21003 wine_fn_config_makefile dlls/tdh enable_tdh
21004 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21005 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21006 wine_fn_config_makefile dlls/traffic enable_traffic
21007 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21008 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21009 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21010 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21011 wine_fn_config_makefile dlls/tzres enable_tzres
21012 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21013 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21014 wine_fn_config_makefile dlls/uianimation enable_uianimation
21015 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21016 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21017 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21018 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21019 wine_fn_config_makefile dlls/unicows enable_unicows
21020 wine_fn_config_makefile dlls/updspapi enable_updspapi
21021 wine_fn_config_makefile dlls/url enable_url
21022 wine_fn_config_makefile dlls/urlmon enable_urlmon
21023 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21024 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21025 wine_fn_config_makefile dlls/user.exe16 enable_win16
21026 wine_fn_config_makefile dlls/user32 enable_user32
21027 wine_fn_config_makefile dlls/user32/tests enable_tests
21028 wine_fn_config_makefile dlls/userenv enable_userenv
21029 wine_fn_config_makefile dlls/userenv/tests enable_tests
21030 wine_fn_config_makefile dlls/usp10 enable_usp10
21031 wine_fn_config_makefile dlls/usp10/tests enable_tests
21032 wine_fn_config_makefile dlls/utildll enable_utildll
21033 wine_fn_config_makefile dlls/uuid enable_uuid
21034 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21035 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21036 wine_fn_config_makefile dlls/vbscript enable_vbscript
21037 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21038 wine_fn_config_makefile dlls/vcomp enable_vcomp
21039 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21040 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21041 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21042 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21043 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21044 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21045 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21046 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21047 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21048 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21049 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21050 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21051 wine_fn_config_makefile dlls/version enable_version
21052 wine_fn_config_makefile dlls/version/tests enable_tests
21053 wine_fn_config_makefile dlls/vga enable_vga
21054 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21055 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21056 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21057 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21058 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21059 wine_fn_config_makefile dlls/vssapi enable_vssapi
21060 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21061 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21062 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21063 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21064 wine_fn_config_makefile dlls/w32skrnl enable_win16
21065 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21066 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21067 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21068 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21069 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21070 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21071 wine_fn_config_makefile dlls/wdscore enable_wdscore
21072 wine_fn_config_makefile dlls/webservices enable_webservices
21073 wine_fn_config_makefile dlls/webservices/tests enable_tests
21074 wine_fn_config_makefile dlls/websocket enable_websocket
21075 wine_fn_config_makefile dlls/wer enable_wer
21076 wine_fn_config_makefile dlls/wer/tests enable_tests
21077 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21078 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21079 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21080 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21081 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21082 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21083 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21084 wine_fn_config_makefile dlls/win32u enable_win32u
21085 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21086 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21087 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21088 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21089 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21090 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21091 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21092 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21093 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21094 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21095 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21096 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21097 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21098 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21099 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21100 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21101 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21102 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21103 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21104 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21105 wine_fn_config_makefile dlls/wined3d enable_wined3d
21106 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21107 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21108 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21109 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21110 wine_fn_config_makefile dlls/winemapi enable_winemapi
21111 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21112 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21113 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21114 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21115 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21116 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21117 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21118 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21119 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21120 wine_fn_config_makefile dlls/wing32 enable_wing32
21121 wine_fn_config_makefile dlls/winhttp enable_winhttp
21122 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21123 wine_fn_config_makefile dlls/wininet enable_wininet
21124 wine_fn_config_makefile dlls/wininet/tests enable_tests
21125 wine_fn_config_makefile dlls/winmm enable_winmm
21126 wine_fn_config_makefile dlls/winmm/tests enable_tests
21127 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21128 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21129 wine_fn_config_makefile dlls/winscard enable_winscard
21130 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21131 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21132 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21133 wine_fn_config_makefile dlls/winsta enable_winsta
21134 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21135 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21136 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21137 wine_fn_config_makefile dlls/wintrust enable_wintrust
21138 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21139 wine_fn_config_makefile dlls/winusb enable_winusb
21140 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21141 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21142 wine_fn_config_makefile dlls/wlanui enable_wlanui
21143 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21144 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21145 wine_fn_config_makefile dlls/wmasf enable_wmasf
21146 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21147 wine_fn_config_makefile dlls/wmi enable_wmi
21148 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21149 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21150 wine_fn_config_makefile dlls/wmp enable_wmp
21151 wine_fn_config_makefile dlls/wmp/tests enable_tests
21152 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21153 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21154 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21155 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21156 wine_fn_config_makefile dlls/wow32 enable_win16
21157 wine_fn_config_makefile dlls/wow64 enable_wow64
21158 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21159 wine_fn_config_makefile dlls/wow64win enable_wow64win
21160 wine_fn_config_makefile dlls/wpc enable_wpc
21161 wine_fn_config_makefile dlls/wpc/tests enable_tests
21162 wine_fn_config_makefile dlls/wpcap enable_wpcap
21163 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21164 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21165 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21166 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21167 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21168 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21169 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21170 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21171 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21172 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21173 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21174 wine_fn_config_makefile dlls/wuapi enable_wuapi
21175 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21176 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21177 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21178 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21179 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21180 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21181 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21182 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21183 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21184 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21185 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21186 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21187 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21188 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21189 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21190 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21191 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21192 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21193 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21194 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21195 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21196 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21197 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21198 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21199 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21200 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21201 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21202 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21203 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21204 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21205 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21206 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21207 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21208 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21209 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21210 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21211 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21212 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21213 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21214 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21215 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21216 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21217 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21218 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21219 wine_fn_config_makefile dlls/xmllite enable_xmllite
21220 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21221 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21222 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21223 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21224 wine_fn_config_makefile fonts enable_fonts
21225 wine_fn_config_makefile include enable_include
21226 wine_fn_config_makefile libs/port enable_port
21227 wine_fn_config_makefile libs/wine enable_wine
21228 wine_fn_config_makefile libs/wpp enable_wpp
21229 wine_fn_config_makefile loader enable_loader
21230 wine_fn_config_makefile nls enable_nls
21231 wine_fn_config_makefile po enable_po
21232 wine_fn_config_makefile programs/arp enable_arp
21233 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21234 wine_fn_config_makefile programs/attrib enable_attrib
21235 wine_fn_config_makefile programs/cabarc enable_cabarc
21236 wine_fn_config_makefile programs/cacls enable_cacls
21237 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21238 wine_fn_config_makefile programs/clock enable_clock
21239 wine_fn_config_makefile programs/cmd enable_cmd
21240 wine_fn_config_makefile programs/cmd/tests enable_tests
21241 wine_fn_config_makefile programs/conhost enable_conhost
21242 wine_fn_config_makefile programs/conhost/tests enable_tests
21243 wine_fn_config_makefile programs/control enable_control
21244 wine_fn_config_makefile programs/cscript enable_cscript
21245 wine_fn_config_makefile programs/dism enable_dism
21246 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21247 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21248 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21249 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21250 wine_fn_config_makefile programs/eject enable_eject
21251 wine_fn_config_makefile programs/expand enable_expand
21252 wine_fn_config_makefile programs/explorer enable_explorer
21253 wine_fn_config_makefile programs/extrac32 enable_extrac32
21254 wine_fn_config_makefile programs/fc enable_fc
21255 wine_fn_config_makefile programs/find enable_find
21256 wine_fn_config_makefile programs/find/tests enable_tests
21257 wine_fn_config_makefile programs/findstr enable_findstr
21258 wine_fn_config_makefile programs/fsutil enable_fsutil
21259 wine_fn_config_makefile programs/fsutil/tests enable_tests
21260 wine_fn_config_makefile programs/hh enable_hh
21261 wine_fn_config_makefile programs/hostname enable_hostname
21262 wine_fn_config_makefile programs/icacls enable_icacls
21263 wine_fn_config_makefile programs/icinfo enable_icinfo
21264 wine_fn_config_makefile programs/iexplore enable_iexplore
21265 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21266 wine_fn_config_makefile programs/lodctr enable_lodctr
21267 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21268 wine_fn_config_makefile programs/mshta enable_mshta
21269 wine_fn_config_makefile programs/msidb enable_msidb
21270 wine_fn_config_makefile programs/msiexec enable_msiexec
21271 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21272 wine_fn_config_makefile programs/net enable_net
21273 wine_fn_config_makefile programs/netsh enable_netsh
21274 wine_fn_config_makefile programs/netstat enable_netstat
21275 wine_fn_config_makefile programs/ngen enable_ngen
21276 wine_fn_config_makefile programs/notepad enable_notepad
21277 wine_fn_config_makefile programs/oleview enable_oleview
21278 wine_fn_config_makefile programs/ping enable_ping
21279 wine_fn_config_makefile programs/plugplay enable_plugplay
21280 wine_fn_config_makefile programs/powershell enable_powershell
21281 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21282 wine_fn_config_makefile programs/progman enable_progman
21283 wine_fn_config_makefile programs/reg enable_reg
21284 wine_fn_config_makefile programs/reg/tests enable_tests
21285 wine_fn_config_makefile programs/regasm enable_regasm
21286 wine_fn_config_makefile programs/regedit enable_regedit
21287 wine_fn_config_makefile programs/regedit/tests enable_tests
21288 wine_fn_config_makefile programs/regini enable_regini
21289 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21290 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21291 wine_fn_config_makefile programs/rpcss enable_rpcss
21292 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21293 wine_fn_config_makefile programs/rundll32 enable_rundll32
21294 wine_fn_config_makefile programs/sc enable_sc
21295 wine_fn_config_makefile programs/schtasks enable_schtasks
21296 wine_fn_config_makefile programs/schtasks/tests enable_tests
21297 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21298 wine_fn_config_makefile programs/secedit enable_secedit
21299 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21300 wine_fn_config_makefile programs/services enable_services
21301 wine_fn_config_makefile programs/services/tests enable_tests
21302 wine_fn_config_makefile programs/shutdown enable_shutdown
21303 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21304 wine_fn_config_makefile programs/start enable_start
21305 wine_fn_config_makefile programs/subst enable_subst
21306 wine_fn_config_makefile programs/svchost enable_svchost
21307 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21308 wine_fn_config_makefile programs/taskkill enable_taskkill
21309 wine_fn_config_makefile programs/tasklist enable_tasklist
21310 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21311 wine_fn_config_makefile programs/termsv enable_termsv
21312 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21313 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21314 wine_fn_config_makefile programs/view enable_view
21315 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21316 wine_fn_config_makefile programs/where enable_where
21317 wine_fn_config_makefile programs/whoami enable_whoami
21318 wine_fn_config_makefile programs/wineboot enable_wineboot
21319 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21320 wine_fn_config_makefile programs/winecfg enable_winecfg
21321 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21322 wine_fn_config_makefile programs/winedbg enable_winedbg
21323 wine_fn_config_makefile programs/winedevice enable_winedevice
21324 wine_fn_config_makefile programs/winefile enable_winefile
21325 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21326 wine_fn_config_makefile programs/winemine enable_winemine
21327 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21328 wine_fn_config_makefile programs/winepath enable_winepath
21329 wine_fn_config_makefile programs/winetest enable_winetest
21330 wine_fn_config_makefile programs/winevdm enable_win16
21331 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21332 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21333 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21334 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21335 wine_fn_config_makefile programs/winver enable_winver
21336 wine_fn_config_makefile programs/wmic enable_wmic
21337 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21338 wine_fn_config_makefile programs/wordpad enable_wordpad
21339 wine_fn_config_makefile programs/write enable_write
21340 wine_fn_config_makefile programs/wscript enable_wscript
21341 wine_fn_config_makefile programs/wscript/tests enable_tests
21342 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21343 wine_fn_config_makefile programs/wusa enable_wusa
21344 wine_fn_config_makefile programs/xcopy enable_xcopy
21345 wine_fn_config_makefile programs/xcopy/tests enable_tests
21346 wine_fn_config_makefile server enable_server
21347 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21348 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21349 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21350 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21351 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21352 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21353 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21354 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21355 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21358 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21359 wine_fn_append_file CONFIGURE_TARGETS "tags"
21360 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21361 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21362 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21363 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21364 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21365 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21367 if test "x$enable_tools" != xno
21368 then
21369 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21370 ac_config_commands="$ac_config_commands tools/makedep"
21374 ac_config_commands="$ac_config_commands Makefile"
21377 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21381 if test "x$enable_maintainer_mode" = xyes
21382 then
21383 wine_fn_append_rule "configure: configure.ac aclocal.m4
21384 autoconf --warnings=all
21385 include/config.h.in: include/stamp-h.in
21386 include/stamp-h.in: configure.ac aclocal.m4
21387 autoheader --warnings=all
21388 @echo timestamp > \$@"
21391 if test "x$enable_tools" != xno
21392 then
21393 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21394 @./config.status tools/makedep
21395 Makefile: tools/makedep$ac_exeext"
21396 else
21397 wine_fn_append_rule "\$(MAKEDEP):
21398 @echo \"You need to run make in $TOOLSDIR first\" && false"
21401 if test -n "$with_wine64"
21402 then
21403 case "$with_wine64" in
21404 /*) reldir="" ;;
21405 *) reldir="../" ;;
21406 esac
21407 rm -f fonts server 2>/dev/null
21408 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21409 loader/wine64 loader/wine64-preloader:
21410 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21411 $with_wine64/loader/wine:
21412 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21413 $with_wine64/loader/wine-preloader:
21414 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21415 clean::
21416 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21417 else
21418 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21419 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21420 fonts \
21421 loader/wine.inf \
21422 nls \
21423 programs/msidb/msidb \
21424 programs/msiexec/msiexec \
21425 programs/notepad/notepad \
21426 programs/regedit/regedit \
21427 programs/regsvr32/regsvr32 \
21428 programs/wineboot/wineboot \
21429 programs/winecfg/winecfg \
21430 programs/wineconsole/wineconsole \
21431 programs/winedbg/winedbg \
21432 programs/winefile/winefile \
21433 programs/winemine/winemine \
21434 programs/winepath/winepath \
21435 server/wineserver"
21437 case $host_os in
21438 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21439 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21440 esac
21443 $as_echo " done" >&6
21444 cat >confcache <<\_ACEOF
21445 # This file is a shell script that caches the results of configure
21446 # tests run on this system so they can be shared between configure
21447 # scripts and configure runs, see configure's option --config-cache.
21448 # It is not useful on other systems. If it contains results you don't
21449 # want to keep, you may remove or edit it.
21451 # config.status only pays attention to the cache file if you give it
21452 # the --recheck option to rerun configure.
21454 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21455 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21456 # following values.
21458 _ACEOF
21460 # The following way of writing the cache mishandles newlines in values,
21461 # but we know of no workaround that is simple, portable, and efficient.
21462 # So, we kill variables containing newlines.
21463 # Ultrix sh set writes to stderr and can't be redirected directly,
21464 # and sets the high bit in the cache file unless we assign to the vars.
21466 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21467 eval ac_val=\$$ac_var
21468 case $ac_val in #(
21469 *${as_nl}*)
21470 case $ac_var in #(
21471 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21473 esac
21474 case $ac_var in #(
21475 _ | IFS | as_nl) ;; #(
21476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21477 *) { eval $ac_var=; unset $ac_var;} ;;
21478 esac ;;
21479 esac
21480 done
21482 (set) 2>&1 |
21483 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21484 *${as_nl}ac_space=\ *)
21485 # `set' does not quote correctly, so add quotes: double-quote
21486 # substitution turns \\\\ into \\, and sed turns \\ into \.
21487 sed -n \
21488 "s/'/'\\\\''/g;
21489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21490 ;; #(
21492 # `set' quotes correctly as required by POSIX, so do not add quotes.
21493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21495 esac |
21496 sort
21498 sed '
21499 /^ac_cv_env_/b end
21500 t clear
21501 :clear
21502 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21503 t end
21504 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21505 :end' >>confcache
21506 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21507 if test -w "$cache_file"; then
21508 if test "x$cache_file" != "x/dev/null"; then
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21510 $as_echo "$as_me: updating cache $cache_file" >&6;}
21511 if test ! -f "$cache_file" || test -h "$cache_file"; then
21512 cat confcache >"$cache_file"
21513 else
21514 case $cache_file in #(
21515 */* | ?:*)
21516 mv -f confcache "$cache_file"$$ &&
21517 mv -f "$cache_file"$$ "$cache_file" ;; #(
21519 mv -f confcache "$cache_file" ;;
21520 esac
21523 else
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21525 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21528 rm -f confcache
21530 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21531 # Let make expand exec_prefix.
21532 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21534 DEFS=-DHAVE_CONFIG_H
21536 ac_libobjs=
21537 ac_ltlibobjs=
21539 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21540 # 1. Remove the extension, and $U if already installed.
21541 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21542 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21543 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21544 # will be set to the directory where LIBOBJS objects are built.
21545 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21546 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21547 done
21548 LIBOBJS=$ac_libobjs
21550 LTLIBOBJS=$ac_ltlibobjs
21554 : "${CONFIG_STATUS=./config.status}"
21555 ac_write_fail=0
21556 ac_clean_files_save=$ac_clean_files
21557 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21559 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21560 as_write_fail=0
21561 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21562 #! $SHELL
21563 # Generated by $as_me.
21564 # Run this file to recreate the current configuration.
21565 # Compiler output produced by configure, useful for debugging
21566 # configure, is in config.log if it exists.
21568 debug=false
21569 ac_cs_recheck=false
21570 ac_cs_silent=false
21572 SHELL=\${CONFIG_SHELL-$SHELL}
21573 export SHELL
21574 _ASEOF
21575 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21576 ## -------------------- ##
21577 ## M4sh Initialization. ##
21578 ## -------------------- ##
21580 # Be more Bourne compatible
21581 DUALCASE=1; export DUALCASE # for MKS sh
21582 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21583 emulate sh
21584 NULLCMD=:
21585 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21586 # is contrary to our usage. Disable this feature.
21587 alias -g '${1+"$@"}'='"$@"'
21588 setopt NO_GLOB_SUBST
21589 else
21590 case `(set -o) 2>/dev/null` in #(
21591 *posix*) :
21592 set -o posix ;; #(
21593 *) :
21595 esac
21599 as_nl='
21601 export as_nl
21602 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21603 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21605 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21606 # Prefer a ksh shell builtin over an external printf program on Solaris,
21607 # but without wasting forks for bash or zsh.
21608 if test -z "$BASH_VERSION$ZSH_VERSION" \
21609 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21610 as_echo='print -r --'
21611 as_echo_n='print -rn --'
21612 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21613 as_echo='printf %s\n'
21614 as_echo_n='printf %s'
21615 else
21616 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21617 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21618 as_echo_n='/usr/ucb/echo -n'
21619 else
21620 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21621 as_echo_n_body='eval
21622 arg=$1;
21623 case $arg in #(
21624 *"$as_nl"*)
21625 expr "X$arg" : "X\\(.*\\)$as_nl";
21626 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21627 esac;
21628 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21630 export as_echo_n_body
21631 as_echo_n='sh -c $as_echo_n_body as_echo'
21633 export as_echo_body
21634 as_echo='sh -c $as_echo_body as_echo'
21637 # The user is always right.
21638 if test "${PATH_SEPARATOR+set}" != set; then
21639 PATH_SEPARATOR=:
21640 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21641 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21642 PATH_SEPARATOR=';'
21647 # IFS
21648 # We need space, tab and new line, in precisely that order. Quoting is
21649 # there to prevent editors from complaining about space-tab.
21650 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21651 # splitting by setting IFS to empty value.)
21652 IFS=" "" $as_nl"
21654 # Find who we are. Look in the path if we contain no directory separator.
21655 as_myself=
21656 case $0 in #((
21657 *[\\/]* ) as_myself=$0 ;;
21658 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21659 for as_dir in $PATH
21661 IFS=$as_save_IFS
21662 test -z "$as_dir" && as_dir=.
21663 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21664 done
21665 IFS=$as_save_IFS
21668 esac
21669 # We did not find ourselves, most probably we were run as `sh COMMAND'
21670 # in which case we are not to be found in the path.
21671 if test "x$as_myself" = x; then
21672 as_myself=$0
21674 if test ! -f "$as_myself"; then
21675 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21676 exit 1
21679 # Unset variables that we do not need and which cause bugs (e.g. in
21680 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21681 # suppresses any "Segmentation fault" message there. '((' could
21682 # trigger a bug in pdksh 5.2.14.
21683 for as_var in BASH_ENV ENV MAIL MAILPATH
21684 do eval test x\${$as_var+set} = xset \
21685 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21686 done
21687 PS1='$ '
21688 PS2='> '
21689 PS4='+ '
21691 # NLS nuisances.
21692 LC_ALL=C
21693 export LC_ALL
21694 LANGUAGE=C
21695 export LANGUAGE
21697 # CDPATH.
21698 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21701 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21702 # ----------------------------------------
21703 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21704 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21705 # script with STATUS, using 1 if that was 0.
21706 as_fn_error ()
21708 as_status=$1; test $as_status -eq 0 && as_status=1
21709 if test "$4"; then
21710 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21711 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21713 $as_echo "$as_me: error: $2" >&2
21714 as_fn_exit $as_status
21715 } # as_fn_error
21718 # as_fn_set_status STATUS
21719 # -----------------------
21720 # Set $? to STATUS, without forking.
21721 as_fn_set_status ()
21723 return $1
21724 } # as_fn_set_status
21726 # as_fn_exit STATUS
21727 # -----------------
21728 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21729 as_fn_exit ()
21731 set +e
21732 as_fn_set_status $1
21733 exit $1
21734 } # as_fn_exit
21736 # as_fn_unset VAR
21737 # ---------------
21738 # Portably unset VAR.
21739 as_fn_unset ()
21741 { eval $1=; unset $1;}
21743 as_unset=as_fn_unset
21744 # as_fn_append VAR VALUE
21745 # ----------------------
21746 # Append the text in VALUE to the end of the definition contained in VAR. Take
21747 # advantage of any shell optimizations that allow amortized linear growth over
21748 # repeated appends, instead of the typical quadratic growth present in naive
21749 # implementations.
21750 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21751 eval 'as_fn_append ()
21753 eval $1+=\$2
21755 else
21756 as_fn_append ()
21758 eval $1=\$$1\$2
21760 fi # as_fn_append
21762 # as_fn_arith ARG...
21763 # ------------------
21764 # Perform arithmetic evaluation on the ARGs, and store the result in the
21765 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21766 # must be portable across $(()) and expr.
21767 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21768 eval 'as_fn_arith ()
21770 as_val=$(( $* ))
21772 else
21773 as_fn_arith ()
21775 as_val=`expr "$@" || test $? -eq 1`
21777 fi # as_fn_arith
21780 if expr a : '\(a\)' >/dev/null 2>&1 &&
21781 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21782 as_expr=expr
21783 else
21784 as_expr=false
21787 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21788 as_basename=basename
21789 else
21790 as_basename=false
21793 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21794 as_dirname=dirname
21795 else
21796 as_dirname=false
21799 as_me=`$as_basename -- "$0" ||
21800 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21801 X"$0" : 'X\(//\)$' \| \
21802 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21803 $as_echo X/"$0" |
21804 sed '/^.*\/\([^/][^/]*\)\/*$/{
21805 s//\1/
21808 /^X\/\(\/\/\)$/{
21809 s//\1/
21812 /^X\/\(\/\).*/{
21813 s//\1/
21816 s/.*/./; q'`
21818 # Avoid depending upon Character Ranges.
21819 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21820 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21821 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21822 as_cr_digits='0123456789'
21823 as_cr_alnum=$as_cr_Letters$as_cr_digits
21825 ECHO_C= ECHO_N= ECHO_T=
21826 case `echo -n x` in #(((((
21827 -n*)
21828 case `echo 'xy\c'` in
21829 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21830 xy) ECHO_C='\c';;
21831 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21832 ECHO_T=' ';;
21833 esac;;
21835 ECHO_N='-n';;
21836 esac
21838 rm -f conf$$ conf$$.exe conf$$.file
21839 if test -d conf$$.dir; then
21840 rm -f conf$$.dir/conf$$.file
21841 else
21842 rm -f conf$$.dir
21843 mkdir conf$$.dir 2>/dev/null
21845 if (echo >conf$$.file) 2>/dev/null; then
21846 if ln -s conf$$.file conf$$ 2>/dev/null; then
21847 as_ln_s='ln -s'
21848 # ... but there are two gotchas:
21849 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21850 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21851 # In both cases, we have to default to `cp -pR'.
21852 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21853 as_ln_s='cp -pR'
21854 elif ln conf$$.file conf$$ 2>/dev/null; then
21855 as_ln_s=ln
21856 else
21857 as_ln_s='cp -pR'
21859 else
21860 as_ln_s='cp -pR'
21862 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21863 rmdir conf$$.dir 2>/dev/null
21866 # as_fn_mkdir_p
21867 # -------------
21868 # Create "$as_dir" as a directory, including parents if necessary.
21869 as_fn_mkdir_p ()
21872 case $as_dir in #(
21873 -*) as_dir=./$as_dir;;
21874 esac
21875 test -d "$as_dir" || eval $as_mkdir_p || {
21876 as_dirs=
21877 while :; do
21878 case $as_dir in #(
21879 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21880 *) as_qdir=$as_dir;;
21881 esac
21882 as_dirs="'$as_qdir' $as_dirs"
21883 as_dir=`$as_dirname -- "$as_dir" ||
21884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21885 X"$as_dir" : 'X\(//\)[^/]' \| \
21886 X"$as_dir" : 'X\(//\)$' \| \
21887 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21888 $as_echo X"$as_dir" |
21889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21890 s//\1/
21893 /^X\(\/\/\)[^/].*/{
21894 s//\1/
21897 /^X\(\/\/\)$/{
21898 s//\1/
21901 /^X\(\/\).*/{
21902 s//\1/
21905 s/.*/./; q'`
21906 test -d "$as_dir" && break
21907 done
21908 test -z "$as_dirs" || eval "mkdir $as_dirs"
21909 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21912 } # as_fn_mkdir_p
21913 if mkdir -p . 2>/dev/null; then
21914 as_mkdir_p='mkdir -p "$as_dir"'
21915 else
21916 test -d ./-p && rmdir ./-p
21917 as_mkdir_p=false
21921 # as_fn_executable_p FILE
21922 # -----------------------
21923 # Test if FILE is an executable regular file.
21924 as_fn_executable_p ()
21926 test -f "$1" && test -x "$1"
21927 } # as_fn_executable_p
21928 as_test_x='test -x'
21929 as_executable_p=as_fn_executable_p
21931 # Sed expression to map a string onto a valid CPP name.
21932 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21934 # Sed expression to map a string onto a valid variable name.
21935 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21938 exec 6>&1
21939 ## ----------------------------------- ##
21940 ## Main body of $CONFIG_STATUS script. ##
21941 ## ----------------------------------- ##
21942 _ASEOF
21943 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21946 # Save the log message, to keep $0 and so on meaningful, and to
21947 # report actual input values of CONFIG_FILES etc. instead of their
21948 # values after options handling.
21949 ac_log="
21950 This file was extended by Wine $as_me 6.12, which was
21951 generated by GNU Autoconf 2.69. Invocation command line was
21953 CONFIG_FILES = $CONFIG_FILES
21954 CONFIG_HEADERS = $CONFIG_HEADERS
21955 CONFIG_LINKS = $CONFIG_LINKS
21956 CONFIG_COMMANDS = $CONFIG_COMMANDS
21957 $ $0 $@
21959 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21962 _ACEOF
21964 case $ac_config_files in *"
21965 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21966 esac
21968 case $ac_config_headers in *"
21969 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21970 esac
21973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21974 # Files that config.status was made for.
21975 config_files="$ac_config_files"
21976 config_headers="$ac_config_headers"
21977 config_links="$ac_config_links"
21978 config_commands="$ac_config_commands"
21980 _ACEOF
21982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21983 ac_cs_usage="\
21984 \`$as_me' instantiates files and other configuration actions
21985 from templates according to the current configuration. Unless the files
21986 and actions are specified as TAGs, all are instantiated by default.
21988 Usage: $0 [OPTION]... [TAG]...
21990 -h, --help print this help, then exit
21991 -V, --version print version number and configuration settings, then exit
21992 --config print configuration, then exit
21993 -q, --quiet, --silent
21994 do not print progress messages
21995 -d, --debug don't remove temporary files
21996 --recheck update $as_me by reconfiguring in the same conditions
21997 --file=FILE[:TEMPLATE]
21998 instantiate the configuration file FILE
21999 --header=FILE[:TEMPLATE]
22000 instantiate the configuration header FILE
22002 Configuration files:
22003 $config_files
22005 Configuration headers:
22006 $config_headers
22008 Configuration links:
22009 $config_links
22011 Configuration commands:
22012 $config_commands
22014 Report bugs to <wine-devel@winehq.org>.
22015 Wine home page: <https://www.winehq.org>."
22017 _ACEOF
22018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22019 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22020 ac_cs_version="\\
22021 Wine config.status 6.12
22022 configured by $0, generated by GNU Autoconf 2.69,
22023 with options \\"\$ac_cs_config\\"
22025 Copyright (C) 2012 Free Software Foundation, Inc.
22026 This config.status script is free software; the Free Software Foundation
22027 gives unlimited permission to copy, distribute and modify it."
22029 ac_pwd='$ac_pwd'
22030 srcdir='$srcdir'
22031 test -n "\$AWK" || AWK=awk
22032 _ACEOF
22034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22035 # The default lists apply if the user does not specify any file.
22036 ac_need_defaults=:
22037 while test $# != 0
22039 case $1 in
22040 --*=?*)
22041 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22042 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22043 ac_shift=:
22045 --*=)
22046 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22047 ac_optarg=
22048 ac_shift=:
22051 ac_option=$1
22052 ac_optarg=$2
22053 ac_shift=shift
22055 esac
22057 case $ac_option in
22058 # Handling of the options.
22059 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22060 ac_cs_recheck=: ;;
22061 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22062 $as_echo "$ac_cs_version"; exit ;;
22063 --config | --confi | --conf | --con | --co | --c )
22064 $as_echo "$ac_cs_config"; exit ;;
22065 --debug | --debu | --deb | --de | --d | -d )
22066 debug=: ;;
22067 --file | --fil | --fi | --f )
22068 $ac_shift
22069 case $ac_optarg in
22070 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22071 '') as_fn_error $? "missing file argument" ;;
22072 esac
22073 as_fn_append CONFIG_FILES " '$ac_optarg'"
22074 ac_need_defaults=false;;
22075 --header | --heade | --head | --hea )
22076 $ac_shift
22077 case $ac_optarg in
22078 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22079 esac
22080 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22081 ac_need_defaults=false;;
22082 --he | --h)
22083 # Conflict between --help and --header
22084 as_fn_error $? "ambiguous option: \`$1'
22085 Try \`$0 --help' for more information.";;
22086 --help | --hel | -h )
22087 $as_echo "$ac_cs_usage"; exit ;;
22088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22089 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22090 ac_cs_silent=: ;;
22092 # This is an error.
22093 -*) as_fn_error $? "unrecognized option: \`$1'
22094 Try \`$0 --help' for more information." ;;
22096 *) as_fn_append ac_config_targets " $1"
22097 ac_need_defaults=false ;;
22099 esac
22100 shift
22101 done
22103 ac_configure_extra_args=
22105 if $ac_cs_silent; then
22106 exec 6>/dev/null
22107 ac_configure_extra_args="$ac_configure_extra_args --silent"
22110 _ACEOF
22111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22112 if \$ac_cs_recheck; then
22113 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22114 shift
22115 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22116 CONFIG_SHELL='$SHELL'
22117 export CONFIG_SHELL
22118 exec "\$@"
22121 _ACEOF
22122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22123 exec 5>>config.log
22125 echo
22126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22127 ## Running $as_me. ##
22128 _ASBOX
22129 $as_echo "$ac_log"
22130 } >&5
22132 _ACEOF
22133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22135 # INIT-COMMANDS
22137 wine_fn_output_makedep ()
22139 as_dir=tools; as_fn_mkdir_p
22140 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22142 wine_fn_output_makefile ()
22144 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22145 `cat $wine_rules_file`
22146 _WINE_EOF
22147 as_fn_error $? "could not create Makefile" "$LINENO" 5
22150 _ACEOF
22152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22154 # Handling of arguments.
22155 for ac_config_target in $ac_config_targets
22157 case $ac_config_target in
22158 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22159 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22160 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22161 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22162 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22163 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22164 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22166 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22167 esac
22168 done
22171 # If the user did not use the arguments to specify the items to instantiate,
22172 # then the envvar interface is used. Set only those that are not.
22173 # We use the long form for the default assignment because of an extremely
22174 # bizarre bug on SunOS 4.1.3.
22175 if $ac_need_defaults; then
22176 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22177 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22178 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22179 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22182 # Have a temporary directory for convenience. Make it in the build tree
22183 # simply because there is no reason against having it here, and in addition,
22184 # creating and moving files from /tmp can sometimes cause problems.
22185 # Hook for its removal unless debugging.
22186 # Note that there is a small window in which the directory will not be cleaned:
22187 # after its creation but before its name has been assigned to `$tmp'.
22188 $debug ||
22190 tmp= ac_tmp=
22191 trap 'exit_status=$?
22192 : "${ac_tmp:=$tmp}"
22193 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22195 trap 'as_fn_exit 1' 1 2 13 15
22197 # Create a (secure) tmp directory for tmp files.
22200 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22201 test -d "$tmp"
22202 } ||
22204 tmp=./conf$$-$RANDOM
22205 (umask 077 && mkdir "$tmp")
22206 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22207 ac_tmp=$tmp
22209 # Set up the scripts for CONFIG_FILES section.
22210 # No need to generate them if there are no CONFIG_FILES.
22211 # This happens for instance with `./config.status config.h'.
22212 if test -n "$CONFIG_FILES"; then
22215 ac_cr=`echo X | tr X '\015'`
22216 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22217 # But we know of no other shell where ac_cr would be empty at this
22218 # point, so we can use a bashism as a fallback.
22219 if test "x$ac_cr" = x; then
22220 eval ac_cr=\$\'\\r\'
22222 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22223 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22224 ac_cs_awk_cr='\\r'
22225 else
22226 ac_cs_awk_cr=$ac_cr
22229 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22230 _ACEOF
22234 echo "cat >conf$$subs.awk <<_ACEOF" &&
22235 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22236 echo "_ACEOF"
22237 } >conf$$subs.sh ||
22238 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22239 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22240 ac_delim='%!_!# '
22241 for ac_last_try in false false false false false :; do
22242 . ./conf$$subs.sh ||
22243 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22245 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22246 if test $ac_delim_n = $ac_delim_num; then
22247 break
22248 elif $ac_last_try; then
22249 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22250 else
22251 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22253 done
22254 rm -f conf$$subs.sh
22256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22257 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22258 _ACEOF
22259 sed -n '
22261 s/^/S["/; s/!.*/"]=/
22264 s/^[^!]*!//
22265 :repl
22266 t repl
22267 s/'"$ac_delim"'$//
22268 t delim
22271 s/\(.\{148\}\)..*/\1/
22272 t more1
22273 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22276 b repl
22277 :more1
22278 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22281 s/.\{148\}//
22282 t nl
22283 :delim
22285 s/\(.\{148\}\)..*/\1/
22286 t more2
22287 s/["\\]/\\&/g; s/^/"/; s/$/"/
22290 :more2
22291 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22294 s/.\{148\}//
22295 t delim
22296 ' <conf$$subs.awk | sed '
22297 /^[^""]/{
22299 s/\n//
22301 ' >>$CONFIG_STATUS || ac_write_fail=1
22302 rm -f conf$$subs.awk
22303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22304 _ACAWK
22305 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22306 for (key in S) S_is_set[key] = 1
22307 FS = "\a"
22311 line = $ 0
22312 nfields = split(line, field, "@")
22313 substed = 0
22314 len = length(field[1])
22315 for (i = 2; i < nfields; i++) {
22316 key = field[i]
22317 keylen = length(key)
22318 if (S_is_set[key]) {
22319 value = S[key]
22320 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22321 len += length(value) + length(field[++i])
22322 substed = 1
22323 } else
22324 len += 1 + keylen
22327 print line
22330 _ACAWK
22331 _ACEOF
22332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22333 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22334 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22335 else
22337 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22338 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22339 _ACEOF
22341 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22342 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22343 # trailing colons and then remove the whole line if VPATH becomes empty
22344 # (actually we leave an empty line to preserve line numbers).
22345 if test "x$srcdir" = x.; then
22346 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22348 s///
22349 s/^/:/
22350 s/[ ]*$/:/
22351 s/:\$(srcdir):/:/g
22352 s/:\${srcdir}:/:/g
22353 s/:@srcdir@:/:/g
22354 s/^:*//
22355 s/:*$//
22357 s/\(=[ ]*\).*/\1/
22359 s/\n//
22360 s/^[^=]*=[ ]*$//
22364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22365 fi # test -n "$CONFIG_FILES"
22367 # Set up the scripts for CONFIG_HEADERS section.
22368 # No need to generate them if there are no CONFIG_HEADERS.
22369 # This happens for instance with `./config.status Makefile'.
22370 if test -n "$CONFIG_HEADERS"; then
22371 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22372 BEGIN {
22373 _ACEOF
22375 # Transform confdefs.h into an awk script `defines.awk', embedded as
22376 # here-document in config.status, that substitutes the proper values into
22377 # config.h.in to produce config.h.
22379 # Create a delimiter string that does not exist in confdefs.h, to ease
22380 # handling of long lines.
22381 ac_delim='%!_!# '
22382 for ac_last_try in false false :; do
22383 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22384 if test -z "$ac_tt"; then
22385 break
22386 elif $ac_last_try; then
22387 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22388 else
22389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22391 done
22393 # For the awk script, D is an array of macro values keyed by name,
22394 # likewise P contains macro parameters if any. Preserve backslash
22395 # newline sequences.
22397 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22398 sed -n '
22399 s/.\{148\}/&'"$ac_delim"'/g
22400 t rset
22401 :rset
22402 s/^[ ]*#[ ]*define[ ][ ]*/ /
22403 t def
22405 :def
22406 s/\\$//
22407 t bsnl
22408 s/["\\]/\\&/g
22409 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22410 D["\1"]=" \3"/p
22411 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22413 :bsnl
22414 s/["\\]/\\&/g
22415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22416 D["\1"]=" \3\\\\\\n"\\/p
22417 t cont
22418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22419 t cont
22421 :cont
22423 s/.\{148\}/&'"$ac_delim"'/g
22424 t clear
22425 :clear
22426 s/\\$//
22427 t bsnlc
22428 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22430 :bsnlc
22431 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22432 b cont
22433 ' <confdefs.h | sed '
22434 s/'"$ac_delim"'/"\\\
22435 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22438 for (key in D) D_is_set[key] = 1
22439 FS = "\a"
22441 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22442 line = \$ 0
22443 split(line, arg, " ")
22444 if (arg[1] == "#") {
22445 defundef = arg[2]
22446 mac1 = arg[3]
22447 } else {
22448 defundef = substr(arg[1], 2)
22449 mac1 = arg[2]
22451 split(mac1, mac2, "(") #)
22452 macro = mac2[1]
22453 prefix = substr(line, 1, index(line, defundef) - 1)
22454 if (D_is_set[macro]) {
22455 # Preserve the white space surrounding the "#".
22456 print prefix "define", macro P[macro] D[macro]
22457 next
22458 } else {
22459 # Replace #undef with comments. This is necessary, for example,
22460 # in the case of _POSIX_SOURCE, which is predefined and required
22461 # on some systems where configure will not decide to define it.
22462 if (defundef == "undef") {
22463 print "/*", prefix defundef, macro, "*/"
22464 next
22468 { print }
22469 _ACAWK
22470 _ACEOF
22471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22472 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22473 fi # test -n "$CONFIG_HEADERS"
22476 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22477 shift
22478 for ac_tag
22480 case $ac_tag in
22481 :[FHLC]) ac_mode=$ac_tag; continue;;
22482 esac
22483 case $ac_mode$ac_tag in
22484 :[FHL]*:*);;
22485 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22486 :[FH]-) ac_tag=-:-;;
22487 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22488 esac
22489 ac_save_IFS=$IFS
22490 IFS=:
22491 set x $ac_tag
22492 IFS=$ac_save_IFS
22493 shift
22494 ac_file=$1
22495 shift
22497 case $ac_mode in
22498 :L) ac_source=$1;;
22499 :[FH])
22500 ac_file_inputs=
22501 for ac_f
22503 case $ac_f in
22504 -) ac_f="$ac_tmp/stdin";;
22505 *) # Look for the file first in the build tree, then in the source tree
22506 # (if the path is not absolute). The absolute path cannot be DOS-style,
22507 # because $ac_f cannot contain `:'.
22508 test -f "$ac_f" ||
22509 case $ac_f in
22510 [\\/$]*) false;;
22511 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22512 esac ||
22513 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22514 esac
22515 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22516 as_fn_append ac_file_inputs " '$ac_f'"
22517 done
22519 # Let's still pretend it is `configure' which instantiates (i.e., don't
22520 # use $as_me), people would be surprised to read:
22521 # /* config.h. Generated by config.status. */
22522 configure_input='Generated from '`
22523 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22524 `' by configure.'
22525 if test x"$ac_file" != x-; then
22526 configure_input="$ac_file. $configure_input"
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22528 $as_echo "$as_me: creating $ac_file" >&6;}
22530 # Neutralize special characters interpreted by sed in replacement strings.
22531 case $configure_input in #(
22532 *\&* | *\|* | *\\* )
22533 ac_sed_conf_input=`$as_echo "$configure_input" |
22534 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22535 *) ac_sed_conf_input=$configure_input;;
22536 esac
22538 case $ac_tag in
22539 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22541 esac
22543 esac
22545 ac_dir=`$as_dirname -- "$ac_file" ||
22546 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22547 X"$ac_file" : 'X\(//\)[^/]' \| \
22548 X"$ac_file" : 'X\(//\)$' \| \
22549 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22550 $as_echo X"$ac_file" |
22551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22552 s//\1/
22555 /^X\(\/\/\)[^/].*/{
22556 s//\1/
22559 /^X\(\/\/\)$/{
22560 s//\1/
22563 /^X\(\/\).*/{
22564 s//\1/
22567 s/.*/./; q'`
22568 as_dir="$ac_dir"; as_fn_mkdir_p
22569 ac_builddir=.
22571 case "$ac_dir" in
22572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22574 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22575 # A ".." for each directory in $ac_dir_suffix.
22576 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22577 case $ac_top_builddir_sub in
22578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22579 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22580 esac ;;
22581 esac
22582 ac_abs_top_builddir=$ac_pwd
22583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22584 # for backward compatibility:
22585 ac_top_builddir=$ac_top_build_prefix
22587 case $srcdir in
22588 .) # We are building in place.
22589 ac_srcdir=.
22590 ac_top_srcdir=$ac_top_builddir_sub
22591 ac_abs_top_srcdir=$ac_pwd ;;
22592 [\\/]* | ?:[\\/]* ) # Absolute name.
22593 ac_srcdir=$srcdir$ac_dir_suffix;
22594 ac_top_srcdir=$srcdir
22595 ac_abs_top_srcdir=$srcdir ;;
22596 *) # Relative name.
22597 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22598 ac_top_srcdir=$ac_top_build_prefix$srcdir
22599 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22600 esac
22601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22604 case $ac_mode in
22607 # CONFIG_FILE
22610 _ACEOF
22612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22613 # If the template does not know about datarootdir, expand it.
22614 # FIXME: This hack should be removed a few years after 2.60.
22615 ac_datarootdir_hack=; ac_datarootdir_seen=
22616 ac_sed_dataroot='
22617 /datarootdir/ {
22621 /@datadir@/p
22622 /@docdir@/p
22623 /@infodir@/p
22624 /@localedir@/p
22625 /@mandir@/p'
22626 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22627 *datarootdir*) ac_datarootdir_seen=yes;;
22628 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22630 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22631 _ACEOF
22632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22633 ac_datarootdir_hack='
22634 s&@datadir@&$datadir&g
22635 s&@docdir@&$docdir&g
22636 s&@infodir@&$infodir&g
22637 s&@localedir@&$localedir&g
22638 s&@mandir@&$mandir&g
22639 s&\\\${datarootdir}&$datarootdir&g' ;;
22640 esac
22641 _ACEOF
22643 # Neutralize VPATH when `$srcdir' = `.'.
22644 # Shell code in configure.ac might set extrasub.
22645 # FIXME: do we really want to maintain this feature?
22646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22647 ac_sed_extra="$ac_vpsub
22648 $extrasub
22649 _ACEOF
22650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22653 s|@configure_input@|$ac_sed_conf_input|;t t
22654 s&@top_builddir@&$ac_top_builddir_sub&;t t
22655 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22656 s&@srcdir@&$ac_srcdir&;t t
22657 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22658 s&@top_srcdir@&$ac_top_srcdir&;t t
22659 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22660 s&@builddir@&$ac_builddir&;t t
22661 s&@abs_builddir@&$ac_abs_builddir&;t t
22662 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22663 $ac_datarootdir_hack
22665 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22666 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22669 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22671 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22673 which seems to be undefined. Please make sure it is defined" >&5
22674 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22675 which seems to be undefined. Please make sure it is defined" >&2;}
22677 rm -f "$ac_tmp/stdin"
22678 case $ac_file in
22679 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22680 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22681 esac \
22682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22686 # CONFIG_HEADER
22688 if test x"$ac_file" != x-; then
22690 $as_echo "/* $configure_input */" \
22691 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22692 } >"$ac_tmp/config.h" \
22693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22694 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22696 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22697 else
22698 rm -f "$ac_file"
22699 mv "$ac_tmp/config.h" "$ac_file" \
22700 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22702 else
22703 $as_echo "/* $configure_input */" \
22704 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22705 || as_fn_error $? "could not create -" "$LINENO" 5
22710 # CONFIG_LINK
22713 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22715 else
22716 # Prefer the file from the source tree if names are identical.
22717 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22718 ac_source=$srcdir/$ac_source
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22722 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22724 if test ! -r "$ac_source"; then
22725 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22727 rm -f "$ac_file"
22729 # Try a relative symlink, then a hard link, then a copy.
22730 case $ac_source in
22731 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22732 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22733 esac
22734 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22735 ln "$ac_source" "$ac_file" 2>/dev/null ||
22736 cp -p "$ac_source" "$ac_file" ||
22737 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22740 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22741 $as_echo "$as_me: executing $ac_file commands" >&6;}
22743 esac
22746 case $ac_file$ac_mode in
22747 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22748 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22749 "Makefile":C) wine_fn_output_makefile Makefile ;;
22751 esac
22752 done # for ac_tag
22755 as_fn_exit 0
22756 _ACEOF
22757 ac_clean_files=$ac_clean_files_save
22759 test $ac_write_fail = 0 ||
22760 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22763 # configure is writing to config.log, and then calls config.status.
22764 # config.status does its own redirection, appending to config.log.
22765 # Unfortunately, on DOS this fails, as config.log is still kept open
22766 # by configure, so config.status won't be able to write to it; its
22767 # output is simply discarded. So we exec the FD to /dev/null,
22768 # effectively closing config.log, so it can be properly (re)opened and
22769 # appended to by config.status. When coming back to configure, we
22770 # need to make the FD available again.
22771 if test "$no_create" != yes; then
22772 ac_cs_success=:
22773 ac_config_status_args=
22774 test "$silent" = yes &&
22775 ac_config_status_args="$ac_config_status_args --quiet"
22776 exec 5>/dev/null
22777 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22778 exec 5>>config.log
22779 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22780 # would make configure fail if this is the last instruction.
22781 $ac_cs_success || as_fn_exit 1
22783 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22785 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22789 if test "$no_create" = "yes"
22790 then
22791 exit 0
22794 ac_save_IFS="$IFS"
22795 if test "x$wine_notices" != x; then
22796 echo >&6
22797 IFS="|"
22798 for msg in $wine_notices; do
22799 IFS="$ac_save_IFS"
22800 if ${msg:+false} :; then :
22802 else
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22804 $as_echo "$as_me: $msg" >&6;}
22806 done
22808 IFS="|"
22809 for msg in $wine_warnings; do
22810 IFS="$ac_save_IFS"
22811 if ${msg:+false} :; then :
22813 else
22814 echo >&2
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22816 $as_echo "$as_me: WARNING: $msg" >&2;}
22818 done
22819 IFS="$ac_save_IFS"
22821 $as_echo "
22822 $as_me: Finished. Do '${ac_make}' to compile Wine.
22823 " >&6