wined3d: Fully move the depth buffer enable state to wined3d_depth_stencil_state.
[wine.git] / configure
blob130b77b8ee0d284357e19ac72f80b3e10fda4fc5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.17.
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='5.17'
584 PACKAGE_STRING='Wine 5.17'
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 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d9
1193 enable_d3dcompiler_33
1194 enable_d3dcompiler_34
1195 enable_d3dcompiler_35
1196 enable_d3dcompiler_36
1197 enable_d3dcompiler_37
1198 enable_d3dcompiler_38
1199 enable_d3dcompiler_39
1200 enable_d3dcompiler_40
1201 enable_d3dcompiler_41
1202 enable_d3dcompiler_42
1203 enable_d3dcompiler_43
1204 enable_d3dcompiler_46
1205 enable_d3dcompiler_47
1206 enable_d3dim
1207 enable_d3drm
1208 enable_d3dx10_33
1209 enable_d3dx10_34
1210 enable_d3dx10_35
1211 enable_d3dx10_36
1212 enable_d3dx10_37
1213 enable_d3dx10_38
1214 enable_d3dx10_39
1215 enable_d3dx10_40
1216 enable_d3dx10_41
1217 enable_d3dx10_42
1218 enable_d3dx10_43
1219 enable_d3dx11_42
1220 enable_d3dx11_43
1221 enable_d3dx9_24
1222 enable_d3dx9_25
1223 enable_d3dx9_26
1224 enable_d3dx9_27
1225 enable_d3dx9_28
1226 enable_d3dx9_29
1227 enable_d3dx9_30
1228 enable_d3dx9_31
1229 enable_d3dx9_32
1230 enable_d3dx9_33
1231 enable_d3dx9_34
1232 enable_d3dx9_35
1233 enable_d3dx9_36
1234 enable_d3dx9_37
1235 enable_d3dx9_38
1236 enable_d3dx9_39
1237 enable_d3dx9_40
1238 enable_d3dx9_41
1239 enable_d3dx9_42
1240 enable_d3dx9_43
1241 enable_d3dxof
1242 enable_davclnt
1243 enable_dbgeng
1244 enable_dbghelp
1245 enable_dciman32
1246 enable_ddraw
1247 enable_ddrawex
1248 enable_devenum
1249 enable_dhcpcsvc
1250 enable_dhtmled_ocx
1251 enable_difxapi
1252 enable_dinput
1253 enable_dinput8
1254 enable_directmanipulation
1255 enable_dispex
1256 enable_dmband
1257 enable_dmcompos
1258 enable_dmime
1259 enable_dmloader
1260 enable_dmoguids
1261 enable_dmscript
1262 enable_dmstyle
1263 enable_dmsynth
1264 enable_dmusic
1265 enable_dmusic32
1266 enable_dnsapi
1267 enable_dplay
1268 enable_dplayx
1269 enable_dpnaddr
1270 enable_dpnet
1271 enable_dpnhpast
1272 enable_dpnlobby
1273 enable_dpvoice
1274 enable_dpwsockx
1275 enable_drmclien
1276 enable_dsdmo
1277 enable_dsound
1278 enable_dsquery
1279 enable_dssenh
1280 enable_dsuiext
1281 enable_dswave
1282 enable_dwmapi
1283 enable_dwrite
1284 enable_dx8vb
1285 enable_dxdiagn
1286 enable_dxerr8
1287 enable_dxerr9
1288 enable_dxgi
1289 enable_dxguid
1290 enable_dxva2
1291 enable_esent
1292 enable_evr
1293 enable_explorerframe
1294 enable_ext_ms_win_authz_context_l1_1_0
1295 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1296 enable_ext_ms_win_dwmapi_ext_l1_1_0
1297 enable_ext_ms_win_gdi_dc_create_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_1
1299 enable_ext_ms_win_gdi_dc_l1_2_0
1300 enable_ext_ms_win_gdi_devcaps_l1_1_0
1301 enable_ext_ms_win_gdi_draw_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_1
1303 enable_ext_ms_win_gdi_font_l1_1_0
1304 enable_ext_ms_win_gdi_font_l1_1_1
1305 enable_ext_ms_win_gdi_render_l1_1_0
1306 enable_ext_ms_win_kernel32_package_current_l1_1_0
1307 enable_ext_ms_win_kernel32_package_l1_1_1
1308 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1309 enable_ext_ms_win_ntuser_draw_l1_1_0
1310 enable_ext_ms_win_ntuser_gui_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_3_0
1312 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1313 enable_ext_ms_win_ntuser_message_l1_1_0
1314 enable_ext_ms_win_ntuser_message_l1_1_1
1315 enable_ext_ms_win_ntuser_misc_l1_1_0
1316 enable_ext_ms_win_ntuser_misc_l1_2_0
1317 enable_ext_ms_win_ntuser_misc_l1_5_1
1318 enable_ext_ms_win_ntuser_mouse_l1_1_0
1319 enable_ext_ms_win_ntuser_private_l1_1_1
1320 enable_ext_ms_win_ntuser_private_l1_3_1
1321 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1322 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_window_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_1
1325 enable_ext_ms_win_ntuser_window_l1_1_4
1326 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1328 enable_ext_ms_win_oleacc_l1_1_0
1329 enable_ext_ms_win_ras_rasapi32_l1_1_0
1330 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1337 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1340 enable_ext_ms_win_security_credui_l1_1_0
1341 enable_ext_ms_win_security_cryptui_l1_1_0
1342 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1343 enable_ext_ms_win_shell_comdlg32_l1_1_0
1344 enable_ext_ms_win_shell_shell32_l1_2_0
1345 enable_ext_ms_win_uxtheme_themes_l1_1_0
1346 enable_faultrep
1347 enable_feclient
1348 enable_fltlib
1349 enable_fltmgr_sys
1350 enable_fntcache
1351 enable_fontsub
1352 enable_fusion
1353 enable_fwpuclnt
1354 enable_gameux
1355 enable_gdi32
1356 enable_gdiplus
1357 enable_glu32
1358 enable_gphoto2_ds
1359 enable_gpkcsp
1360 enable_hal
1361 enable_hhctrl_ocx
1362 enable_hid
1363 enable_hidclass_sys
1364 enable_hlink
1365 enable_hnetcfg
1366 enable_http_sys
1367 enable_httpapi
1368 enable_iccvid
1369 enable_icmp
1370 enable_ieframe
1371 enable_ieproxy
1372 enable_imaadp32_acm
1373 enable_imagehlp
1374 enable_imm32
1375 enable_inetcomm
1376 enable_inetcpl_cpl
1377 enable_inetmib1
1378 enable_infosoft
1379 enable_initpki
1380 enable_inkobj
1381 enable_inseng
1382 enable_iphlpapi
1383 enable_iprop
1384 enable_irprops_cpl
1385 enable_itircl
1386 enable_itss
1387 enable_joy_cpl
1388 enable_jscript
1389 enable_jsproxy
1390 enable_kerberos
1391 enable_kernel32
1392 enable_kernelbase
1393 enable_ksecdd_sys
1394 enable_ksproxy_ax
1395 enable_ksuser
1396 enable_ktmw32
1397 enable_l3codeca_acm
1398 enable_loadperf
1399 enable_localspl
1400 enable_localui
1401 enable_lz32
1402 enable_mapi32
1403 enable_mapistub
1404 enable_mciavi32
1405 enable_mcicda
1406 enable_mciqtz32
1407 enable_mciseq
1408 enable_mciwave
1409 enable_mf
1410 enable_mf3216
1411 enable_mferror
1412 enable_mfmediaengine
1413 enable_mfplat
1414 enable_mfplay
1415 enable_mfreadwrite
1416 enable_mfuuid
1417 enable_mgmtapi
1418 enable_midimap
1419 enable_mlang
1420 enable_mmcndmgr
1421 enable_mmdevapi
1422 enable_mountmgr_sys
1423 enable_mp3dmod
1424 enable_mpr
1425 enable_mprapi
1426 enable_msacm32_drv
1427 enable_msacm32
1428 enable_msado15
1429 enable_msadp32_acm
1430 enable_msasn1
1431 enable_mscat32
1432 enable_mscms
1433 enable_mscoree
1434 enable_mscorwks
1435 enable_msctf
1436 enable_msctfp
1437 enable_msdaps
1438 enable_msdelta
1439 enable_msdmo
1440 enable_msdrm
1441 enable_msftedit
1442 enable_msg711_acm
1443 enable_msgsm32_acm
1444 enable_mshtml_tlb
1445 enable_mshtml
1446 enable_msi
1447 enable_msident
1448 enable_msimg32
1449 enable_msimsg
1450 enable_msimtf
1451 enable_msisip
1452 enable_msisys_ocx
1453 enable_msls31
1454 enable_msnet32
1455 enable_mspatcha
1456 enable_msports
1457 enable_msrle32
1458 enable_msscript_ocx
1459 enable_mssign32
1460 enable_mssip32
1461 enable_mstask
1462 enable_msvcirt
1463 enable_msvcm80
1464 enable_msvcm90
1465 enable_msvcp100
1466 enable_msvcp110
1467 enable_msvcp120
1468 enable_msvcp120_app
1469 enable_msvcp140
1470 enable_msvcp140_1
1471 enable_msvcp60
1472 enable_msvcp70
1473 enable_msvcp71
1474 enable_msvcp80
1475 enable_msvcp90
1476 enable_msvcr100
1477 enable_msvcr110
1478 enable_msvcr120
1479 enable_msvcr120_app
1480 enable_msvcr70
1481 enable_msvcr71
1482 enable_msvcr80
1483 enable_msvcr90
1484 enable_msvcrt
1485 enable_msvcrt20
1486 enable_msvcrt40
1487 enable_msvcrtd
1488 enable_msvfw32
1489 enable_msvidc32
1490 enable_mswsock
1491 enable_msxml
1492 enable_msxml2
1493 enable_msxml3
1494 enable_msxml4
1495 enable_msxml6
1496 enable_mtxdm
1497 enable_ncrypt
1498 enable_nddeapi
1499 enable_ndis_sys
1500 enable_netapi32
1501 enable_netcfgx
1502 enable_netio_sys
1503 enable_netprofm
1504 enable_newdev
1505 enable_ninput
1506 enable_normaliz
1507 enable_npmshtml
1508 enable_npptools
1509 enable_ntdll
1510 enable_ntdsapi
1511 enable_ntoskrnl_exe
1512 enable_ntprint
1513 enable_objsel
1514 enable_odbc32
1515 enable_odbcbcp
1516 enable_odbccp32
1517 enable_odbccu32
1518 enable_ole32
1519 enable_oleacc
1520 enable_oleaut32
1521 enable_olecli32
1522 enable_oledb32
1523 enable_oledlg
1524 enable_olepro32
1525 enable_olesvr32
1526 enable_olethk32
1527 enable_opcservices
1528 enable_openal32
1529 enable_opencl
1530 enable_opengl32
1531 enable_packager
1532 enable_pdh
1533 enable_photometadatahandler
1534 enable_pidgen
1535 enable_powrprof
1536 enable_printui
1537 enable_prntvpt
1538 enable_propsys
1539 enable_psapi
1540 enable_pstorec
1541 enable_pwrshplugin
1542 enable_qasf
1543 enable_qcap
1544 enable_qdvd
1545 enable_qedit
1546 enable_qmgr
1547 enable_qmgrprxy
1548 enable_quartz
1549 enable_query
1550 enable_qwave
1551 enable_rasapi32
1552 enable_rasdlg
1553 enable_regapi
1554 enable_resutils
1555 enable_riched20
1556 enable_riched32
1557 enable_rpcrt4
1558 enable_rsabase
1559 enable_rsaenh
1560 enable_rstrtmgr
1561 enable_rtutils
1562 enable_rtworkq
1563 enable_samlib
1564 enable_sane_ds
1565 enable_sapi
1566 enable_sas
1567 enable_scarddlg
1568 enable_sccbase
1569 enable_schannel
1570 enable_schedsvc
1571 enable_scrobj
1572 enable_scrrun
1573 enable_scsiport_sys
1574 enable_sechost
1575 enable_secur32
1576 enable_security
1577 enable_sensapi
1578 enable_serialui
1579 enable_setupapi
1580 enable_sfc
1581 enable_sfc_os
1582 enable_shcore
1583 enable_shdoclc
1584 enable_shdocvw
1585 enable_shell32
1586 enable_shfolder
1587 enable_shlwapi
1588 enable_slbcsp
1589 enable_slc
1590 enable_snmpapi
1591 enable_softpub
1592 enable_spoolss
1593 enable_srclient
1594 enable_sspicli
1595 enable_stdole2_tlb
1596 enable_stdole32_tlb
1597 enable_sti
1598 enable_strmbase
1599 enable_strmdll
1600 enable_strmiids
1601 enable_svrapi
1602 enable_sxs
1603 enable_t2embed
1604 enable_tapi32
1605 enable_taskschd
1606 enable_tdh
1607 enable_tdi_sys
1608 enable_traffic
1609 enable_twain_32
1610 enable_tzres
1611 enable_ucrtbase
1612 enable_uianimation
1613 enable_uiautomationcore
1614 enable_uiribbon
1615 enable_unicows
1616 enable_updspapi
1617 enable_url
1618 enable_urlmon
1619 enable_usbd_sys
1620 enable_user32
1621 enable_userenv
1622 enable_usp10
1623 enable_utildll
1624 enable_uuid
1625 enable_uxtheme
1626 enable_vbscript
1627 enable_vcomp
1628 enable_vcomp100
1629 enable_vcomp110
1630 enable_vcomp120
1631 enable_vcomp140
1632 enable_vcomp90
1633 enable_vcruntime140
1634 enable_vcruntime140_1
1635 enable_vdmdbg
1636 enable_version
1637 enable_vga
1638 enable_virtdisk
1639 enable_vssapi
1640 enable_vulkan_1
1641 enable_wbemdisp
1642 enable_wbemprox
1643 enable_wbemuuid
1644 enable_wdscore
1645 enable_webservices
1646 enable_wer
1647 enable_wevtapi
1648 enable_wiaservc
1649 enable_wimgapi
1650 enable_windowscodecs
1651 enable_windowscodecsext
1652 enable_winealsa_drv
1653 enable_wineandroid_drv
1654 enable_winebus_sys
1655 enable_winecoreaudio_drv
1656 enable_winecrt0
1657 enable_wined3d
1658 enable_winegstreamer
1659 enable_winehid_sys
1660 enable_winejoystick_drv
1661 enable_winemac_drv
1662 enable_winemapi
1663 enable_wineoss_drv
1664 enable_wineps_drv
1665 enable_winepulse_drv
1666 enable_wineqtdecoder
1667 enable_wineusb_sys
1668 enable_winevulkan
1669 enable_winex11_drv
1670 enable_wing32
1671 enable_winhttp
1672 enable_wininet
1673 enable_winmm
1674 enable_winnls32
1675 enable_winscard
1676 enable_winspool_drv
1677 enable_winsta
1678 enable_wintab32
1679 enable_wintrust
1680 enable_winusb
1681 enable_wlanapi
1682 enable_wlanui
1683 enable_wldap32
1684 enable_wmasf
1685 enable_wmcodecdspuuid
1686 enable_wmi
1687 enable_wmiutils
1688 enable_wmp
1689 enable_wmphoto
1690 enable_wmvcore
1691 enable_wnaspi32
1692 enable_wpc
1693 enable_wpcap
1694 enable_ws2_32
1695 enable_wsdapi
1696 enable_wshom_ocx
1697 enable_wsnmp32
1698 enable_wsock32
1699 enable_wtsapi32
1700 enable_wuapi
1701 enable_wuaueng
1702 enable_x3daudio1_0
1703 enable_x3daudio1_1
1704 enable_x3daudio1_2
1705 enable_x3daudio1_3
1706 enable_x3daudio1_4
1707 enable_x3daudio1_5
1708 enable_x3daudio1_6
1709 enable_x3daudio1_7
1710 enable_xactengine3_0
1711 enable_xactengine3_1
1712 enable_xactengine3_2
1713 enable_xactengine3_3
1714 enable_xactengine3_4
1715 enable_xactengine3_5
1716 enable_xactengine3_6
1717 enable_xactengine3_7
1718 enable_xapofx1_1
1719 enable_xapofx1_2
1720 enable_xapofx1_3
1721 enable_xapofx1_4
1722 enable_xapofx1_5
1723 enable_xaudio2_0
1724 enable_xaudio2_1
1725 enable_xaudio2_2
1726 enable_xaudio2_3
1727 enable_xaudio2_4
1728 enable_xaudio2_5
1729 enable_xaudio2_6
1730 enable_xaudio2_7
1731 enable_xaudio2_8
1732 enable_xaudio2_9
1733 enable_xinput1_1
1734 enable_xinput1_2
1735 enable_xinput1_3
1736 enable_xinput1_4
1737 enable_xinput9_1_0
1738 enable_xmllite
1739 enable_xolehlp
1740 enable_xpsprint
1741 enable_xpssvcs
1742 enable_fonts
1743 enable_include
1744 enable_port
1745 enable_wine
1746 enable_wpp
1747 enable_loader
1748 enable_nls
1749 enable_po
1750 enable_arp
1751 enable_aspnet_regiis
1752 enable_attrib
1753 enable_cabarc
1754 enable_cacls
1755 enable_chcp_com
1756 enable_clock
1757 enable_cmd
1758 enable_conhost
1759 enable_control
1760 enable_cscript
1761 enable_dism
1762 enable_dpnsvr
1763 enable_dxdiag
1764 enable_eject
1765 enable_expand
1766 enable_explorer
1767 enable_extrac32
1768 enable_fc
1769 enable_find
1770 enable_findstr
1771 enable_fsutil
1772 enable_hh
1773 enable_hostname
1774 enable_icacls
1775 enable_icinfo
1776 enable_iexplore
1777 enable_ipconfig
1778 enable_lodctr
1779 enable_mofcomp
1780 enable_mshta
1781 enable_msidb
1782 enable_msiexec
1783 enable_msinfo32
1784 enable_net
1785 enable_netsh
1786 enable_netstat
1787 enable_ngen
1788 enable_notepad
1789 enable_oleview
1790 enable_ping
1791 enable_plugplay
1792 enable_powershell
1793 enable_presentationfontcache
1794 enable_progman
1795 enable_reg
1796 enable_regasm
1797 enable_regedit
1798 enable_regini
1799 enable_regsvcs
1800 enable_regsvr32
1801 enable_rpcss
1802 enable_rundll32
1803 enable_sc
1804 enable_schtasks
1805 enable_sdbinst
1806 enable_secedit
1807 enable_servicemodelreg
1808 enable_services
1809 enable_shutdown
1810 enable_spoolsv
1811 enable_start
1812 enable_subst
1813 enable_svchost
1814 enable_systeminfo
1815 enable_taskkill
1816 enable_tasklist
1817 enable_taskmgr
1818 enable_termsv
1819 enable_uninstaller
1820 enable_unlodctr
1821 enable_view
1822 enable_wevtutil
1823 enable_where
1824 enable_whoami
1825 enable_wineboot
1826 enable_winebrowser
1827 enable_winecfg
1828 enable_wineconsole
1829 enable_winedbg
1830 enable_winedevice
1831 enable_winefile
1832 enable_winemenubuilder
1833 enable_winemine
1834 enable_winemsibuilder
1835 enable_winepath
1836 enable_winetest
1837 enable_winhlp32
1838 enable_winmgmt
1839 enable_winver
1840 enable_wmic
1841 enable_wmplayer
1842 enable_wordpad
1843 enable_write
1844 enable_wscript
1845 enable_wuauserv
1846 enable_wusa
1847 enable_xcopy
1848 enable_server
1849 enable_tools
1850 enable_sfnt2fon
1851 enable_widl
1852 enable_winebuild
1853 enable_winedump
1854 enable_winegcc
1855 enable_winemaker
1856 enable_wmc
1857 enable_wrc
1859 ac_precious_vars='build_alias
1860 host_alias
1861 target_alias
1863 CFLAGS
1864 LDFLAGS
1865 LIBS
1866 CPPFLAGS
1868 CXXFLAGS
1871 OBJC
1872 OBJCFLAGS
1873 OBJCPP
1874 XMKMF
1875 XML2_CFLAGS
1876 XML2_LIBS
1877 XSLT_CFLAGS
1878 XSLT_LIBS
1879 INOTIFY_CFLAGS
1880 INOTIFY_LIBS
1881 DBUS_CFLAGS
1882 DBUS_LIBS
1883 HAL_CFLAGS
1884 HAL_LIBS
1885 GNUTLS_CFLAGS
1886 GNUTLS_LIBS
1887 SANE_CFLAGS
1888 SANE_LIBS
1889 USB_CFLAGS
1890 USB_LIBS
1891 GPHOTO2_CFLAGS
1892 GPHOTO2_LIBS
1893 GPHOTO2_PORT_CFLAGS
1894 GPHOTO2_PORT_LIBS
1895 LCMS2_CFLAGS
1896 LCMS2_LIBS
1897 FREETYPE_CFLAGS
1898 FREETYPE_LIBS
1899 PULSE_CFLAGS
1900 PULSE_LIBS
1901 GSTREAMER_CFLAGS
1902 GSTREAMER_LIBS
1903 UDEV_CFLAGS
1904 UDEV_LIBS
1905 UNWIND_CFLAGS
1906 UNWIND_LIBS
1907 SDL2_CFLAGS
1908 SDL2_LIBS
1909 FAUDIO_CFLAGS
1910 FAUDIO_LIBS
1911 CAPI20_CFLAGS
1912 CAPI20_LIBS
1913 CUPS_CFLAGS
1914 CUPS_LIBS
1915 FONTCONFIG_CFLAGS
1916 FONTCONFIG_LIBS
1917 KRB5_CFLAGS
1918 KRB5_LIBS
1919 GSSAPI_CFLAGS
1920 GSSAPI_LIBS
1921 JPEG_CFLAGS
1922 JPEG_LIBS
1923 PNG_CFLAGS
1924 PNG_LIBS
1925 TIFF_CFLAGS
1926 TIFF_LIBS
1927 MPG123_CFLAGS
1928 MPG123_LIBS
1929 NETAPI_CFLAGS
1930 NETAPI_LIBS
1931 VKD3D_CFLAGS
1932 VKD3D_LIBS
1933 VKD3D_SHADER_CFLAGS
1934 VKD3D_SHADER_LIBS
1935 LDAP_CFLAGS
1936 LDAP_LIBS'
1939 # Initialize some variables set by options.
1940 ac_init_help=
1941 ac_init_version=false
1942 ac_unrecognized_opts=
1943 ac_unrecognized_sep=
1944 # The variables have the same names as the options, with
1945 # dashes changed to underlines.
1946 cache_file=/dev/null
1947 exec_prefix=NONE
1948 no_create=
1949 no_recursion=
1950 prefix=NONE
1951 program_prefix=NONE
1952 program_suffix=NONE
1953 program_transform_name=s,x,x,
1954 silent=
1955 site=
1956 srcdir=
1957 verbose=
1958 x_includes=NONE
1959 x_libraries=NONE
1961 # Installation directory options.
1962 # These are left unexpanded so users can "make install exec_prefix=/foo"
1963 # and all the variables that are supposed to be based on exec_prefix
1964 # by default will actually change.
1965 # Use braces instead of parens because sh, perl, etc. also accept them.
1966 # (The list follows the same order as the GNU Coding Standards.)
1967 bindir='${exec_prefix}/bin'
1968 sbindir='${exec_prefix}/sbin'
1969 libexecdir='${exec_prefix}/libexec'
1970 datarootdir='${prefix}/share'
1971 datadir='${datarootdir}'
1972 sysconfdir='${prefix}/etc'
1973 sharedstatedir='${prefix}/com'
1974 localstatedir='${prefix}/var'
1975 runstatedir='${localstatedir}/run'
1976 includedir='${prefix}/include'
1977 oldincludedir='/usr/include'
1978 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1979 infodir='${datarootdir}/info'
1980 htmldir='${docdir}'
1981 dvidir='${docdir}'
1982 pdfdir='${docdir}'
1983 psdir='${docdir}'
1984 libdir='${exec_prefix}/lib'
1985 localedir='${datarootdir}/locale'
1986 mandir='${datarootdir}/man'
1988 ac_prev=
1989 ac_dashdash=
1990 for ac_option
1992 # If the previous option needs an argument, assign it.
1993 if test -n "$ac_prev"; then
1994 eval $ac_prev=\$ac_option
1995 ac_prev=
1996 continue
1999 case $ac_option in
2000 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2001 *=) ac_optarg= ;;
2002 *) ac_optarg=yes ;;
2003 esac
2005 # Accept the important Cygnus configure options, so we can diagnose typos.
2007 case $ac_dashdash$ac_option in
2009 ac_dashdash=yes ;;
2011 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2012 ac_prev=bindir ;;
2013 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2014 bindir=$ac_optarg ;;
2016 -build | --build | --buil | --bui | --bu)
2017 ac_prev=build_alias ;;
2018 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2019 build_alias=$ac_optarg ;;
2021 -cache-file | --cache-file | --cache-fil | --cache-fi \
2022 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2023 ac_prev=cache_file ;;
2024 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2025 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2026 cache_file=$ac_optarg ;;
2028 --config-cache | -C)
2029 cache_file=config.cache ;;
2031 -datadir | --datadir | --datadi | --datad)
2032 ac_prev=datadir ;;
2033 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2034 datadir=$ac_optarg ;;
2036 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2037 | --dataroo | --dataro | --datar)
2038 ac_prev=datarootdir ;;
2039 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2040 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2041 datarootdir=$ac_optarg ;;
2043 -disable-* | --disable-*)
2044 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2045 # Reject names that are not valid shell variable names.
2046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2047 as_fn_error $? "invalid feature name: $ac_useropt"
2048 ac_useropt_orig=$ac_useropt
2049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2050 case $ac_user_opts in
2052 "enable_$ac_useropt"
2053 "*) ;;
2054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2055 ac_unrecognized_sep=', ';;
2056 esac
2057 eval enable_$ac_useropt=no ;;
2059 -docdir | --docdir | --docdi | --doc | --do)
2060 ac_prev=docdir ;;
2061 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2062 docdir=$ac_optarg ;;
2064 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2065 ac_prev=dvidir ;;
2066 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2067 dvidir=$ac_optarg ;;
2069 -enable-* | --enable-*)
2070 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2071 # Reject names that are not valid shell variable names.
2072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2073 as_fn_error $? "invalid feature name: $ac_useropt"
2074 ac_useropt_orig=$ac_useropt
2075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2076 case $ac_user_opts in
2078 "enable_$ac_useropt"
2079 "*) ;;
2080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2081 ac_unrecognized_sep=', ';;
2082 esac
2083 eval enable_$ac_useropt=\$ac_optarg ;;
2085 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2086 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2087 | --exec | --exe | --ex)
2088 ac_prev=exec_prefix ;;
2089 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2090 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2091 | --exec=* | --exe=* | --ex=*)
2092 exec_prefix=$ac_optarg ;;
2094 -gas | --gas | --ga | --g)
2095 # Obsolete; use --with-gas.
2096 with_gas=yes ;;
2098 -help | --help | --hel | --he | -h)
2099 ac_init_help=long ;;
2100 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2101 ac_init_help=recursive ;;
2102 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2103 ac_init_help=short ;;
2105 -host | --host | --hos | --ho)
2106 ac_prev=host_alias ;;
2107 -host=* | --host=* | --hos=* | --ho=*)
2108 host_alias=$ac_optarg ;;
2110 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2111 ac_prev=htmldir ;;
2112 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2113 | --ht=*)
2114 htmldir=$ac_optarg ;;
2116 -includedir | --includedir | --includedi | --included | --include \
2117 | --includ | --inclu | --incl | --inc)
2118 ac_prev=includedir ;;
2119 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2120 | --includ=* | --inclu=* | --incl=* | --inc=*)
2121 includedir=$ac_optarg ;;
2123 -infodir | --infodir | --infodi | --infod | --info | --inf)
2124 ac_prev=infodir ;;
2125 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2126 infodir=$ac_optarg ;;
2128 -libdir | --libdir | --libdi | --libd)
2129 ac_prev=libdir ;;
2130 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2131 libdir=$ac_optarg ;;
2133 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2134 | --libexe | --libex | --libe)
2135 ac_prev=libexecdir ;;
2136 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2137 | --libexe=* | --libex=* | --libe=*)
2138 libexecdir=$ac_optarg ;;
2140 -localedir | --localedir | --localedi | --localed | --locale)
2141 ac_prev=localedir ;;
2142 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2143 localedir=$ac_optarg ;;
2145 -localstatedir | --localstatedir | --localstatedi | --localstated \
2146 | --localstate | --localstat | --localsta | --localst | --locals)
2147 ac_prev=localstatedir ;;
2148 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2149 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2150 localstatedir=$ac_optarg ;;
2152 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2153 ac_prev=mandir ;;
2154 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2155 mandir=$ac_optarg ;;
2157 -nfp | --nfp | --nf)
2158 # Obsolete; use --without-fp.
2159 with_fp=no ;;
2161 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2162 | --no-cr | --no-c | -n)
2163 no_create=yes ;;
2165 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2166 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2167 no_recursion=yes ;;
2169 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2170 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2171 | --oldin | --oldi | --old | --ol | --o)
2172 ac_prev=oldincludedir ;;
2173 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2174 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2175 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2176 oldincludedir=$ac_optarg ;;
2178 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2179 ac_prev=prefix ;;
2180 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2181 prefix=$ac_optarg ;;
2183 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2184 | --program-pre | --program-pr | --program-p)
2185 ac_prev=program_prefix ;;
2186 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2187 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2188 program_prefix=$ac_optarg ;;
2190 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2191 | --program-suf | --program-su | --program-s)
2192 ac_prev=program_suffix ;;
2193 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2194 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2195 program_suffix=$ac_optarg ;;
2197 -program-transform-name | --program-transform-name \
2198 | --program-transform-nam | --program-transform-na \
2199 | --program-transform-n | --program-transform- \
2200 | --program-transform | --program-transfor \
2201 | --program-transfo | --program-transf \
2202 | --program-trans | --program-tran \
2203 | --progr-tra | --program-tr | --program-t)
2204 ac_prev=program_transform_name ;;
2205 -program-transform-name=* | --program-transform-name=* \
2206 | --program-transform-nam=* | --program-transform-na=* \
2207 | --program-transform-n=* | --program-transform-=* \
2208 | --program-transform=* | --program-transfor=* \
2209 | --program-transfo=* | --program-transf=* \
2210 | --program-trans=* | --program-tran=* \
2211 | --progr-tra=* | --program-tr=* | --program-t=*)
2212 program_transform_name=$ac_optarg ;;
2214 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2215 ac_prev=pdfdir ;;
2216 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2217 pdfdir=$ac_optarg ;;
2219 -psdir | --psdir | --psdi | --psd | --ps)
2220 ac_prev=psdir ;;
2221 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2222 psdir=$ac_optarg ;;
2224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2225 | -silent | --silent | --silen | --sile | --sil)
2226 silent=yes ;;
2228 -runstatedir | --runstatedir | --runstatedi | --runstated \
2229 | --runstate | --runstat | --runsta | --runst | --runs \
2230 | --run | --ru | --r)
2231 ac_prev=runstatedir ;;
2232 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2233 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2234 | --run=* | --ru=* | --r=*)
2235 runstatedir=$ac_optarg ;;
2237 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2238 ac_prev=sbindir ;;
2239 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2240 | --sbi=* | --sb=*)
2241 sbindir=$ac_optarg ;;
2243 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2244 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2245 | --sharedst | --shareds | --shared | --share | --shar \
2246 | --sha | --sh)
2247 ac_prev=sharedstatedir ;;
2248 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2249 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2250 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2251 | --sha=* | --sh=*)
2252 sharedstatedir=$ac_optarg ;;
2254 -site | --site | --sit)
2255 ac_prev=site ;;
2256 -site=* | --site=* | --sit=*)
2257 site=$ac_optarg ;;
2259 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2260 ac_prev=srcdir ;;
2261 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2262 srcdir=$ac_optarg ;;
2264 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2265 | --syscon | --sysco | --sysc | --sys | --sy)
2266 ac_prev=sysconfdir ;;
2267 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2268 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2269 sysconfdir=$ac_optarg ;;
2271 -target | --target | --targe | --targ | --tar | --ta | --t)
2272 ac_prev=target_alias ;;
2273 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2274 target_alias=$ac_optarg ;;
2276 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2277 verbose=yes ;;
2279 -version | --version | --versio | --versi | --vers | -V)
2280 ac_init_version=: ;;
2282 -with-* | --with-*)
2283 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2284 # Reject names that are not valid shell variable names.
2285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2286 as_fn_error $? "invalid package name: $ac_useropt"
2287 ac_useropt_orig=$ac_useropt
2288 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2289 case $ac_user_opts in
2291 "with_$ac_useropt"
2292 "*) ;;
2293 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2294 ac_unrecognized_sep=', ';;
2295 esac
2296 eval with_$ac_useropt=\$ac_optarg ;;
2298 -without-* | --without-*)
2299 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2300 # Reject names that are not valid shell variable names.
2301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2302 as_fn_error $? "invalid package name: $ac_useropt"
2303 ac_useropt_orig=$ac_useropt
2304 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2305 case $ac_user_opts in
2307 "with_$ac_useropt"
2308 "*) ;;
2309 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2310 ac_unrecognized_sep=', ';;
2311 esac
2312 eval with_$ac_useropt=no ;;
2314 --x)
2315 # Obsolete; use --with-x.
2316 with_x=yes ;;
2318 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2319 | --x-incl | --x-inc | --x-in | --x-i)
2320 ac_prev=x_includes ;;
2321 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2322 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2323 x_includes=$ac_optarg ;;
2325 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2326 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2327 ac_prev=x_libraries ;;
2328 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2329 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2330 x_libraries=$ac_optarg ;;
2332 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2333 Try \`$0 --help' for more information"
2336 *=*)
2337 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2338 # Reject names that are not valid shell variable names.
2339 case $ac_envvar in #(
2340 '' | [0-9]* | *[!_$as_cr_alnum]* )
2341 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2342 esac
2343 eval $ac_envvar=\$ac_optarg
2344 export $ac_envvar ;;
2347 # FIXME: should be removed in autoconf 3.0.
2348 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2349 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2350 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2351 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2354 esac
2355 done
2357 if test -n "$ac_prev"; then
2358 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2359 as_fn_error $? "missing argument to $ac_option"
2362 if test -n "$ac_unrecognized_opts"; then
2363 case $enable_option_checking in
2364 no) ;;
2365 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2366 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2367 esac
2370 # Check all directory arguments for consistency.
2371 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2372 datadir sysconfdir sharedstatedir localstatedir includedir \
2373 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2374 libdir localedir mandir runstatedir
2376 eval ac_val=\$$ac_var
2377 # Remove trailing slashes.
2378 case $ac_val in
2379 */ )
2380 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2381 eval $ac_var=\$ac_val;;
2382 esac
2383 # Be sure to have absolute directory names.
2384 case $ac_val in
2385 [\\/$]* | ?:[\\/]* ) continue;;
2386 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2387 esac
2388 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2389 done
2391 # There might be people who depend on the old broken behavior: `$host'
2392 # used to hold the argument of --host etc.
2393 # FIXME: To remove some day.
2394 build=$build_alias
2395 host=$host_alias
2396 target=$target_alias
2398 # FIXME: To remove some day.
2399 if test "x$host_alias" != x; then
2400 if test "x$build_alias" = x; then
2401 cross_compiling=maybe
2402 elif test "x$build_alias" != "x$host_alias"; then
2403 cross_compiling=yes
2407 ac_tool_prefix=
2408 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2410 test "$silent" = yes && exec 6>/dev/null
2413 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2414 ac_ls_di=`ls -di .` &&
2415 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2416 as_fn_error $? "working directory cannot be determined"
2417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2418 as_fn_error $? "pwd does not report name of working directory"
2421 # Find the source files, if location was not specified.
2422 if test -z "$srcdir"; then
2423 ac_srcdir_defaulted=yes
2424 # Try the directory containing this script, then the parent directory.
2425 ac_confdir=`$as_dirname -- "$as_myself" ||
2426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2427 X"$as_myself" : 'X\(//\)[^/]' \| \
2428 X"$as_myself" : 'X\(//\)$' \| \
2429 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2430 $as_echo X"$as_myself" |
2431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2432 s//\1/
2435 /^X\(\/\/\)[^/].*/{
2436 s//\1/
2439 /^X\(\/\/\)$/{
2440 s//\1/
2443 /^X\(\/\).*/{
2444 s//\1/
2447 s/.*/./; q'`
2448 srcdir=$ac_confdir
2449 if test ! -r "$srcdir/$ac_unique_file"; then
2450 srcdir=..
2452 else
2453 ac_srcdir_defaulted=no
2455 if test ! -r "$srcdir/$ac_unique_file"; then
2456 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2457 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2459 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2460 ac_abs_confdir=`(
2461 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2462 pwd)`
2463 # When building in place, set srcdir=.
2464 if test "$ac_abs_confdir" = "$ac_pwd"; then
2465 srcdir=.
2467 # Remove unnecessary trailing slashes from srcdir.
2468 # Double slashes in file names in object file debugging info
2469 # mess up M-x gdb in Emacs.
2470 case $srcdir in
2471 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2472 esac
2473 for ac_var in $ac_precious_vars; do
2474 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2475 eval ac_env_${ac_var}_value=\$${ac_var}
2476 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2477 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2478 done
2481 # Report the --help message.
2483 if test "$ac_init_help" = "long"; then
2484 # Omit some internal or obsolete options to make the list less imposing.
2485 # This message is too long to be a string in the A/UX 3.1 sh.
2486 cat <<_ACEOF
2487 \`configure' configures Wine 5.17 to adapt to many kinds of systems.
2489 Usage: $0 [OPTION]... [VAR=VALUE]...
2491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2492 VAR=VALUE. See below for descriptions of some of the useful variables.
2494 Defaults for the options are specified in brackets.
2496 Configuration:
2497 -h, --help display this help and exit
2498 --help=short display options specific to this package
2499 --help=recursive display the short help of all the included packages
2500 -V, --version display version information and exit
2501 -q, --quiet, --silent do not print \`checking ...' messages
2502 --cache-file=FILE cache test results in FILE [disabled]
2503 -C, --config-cache alias for \`--cache-file=config.cache'
2504 -n, --no-create do not create output files
2505 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2507 Installation directories:
2508 --prefix=PREFIX install architecture-independent files in PREFIX
2509 [$ac_default_prefix]
2510 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2511 [PREFIX]
2513 By default, \`make install' will install all the files in
2514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2516 for instance \`--prefix=\$HOME'.
2518 For better control, use the options below.
2520 Fine tuning of the installation directories:
2521 --bindir=DIR user executables [EPREFIX/bin]
2522 --sbindir=DIR system admin executables [EPREFIX/sbin]
2523 --libexecdir=DIR program executables [EPREFIX/libexec]
2524 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2525 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2526 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2527 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2528 --libdir=DIR object code libraries [EPREFIX/lib]
2529 --includedir=DIR C header files [PREFIX/include]
2530 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2531 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2532 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2533 --infodir=DIR info documentation [DATAROOTDIR/info]
2534 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2535 --mandir=DIR man documentation [DATAROOTDIR/man]
2536 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2537 --htmldir=DIR html documentation [DOCDIR]
2538 --dvidir=DIR dvi documentation [DOCDIR]
2539 --pdfdir=DIR pdf documentation [DOCDIR]
2540 --psdir=DIR ps documentation [DOCDIR]
2541 _ACEOF
2543 cat <<\_ACEOF
2545 X features:
2546 --x-includes=DIR X include files are in DIR
2547 --x-libraries=DIR X library files are in DIR
2549 System types:
2550 --build=BUILD configure for building on BUILD [guessed]
2551 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2552 _ACEOF
2555 if test -n "$ac_init_help"; then
2556 case $ac_init_help in
2557 short | recursive ) echo "Configuration of Wine 5.17:";;
2558 esac
2559 cat <<\_ACEOF
2561 Optional Features:
2562 --disable-option-checking ignore unrecognized --enable/--with options
2563 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2564 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2565 --disable-win16 do not include Win16 support
2566 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2567 binaries)
2568 --disable-tests do not build the regression tests
2569 --enable-maintainer-mode
2570 enable maintainer-specific build rules
2571 --enable-werror treat compilation warnings as errors
2572 --disable-largefile omit support for large files
2574 Optional Packages:
2575 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2576 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2577 --without-alsa do not use the Alsa sound support
2578 --without-capi do not use CAPI (ISDN support)
2579 --without-cms do not use CMS (color management support)
2580 --without-coreaudio do not use the CoreAudio sound support
2581 --without-cups do not use CUPS
2582 --without-dbus do not use DBus (dynamic device support)
2583 --without-faudio do not use FAudio (XAudio2 support)
2584 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2585 --without-fontconfig do not use fontconfig
2586 --without-freetype do not use the FreeType library
2587 --without-gettext do not use gettext
2588 --with-gettextpo use the GetTextPO library to rebuild po files
2589 --without-gphoto do not use gphoto (Digital Camera support)
2590 --without-glu do not use the GLU library
2591 --without-gnutls do not use GnuTLS (schannel support)
2592 --without-gsm do not use libgsm (GSM 06.10 codec support)
2593 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2594 --without-gstreamer do not use GStreamer (codecs support)
2595 --without-hal do not use HAL (dynamic device support)
2596 --without-inotify do not use inotify (filesystem change notifications)
2597 --without-jpeg do not use JPEG
2598 --without-krb5 do not use krb5 (Kerberos)
2599 --without-ldap do not use LDAP
2600 --without-mingw do not use the MinGW cross-compiler
2601 --without-mpg123 do not use the mpg123 library
2602 --without-netapi do not use the Samba NetAPI library
2603 --without-openal do not use OpenAL
2604 --without-opencl do not use OpenCL
2605 --without-opengl do not use OpenGL
2606 --without-osmesa do not use the OSMesa library
2607 --without-oss do not use the OSS sound support
2608 --without-pcap do not use the Packet Capture library
2609 --without-png do not use PNG
2610 --without-pthread do not use the pthread library
2611 --without-pulse do not use PulseAudio sound support
2612 --without-quicktime do not use QuickTime support
2613 --without-sane do not use SANE (scanner support)
2614 --without-sdl do not use SDL
2615 --without-tiff do not use TIFF
2616 --without-udev do not use udev (plug and play support)
2617 --without-unwind do not use the libunwind library (exception
2618 handling)
2619 --without-usb do not use the libusb library
2620 --without-v4l2 do not use v4l2 (video capture)
2621 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2622 --without-vulkan do not use Vulkan
2623 --without-xcomposite do not use the Xcomposite extension
2624 --without-xcursor do not use the Xcursor extension
2625 --without-xfixes do not use Xfixes for clipboard change notifications
2626 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2627 --without-xinput do not use the Xinput extension
2628 --without-xinput2 do not use the Xinput 2 extension
2629 --without-xml do not use XML
2630 --without-xrandr do not use Xrandr (multi-monitor support)
2631 --without-xrender do not use the Xrender extension
2632 --without-xshape do not use the Xshape extension
2633 --without-xshm do not use XShm (shared memory extension)
2634 --without-xslt do not use XSLT
2635 --without-xxf86vm do not use XFree video mode extension
2636 --with-wine-tools=DIR use Wine tools from directory DIR
2637 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2638 --with-x use the X Window System
2640 Some influential environment variables:
2641 CC C compiler command
2642 CFLAGS C compiler flags
2643 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2644 nonstandard directory <lib dir>
2645 LIBS libraries to pass to the linker, e.g. -l<library>
2646 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2647 you have headers in a nonstandard directory <include dir>
2648 CXX C++ compiler command
2649 CXXFLAGS C++ compiler flags
2650 CPP C preprocessor
2651 OBJC Objective C compiler command
2652 OBJCFLAGS Objective C compiler flags
2653 OBJCPP Objective C preprocessor
2654 XMKMF Path to xmkmf, Makefile generator for X Window System
2655 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2656 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2657 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2658 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2659 INOTIFY_CFLAGS
2660 C compiler flags for libinotify, overriding pkg-config
2661 INOTIFY_LIBS
2662 Linker flags for libinotify, overriding pkg-config
2663 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2664 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2665 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2666 HAL_LIBS Linker flags for hal, overriding pkg-config
2667 GNUTLS_CFLAGS
2668 C compiler flags for gnutls, overriding pkg-config
2669 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2670 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2671 SANE_LIBS Linker flags for libsane, overriding pkg-config
2672 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2673 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2674 GPHOTO2_CFLAGS
2675 C compiler flags for libgphoto2, overriding pkg-config
2676 GPHOTO2_LIBS
2677 Linker flags for libgphoto2, overriding pkg-config
2678 GPHOTO2_PORT_CFLAGS
2679 C compiler flags for libgphoto2_port, overriding pkg-config
2680 GPHOTO2_PORT_LIBS
2681 Linker flags for libgphoto2_port, overriding pkg-config
2682 LCMS2_CFLAGS
2683 C compiler flags for lcms2, overriding pkg-config
2684 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2685 FREETYPE_CFLAGS
2686 C compiler flags for freetype2, overriding pkg-config
2687 FREETYPE_LIBS
2688 Linker flags for freetype2, overriding pkg-config
2689 PULSE_CFLAGS
2690 C compiler flags for libpulse, overriding pkg-config
2691 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2692 GSTREAMER_CFLAGS
2693 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2694 gstreamer-audio-1.0, overriding pkg-config
2695 GSTREAMER_LIBS
2696 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2697 gstreamer-audio-1.0, overriding pkg-config
2698 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2699 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2700 UNWIND_CFLAGS
2701 C compiler flags for libunwind, overriding pkg-config
2702 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2703 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2704 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2705 FAUDIO_CFLAGS
2706 C compiler flags for faudio, overriding pkg-config
2707 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2708 CAPI20_CFLAGS
2709 C compiler flags for capi20, overriding pkg-config
2710 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2711 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2712 CUPS_LIBS Linker flags for cups, overriding pkg-config
2713 FONTCONFIG_CFLAGS
2714 C compiler flags for fontconfig, overriding pkg-config
2715 FONTCONFIG_LIBS
2716 Linker flags for fontconfig, overriding pkg-config
2717 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2718 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2719 GSSAPI_CFLAGS
2720 C compiler flags for krb5-gssapi, overriding pkg-config
2721 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2722 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2723 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2724 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2725 PNG_LIBS Linker flags for libpng, overriding pkg-config
2726 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2727 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2728 MPG123_CFLAGS
2729 C compiler flags for libmpg123, overriding pkg-config
2730 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2731 NETAPI_CFLAGS
2732 C compiler flags for netapi, overriding pkg-config
2733 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2734 VKD3D_CFLAGS
2735 C compiler flags for libvkd3d, overriding pkg-config
2736 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2737 VKD3D_SHADER_CFLAGS
2738 C compiler flags for libvkd3d-shader, overriding pkg-config
2739 VKD3D_SHADER_LIBS
2740 Linker flags for libvkd3d-shader, overriding pkg-config
2741 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2742 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2744 Use these variables to override the choices made by `configure' or to help
2745 it to find libraries and programs with nonstandard names/locations.
2747 Report bugs to <wine-devel@winehq.org>.
2748 Wine home page: <https://www.winehq.org>.
2749 _ACEOF
2750 ac_status=$?
2753 if test "$ac_init_help" = "recursive"; then
2754 # If there are subdirs, report their specific --help.
2755 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2756 test -d "$ac_dir" ||
2757 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2758 continue
2759 ac_builddir=.
2761 case "$ac_dir" in
2762 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2764 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2765 # A ".." for each directory in $ac_dir_suffix.
2766 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2767 case $ac_top_builddir_sub in
2768 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2769 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2770 esac ;;
2771 esac
2772 ac_abs_top_builddir=$ac_pwd
2773 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2774 # for backward compatibility:
2775 ac_top_builddir=$ac_top_build_prefix
2777 case $srcdir in
2778 .) # We are building in place.
2779 ac_srcdir=.
2780 ac_top_srcdir=$ac_top_builddir_sub
2781 ac_abs_top_srcdir=$ac_pwd ;;
2782 [\\/]* | ?:[\\/]* ) # Absolute name.
2783 ac_srcdir=$srcdir$ac_dir_suffix;
2784 ac_top_srcdir=$srcdir
2785 ac_abs_top_srcdir=$srcdir ;;
2786 *) # Relative name.
2787 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2788 ac_top_srcdir=$ac_top_build_prefix$srcdir
2789 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2790 esac
2791 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2793 cd "$ac_dir" || { ac_status=$?; continue; }
2794 # Check for guested configure.
2795 if test -f "$ac_srcdir/configure.gnu"; then
2796 echo &&
2797 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2798 elif test -f "$ac_srcdir/configure"; then
2799 echo &&
2800 $SHELL "$ac_srcdir/configure" --help=recursive
2801 else
2802 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2803 fi || ac_status=$?
2804 cd "$ac_pwd" || { ac_status=$?; break; }
2805 done
2808 test -n "$ac_init_help" && exit $ac_status
2809 if $ac_init_version; then
2810 cat <<\_ACEOF
2811 Wine configure 5.17
2812 generated by GNU Autoconf 2.69
2814 Copyright (C) 2012 Free Software Foundation, Inc.
2815 This configure script is free software; the Free Software Foundation
2816 gives unlimited permission to copy, distribute and modify it.
2817 _ACEOF
2818 exit
2821 ## ------------------------ ##
2822 ## Autoconf initialization. ##
2823 ## ------------------------ ##
2825 # ac_fn_c_try_compile LINENO
2826 # --------------------------
2827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2828 ac_fn_c_try_compile ()
2830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2831 rm -f conftest.$ac_objext
2832 if { { ac_try="$ac_compile"
2833 case "(($ac_try" in
2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2836 esac
2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838 $as_echo "$ac_try_echo"; } >&5
2839 (eval "$ac_compile") 2>conftest.err
2840 ac_status=$?
2841 if test -s conftest.err; then
2842 grep -v '^ *+' conftest.err >conftest.er1
2843 cat conftest.er1 >&5
2844 mv -f conftest.er1 conftest.err
2846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; } && {
2848 test -z "$ac_c_werror_flag" ||
2849 test ! -s conftest.err
2850 } && test -s conftest.$ac_objext; then :
2851 ac_retval=0
2852 else
2853 $as_echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.$ac_ext >&5
2856 ac_retval=1
2858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2859 as_fn_set_status $ac_retval
2861 } # ac_fn_c_try_compile
2863 # ac_fn_cxx_try_compile LINENO
2864 # ----------------------------
2865 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2866 ac_fn_cxx_try_compile ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 rm -f conftest.$ac_objext
2870 if { { ac_try="$ac_compile"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_compile") 2>conftest.err
2878 ac_status=$?
2879 if test -s conftest.err; then
2880 grep -v '^ *+' conftest.err >conftest.er1
2881 cat conftest.er1 >&5
2882 mv -f conftest.er1 conftest.err
2884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2885 test $ac_status = 0; } && {
2886 test -z "$ac_cxx_werror_flag" ||
2887 test ! -s conftest.err
2888 } && test -s conftest.$ac_objext; then :
2889 ac_retval=0
2890 else
2891 $as_echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_retval=1
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897 as_fn_set_status $ac_retval
2899 } # ac_fn_cxx_try_compile
2901 # ac_fn_c_try_link LINENO
2902 # -----------------------
2903 # Try to link conftest.$ac_ext, and return whether this succeeded.
2904 ac_fn_c_try_link ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 rm -f conftest.$ac_objext conftest$ac_exeext
2908 if { { ac_try="$ac_link"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_link") 2>conftest.err
2916 ac_status=$?
2917 if test -s conftest.err; then
2918 grep -v '^ *+' conftest.err >conftest.er1
2919 cat conftest.er1 >&5
2920 mv -f conftest.er1 conftest.err
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; } && {
2924 test -z "$ac_c_werror_flag" ||
2925 test ! -s conftest.err
2926 } && test -s conftest$ac_exeext && {
2927 test "$cross_compiling" = yes ||
2928 test -x conftest$ac_exeext
2929 }; then :
2930 ac_retval=0
2931 else
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2935 ac_retval=1
2937 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2938 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2939 # interfere with the next link command; also delete a directory that is
2940 # left behind by Apple's compiler. We do this before executing the actions.
2941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 as_fn_set_status $ac_retval
2945 } # ac_fn_c_try_link
2947 # ac_fn_c_try_cpp LINENO
2948 # ----------------------
2949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2950 ac_fn_c_try_cpp ()
2952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2953 if { { ac_try="$ac_cpp conftest.$ac_ext"
2954 case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2957 esac
2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959 $as_echo "$ac_try_echo"; } >&5
2960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2961 ac_status=$?
2962 if test -s conftest.err; then
2963 grep -v '^ *+' conftest.err >conftest.er1
2964 cat conftest.er1 >&5
2965 mv -f conftest.er1 conftest.err
2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968 test $ac_status = 0; } > conftest.i && {
2969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2970 test ! -s conftest.err
2971 }; then :
2972 ac_retval=0
2973 else
2974 $as_echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2977 ac_retval=1
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status $ac_retval
2982 } # ac_fn_c_try_cpp
2984 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2985 # -------------------------------------------------------
2986 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2987 # the include files in INCLUDES and setting the cache variable VAR
2988 # accordingly.
2989 ac_fn_c_check_header_mongrel ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 if eval \${$3+:} false; then :
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2994 $as_echo_n "checking for $2... " >&6; }
2995 if eval \${$3+:} false; then :
2996 $as_echo_n "(cached) " >&6
2998 eval ac_res=\$$3
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3000 $as_echo "$ac_res" >&6; }
3001 else
3002 # Is the header compilable?
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3004 $as_echo_n "checking $2 usability... " >&6; }
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3008 #include <$2>
3009 _ACEOF
3010 if ac_fn_c_try_compile "$LINENO"; then :
3011 ac_header_compiler=yes
3012 else
3013 ac_header_compiler=no
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3017 $as_echo "$ac_header_compiler" >&6; }
3019 # Is the header present?
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3021 $as_echo_n "checking $2 presence... " >&6; }
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3024 #include <$2>
3025 _ACEOF
3026 if ac_fn_c_try_cpp "$LINENO"; then :
3027 ac_header_preproc=yes
3028 else
3029 ac_header_preproc=no
3031 rm -f conftest.err conftest.i conftest.$ac_ext
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3033 $as_echo "$ac_header_preproc" >&6; }
3035 # So? What about this header?
3036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3037 yes:no: )
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3039 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3043 no:yes:* )
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3045 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3047 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3049 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3051 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3053 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3054 ( $as_echo "## ------------------------------------ ##
3055 ## Report this to wine-devel@winehq.org ##
3056 ## ------------------------------------ ##"
3057 ) | sed "s/^/$as_me: WARNING: /" >&2
3059 esac
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3061 $as_echo_n "checking for $2... " >&6; }
3062 if eval \${$3+:} false; then :
3063 $as_echo_n "(cached) " >&6
3064 else
3065 eval "$3=\$ac_header_compiler"
3067 eval ac_res=\$$3
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3069 $as_echo "$ac_res" >&6; }
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 } # ac_fn_c_check_header_mongrel
3075 # ac_fn_c_try_run LINENO
3076 # ----------------------
3077 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3078 # that executables *can* be run.
3079 ac_fn_c_try_run ()
3081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3082 if { { ac_try="$ac_link"
3083 case "(($ac_try" in
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3086 esac
3087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3088 $as_echo "$ac_try_echo"; } >&5
3089 (eval "$ac_link") 2>&5
3090 ac_status=$?
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3093 { { case "(($ac_try" in
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3096 esac
3097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3098 $as_echo "$ac_try_echo"; } >&5
3099 (eval "$ac_try") 2>&5
3100 ac_status=$?
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; }; }; then :
3103 ac_retval=0
3104 else
3105 $as_echo "$as_me: program exited with status $ac_status" >&5
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 ac_retval=$ac_status
3111 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 as_fn_set_status $ac_retval
3115 } # ac_fn_c_try_run
3117 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3118 # -------------------------------------------------------
3119 # Tests whether HEADER exists and can be compiled using the include files in
3120 # INCLUDES, setting the cache variable VAR accordingly.
3121 ac_fn_c_check_header_compile ()
3123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3125 $as_echo_n "checking for $2... " >&6; }
3126 if eval \${$3+:} false; then :
3127 $as_echo_n "(cached) " >&6
3128 else
3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3130 /* end confdefs.h. */
3132 #include <$2>
3133 _ACEOF
3134 if ac_fn_c_try_compile "$LINENO"; then :
3135 eval "$3=yes"
3136 else
3137 eval "$3=no"
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141 eval ac_res=\$$3
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3143 $as_echo "$ac_res" >&6; }
3144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3146 } # ac_fn_c_check_header_compile
3148 # ac_fn_objc_try_compile LINENO
3149 # -----------------------------
3150 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3151 ac_fn_objc_try_compile ()
3153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3154 rm -f conftest.$ac_objext
3155 if { { ac_try="$ac_compile"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_compile") 2>conftest.err
3163 ac_status=$?
3164 if test -s conftest.err; then
3165 grep -v '^ *+' conftest.err >conftest.er1
3166 cat conftest.er1 >&5
3167 mv -f conftest.er1 conftest.err
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; } && {
3171 test -z "$ac_objc_werror_flag" ||
3172 test ! -s conftest.err
3173 } && test -s conftest.$ac_objext; then :
3174 ac_retval=0
3175 else
3176 $as_echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3179 ac_retval=1
3181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3182 as_fn_set_status $ac_retval
3184 } # ac_fn_objc_try_compile
3186 # ac_fn_objc_try_cpp LINENO
3187 # -------------------------
3188 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3189 ac_fn_objc_try_cpp ()
3191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3192 if { { ac_try="$ac_cpp conftest.$ac_ext"
3193 case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3196 esac
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3200 ac_status=$?
3201 if test -s conftest.err; then
3202 grep -v '^ *+' conftest.err >conftest.er1
3203 cat conftest.er1 >&5
3204 mv -f conftest.er1 conftest.err
3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207 test $ac_status = 0; } > conftest.i && {
3208 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3209 test ! -s conftest.err
3210 }; then :
3211 ac_retval=0
3212 else
3213 $as_echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3216 ac_retval=1
3218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3219 as_fn_set_status $ac_retval
3221 } # ac_fn_objc_try_cpp
3223 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3224 # ----------------------------------------------------------
3225 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3226 # the include files in INCLUDES and setting the cache variable VAR
3227 # accordingly.
3228 ac_fn_objc_check_header_mongrel ()
3230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3231 if eval \${$3+:} false; then :
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3233 $as_echo_n "checking for $2... " >&6; }
3234 if eval \${$3+:} false; then :
3235 $as_echo_n "(cached) " >&6
3237 eval ac_res=\$$3
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3239 $as_echo "$ac_res" >&6; }
3240 else
3241 # Is the header compilable?
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3243 $as_echo_n "checking $2 usability... " >&6; }
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3247 #include <$2>
3248 _ACEOF
3249 if ac_fn_objc_try_compile "$LINENO"; then :
3250 ac_header_compiler=yes
3251 else
3252 ac_header_compiler=no
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3256 $as_echo "$ac_header_compiler" >&6; }
3258 # Is the header present?
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3260 $as_echo_n "checking $2 presence... " >&6; }
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3263 #include <$2>
3264 _ACEOF
3265 if ac_fn_objc_try_cpp "$LINENO"; then :
3266 ac_header_preproc=yes
3267 else
3268 ac_header_preproc=no
3270 rm -f conftest.err conftest.i conftest.$ac_ext
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3272 $as_echo "$ac_header_preproc" >&6; }
3274 # So? What about this header?
3275 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3276 yes:no: )
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3278 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3280 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3282 no:yes:* )
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3284 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3286 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3288 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3290 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3292 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3293 ( $as_echo "## ------------------------------------ ##
3294 ## Report this to wine-devel@winehq.org ##
3295 ## ------------------------------------ ##"
3296 ) | sed "s/^/$as_me: WARNING: /" >&2
3298 esac
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3300 $as_echo_n "checking for $2... " >&6; }
3301 if eval \${$3+:} false; then :
3302 $as_echo_n "(cached) " >&6
3303 else
3304 eval "$3=\$ac_header_compiler"
3306 eval ac_res=\$$3
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3308 $as_echo "$ac_res" >&6; }
3310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3312 } # ac_fn_objc_check_header_mongrel
3314 # ac_fn_c_check_func LINENO FUNC VAR
3315 # ----------------------------------
3316 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3317 ac_fn_c_check_func ()
3319 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3321 $as_echo_n "checking for $2... " >&6; }
3322 if eval \${$3+:} false; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3327 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3329 #define $2 innocuous_$2
3331 /* System header to define __stub macros and hopefully few prototypes,
3332 which can conflict with char $2 (); below.
3333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3334 <limits.h> exists even on freestanding compilers. */
3336 #ifdef __STDC__
3337 # include <limits.h>
3338 #else
3339 # include <assert.h>
3340 #endif
3342 #undef $2
3344 /* Override any GCC internal prototype to avoid an error.
3345 Use char because int might match the return type of a GCC
3346 builtin and then its argument prototype would still apply. */
3347 #ifdef __cplusplus
3348 extern "C"
3349 #endif
3350 char $2 ();
3351 /* The GNU C library defines this for functions which it implements
3352 to always fail with ENOSYS. Some functions are actually named
3353 something starting with __ and the normal name is an alias. */
3354 #if defined __stub_$2 || defined __stub___$2
3355 choke me
3356 #endif
3359 main ()
3361 return $2 ();
3363 return 0;
3365 _ACEOF
3366 if ac_fn_c_try_link "$LINENO"; then :
3367 eval "$3=yes"
3368 else
3369 eval "$3=no"
3371 rm -f core conftest.err conftest.$ac_objext \
3372 conftest$ac_exeext conftest.$ac_ext
3374 eval ac_res=\$$3
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3376 $as_echo "$ac_res" >&6; }
3377 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3379 } # ac_fn_c_check_func
3381 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3382 # ----------------------------------------------------
3383 # Tries to find if the field MEMBER exists in type AGGR, after including
3384 # INCLUDES, setting cache variable VAR accordingly.
3385 ac_fn_c_check_member ()
3387 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3389 $as_echo_n "checking for $2.$3... " >&6; }
3390 if eval \${$4+:} false; then :
3391 $as_echo_n "(cached) " >&6
3392 else
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3397 main ()
3399 static $2 ac_aggr;
3400 if (ac_aggr.$3)
3401 return 0;
3403 return 0;
3405 _ACEOF
3406 if ac_fn_c_try_compile "$LINENO"; then :
3407 eval "$4=yes"
3408 else
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3413 main ()
3415 static $2 ac_aggr;
3416 if (sizeof ac_aggr.$3)
3417 return 0;
3419 return 0;
3421 _ACEOF
3422 if ac_fn_c_try_compile "$LINENO"; then :
3423 eval "$4=yes"
3424 else
3425 eval "$4=no"
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 eval ac_res=\$$4
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3433 $as_echo "$ac_res" >&6; }
3434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3436 } # ac_fn_c_check_member
3438 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3439 # -------------------------------------------
3440 # Tests whether TYPE exists after having included INCLUDES, setting cache
3441 # variable VAR accordingly.
3442 ac_fn_c_check_type ()
3444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3446 $as_echo_n "checking for $2... " >&6; }
3447 if eval \${$3+:} false; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 eval "$3=no"
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3455 main ()
3457 if (sizeof ($2))
3458 return 0;
3460 return 0;
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3468 main ()
3470 if (sizeof (($2)))
3471 return 0;
3473 return 0;
3475 _ACEOF
3476 if ac_fn_c_try_compile "$LINENO"; then :
3478 else
3479 eval "$3=yes"
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 eval ac_res=\$$3
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3487 $as_echo "$ac_res" >&6; }
3488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3490 } # ac_fn_c_check_type
3491 cat >config.log <<_ACEOF
3492 This file contains any messages produced by compilers while
3493 running configure, to aid debugging if configure makes a mistake.
3495 It was created by Wine $as_me 5.17, which was
3496 generated by GNU Autoconf 2.69. Invocation command line was
3498 $ $0 $@
3500 _ACEOF
3501 exec 5>>config.log
3503 cat <<_ASUNAME
3504 ## --------- ##
3505 ## Platform. ##
3506 ## --------- ##
3508 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3509 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3510 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3511 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3512 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3514 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3515 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3517 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3518 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3519 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3520 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3521 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3522 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3523 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3525 _ASUNAME
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3530 IFS=$as_save_IFS
3531 test -z "$as_dir" && as_dir=.
3532 $as_echo "PATH: $as_dir"
3533 done
3534 IFS=$as_save_IFS
3536 } >&5
3538 cat >&5 <<_ACEOF
3541 ## ----------- ##
3542 ## Core tests. ##
3543 ## ----------- ##
3545 _ACEOF
3548 # Keep a trace of the command line.
3549 # Strip out --no-create and --no-recursion so they do not pile up.
3550 # Strip out --silent because we don't want to record it for future runs.
3551 # Also quote any args containing shell meta-characters.
3552 # Make two passes to allow for proper duplicate-argument suppression.
3553 ac_configure_args=
3554 ac_configure_args0=
3555 ac_configure_args1=
3556 ac_must_keep_next=false
3557 for ac_pass in 1 2
3559 for ac_arg
3561 case $ac_arg in
3562 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3564 | -silent | --silent | --silen | --sile | --sil)
3565 continue ;;
3566 *\'*)
3567 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3568 esac
3569 case $ac_pass in
3570 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3572 as_fn_append ac_configure_args1 " '$ac_arg'"
3573 if test $ac_must_keep_next = true; then
3574 ac_must_keep_next=false # Got value, back to normal.
3575 else
3576 case $ac_arg in
3577 *=* | --config-cache | -C | -disable-* | --disable-* \
3578 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3579 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3580 | -with-* | --with-* | -without-* | --without-* | --x)
3581 case "$ac_configure_args0 " in
3582 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3583 esac
3585 -* ) ac_must_keep_next=true ;;
3586 esac
3588 as_fn_append ac_configure_args " '$ac_arg'"
3590 esac
3591 done
3592 done
3593 { ac_configure_args0=; unset ac_configure_args0;}
3594 { ac_configure_args1=; unset ac_configure_args1;}
3596 # When interrupted or exit'd, cleanup temporary files, and complete
3597 # config.log. We remove comments because anyway the quotes in there
3598 # would cause problems or look ugly.
3599 # WARNING: Use '\'' to represent an apostrophe within the trap.
3600 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3601 trap 'exit_status=$?
3602 # Save into config.log some information that might help in debugging.
3604 echo
3606 $as_echo "## ---------------- ##
3607 ## Cache variables. ##
3608 ## ---------------- ##"
3609 echo
3610 # The following way of writing the cache mishandles newlines in values,
3612 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3613 eval ac_val=\$$ac_var
3614 case $ac_val in #(
3615 *${as_nl}*)
3616 case $ac_var in #(
3617 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3619 esac
3620 case $ac_var in #(
3621 _ | IFS | as_nl) ;; #(
3622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3623 *) { eval $ac_var=; unset $ac_var;} ;;
3624 esac ;;
3625 esac
3626 done
3627 (set) 2>&1 |
3628 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3629 *${as_nl}ac_space=\ *)
3630 sed -n \
3631 "s/'\''/'\''\\\\'\'''\''/g;
3632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3633 ;; #(
3635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3637 esac |
3638 sort
3640 echo
3642 $as_echo "## ----------------- ##
3643 ## Output variables. ##
3644 ## ----------------- ##"
3645 echo
3646 for ac_var in $ac_subst_vars
3648 eval ac_val=\$$ac_var
3649 case $ac_val in
3650 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3651 esac
3652 $as_echo "$ac_var='\''$ac_val'\''"
3653 done | sort
3654 echo
3656 if test -n "$ac_subst_files"; then
3657 $as_echo "## ------------------- ##
3658 ## File substitutions. ##
3659 ## ------------------- ##"
3660 echo
3661 for ac_var in $ac_subst_files
3663 eval ac_val=\$$ac_var
3664 case $ac_val in
3665 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3666 esac
3667 $as_echo "$ac_var='\''$ac_val'\''"
3668 done | sort
3669 echo
3672 if test -s confdefs.h; then
3673 $as_echo "## ----------- ##
3674 ## confdefs.h. ##
3675 ## ----------- ##"
3676 echo
3677 cat confdefs.h
3678 echo
3680 test "$ac_signal" != 0 &&
3681 $as_echo "$as_me: caught signal $ac_signal"
3682 $as_echo "$as_me: exit $exit_status"
3683 } >&5
3684 rm -f core *.core core.conftest.* &&
3685 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3686 exit $exit_status
3688 for ac_signal in 1 2 13 15; do
3689 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3690 done
3691 ac_signal=0
3693 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3694 rm -f -r conftest* confdefs.h
3696 $as_echo "/* confdefs.h */" > confdefs.h
3698 # Predefined preprocessor variables.
3700 cat >>confdefs.h <<_ACEOF
3701 #define PACKAGE_NAME "$PACKAGE_NAME"
3702 _ACEOF
3704 cat >>confdefs.h <<_ACEOF
3705 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3706 _ACEOF
3708 cat >>confdefs.h <<_ACEOF
3709 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3710 _ACEOF
3712 cat >>confdefs.h <<_ACEOF
3713 #define PACKAGE_STRING "$PACKAGE_STRING"
3714 _ACEOF
3716 cat >>confdefs.h <<_ACEOF
3717 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3718 _ACEOF
3720 cat >>confdefs.h <<_ACEOF
3721 #define PACKAGE_URL "$PACKAGE_URL"
3722 _ACEOF
3725 # Let the site file select an alternate cache file if it wants to.
3726 # Prefer an explicitly selected file to automatically selected ones.
3727 ac_site_file1=NONE
3728 ac_site_file2=NONE
3729 if test -n "$CONFIG_SITE"; then
3730 # We do not want a PATH search for config.site.
3731 case $CONFIG_SITE in #((
3732 -*) ac_site_file1=./$CONFIG_SITE;;
3733 */*) ac_site_file1=$CONFIG_SITE;;
3734 *) ac_site_file1=./$CONFIG_SITE;;
3735 esac
3736 elif test "x$prefix" != xNONE; then
3737 ac_site_file1=$prefix/share/config.site
3738 ac_site_file2=$prefix/etc/config.site
3739 else
3740 ac_site_file1=$ac_default_prefix/share/config.site
3741 ac_site_file2=$ac_default_prefix/etc/config.site
3743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3745 test "x$ac_site_file" = xNONE && continue
3746 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3749 sed 's/^/| /' "$ac_site_file" >&5
3750 . "$ac_site_file" \
3751 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3753 as_fn_error $? "failed to load site script $ac_site_file
3754 See \`config.log' for more details" "$LINENO" 5; }
3756 done
3758 if test -r "$cache_file"; then
3759 # Some versions of bash will fail to source /dev/null (special files
3760 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3761 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3763 $as_echo "$as_me: loading cache $cache_file" >&6;}
3764 case $cache_file in
3765 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3766 *) . "./$cache_file";;
3767 esac
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3771 $as_echo "$as_me: creating cache $cache_file" >&6;}
3772 >$cache_file
3775 # Check that the precious variables saved in the cache have kept the same
3776 # value.
3777 ac_cache_corrupted=false
3778 for ac_var in $ac_precious_vars; do
3779 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3780 eval ac_new_set=\$ac_env_${ac_var}_set
3781 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3782 eval ac_new_val=\$ac_env_${ac_var}_value
3783 case $ac_old_set,$ac_new_set in
3784 set,)
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3786 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3787 ac_cache_corrupted=: ;;
3788 ,set)
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3790 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3791 ac_cache_corrupted=: ;;
3792 ,);;
3794 if test "x$ac_old_val" != "x$ac_new_val"; then
3795 # differences in whitespace do not lead to failure.
3796 ac_old_val_w=`echo x $ac_old_val`
3797 ac_new_val_w=`echo x $ac_new_val`
3798 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3800 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3801 ac_cache_corrupted=:
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3804 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3805 eval $ac_var=\$ac_old_val
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3808 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3810 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3811 fi;;
3812 esac
3813 # Pass precious variables to config.status.
3814 if test "$ac_new_set" = set; then
3815 case $ac_new_val in
3816 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3817 *) ac_arg=$ac_var=$ac_new_val ;;
3818 esac
3819 case " $ac_configure_args " in
3820 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3821 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3822 esac
3824 done
3825 if $ac_cache_corrupted; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3829 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3830 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3832 ## -------------------- ##
3833 ## Main body of script. ##
3834 ## -------------------- ##
3836 ac_ext=c
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 ac_config_headers="$ac_config_headers include/config.h"
3846 ac_aux_dir=
3847 for ac_dir in tools "$srcdir"/tools; do
3848 if test -f "$ac_dir/install-sh"; then
3849 ac_aux_dir=$ac_dir
3850 ac_install_sh="$ac_aux_dir/install-sh -c"
3851 break
3852 elif test -f "$ac_dir/install.sh"; then
3853 ac_aux_dir=$ac_dir
3854 ac_install_sh="$ac_aux_dir/install.sh -c"
3855 break
3856 elif test -f "$ac_dir/shtool"; then
3857 ac_aux_dir=$ac_dir
3858 ac_install_sh="$ac_aux_dir/shtool install -c"
3859 break
3861 done
3862 if test -z "$ac_aux_dir"; then
3863 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3866 # These three variables are undocumented and unsupported,
3867 # and are intended to be withdrawn in a future Autoconf release.
3868 # They can cause serious problems if a builder's source tree is in a directory
3869 # whose full name contains unusual characters.
3870 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3871 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3872 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3876 libwine_version="1.0"
3880 # Check whether --enable-win16 was given.
3881 if test "${enable_win16+set}" = set; then :
3882 enableval=$enable_win16;
3885 # Check whether --enable-win64 was given.
3886 if test "${enable_win64+set}" = set; then :
3887 enableval=$enable_win64;
3890 # Check whether --enable-tests was given.
3891 if test "${enable_tests+set}" = set; then :
3892 enableval=$enable_tests;
3895 # Check whether --enable-maintainer-mode was given.
3896 if test "${enable_maintainer_mode+set}" = set; then :
3897 enableval=$enable_maintainer_mode;
3900 # Check whether --enable-werror was given.
3901 if test "${enable_werror+set}" = set; then :
3902 enableval=$enable_werror;
3907 # Check whether --with-alsa was given.
3908 if test "${with_alsa+set}" = set; then :
3909 withval=$with_alsa;
3913 # Check whether --with-capi was given.
3914 if test "${with_capi+set}" = set; then :
3915 withval=$with_capi;
3919 # Check whether --with-cms was given.
3920 if test "${with_cms+set}" = set; then :
3921 withval=$with_cms;
3925 # Check whether --with-coreaudio was given.
3926 if test "${with_coreaudio+set}" = set; then :
3927 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3931 # Check whether --with-cups was given.
3932 if test "${with_cups+set}" = set; then :
3933 withval=$with_cups;
3937 # Check whether --with-dbus was given.
3938 if test "${with_dbus+set}" = set; then :
3939 withval=$with_dbus;
3943 # Check whether --with-faudio was given.
3944 if test "${with_faudio+set}" = set; then :
3945 withval=$with_faudio;
3949 # Check whether --with-float-abi was given.
3950 if test "${with_float_abi+set}" = set; then :
3951 withval=$with_float_abi;
3955 # Check whether --with-fontconfig was given.
3956 if test "${with_fontconfig+set}" = set; then :
3957 withval=$with_fontconfig;
3961 # Check whether --with-freetype was given.
3962 if test "${with_freetype+set}" = set; then :
3963 withval=$with_freetype;
3967 # Check whether --with-gettext was given.
3968 if test "${with_gettext+set}" = set; then :
3969 withval=$with_gettext;
3973 # Check whether --with-gettextpo was given.
3974 if test "${with_gettextpo+set}" = set; then :
3975 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3979 # Check whether --with-gphoto was given.
3980 if test "${with_gphoto+set}" = set; then :
3981 withval=$with_gphoto;
3985 # Check whether --with-glu was given.
3986 if test "${with_glu+set}" = set; then :
3987 withval=$with_glu;
3991 # Check whether --with-gnutls was given.
3992 if test "${with_gnutls+set}" = set; then :
3993 withval=$with_gnutls;
3997 # Check whether --with-gsm was given.
3998 if test "${with_gsm+set}" = set; then :
3999 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4003 # Check whether --with-gssapi was given.
4004 if test "${with_gssapi+set}" = set; then :
4005 withval=$with_gssapi;
4009 # Check whether --with-gstreamer was given.
4010 if test "${with_gstreamer+set}" = set; then :
4011 withval=$with_gstreamer;
4015 # Check whether --with-hal was given.
4016 if test "${with_hal+set}" = set; then :
4017 withval=$with_hal;
4021 # Check whether --with-inotify was given.
4022 if test "${with_inotify+set}" = set; then :
4023 withval=$with_inotify;
4027 # Check whether --with-jpeg was given.
4028 if test "${with_jpeg+set}" = set; then :
4029 withval=$with_jpeg;
4033 # Check whether --with-krb5 was given.
4034 if test "${with_krb5+set}" = set; then :
4035 withval=$with_krb5;
4039 # Check whether --with-ldap was given.
4040 if test "${with_ldap+set}" = set; then :
4041 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4045 # Check whether --with-mingw was given.
4046 if test "${with_mingw+set}" = set; then :
4047 withval=$with_mingw;
4051 # Check whether --with-mpg123 was given.
4052 if test "${with_mpg123+set}" = set; then :
4053 withval=$with_mpg123;
4057 # Check whether --with-netapi was given.
4058 if test "${with_netapi+set}" = set; then :
4059 withval=$with_netapi;
4063 # Check whether --with-openal was given.
4064 if test "${with_openal+set}" = set; then :
4065 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4069 # Check whether --with-opencl was given.
4070 if test "${with_opencl+set}" = set; then :
4071 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4075 # Check whether --with-opengl was given.
4076 if test "${with_opengl+set}" = set; then :
4077 withval=$with_opengl;
4081 # Check whether --with-osmesa was given.
4082 if test "${with_osmesa+set}" = set; then :
4083 withval=$with_osmesa;
4087 # Check whether --with-oss was given.
4088 if test "${with_oss+set}" = set; then :
4089 withval=$with_oss;
4093 # Check whether --with-pcap was given.
4094 if test "${with_pcap+set}" = set; then :
4095 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4099 # Check whether --with-png was given.
4100 if test "${with_png+set}" = set; then :
4101 withval=$with_png;
4105 # Check whether --with-pthread was given.
4106 if test "${with_pthread+set}" = set; then :
4107 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4111 # Check whether --with-pulse was given.
4112 if test "${with_pulse+set}" = set; then :
4113 withval=$with_pulse;
4117 # Check whether --with-quicktime was given.
4118 if test "${with_quicktime+set}" = set; then :
4119 withval=$with_quicktime;
4123 # Check whether --with-sane was given.
4124 if test "${with_sane+set}" = set; then :
4125 withval=$with_sane;
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then :
4131 withval=$with_sdl;
4135 # Check whether --with-tiff was given.
4136 if test "${with_tiff+set}" = set; then :
4137 withval=$with_tiff;
4141 # Check whether --with-udev was given.
4142 if test "${with_udev+set}" = set; then :
4143 withval=$with_udev;
4147 # Check whether --with-unwind was given.
4148 if test "${with_unwind+set}" = set; then :
4149 withval=$with_unwind;
4153 # Check whether --with-usb was given.
4154 if test "${with_usb+set}" = set; then :
4155 withval=$with_usb;
4159 # Check whether --with-v4l2 was given.
4160 if test "${with_v4l2+set}" = set; then :
4161 withval=$with_v4l2;
4165 # Check whether --with-vkd3d was given.
4166 if test "${with_vkd3d+set}" = set; then :
4167 withval=$with_vkd3d;
4171 # Check whether --with-vulkan was given.
4172 if test "${with_vulkan+set}" = set; then :
4173 withval=$with_vulkan;
4177 # Check whether --with-xcomposite was given.
4178 if test "${with_xcomposite+set}" = set; then :
4179 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4183 # Check whether --with-xcursor was given.
4184 if test "${with_xcursor+set}" = set; then :
4185 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4189 # Check whether --with-xfixes was given.
4190 if test "${with_xfixes+set}" = set; then :
4191 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4195 # Check whether --with-xinerama was given.
4196 if test "${with_xinerama+set}" = set; then :
4197 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4201 # Check whether --with-xinput was given.
4202 if test "${with_xinput+set}" = set; then :
4203 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4207 # Check whether --with-xinput2 was given.
4208 if test "${with_xinput2+set}" = set; then :
4209 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4213 # Check whether --with-xml was given.
4214 if test "${with_xml+set}" = set; then :
4215 withval=$with_xml;
4219 # Check whether --with-xrandr was given.
4220 if test "${with_xrandr+set}" = set; then :
4221 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4225 # Check whether --with-xrender was given.
4226 if test "${with_xrender+set}" = set; then :
4227 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4231 # Check whether --with-xshape was given.
4232 if test "${with_xshape+set}" = set; then :
4233 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4237 # Check whether --with-xshm was given.
4238 if test "${with_xshm+set}" = set; then :
4239 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4243 # Check whether --with-xslt was given.
4244 if test "${with_xslt+set}" = set; then :
4245 withval=$with_xslt;
4249 # Check whether --with-xxf86vm was given.
4250 if test "${with_xxf86vm+set}" = set; then :
4251 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
4256 # Check whether --with-wine-tools was given.
4257 if test "${with_wine_tools+set}" = set; then :
4258 withval=$with_wine_tools;
4262 # Check whether --with-wine64 was given.
4263 if test "${with_wine64+set}" = set; then :
4264 withval=$with_wine64;
4268 # Make sure we can run config.sub.
4269 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4270 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4273 $as_echo_n "checking build system type... " >&6; }
4274 if ${ac_cv_build+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 ac_build_alias=$build_alias
4278 test "x$ac_build_alias" = x &&
4279 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4280 test "x$ac_build_alias" = x &&
4281 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4282 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4283 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4287 $as_echo "$ac_cv_build" >&6; }
4288 case $ac_cv_build in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4291 esac
4292 build=$ac_cv_build
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_build
4295 shift
4296 build_cpu=$1
4297 build_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 build_os=$*
4302 IFS=$ac_save_IFS
4303 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4307 $as_echo_n "checking host system type... " >&6; }
4308 if ${ac_cv_host+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 if test "x$host_alias" = x; then
4312 ac_cv_host=$ac_cv_build
4313 else
4314 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4320 $as_echo "$ac_cv_host" >&6; }
4321 case $ac_cv_host in
4322 *-*-*) ;;
4323 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4324 esac
4325 host=$ac_cv_host
4326 ac_save_IFS=$IFS; IFS='-'
4327 set x $ac_cv_host
4328 shift
4329 host_cpu=$1
4330 host_vendor=$2
4331 shift; shift
4332 # Remember, the first character of IFS is used to create $*,
4333 # except with old shells:
4334 host_os=$*
4335 IFS=$ac_save_IFS
4336 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4343 set x ${MAKE-make}
4344 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4345 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 cat >conftest.make <<\_ACEOF
4349 SHELL = /bin/sh
4350 all:
4351 @echo '@@@%%%=$(MAKE)=@@@%%%'
4352 _ACEOF
4353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4355 *@@@%%%=?*=@@@%%%*)
4356 eval ac_cv_prog_make_${ac_make}_set=yes;;
4358 eval ac_cv_prog_make_${ac_make}_set=no;;
4359 esac
4360 rm -f conftest.make
4362 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4365 SET_MAKE=
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 SET_MAKE="MAKE=${MAKE-make}"
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 if test -n "$ac_tool_prefix"; then
4378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4379 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_CC+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 if test -n "$CC"; then
4386 ac_cv_prog_CC="$CC" # Let the user override the test.
4387 else
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4391 IFS=$as_save_IFS
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4405 CC=$ac_cv_prog_CC
4406 if test -n "$CC"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4408 $as_echo "$CC" >&6; }
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4416 if test -z "$ac_cv_prog_CC"; then
4417 ac_ct_CC=$CC
4418 # Extract the first word of "gcc", so it can be a program name with args.
4419 set dummy gcc; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -n "$ac_ct_CC"; then
4426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4427 else
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_ac_ct_CC="gcc"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4439 done
4440 done
4441 IFS=$as_save_IFS
4445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4446 if test -n "$ac_ct_CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4448 $as_echo "$ac_ct_CC" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4454 if test "x$ac_ct_CC" = x; then
4455 CC=""
4456 else
4457 case $cross_compiling:$ac_tool_warned in
4458 yes:)
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4462 esac
4463 CC=$ac_ct_CC
4465 else
4466 CC="$ac_cv_prog_CC"
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4472 set dummy ${ac_tool_prefix}cc; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$CC"; then
4479 ac_cv_prog_CC="$CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_CC="${ac_tool_prefix}cc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 CC=$ac_cv_prog_CC
4499 if test -n "$CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4501 $as_echo "$CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4510 if test -z "$CC"; then
4511 # Extract the first word of "cc", so it can be a program name with args.
4512 set dummy cc; ac_word=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_CC+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 if test -n "$CC"; then
4519 ac_cv_prog_CC="$CC" # Let the user override the test.
4520 else
4521 ac_prog_rejected=no
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4525 IFS=$as_save_IFS
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4530 ac_prog_rejected=yes
4531 continue
4533 ac_cv_prog_CC="cc"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 break 2
4537 done
4538 done
4539 IFS=$as_save_IFS
4541 if test $ac_prog_rejected = yes; then
4542 # We found a bogon in the path, so make sure we never use it.
4543 set dummy $ac_cv_prog_CC
4544 shift
4545 if test $# != 0; then
4546 # We chose a different compiler from the bogus one.
4547 # However, it has the same basename, so the bogon will be chosen
4548 # first if we set CC to just the basename; use the full file name.
4549 shift
4550 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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; }
4566 if test -z "$CC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in cl.exe
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_CC+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -n "$CC"; then
4578 ac_cv_prog_CC="$CC" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4597 CC=$ac_cv_prog_CC
4598 if test -n "$CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4600 $as_echo "$CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CC" && break
4608 done
4610 if test -z "$CC"; then
4611 ac_ct_CC=$CC
4612 for ac_prog in cl.exe
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$ac_ct_CC"; then
4622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_ac_ct_CC="$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4642 if test -n "$ac_ct_CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4644 $as_echo "$ac_ct_CC" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CC" && break
4652 done
4654 if test "x$ac_ct_CC" = x; then
4655 CC=""
4656 else
4657 case $cross_compiling:$ac_tool_warned in
4658 yes:)
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4662 esac
4663 CC=$ac_ct_CC
4670 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4672 as_fn_error $? "no acceptable C compiler found in \$PATH
4673 See \`config.log' for more details" "$LINENO" 5; }
4675 # Provide some information about the compiler.
4676 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4677 set X $ac_compile
4678 ac_compiler=$2
4679 for ac_option in --version -v -V -qversion; do
4680 { { ac_try="$ac_compiler $ac_option >&5"
4681 case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4684 esac
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4688 ac_status=$?
4689 if test -s conftest.err; then
4690 sed '10a\
4691 ... rest of stderr output deleted ...
4692 10q' conftest.err >conftest.er1
4693 cat conftest.er1 >&5
4695 rm -f conftest.er1 conftest.err
4696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4697 test $ac_status = 0; }
4698 done
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4704 main ()
4708 return 0;
4710 _ACEOF
4711 ac_clean_files_save=$ac_clean_files
4712 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4713 # Try to create an executable without -o first, disregard a.out.
4714 # It will help us diagnose broken compilers, and finding out an intuition
4715 # of exeext.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4717 $as_echo_n "checking whether the C compiler works... " >&6; }
4718 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4720 # The possible output files:
4721 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4723 ac_rmfiles=
4724 for ac_file in $ac_files
4726 case $ac_file in
4727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4729 esac
4730 done
4731 rm -f $ac_rmfiles
4733 if { { ac_try="$ac_link_default"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_link_default") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; then :
4744 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4745 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4746 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4747 # so that the user can short-circuit this test for compilers unknown to
4748 # Autoconf.
4749 for ac_file in $ac_files ''
4751 test -f "$ac_file" || continue
4752 case $ac_file in
4753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4755 [ab].out )
4756 # We found the default executable, but exeext='' is most
4757 # certainly right.
4758 break;;
4759 *.* )
4760 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4761 then :; else
4762 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4764 # We set ac_cv_exeext here because the later test for it is not
4765 # safe: cross compilers may not add the suffix if given an `-o'
4766 # argument, so we may need to know it at that point already.
4767 # Even if this section looks crufty: it has the advantage of
4768 # actually working.
4769 break;;
4771 break;;
4772 esac
4773 done
4774 test "$ac_cv_exeext" = no && ac_cv_exeext=
4776 else
4777 ac_file=''
4779 if test -z "$ac_file"; then :
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 $as_echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4787 as_fn_error 77 "C compiler cannot create executables
4788 See \`config.log' for more details" "$LINENO" 5; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4794 $as_echo_n "checking for C compiler default output file name... " >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4796 $as_echo "$ac_file" >&6; }
4797 ac_exeext=$ac_cv_exeext
4799 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4800 ac_clean_files=$ac_clean_files_save
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4802 $as_echo_n "checking for suffix of executables... " >&6; }
4803 if { { ac_try="$ac_link"
4804 case "(($ac_try" in
4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806 *) ac_try_echo=$ac_try;;
4807 esac
4808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4809 $as_echo "$ac_try_echo"; } >&5
4810 (eval "$ac_link") 2>&5
4811 ac_status=$?
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }; then :
4814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4816 # work properly (i.e., refer to `conftest.exe'), while it won't with
4817 # `rm'.
4818 for ac_file in conftest.exe conftest conftest.*; do
4819 test -f "$ac_file" || continue
4820 case $ac_file in
4821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4823 break;;
4824 * ) break;;
4825 esac
4826 done
4827 else
4828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4830 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4831 See \`config.log' for more details" "$LINENO" 5; }
4833 rm -f conftest conftest$ac_cv_exeext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4835 $as_echo "$ac_cv_exeext" >&6; }
4837 rm -f conftest.$ac_ext
4838 EXEEXT=$ac_cv_exeext
4839 ac_exeext=$EXEEXT
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4842 #include <stdio.h>
4844 main ()
4846 FILE *f = fopen ("conftest.out", "w");
4847 return ferror (f) || fclose (f) != 0;
4850 return 0;
4852 _ACEOF
4853 ac_clean_files="$ac_clean_files conftest.out"
4854 # Check that the compiler produces executables we can run. If not, either
4855 # the compiler is broken, or we cross compile.
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4857 $as_echo_n "checking whether we are cross compiling... " >&6; }
4858 if test "$cross_compiling" != yes; then
4859 { { ac_try="$ac_link"
4860 case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863 esac
4864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4865 $as_echo "$ac_try_echo"; } >&5
4866 (eval "$ac_link") 2>&5
4867 ac_status=$?
4868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4869 test $ac_status = 0; }
4870 if { ac_try='./conftest$ac_cv_exeext'
4871 { { case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4876 $as_echo "$ac_try_echo"; } >&5
4877 (eval "$ac_try") 2>&5
4878 ac_status=$?
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }; }; then
4881 cross_compiling=no
4882 else
4883 if test "$cross_compiling" = maybe; then
4884 cross_compiling=yes
4885 else
4886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4888 as_fn_error $? "cannot run C compiled programs.
4889 If you meant to cross compile, use \`--host'.
4890 See \`config.log' for more details" "$LINENO" 5; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4895 $as_echo "$cross_compiling" >&6; }
4897 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4898 ac_clean_files=$ac_clean_files_save
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4900 $as_echo_n "checking for suffix of object files... " >&6; }
4901 if ${ac_cv_objext+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 rm -f conftest.o conftest.obj
4916 if { { ac_try="$ac_compile"
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_compile") 2>&5
4924 ac_status=$?
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }; then :
4927 for ac_file in conftest.o conftest.obj conftest.*; do
4928 test -f "$ac_file" || continue;
4929 case $ac_file in
4930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4932 break;;
4933 esac
4934 done
4935 else
4936 $as_echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4941 as_fn_error $? "cannot compute suffix of object files: cannot compile
4942 See \`config.log' for more details" "$LINENO" 5; }
4944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4947 $as_echo "$ac_cv_objext" >&6; }
4948 OBJEXT=$ac_cv_objext
4949 ac_objext=$OBJEXT
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4952 if ${ac_cv_c_compiler_gnu+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4961 #ifndef __GNUC__
4962 choke me
4963 #endif
4966 return 0;
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 ac_compiler_gnu=yes
4971 else
4972 ac_compiler_gnu=no
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4980 if test $ac_compiler_gnu = yes; then
4981 GCC=yes
4982 else
4983 GCC=
4985 ac_test_CFLAGS=${CFLAGS+set}
4986 ac_save_CFLAGS=$CFLAGS
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4989 if ${ac_cv_prog_cc_g+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 ac_save_c_werror_flag=$ac_c_werror_flag
4993 ac_c_werror_flag=yes
4994 ac_cv_prog_cc_g=no
4995 CFLAGS="-g"
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_compile "$LINENO"; then :
5008 ac_cv_prog_cc_g=yes
5009 else
5010 CFLAGS=""
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5015 main ()
5019 return 0;
5021 _ACEOF
5022 if ac_fn_c_try_compile "$LINENO"; then :
5024 else
5025 ac_c_werror_flag=$ac_save_c_werror_flag
5026 CFLAGS="-g"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_compile "$LINENO"; then :
5039 ac_cv_prog_cc_g=yes
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 ac_c_werror_flag=$ac_save_c_werror_flag
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5049 $as_echo "$ac_cv_prog_cc_g" >&6; }
5050 if test "$ac_test_CFLAGS" = set; then
5051 CFLAGS=$ac_save_CFLAGS
5052 elif test $ac_cv_prog_cc_g = yes; then
5053 if test "$GCC" = yes; then
5054 CFLAGS="-g -O2"
5055 else
5056 CFLAGS="-g"
5058 else
5059 if test "$GCC" = yes; then
5060 CFLAGS="-O2"
5061 else
5062 CFLAGS=
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5067 if ${ac_cv_prog_cc_c89+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 ac_cv_prog_cc_c89=no
5071 ac_save_CC=$CC
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5074 #include <stdarg.h>
5075 #include <stdio.h>
5076 struct stat;
5077 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5078 struct buf { int x; };
5079 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5080 static char *e (p, i)
5081 char **p;
5082 int i;
5084 return p[i];
5086 static char *f (char * (*g) (char **, int), char **p, ...)
5088 char *s;
5089 va_list v;
5090 va_start (v,p);
5091 s = g (p, va_arg (v,int));
5092 va_end (v);
5093 return s;
5096 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5097 function prototypes and stuff, but not '\xHH' hex character constants.
5098 These don't provoke an error unfortunately, instead are silently treated
5099 as 'x'. The following induces an error, until -std is added to get
5100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5101 array size at least. It's necessary to write '\x00'==0 to get something
5102 that's true only with -std. */
5103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5105 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5106 inside strings and character constants. */
5107 #define FOO(x) 'x'
5108 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5110 int test (int i, double x);
5111 struct s1 {int (*f) (int a);};
5112 struct s2 {int (*f) (double a);};
5113 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5114 int argc;
5115 char **argv;
5117 main ()
5119 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5121 return 0;
5123 _ACEOF
5124 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5127 CC="$ac_save_CC $ac_arg"
5128 if ac_fn_c_try_compile "$LINENO"; then :
5129 ac_cv_prog_cc_c89=$ac_arg
5131 rm -f core conftest.err conftest.$ac_objext
5132 test "x$ac_cv_prog_cc_c89" != "xno" && break
5133 done
5134 rm -f conftest.$ac_ext
5135 CC=$ac_save_CC
5138 # AC_CACHE_VAL
5139 case "x$ac_cv_prog_cc_c89" in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5142 $as_echo "none needed" >&6; } ;;
5143 xno)
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5145 $as_echo "unsupported" >&6; } ;;
5147 CC="$CC $ac_cv_prog_cc_c89"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5149 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5150 esac
5151 if test "x$ac_cv_prog_cc_c89" != xno; then :
5155 ac_ext=c
5156 ac_cpp='$CPP $CPPFLAGS'
5157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5161 ac_ext=cpp
5162 ac_cpp='$CXXCPP $CPPFLAGS'
5163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5166 if test -z "$CXX"; then
5167 if test -n "$CCC"; then
5168 CXX=$CCC
5169 else
5170 if test -n "$ac_tool_prefix"; then
5171 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_CXX+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$CXX"; then
5181 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 CXX=$ac_cv_prog_CXX
5201 if test -n "$CXX"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5203 $as_echo "$CXX" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$CXX" && break
5211 done
5213 if test -z "$CXX"; then
5214 ac_ct_CXX=$CXX
5215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$ac_ct_CXX"; then
5225 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_CXX="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5245 if test -n "$ac_ct_CXX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5247 $as_echo "$ac_ct_CXX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$ac_ct_CXX" && break
5255 done
5257 if test "x$ac_ct_CXX" = x; then
5258 CXX="g++"
5259 else
5260 case $cross_compiling:$ac_tool_warned in
5261 yes:)
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned=yes ;;
5265 esac
5266 CXX=$ac_ct_CXX
5272 # Provide some information about the compiler.
5273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5274 set X $ac_compile
5275 ac_compiler=$2
5276 for ac_option in --version -v -V -qversion; do
5277 { { ac_try="$ac_compiler $ac_option >&5"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 $as_echo "$ac_try_echo"; } >&5
5284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5285 ac_status=$?
5286 if test -s conftest.err; then
5287 sed '10a\
5288 ... rest of stderr output deleted ...
5289 10q' conftest.err >conftest.er1
5290 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5295 done
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5298 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5299 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5308 #ifndef __GNUC__
5309 choke me
5310 #endif
5313 return 0;
5315 _ACEOF
5316 if ac_fn_cxx_try_compile "$LINENO"; then :
5317 ac_compiler_gnu=yes
5318 else
5319 ac_compiler_gnu=no
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5326 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5327 if test $ac_compiler_gnu = yes; then
5328 GXX=yes
5329 else
5330 GXX=
5332 ac_test_CXXFLAGS=${CXXFLAGS+set}
5333 ac_save_CXXFLAGS=$CXXFLAGS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5335 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5336 if ${ac_cv_prog_cxx_g+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5340 ac_cxx_werror_flag=yes
5341 ac_cv_prog_cxx_g=no
5342 CXXFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5347 main ()
5351 return 0;
5353 _ACEOF
5354 if ac_fn_cxx_try_compile "$LINENO"; then :
5355 ac_cv_prog_cxx_g=yes
5356 else
5357 CXXFLAGS=""
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main ()
5366 return 0;
5368 _ACEOF
5369 if ac_fn_cxx_try_compile "$LINENO"; then :
5371 else
5372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5373 CXXFLAGS="-g"
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main ()
5382 return 0;
5384 _ACEOF
5385 if ac_fn_cxx_try_compile "$LINENO"; then :
5386 ac_cv_prog_cxx_g=yes
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5396 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5397 if test "$ac_test_CXXFLAGS" = set; then
5398 CXXFLAGS=$ac_save_CXXFLAGS
5399 elif test $ac_cv_prog_cxx_g = yes; then
5400 if test "$GXX" = yes; then
5401 CXXFLAGS="-g -O2"
5402 else
5403 CXXFLAGS="-g"
5405 else
5406 if test "$GXX" = yes; then
5407 CXXFLAGS="-O2"
5408 else
5409 CXXFLAGS=
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_CPPBIN+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$CPPBIN"; then
5427 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 CPPBIN=$ac_cv_prog_CPPBIN
5447 if test -n "$CPPBIN"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5449 $as_echo "$CPPBIN" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_CPPBIN"; then
5458 ac_ct_CPPBIN=$CPPBIN
5459 # Extract the first word of "cpp", so it can be a program name with args.
5460 set dummy cpp; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_CPPBIN"; then
5467 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_CPPBIN="cpp"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5487 if test -n "$ac_ct_CPPBIN"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5489 $as_echo "$ac_ct_CPPBIN" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_CPPBIN" = x; then
5496 CPPBIN="cpp"
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 CPPBIN=$ac_ct_CPPBIN
5506 else
5507 CPPBIN="$ac_cv_prog_CPPBIN"
5511 cat >>confdefs.h <<_ACEOF
5512 #define EXEEXT "$ac_exeext"
5513 _ACEOF
5515 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5517 set dummy ${ac_tool_prefix}ld; 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_LD+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$LD"; then
5524 ac_cv_prog_LD="$LD" # 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_LD="${ac_tool_prefix}ld"
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 LD=$ac_cv_prog_LD
5544 if test -n "$LD"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5546 $as_echo "$LD" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if test -z "$ac_cv_prog_LD"; then
5555 ac_ct_LD=$LD
5556 # Extract the first word of "ld", so it can be a program name with args.
5557 set dummy ld; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -n "$ac_ct_LD"; then
5564 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_LD="ld"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5583 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5584 if test -n "$ac_ct_LD"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5586 $as_echo "$ac_ct_LD" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5592 if test "x$ac_ct_LD" = x; then
5593 LD=""
5594 else
5595 case $cross_compiling:$ac_tool_warned in
5596 yes:)
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5600 esac
5601 LD=$ac_ct_LD
5603 else
5604 LD="$ac_cv_prog_LD"
5608 case $host in
5609 *-darwin*)
5610 with_fontconfig=${with_fontconfig:-no}
5612 *-mingw32*|*-cygwin*)
5613 enable_win16=${enable_win16:-no}
5614 with_mingw=${with_mingw:-no}
5615 CFLAGS="$CFLAGS -D_WIN32"
5617 esac
5619 case $host in
5620 x86_64*|amd64*)
5621 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5622 then
5623 CC="$CC -m32"
5624 CXX="$CXX -m32"
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5627 $as_echo_n "checking whether $CC works... " >&6; }
5628 if ${wine_cv_cc_m32+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_link "$LINENO"; then :
5643 wine_cv_cc_m32=yes
5644 else
5645 wine_cv_cc_m32=no
5647 rm -f core conftest.err conftest.$ac_objext \
5648 conftest$ac_exeext conftest.$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5651 $as_echo "$wine_cv_cc_m32" >&6; }
5652 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
5653 host_cpu="i386"
5654 notice_platform="32-bit "
5655 TARGETFLAGS="-m32"
5657 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5658 export PKG_CONFIG_PATH
5659 enable_win16=${enable_win16:-yes}
5660 with_unwind=${with_unwind:-no}
5661 else
5662 if test "x${GCC}" = "xyes"
5663 then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5665 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5666 if ${wine_cv_builtin_ms_va_list+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5671 #include <stdarg.h>
5673 main ()
5675 void func(__builtin_ms_va_list *args);
5677 return 0;
5679 _ACEOF
5680 if ac_fn_c_try_compile "$LINENO"; then :
5681 wine_cv_builtin_ms_va_list=yes
5682 else
5683 wine_cv_builtin_ms_va_list=no
5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5688 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5689 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
5691 CC="$CC -m64"
5692 CXX="$CXX -m64"
5693 host_cpu="x86_64"
5694 notice_platform="64-bit "
5695 TARGETFLAGS="-m64"
5699 arm*)
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5701 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5702 if ${wine_cv_thumb+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5707 int ac_test(int i) { return i; }
5709 main ()
5711 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5713 return 0;
5715 _ACEOF
5716 if ac_fn_c_try_link "$LINENO"; then :
5717 wine_cv_thumb=yes
5718 else
5719 wine_cv_thumb=no
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5725 $as_echo "$wine_cv_thumb" >&6; }
5726 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5727 case $with_float_abi in
5728 soft|softfp|hard)
5729 float_abi=$with_float_abi ;;
5731 case $host_os in
5732 *eabihf)
5733 float_abi=hard ;;
5735 float_abi=softfp
5736 saved_CFLAGS=$CFLAGS
5737 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5739 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5740 if ${wine_cv_float_abi+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main ()
5749 asm("vmrs r2,fpscr");
5751 return 0;
5753 _ACEOF
5754 if ac_fn_c_try_link "$LINENO"; then :
5755 wine_cv_float_abi=yes
5756 else
5757 wine_cv_float_abi=no
5759 rm -f core conftest.err conftest.$ac_objext \
5760 conftest$ac_exeext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5763 $as_echo "$wine_cv_float_abi" >&6; }
5764 if test $wine_cv_float_abi = no
5765 then
5766 float_abi=soft
5767 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5769 CFLAGS=$saved_CFLAGS
5770 esac
5772 esac
5773 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5774 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5777 aarch64*)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5779 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5780 if ${wine_cv_builtin_ms_va_list+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5785 #include <stdarg.h>
5787 main ()
5789 void func(__builtin_ms_va_list *args);
5791 return 0;
5793 _ACEOF
5794 if ac_fn_c_try_compile "$LINENO"; then :
5795 wine_cv_builtin_ms_va_list=yes
5796 else
5797 wine_cv_builtin_ms_va_list=no
5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5802 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5803 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5805 i[3456789]86*)
5806 enable_win16=${enable_win16:-yes}
5807 with_unwind=${with_unwind:-no}
5809 esac
5811 enable_win16=${enable_win16:-no}
5812 enable_win64=${enable_win64:-no}
5814 enable_winetest=${enable_winetest:-$enable_tests}
5816 if test "x$enable_win64" = "xyes"
5817 then
5818 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5819 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5820 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5824 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5825 if ${wine_cv_toolsdir+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 wine_cv_toolsdir="$with_wine_tools"
5829 if test -z "$with_wine_tools"; then
5830 if test "$cross_compiling" = "yes"; then
5831 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5832 elif test -n "$with_wine64"; then
5833 wine_cv_toolsdir="$with_wine64"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5838 $as_echo "$wine_cv_toolsdir" >&6; }
5839 if test -z "$wine_cv_toolsdir"; then
5840 wine_makedep=tools/makedep
5841 TOOLSDIR="."
5843 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5844 wine_makedep=$wine_cv_toolsdir/tools/makedep
5845 TOOLSDIR=$wine_cv_toolsdir
5847 enable_tools=${enable_tools:-no}
5848 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5849 else
5850 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5852 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5853 then
5854 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5858 for ac_prog in flex
5860 # Extract the first word of "$ac_prog", so it can be a program name with args.
5861 set dummy $ac_prog; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_FLEX+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 if test -n "$FLEX"; then
5868 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_FLEX="$ac_prog"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 break 2
5881 done
5882 done
5883 IFS=$as_save_IFS
5887 FLEX=$ac_cv_prog_FLEX
5888 if test -n "$FLEX"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5890 $as_echo "$FLEX" >&6; }
5891 else
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5897 test -n "$FLEX" && break
5898 done
5899 test -n "$FLEX" || FLEX="none"
5901 if test "$FLEX" = "none"
5902 then
5903 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5906 $as_echo_n "checking whether flex is recent enough... " >&6; }
5907 if ${wine_cv_recent_flex+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 cat >conftest.l <<EOF
5911 %top{
5912 #include "prediluvian.h"
5916 if $FLEX -t conftest.l >/dev/null 2>&5
5917 then
5918 wine_cv_recent_flex=yes
5919 else
5920 wine_cv_recent_flex=no
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5924 $as_echo "$wine_cv_recent_flex" >&6; }
5925 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
5927 for ac_prog in bison
5929 # Extract the first word of "$ac_prog", so it can be a program name with args.
5930 set dummy $ac_prog; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_BISON+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$BISON"; then
5937 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_BISON="$ac_prog"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5950 done
5951 done
5952 IFS=$as_save_IFS
5956 BISON=$ac_cv_prog_BISON
5957 if test -n "$BISON"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5959 $as_echo "$BISON" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5966 test -n "$BISON" && break
5967 done
5968 test -n "$BISON" || BISON="none"
5970 if test "$BISON" = "none"
5971 then
5972 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5975 $as_echo_n "checking whether bison is recent enough... " >&6; }
5976 if ${wine_cv_recent_bison+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 cat >conftest.y <<EOF
5980 %define parse.error verbose
5982 empty: ;
5984 if $BISON conftest.y >/dev/null 2>&5
5985 then
5986 wine_cv_recent_bison=yes
5987 else
5988 wine_cv_recent_bison=no
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5992 $as_echo "$wine_cv_recent_bison" >&6; }
5993 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
5995 if test -n "$ac_tool_prefix"; then
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$AR"; then
6006 ac_cv_prog_AR="$AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 AR=$ac_cv_prog_AR
6026 if test -n "$AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6028 $as_echo "$AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$AR" && break
6036 done
6038 if test -z "$AR"; then
6039 ac_ct_AR=$AR
6040 for ac_prog in ar gar
6042 # Extract the first word of "$ac_prog", so it can be a program name with args.
6043 set dummy $ac_prog; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test -n "$ac_ct_AR"; then
6050 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_ac_ct_AR="$ac_prog"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 break 2
6063 done
6064 done
6065 IFS=$as_save_IFS
6069 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6070 if test -n "$ac_ct_AR"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6072 $as_echo "$ac_ct_AR" >&6; }
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6079 test -n "$ac_ct_AR" && break
6080 done
6082 if test "x$ac_ct_AR" = x; then
6083 AR="ar"
6084 else
6085 case $cross_compiling:$ac_tool_warned in
6086 yes:)
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned=yes ;;
6090 esac
6091 AR=$ac_ct_AR
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6097 set dummy ${ac_tool_prefix}strip; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_STRIP+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$STRIP"; then
6104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 STRIP=$ac_cv_prog_STRIP
6124 if test -n "$STRIP"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6126 $as_echo "$STRIP" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 if test -z "$ac_cv_prog_STRIP"; then
6135 ac_ct_STRIP=$STRIP
6136 # Extract the first word of "strip", so it can be a program name with args.
6137 set dummy strip; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6141 $as_echo_n "(cached) " >&6
6142 else
6143 if test -n "$ac_ct_STRIP"; then
6144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_ac_ct_STRIP="strip"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6163 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6164 if test -n "$ac_ct_STRIP"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6166 $as_echo "$ac_ct_STRIP" >&6; }
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6172 if test "x$ac_ct_STRIP" = x; then
6173 STRIP="strip"
6174 else
6175 case $cross_compiling:$ac_tool_warned in
6176 yes:)
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6179 ac_tool_warned=yes ;;
6180 esac
6181 STRIP=$ac_ct_STRIP
6183 else
6184 STRIP="$ac_cv_prog_STRIP"
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_RANLIB+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if test -n "$RANLIB"; then
6196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6201 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 break 2
6209 done
6210 done
6211 IFS=$as_save_IFS
6215 RANLIB=$ac_cv_prog_RANLIB
6216 if test -n "$RANLIB"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6218 $as_echo "$RANLIB" >&6; }
6219 else
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6226 if test -z "$ac_cv_prog_RANLIB"; then
6227 ac_ct_RANLIB=$RANLIB
6228 # Extract the first word of "ranlib", so it can be a program name with args.
6229 set dummy ranlib; ac_word=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 if test -n "$ac_ct_RANLIB"; then
6236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6237 else
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 for as_dir in $PATH
6241 IFS=$as_save_IFS
6242 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_RANLIB="ranlib"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 break 2
6249 done
6250 done
6251 IFS=$as_save_IFS
6255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6256 if test -n "$ac_ct_RANLIB"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6258 $as_echo "$ac_ct_RANLIB" >&6; }
6259 else
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6264 if test "x$ac_ct_RANLIB" = x; then
6265 RANLIB=":"
6266 else
6267 case $cross_compiling:$ac_tool_warned in
6268 yes:)
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned=yes ;;
6272 esac
6273 RANLIB=$ac_ct_RANLIB
6275 else
6276 RANLIB="$ac_cv_prog_RANLIB"
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6280 $as_echo_n "checking whether ln -s works... " >&6; }
6281 LN_S=$as_ln_s
6282 if test "$LN_S" = "ln -s"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6284 $as_echo "yes" >&6; }
6285 else
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6287 $as_echo "no, using $LN_S" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6291 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6292 if ${ac_cv_path_GREP+:} false; then :
6293 $as_echo_n "(cached) " >&6
6294 else
6295 if test -z "$GREP"; then
6296 ac_path_GREP_found=false
6297 # Loop through the user's path and test for each of PROGNAME-LIST
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6301 IFS=$as_save_IFS
6302 test -z "$as_dir" && as_dir=.
6303 for ac_prog in grep ggrep; do
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6306 as_fn_executable_p "$ac_path_GREP" || continue
6307 # Check for GNU ac_path_GREP and select it if it is found.
6308 # Check for GNU $ac_path_GREP
6309 case `"$ac_path_GREP" --version 2>&1` in
6310 *GNU*)
6311 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6313 ac_count=0
6314 $as_echo_n 0123456789 >"conftest.in"
6315 while :
6317 cat "conftest.in" "conftest.in" >"conftest.tmp"
6318 mv "conftest.tmp" "conftest.in"
6319 cp "conftest.in" "conftest.nl"
6320 $as_echo 'GREP' >> "conftest.nl"
6321 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6322 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6323 as_fn_arith $ac_count + 1 && ac_count=$as_val
6324 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6325 # Best one so far, save it but keep looking for a better one
6326 ac_cv_path_GREP="$ac_path_GREP"
6327 ac_path_GREP_max=$ac_count
6329 # 10*(2^10) chars as input seems more than enough
6330 test $ac_count -gt 10 && break
6331 done
6332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6333 esac
6335 $ac_path_GREP_found && break 3
6336 done
6337 done
6338 done
6339 IFS=$as_save_IFS
6340 if test -z "$ac_cv_path_GREP"; then
6341 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6343 else
6344 ac_cv_path_GREP=$GREP
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6349 $as_echo "$ac_cv_path_GREP" >&6; }
6350 GREP="$ac_cv_path_GREP"
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6354 $as_echo_n "checking for egrep... " >&6; }
6355 if ${ac_cv_path_EGREP+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6359 then ac_cv_path_EGREP="$GREP -E"
6360 else
6361 if test -z "$EGREP"; then
6362 ac_path_EGREP_found=false
6363 # Loop through the user's path and test for each of PROGNAME-LIST
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6367 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=.
6369 for ac_prog in egrep; do
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6372 as_fn_executable_p "$ac_path_EGREP" || continue
6373 # Check for GNU ac_path_EGREP and select it if it is found.
6374 # Check for GNU $ac_path_EGREP
6375 case `"$ac_path_EGREP" --version 2>&1` in
6376 *GNU*)
6377 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6379 ac_count=0
6380 $as_echo_n 0123456789 >"conftest.in"
6381 while :
6383 cat "conftest.in" "conftest.in" >"conftest.tmp"
6384 mv "conftest.tmp" "conftest.in"
6385 cp "conftest.in" "conftest.nl"
6386 $as_echo 'EGREP' >> "conftest.nl"
6387 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6389 as_fn_arith $ac_count + 1 && ac_count=$as_val
6390 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6391 # Best one so far, save it but keep looking for a better one
6392 ac_cv_path_EGREP="$ac_path_EGREP"
6393 ac_path_EGREP_max=$ac_count
6395 # 10*(2^10) chars as input seems more than enough
6396 test $ac_count -gt 10 && break
6397 done
6398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6399 esac
6401 $ac_path_EGREP_found && break 3
6402 done
6403 done
6404 done
6405 IFS=$as_save_IFS
6406 if test -z "$ac_cv_path_EGREP"; then
6407 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6409 else
6410 ac_cv_path_EGREP=$EGREP
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6416 $as_echo "$ac_cv_path_EGREP" >&6; }
6417 EGREP="$ac_cv_path_EGREP"
6420 # Extract the first word of "ldconfig", so it can be a program name with args.
6421 set dummy ldconfig; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_path_LDCONFIG+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 case $LDCONFIG in
6428 [\\/]* | ?:[\\/]*)
6429 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in /sbin /usr/sbin $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6449 esac
6451 LDCONFIG=$ac_cv_path_LDCONFIG
6452 if test -n "$LDCONFIG"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6454 $as_echo "$LDCONFIG" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 for ac_prog in msgfmt
6463 # Extract the first word of "$ac_prog", so it can be a program name with args.
6464 set dummy $ac_prog; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_MSGFMT+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 if test -n "$MSGFMT"; then
6471 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6476 IFS=$as_save_IFS
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_MSGFMT="$ac_prog"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 break 2
6484 done
6485 done
6486 IFS=$as_save_IFS
6490 MSGFMT=$ac_cv_prog_MSGFMT
6491 if test -n "$MSGFMT"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6493 $as_echo "$MSGFMT" >&6; }
6494 else
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6500 test -n "$MSGFMT" && break
6501 done
6502 test -n "$MSGFMT" || MSGFMT="false"
6504 if ${ac_tool_prefix+:} false; then :
6505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$PKG_CONFIG"; then
6513 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6533 if test -n "$PKG_CONFIG"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6535 $as_echo "$PKG_CONFIG" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6543 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6544 if test "x$cross_compiling" = xyes; then :
6546 else
6547 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6548 # Extract the first word of "pkg-config", so it can be a program name with args.
6549 set dummy pkg-config; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$PKG_CONFIG"; then
6556 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_PKG_CONFIG="pkg-config"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6569 done
6570 done
6571 IFS=$as_save_IFS
6575 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6576 if test -n "$PKG_CONFIG"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6578 $as_echo "$PKG_CONFIG" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 else
6587 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6590 if test "x$enable_maintainer_mode" != "xyes"
6591 then
6592 FONTFORGE=""
6593 RSVG=""
6594 CONVERT=""
6595 ICOTOOL=""
6596 else
6597 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6598 for ac_prog in fontforge
6600 # Extract the first word of "$ac_prog", so it can be a program name with args.
6601 set dummy $ac_prog; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_FONTFORGE+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$FONTFORGE"; then
6608 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_FONTFORGE="$ac_prog"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6621 done
6622 done
6623 IFS=$as_save_IFS
6627 FONTFORGE=$ac_cv_prog_FONTFORGE
6628 if test -n "$FONTFORGE"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6630 $as_echo "$FONTFORGE" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6637 test -n "$FONTFORGE" && break
6638 done
6639 test -n "$FONTFORGE" || FONTFORGE="false"
6641 for ac_prog in rsvg-convert rsvg
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_RSVG+:} false; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 if test -n "$RSVG"; then
6651 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_RSVG="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 break 2
6664 done
6665 done
6666 IFS=$as_save_IFS
6670 RSVG=$ac_cv_prog_RSVG
6671 if test -n "$RSVG"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6673 $as_echo "$RSVG" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$RSVG" && break
6681 done
6682 test -n "$RSVG" || RSVG="false"
6684 for ac_prog in convert
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_CONVERT+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$CONVERT"; then
6694 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_CONVERT="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 CONVERT=$ac_cv_prog_CONVERT
6714 if test -n "$CONVERT"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6716 $as_echo "$CONVERT" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$CONVERT" && break
6724 done
6725 test -n "$CONVERT" || CONVERT="false"
6727 for ac_prog in icotool
6729 # Extract the first word of "$ac_prog", so it can be a program name with args.
6730 set dummy $ac_prog; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_ICOTOOL+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 if test -n "$ICOTOOL"; then
6737 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_ICOTOOL="$ac_prog"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 ICOTOOL=$ac_cv_prog_ICOTOOL
6757 if test -n "$ICOTOOL"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6759 $as_echo "$ICOTOOL" >&6; }
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6766 test -n "$ICOTOOL" && break
6767 done
6768 test -n "$ICOTOOL" || ICOTOOL="false"
6770 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6771 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6773 if test "$CONVERT" = false
6774 then
6775 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6776 else
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6778 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6779 convert_version=`convert --version | head -n1`
6780 if test "x$convert_version" != "x"
6781 then
6782 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6783 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6785 then
6786 CONVERT=false
6789 if test "$CONVERT" = false
6790 then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6792 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6793 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6794 else
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6796 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6800 if test "$ICOTOOL" = false
6801 then
6802 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6805 $as_echo_n "checking for recent enough icotool... " >&6; }
6806 icotool_version=`icotool --version | head -n1`
6807 if test "x$icotool_version" != "x"
6808 then
6809 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6810 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6812 then
6813 ICOTOOL=false
6814 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6817 if test "$ICOTOOL" = false
6818 then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6820 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6821 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6822 else
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6824 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6828 with_gettext=yes
6829 with_gettextpo=yes
6831 enable_werror=yes
6834 test "x$with_gettext" != xno || MSGFMT=false
6835 if test "$MSGFMT" != "false"
6836 then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6838 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6839 if ${wine_cv_msgfmt_contexts+:} false; then :
6840 $as_echo_n "(cached) " >&6
6841 else
6842 cat >conftest.po <<EOF
6843 # comment
6844 msgctxt "ctxt"
6845 msgid "id"
6846 msgstr "str"
6848 if $MSGFMT -o /dev/null conftest.po 2>&5
6849 then
6850 wine_cv_msgfmt_contexts=yes
6851 else
6852 wine_cv_msgfmt_contexts=no
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6856 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6857 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6859 if test "$MSGFMT" = false; then :
6860 case "x$with_gettext" in
6861 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6862 xno) ;;
6863 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6864 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6865 esac
6866 enable_po=${enable_po:-no}
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6871 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6872 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6873 $as_echo_n "(cached) " >&6
6874 else
6875 ac_check_lib_save_LIBS=$LIBS
6876 LIBS="-li386 $LIBS"
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6880 /* Override any GCC internal prototype to avoid an error.
6881 Use char because int might match the return type of a GCC
6882 builtin and then its argument prototype would still apply. */
6883 #ifdef __cplusplus
6884 extern "C"
6885 #endif
6886 char i386_set_ldt ();
6888 main ()
6890 return i386_set_ldt ();
6892 return 0;
6894 _ACEOF
6895 if ac_fn_c_try_link "$LINENO"; then :
6896 ac_cv_lib_i386_i386_set_ldt=yes
6897 else
6898 ac_cv_lib_i386_i386_set_ldt=no
6900 rm -f core conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6902 LIBS=$ac_check_lib_save_LIBS
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6905 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6906 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6907 I386_LIBS="-li386"
6912 OPENGL_LIBS=""
6916 # Check whether --enable-largefile was given.
6917 if test "${enable_largefile+set}" = set; then :
6918 enableval=$enable_largefile;
6921 if test "$enable_largefile" != no; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6924 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6925 if ${ac_cv_sys_largefile_CC+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 ac_cv_sys_largefile_CC=no
6929 if test "$GCC" != yes; then
6930 ac_save_CC=$CC
6931 while :; do
6932 # IRIX 6.2 and later do not support large files by default,
6933 # so use the C compiler's -n32 option if that helps.
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 /* Check that off_t can represent 2**63 - 1 correctly.
6938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6939 since some C++ compilers masquerading as C compilers
6940 incorrectly reject 9223372036854775807. */
6941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6943 && LARGE_OFF_T % 2147483647 == 1)
6944 ? 1 : -1];
6946 main ()
6950 return 0;
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 break
6956 rm -f core conftest.err conftest.$ac_objext
6957 CC="$CC -n32"
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_sys_largefile_CC=' -n32'; break
6961 rm -f core conftest.err conftest.$ac_objext
6962 break
6963 done
6964 CC=$ac_save_CC
6965 rm -f conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6969 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6970 if test "$ac_cv_sys_largefile_CC" != no; then
6971 CC=$CC$ac_cv_sys_largefile_CC
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6975 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6976 if ${ac_cv_sys_file_offset_bits+:} false; then :
6977 $as_echo_n "(cached) " >&6
6978 else
6979 while :; do
6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=no; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #define _FILE_OFFSET_BITS 64
7006 #include <sys/types.h>
7007 /* Check that off_t can represent 2**63 - 1 correctly.
7008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7009 since some C++ compilers masquerading as C compilers
7010 incorrectly reject 9223372036854775807. */
7011 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7013 && LARGE_OFF_T % 2147483647 == 1)
7014 ? 1 : -1];
7016 main ()
7020 return 0;
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 ac_cv_sys_file_offset_bits=64; break
7026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7027 ac_cv_sys_file_offset_bits=unknown
7028 break
7029 done
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7032 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7033 case $ac_cv_sys_file_offset_bits in #(
7034 no | unknown) ;;
7036 cat >>confdefs.h <<_ACEOF
7037 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7038 _ACEOF
7040 esac
7041 rm -rf conftest*
7042 if test $ac_cv_sys_file_offset_bits = unknown; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7044 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7045 if ${ac_cv_sys_large_files+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047 else
7048 while :; do
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=no; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7074 #define _LARGE_FILES 1
7075 #include <sys/types.h>
7076 /* Check that off_t can represent 2**63 - 1 correctly.
7077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7078 since some C++ compilers masquerading as C compilers
7079 incorrectly reject 9223372036854775807. */
7080 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7082 && LARGE_OFF_T % 2147483647 == 1)
7083 ? 1 : -1];
7085 main ()
7089 return 0;
7091 _ACEOF
7092 if ac_fn_c_try_compile "$LINENO"; then :
7093 ac_cv_sys_large_files=1; break
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7096 ac_cv_sys_large_files=unknown
7097 break
7098 done
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7101 $as_echo "$ac_cv_sys_large_files" >&6; }
7102 case $ac_cv_sys_large_files in #(
7103 no | unknown) ;;
7105 cat >>confdefs.h <<_ACEOF
7106 #define _LARGE_FILES $ac_cv_sys_large_files
7107 _ACEOF
7109 esac
7110 rm -rf conftest*
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7123 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7124 # On Suns, sometimes $CPP names a directory.
7125 if test -n "$CPP" && test -d "$CPP"; then
7126 CPP=
7128 if test -z "$CPP"; then
7129 if ${ac_cv_prog_CPP+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 # Double quotes because CPP needs to be expanded
7133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7135 ac_preproc_ok=false
7136 for ac_c_preproc_warn_flag in '' yes
7138 # Use a header file that comes with gcc, so configuring glibc
7139 # with a fresh cross-compiler works.
7140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7141 # <limits.h> exists even on freestanding compilers.
7142 # On the NeXT, cc -E runs the code through the compiler's parser,
7143 # not just through cpp. "Syntax error" is here to catch this case.
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #ifdef __STDC__
7147 # include <limits.h>
7148 #else
7149 # include <assert.h>
7150 #endif
7151 Syntax error
7152 _ACEOF
7153 if ac_fn_c_try_cpp "$LINENO"; then :
7155 else
7156 # Broken: fails on valid input.
7157 continue
7159 rm -f conftest.err conftest.i conftest.$ac_ext
7161 # OK, works on sane cases. Now check whether nonexistent headers
7162 # can be detected and how.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #include <ac_nonexistent.h>
7166 _ACEOF
7167 if ac_fn_c_try_cpp "$LINENO"; then :
7168 # Broken: success on invalid input.
7169 continue
7170 else
7171 # Passes both tests.
7172 ac_preproc_ok=:
7173 break
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 done
7178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7179 rm -f conftest.i conftest.err conftest.$ac_ext
7180 if $ac_preproc_ok; then :
7181 break
7184 done
7185 ac_cv_prog_CPP=$CPP
7188 CPP=$ac_cv_prog_CPP
7189 else
7190 ac_cv_prog_CPP=$CPP
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7193 $as_echo "$CPP" >&6; }
7194 ac_preproc_ok=false
7195 for ac_c_preproc_warn_flag in '' yes
7197 # Use a header file that comes with gcc, so configuring glibc
7198 # with a fresh cross-compiler works.
7199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7200 # <limits.h> exists even on freestanding compilers.
7201 # On the NeXT, cc -E runs the code through the compiler's parser,
7202 # not just through cpp. "Syntax error" is here to catch this case.
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 #ifdef __STDC__
7206 # include <limits.h>
7207 #else
7208 # include <assert.h>
7209 #endif
7210 Syntax error
7211 _ACEOF
7212 if ac_fn_c_try_cpp "$LINENO"; then :
7214 else
7215 # Broken: fails on valid input.
7216 continue
7218 rm -f conftest.err conftest.i conftest.$ac_ext
7220 # OK, works on sane cases. Now check whether nonexistent headers
7221 # can be detected and how.
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 #include <ac_nonexistent.h>
7225 _ACEOF
7226 if ac_fn_c_try_cpp "$LINENO"; then :
7227 # Broken: success on invalid input.
7228 continue
7229 else
7230 # Passes both tests.
7231 ac_preproc_ok=:
7232 break
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7236 done
7237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7238 rm -f conftest.i conftest.err conftest.$ac_ext
7239 if $ac_preproc_ok; then :
7241 else
7242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7244 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7245 See \`config.log' for more details" "$LINENO" 5; }
7248 ac_ext=c
7249 ac_cpp='$CPP $CPPFLAGS'
7250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7256 $as_echo_n "checking for ANSI C header files... " >&6; }
7257 if ${ac_cv_header_stdc+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <stdlib.h>
7263 #include <stdarg.h>
7264 #include <string.h>
7265 #include <float.h>
7268 main ()
7272 return 0;
7274 _ACEOF
7275 if ac_fn_c_try_compile "$LINENO"; then :
7276 ac_cv_header_stdc=yes
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7282 if test $ac_cv_header_stdc = yes; then
7283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7286 #include <string.h>
7288 _ACEOF
7289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7290 $EGREP "memchr" >/dev/null 2>&1; then :
7292 else
7293 ac_cv_header_stdc=no
7295 rm -f conftest*
7299 if test $ac_cv_header_stdc = yes; then
7300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7302 /* end confdefs.h. */
7303 #include <stdlib.h>
7305 _ACEOF
7306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7307 $EGREP "free" >/dev/null 2>&1; then :
7309 else
7310 ac_cv_header_stdc=no
7312 rm -f conftest*
7316 if test $ac_cv_header_stdc = yes; then
7317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7318 if test "$cross_compiling" = yes; then :
7320 else
7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7323 #include <ctype.h>
7324 #include <stdlib.h>
7325 #if ((' ' & 0x0FF) == 0x020)
7326 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7327 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7328 #else
7329 # define ISLOWER(c) \
7330 (('a' <= (c) && (c) <= 'i') \
7331 || ('j' <= (c) && (c) <= 'r') \
7332 || ('s' <= (c) && (c) <= 'z'))
7333 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7334 #endif
7336 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7338 main ()
7340 int i;
7341 for (i = 0; i < 256; i++)
7342 if (XOR (islower (i), ISLOWER (i))
7343 || toupper (i) != TOUPPER (i))
7344 return 2;
7345 return 0;
7347 _ACEOF
7348 if ac_fn_c_try_run "$LINENO"; then :
7350 else
7351 ac_cv_header_stdc=no
7353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7354 conftest.$ac_objext conftest.beam conftest.$ac_ext
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7360 $as_echo "$ac_cv_header_stdc" >&6; }
7361 if test $ac_cv_header_stdc = yes; then
7363 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7367 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7369 inttypes.h stdint.h unistd.h
7370 do :
7371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7372 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7375 cat >>confdefs.h <<_ACEOF
7376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7377 _ACEOF
7381 done
7384 for ac_header in \
7385 AL/al.h \
7386 ApplicationServices/ApplicationServices.h \
7387 AudioToolbox/AudioConverter.h \
7388 AudioUnit/AudioUnit.h \
7389 AudioUnit/AudioComponent.h \
7390 CL/cl.h \
7391 Carbon/Carbon.h \
7392 CommonCrypto/CommonCryptor.h \
7393 CoreAudio/CoreAudio.h \
7394 CoreServices/CoreServices.h \
7395 DiskArbitration/DiskArbitration.h \
7396 EGL/egl.h \
7397 IOKit/IOKitLib.h \
7398 IOKit/hid/IOHIDLib.h \
7399 OpenAL/al.h \
7400 OpenCL/opencl.h \
7401 QuickTime/ImageCompression.h \
7402 Security/Security.h \
7403 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7404 SystemConfiguration/SCNetworkConfiguration.h \
7405 alias.h \
7406 arpa/inet.h \
7407 arpa/nameser.h \
7408 asm/types.h \
7409 asm/user.h \
7410 dirent.h \
7411 dlfcn.h \
7412 elf.h \
7413 float.h \
7414 fnmatch.h \
7415 getopt.h \
7416 gettext-po.h \
7417 grp.h \
7418 gsm.h \
7419 gsm/gsm.h \
7420 ieeefp.h \
7421 inet/mib2.h \
7422 kstat.h \
7423 libproc.h \
7424 link.h \
7425 linux/cdrom.h \
7426 linux/compiler.h \
7427 linux/filter.h \
7428 linux/hdreg.h \
7429 linux/hidraw.h \
7430 linux/input.h \
7431 linux/ioctl.h \
7432 linux/joystick.h \
7433 linux/major.h \
7434 linux/param.h \
7435 linux/serial.h \
7436 linux/types.h \
7437 linux/ucdrom.h \
7438 lwp.h \
7439 mach-o/nlist.h \
7440 mach-o/loader.h \
7441 mach/mach.h \
7442 mach/machine.h \
7443 machine/cpu.h \
7444 machine/sysarch.h \
7445 mntent.h \
7446 netdb.h \
7447 netinet/in.h \
7448 netinet/in_systm.h \
7449 netinet/tcp.h \
7450 netinet/tcp_fsm.h \
7451 pcap/pcap.h \
7452 poll.h \
7453 port.h \
7454 pthread.h \
7455 pwd.h \
7456 sasl/sasl.h \
7457 sched.h \
7458 scsi/scsi.h \
7459 scsi/scsi_ioctl.h \
7460 scsi/sg.h \
7461 stdbool.h \
7462 stdint.h \
7463 stropts.h \
7464 sys/attr.h \
7465 sys/auxv.h \
7466 sys/cdio.h \
7467 sys/epoll.h \
7468 sys/event.h \
7469 sys/filio.h \
7470 sys/ioctl.h \
7471 sys/ipc.h \
7472 sys/link.h \
7473 sys/mman.h \
7474 sys/modem.h \
7475 sys/msg.h \
7476 sys/mtio.h \
7477 sys/param.h \
7478 sys/poll.h \
7479 sys/prctl.h \
7480 sys/protosw.h \
7481 sys/ptrace.h \
7482 sys/queue.h \
7483 sys/random.h \
7484 sys/resource.h \
7485 sys/scsiio.h \
7486 sys/shm.h \
7487 sys/signal.h \
7488 sys/socket.h \
7489 sys/socketvar.h \
7490 sys/sockio.h \
7491 sys/statvfs.h \
7492 sys/strtio.h \
7493 sys/syscall.h \
7494 sys/sysinfo.h \
7495 sys/tihdr.h \
7496 sys/time.h \
7497 sys/timeout.h \
7498 sys/times.h \
7499 sys/uio.h \
7500 sys/user.h \
7501 sys/utsname.h \
7502 sys/vnode.h \
7503 sys/wait.h \
7504 syscall.h \
7505 termios.h \
7506 unistd.h \
7507 utime.h \
7508 valgrind/memcheck.h \
7509 valgrind/valgrind.h
7511 do :
7512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7513 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7514 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7515 cat >>confdefs.h <<_ACEOF
7516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7517 _ACEOF
7521 done
7523 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7524 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7526 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7531 if test $ac_cv_header_sys_mkdev_h = no; then
7532 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7533 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7535 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7542 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7543 if ${ac_cv_header_stat_broken+:} false; then :
7544 $as_echo_n "(cached) " >&6
7545 else
7546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7548 #include <sys/types.h>
7549 #include <sys/stat.h>
7551 #if defined S_ISBLK && defined S_IFDIR
7552 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7553 #endif
7555 #if defined S_ISBLK && defined S_IFCHR
7556 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7557 #endif
7559 #if defined S_ISLNK && defined S_IFREG
7560 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7561 #endif
7563 #if defined S_ISSOCK && defined S_IFREG
7564 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7565 #endif
7567 _ACEOF
7568 if ac_fn_c_try_compile "$LINENO"; then :
7569 ac_cv_header_stat_broken=no
7570 else
7571 ac_cv_header_stat_broken=yes
7573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7576 $as_echo "$ac_cv_header_stat_broken" >&6; }
7577 if test $ac_cv_header_stat_broken = yes; then
7579 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7585 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7586 do :
7587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7589 #ifdef HAVE_SYS_PARAM_H
7590 # include <sys/param.h>
7591 #endif
7593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7594 cat >>confdefs.h <<_ACEOF
7595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7596 _ACEOF
7600 done
7603 saved_sysctl_h_CFLAGS=$CFLAGS
7604 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7605 for ac_header in sys/sysctl.h
7606 do :
7607 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7608 #ifdef HAVE_SYS_PARAM_H
7609 # include <sys/param.h>
7610 #endif
7612 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7613 cat >>confdefs.h <<_ACEOF
7614 #define HAVE_SYS_SYSCTL_H 1
7615 _ACEOF
7619 done
7621 CFLAGS=$saved_sysctl_h_CFLAGS
7623 for ac_header in \
7624 netinet/ip.h \
7625 net/if.h \
7626 net/if_arp.h \
7627 net/if_dl.h \
7628 net/if_types.h \
7629 net/route.h \
7630 netinet/if_ether.h \
7631 netinet/if_inarp.h \
7632 netinet/in_pcb.h \
7633 netinet/ip_icmp.h \
7634 netinet/ip_var.h \
7635 netinet/udp.h \
7636 netipx/ipx.h \
7637 sys/un.h \
7639 do :
7640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7641 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7642 #ifdef HAVE_SYS_SOCKET_H
7643 # include <sys/socket.h>
7644 #endif
7645 #ifdef HAVE_SYS_SOCKETVAR_H
7646 # include <sys/socketvar.h>
7647 #endif
7648 #ifdef HAVE_NET_ROUTE_H
7649 # include <net/route.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IN_H
7652 # include <netinet/in.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IN_SYSTM_H
7655 # include <netinet/in_systm.h>
7656 #endif
7657 #ifdef HAVE_NET_IF_H
7658 # include <net/if.h>
7659 #endif
7660 #ifdef HAVE_NETINET_IP_H
7661 # include <netinet/ip.h>
7662 #endif
7664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7665 cat >>confdefs.h <<_ACEOF
7666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7667 _ACEOF
7671 done
7674 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7675 do :
7676 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7677 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7678 #ifdef HAVE_ALIAS_H
7679 # include <alias.h>
7680 #endif
7681 #ifdef HAVE_SYS_SOCKET_H
7682 # include <sys/socket.h>
7683 #endif
7684 #ifdef HAVE_SYS_SOCKETVAR_H
7685 # include <sys/socketvar.h>
7686 #endif
7687 #ifdef HAVE_SYS_TIMEOUT_H
7688 # include <sys/timeout.h>
7689 #endif
7690 #ifdef HAVE_NETINET_IN_H
7691 # include <netinet/in.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IN_SYSTM_H
7694 # include <netinet/in_systm.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IP_H
7697 # include <netinet/ip.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IP_VAR_H
7700 # include <netinet/ip_var.h>
7701 #endif
7702 #ifdef HAVE_NETINET_IP_ICMP_H
7703 # include <netinet/ip_icmp.h>
7704 #endif
7705 #ifdef HAVE_NETINET_UDP_H
7706 # include <netinet/udp.h>
7707 #endif
7708 #ifdef HAVE_NETINET_TCP_H
7709 # include <netinet/tcp.h>
7710 #endif
7711 #ifdef HAVE_NETINET_TCP_TIMER_H
7712 #include <netinet/tcp_timer.h>
7713 #endif
7715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7716 cat >>confdefs.h <<_ACEOF
7717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7718 _ACEOF
7722 done
7725 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7726 do :
7727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7728 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7729 #ifdef HAVE_ASM_TYPES_H
7730 # include <asm/types.h>
7731 #endif
7732 #ifdef HAVE_SYS_SOCKET_H
7733 # include <sys/socket.h>
7734 #endif
7735 #ifdef HAVE_LINUX_TYPES_H
7736 # include <linux/types.h>
7737 #endif
7739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 _ACEOF
7746 done
7749 for ac_header in resolv.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7752 #ifdef HAVE_SYS_SOCKET_H
7753 # include <sys/socket.h>
7754 #endif
7755 #ifdef HAVE_NETINET_IN_H
7756 # include <netinet/in.h>
7757 #endif
7758 #ifdef HAVE_ARPA_NAMESER_H
7759 # include <arpa/nameser.h>
7760 #endif
7762 if test "x$ac_cv_header_resolv_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_RESOLV_H 1
7765 _ACEOF
7769 done
7772 for ac_header in ifaddrs.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7776 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_IFADDRS_H 1
7779 _ACEOF
7783 done
7786 for ac_header in sys/ucontext.h
7787 do :
7788 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7790 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7791 cat >>confdefs.h <<_ACEOF
7792 #define HAVE_SYS_UCONTEXT_H 1
7793 _ACEOF
7797 done
7800 for ac_header in sys/thr.h
7801 do :
7802 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7803 #ifdef HAVE_SYS_UCONTEXT_H
7804 #include <sys/ucontext.h>
7805 #endif
7807 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7808 cat >>confdefs.h <<_ACEOF
7809 #define HAVE_SYS_THR_H 1
7810 _ACEOF
7814 done
7817 for ac_header in pthread_np.h
7818 do :
7819 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7820 #include <pthread.h>
7821 #endif
7823 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_PTHREAD_NP_H 1
7826 _ACEOF
7830 done
7833 for ac_header in linux/videodev2.h
7834 do :
7835 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7836 #include <sys/time.h>
7837 #endif
7838 #include <sys/types.h>
7839 #ifdef HAVE_ASM_TYPES_H
7840 #include <asm/types.h>
7841 #endif
7843 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define HAVE_LINUX_VIDEODEV2_H 1
7846 _ACEOF
7850 done
7853 for ac_header in libprocstat.h
7854 do :
7855 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7856 #include <sys/param.h>
7857 #endif
7858 #ifdef HAVE_SYS_QUEUE_H
7859 #include <sys/queue.h>
7860 #endif
7861 #ifdef HAVE_SYS_SOCKET_H
7862 #include <sys/socket.h>
7863 #endif
7865 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7866 cat >>confdefs.h <<_ACEOF
7867 #define HAVE_LIBPROCSTAT_H 1
7868 _ACEOF
7872 done
7876 DLLFLAGS="-D_REENTRANT"
7878 LDDLLFLAGS=""
7880 LDEXECFLAGS=""
7882 TOP_INSTALL_LIB=""
7884 TOP_INSTALL_DEV=""
7886 WINELOADER_LDFLAGS=""
7888 WINEPRELOADER_LDFLAGS=""
7890 LIBEXT="so"
7891 DLLEXT=".so"
7892 # Extract the first word of "ldd", so it can be a program name with args.
7893 set dummy ldd; ac_word=$2
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895 $as_echo_n "checking for $ac_word... " >&6; }
7896 if ${ac_cv_path_LDD+:} false; then :
7897 $as_echo_n "(cached) " >&6
7898 else
7899 case $LDD in
7900 [\\/]* | ?:[\\/]*)
7901 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 as_dummy="/sbin:/usr/sbin:$PATH"
7906 for as_dir in $as_dummy
7908 IFS=$as_save_IFS
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 break 2
7916 done
7917 done
7918 IFS=$as_save_IFS
7920 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7922 esac
7924 LDD=$ac_cv_path_LDD
7925 if test -n "$LDD"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7927 $as_echo "$LDD" >&6; }
7928 else
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7930 $as_echo "no" >&6; }
7934 if test -n "$ac_tool_prefix"; then
7935 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7936 set dummy ${ac_tool_prefix}otool; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_OTOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 if test -n "$OTOOL"; then
7943 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7962 OTOOL=$ac_cv_prog_OTOOL
7963 if test -n "$OTOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7965 $as_echo "$OTOOL" >&6; }
7966 else
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7973 if test -z "$ac_cv_prog_OTOOL"; then
7974 ac_ct_OTOOL=$OTOOL
7975 # Extract the first word of "otool", so it can be a program name with args.
7976 set dummy otool; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$ac_ct_OTOOL"; then
7983 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_ac_ct_OTOOL="otool"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8003 if test -n "$ac_ct_OTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8005 $as_echo "$ac_ct_OTOOL" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8011 if test "x$ac_ct_OTOOL" = x; then
8012 OTOOL="otool"
8013 else
8014 case $cross_compiling:$ac_tool_warned in
8015 yes:)
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8018 ac_tool_warned=yes ;;
8019 esac
8020 OTOOL=$ac_ct_OTOOL
8022 else
8023 OTOOL="$ac_cv_prog_OTOOL"
8026 if test -n "$ac_tool_prefix"; then
8027 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8028 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_READELF+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$READELF"; then
8035 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 READELF=$ac_cv_prog_READELF
8055 if test -n "$READELF"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8057 $as_echo "$READELF" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8065 if test -z "$ac_cv_prog_READELF"; then
8066 ac_ct_READELF=$READELF
8067 # Extract the first word of "readelf", so it can be a program name with args.
8068 set dummy readelf; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 if test -n "$ac_ct_READELF"; then
8075 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8080 IFS=$as_save_IFS
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_ac_ct_READELF="readelf"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 break 2
8088 done
8089 done
8090 IFS=$as_save_IFS
8094 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8095 if test -n "$ac_ct_READELF"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8097 $as_echo "$ac_ct_READELF" >&6; }
8098 else
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8103 if test "x$ac_ct_READELF" = x; then
8104 READELF="true"
8105 else
8106 case $cross_compiling:$ac_tool_warned in
8107 yes:)
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8110 ac_tool_warned=yes ;;
8111 esac
8112 READELF=$ac_ct_READELF
8114 else
8115 READELF="$ac_cv_prog_READELF"
8118 wine_rules_file=conf$$rules.make
8119 rm -f $wine_rules_file
8120 SUBDIRS=""
8122 DISABLED_SUBDIRS=""
8124 CONFIGURE_TARGETS=""
8127 wine_fn_append_file ()
8129 as_fn_append $1 " \\$as_nl $2"
8132 wine_fn_append_rule ()
8134 $as_echo "$1" >>$wine_rules_file
8137 wine_fn_config_makefile ()
8139 wine_fn_append_file SUBDIRS $1
8140 if eval test \"x\$"$2"\" = x"no"; then :
8141 wine_fn_append_file DISABLED_SUBDIRS $1
8145 wine_fn_config_symlink ()
8147 ac_links=$@
8148 wine_fn_append_rule \
8149 "$ac_links:
8150 @./config.status \$@"
8151 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8154 wine_binary="wine"
8155 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8156 WINELOADER_PROGRAMS="$wine_binary"
8158 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8160 case $host_os in
8161 cygwin*|mingw32*)
8162 if test -n "$ac_tool_prefix"; then
8163 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8164 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if ${ac_cv_prog_DLLTOOL+:} false; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 if test -n "$DLLTOOL"; then
8171 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8172 else
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 for as_dir in $PATH
8176 IFS=$as_save_IFS
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 break 2
8184 done
8185 done
8186 IFS=$as_save_IFS
8190 DLLTOOL=$ac_cv_prog_DLLTOOL
8191 if test -n "$DLLTOOL"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8193 $as_echo "$DLLTOOL" >&6; }
8194 else
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8201 if test -z "$ac_cv_prog_DLLTOOL"; then
8202 ac_ct_DLLTOOL=$DLLTOOL
8203 # Extract the first word of "dlltool", so it can be a program name with args.
8204 set dummy dlltool; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 if test -n "$ac_ct_DLLTOOL"; then
8211 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8212 else
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 for as_dir in $PATH
8216 IFS=$as_save_IFS
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222 break 2
8224 done
8225 done
8226 IFS=$as_save_IFS
8230 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8231 if test -n "$ac_ct_DLLTOOL"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8233 $as_echo "$ac_ct_DLLTOOL" >&6; }
8234 else
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8239 if test "x$ac_ct_DLLTOOL" = x; then
8240 DLLTOOL="false"
8241 else
8242 case $cross_compiling:$ac_tool_warned in
8243 yes:)
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8246 ac_tool_warned=yes ;;
8247 esac
8248 DLLTOOL=$ac_ct_DLLTOOL
8250 else
8251 DLLTOOL="$ac_cv_prog_DLLTOOL"
8254 LIBEXT="dll"
8255 DLLEXT=""
8256 case $host_cpu in
8257 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8258 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8259 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8270 else
8271 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8278 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8279 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8280 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8281 fi ;;
8282 esac
8283 enable_iphlpapi=${enable_iphlpapi:-no}
8284 enable_kernel32=${enable_kernel32:-no}
8285 enable_ntdll=${enable_ntdll:-no}
8286 enable_ws2_32=${enable_ws2_32:-no}
8287 enable_loader=${enable_loader:-no}
8288 enable_server=${enable_server:-no}
8289 with_x=${with_x:-no}
8290 with_pthread=${with_pthread:-no}
8293 darwin*|macosx*)
8294 ac_ext=m
8295 ac_cpp='$OBJCPP $CPPFLAGS'
8296 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8297 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8298 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8300 ac_ext=m
8301 ac_cpp='$OBJCPP $CPPFLAGS'
8302 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8303 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8304 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8305 if test -n "$ac_tool_prefix"; then
8306 for ac_prog in gcc objcc objc cc CC
8308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if ${ac_cv_prog_OBJC+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 if test -n "$OBJC"; then
8316 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8317 else
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 for as_dir in $PATH
8321 IFS=$as_save_IFS
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 break 2
8329 done
8330 done
8331 IFS=$as_save_IFS
8335 OBJC=$ac_cv_prog_OBJC
8336 if test -n "$OBJC"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8338 $as_echo "$OBJC" >&6; }
8339 else
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341 $as_echo "no" >&6; }
8345 test -n "$OBJC" && break
8346 done
8348 if test -z "$OBJC"; then
8349 ac_ct_OBJC=$OBJC
8350 for ac_prog in gcc objcc objc cc CC
8352 # Extract the first word of "$ac_prog", so it can be a program name with args.
8353 set dummy $ac_prog; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 if test -n "$ac_ct_OBJC"; then
8360 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8361 else
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363 for as_dir in $PATH
8365 IFS=$as_save_IFS
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8369 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 break 2
8373 done
8374 done
8375 IFS=$as_save_IFS
8379 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8380 if test -n "$ac_ct_OBJC"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8382 $as_echo "$ac_ct_OBJC" >&6; }
8383 else
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385 $as_echo "no" >&6; }
8389 test -n "$ac_ct_OBJC" && break
8390 done
8392 if test "x$ac_ct_OBJC" = x; then
8393 OBJC="gcc"
8394 else
8395 case $cross_compiling:$ac_tool_warned in
8396 yes:)
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8399 ac_tool_warned=yes ;;
8400 esac
8401 OBJC=$ac_ct_OBJC
8405 # Provide some information about the compiler.
8406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8407 set X $ac_compile
8408 ac_compiler=$2
8409 for ac_option in --version -v -V -qversion; do
8410 { { ac_try="$ac_compiler $ac_option >&5"
8411 case "(($ac_try" in
8412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8413 *) ac_try_echo=$ac_try;;
8414 esac
8415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8416 $as_echo "$ac_try_echo"; } >&5
8417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8418 ac_status=$?
8419 if test -s conftest.err; then
8420 sed '10a\
8421 ... rest of stderr output deleted ...
8422 10q' conftest.err >conftest.er1
8423 cat conftest.er1 >&5
8425 rm -f conftest.er1 conftest.err
8426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8427 test $ac_status = 0; }
8428 done
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8431 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8432 if ${ac_cv_objc_compiler_gnu+:} false; then :
8433 $as_echo_n "(cached) " >&6
8434 else
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8439 main ()
8441 #ifndef __GNUC__
8442 choke me
8443 #endif
8446 return 0;
8448 _ACEOF
8449 if ac_fn_objc_try_compile "$LINENO"; then :
8450 ac_compiler_gnu=yes
8451 else
8452 ac_compiler_gnu=no
8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8455 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8459 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8460 if test $ac_compiler_gnu = yes; then
8461 GOBJC=yes
8462 else
8463 GOBJC=
8465 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8466 ac_save_OBJCFLAGS=$OBJCFLAGS
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8468 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8469 if ${ac_cv_prog_objc_g+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_save_objc_werror_flag=$ac_objc_werror_flag
8473 ac_objc_werror_flag=yes
8474 ac_cv_prog_objc_g=no
8475 OBJCFLAGS="-g"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8480 main ()
8484 return 0;
8486 _ACEOF
8487 if ac_fn_objc_try_compile "$LINENO"; then :
8488 ac_cv_prog_objc_g=yes
8489 else
8490 OBJCFLAGS=""
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8495 main ()
8499 return 0;
8501 _ACEOF
8502 if ac_fn_objc_try_compile "$LINENO"; then :
8504 else
8505 ac_objc_werror_flag=$ac_save_objc_werror_flag
8506 OBJCFLAGS="-g"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 main ()
8515 return 0;
8517 _ACEOF
8518 if ac_fn_objc_try_compile "$LINENO"; then :
8519 ac_cv_prog_objc_g=yes
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8526 ac_objc_werror_flag=$ac_save_objc_werror_flag
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8529 $as_echo "$ac_cv_prog_objc_g" >&6; }
8530 if test "$ac_test_OBJCFLAGS" = set; then
8531 OBJCFLAGS=$ac_save_OBJCFLAGS
8532 elif test $ac_cv_prog_objc_g = yes; then
8533 if test "$GOBJC" = yes; then
8534 OBJCFLAGS="-g -O2"
8535 else
8536 OBJCFLAGS="-g"
8538 else
8539 if test "$GOBJC" = yes; then
8540 OBJCFLAGS="-O2"
8541 else
8542 OBJCFLAGS=
8545 ac_ext=m
8546 ac_cpp='$OBJCPP $CPPFLAGS'
8547 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8548 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8549 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8552 ac_ext=m
8553 ac_cpp='$OBJCPP $CPPFLAGS'
8554 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8555 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8556 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8558 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8559 if test -z "$OBJCPP"; then
8560 if ${ac_cv_prog_OBJCPP+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 # Double quotes because OBJCPP needs to be expanded
8564 for OBJCPP in "$OBJC -E" "/lib/cpp"
8566 ac_preproc_ok=false
8567 for ac_objc_preproc_warn_flag in '' yes
8569 # Use a header file that comes with gcc, so configuring glibc
8570 # with a fresh cross-compiler works.
8571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8572 # <limits.h> exists even on freestanding compilers.
8573 # On the NeXT, cc -E runs the code through the compiler's parser,
8574 # not just through cpp. "Syntax error" is here to catch this case.
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 #ifdef __STDC__
8578 # include <limits.h>
8579 #else
8580 # include <assert.h>
8581 #endif
8582 Syntax error
8583 _ACEOF
8584 if ac_fn_objc_try_cpp "$LINENO"; then :
8586 else
8587 # Broken: fails on valid input.
8588 continue
8590 rm -f conftest.err conftest.i conftest.$ac_ext
8592 # OK, works on sane cases. Now check whether nonexistent headers
8593 # can be detected and how.
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 #include <ac_nonexistent.h>
8597 _ACEOF
8598 if ac_fn_objc_try_cpp "$LINENO"; then :
8599 # Broken: success on invalid input.
8600 continue
8601 else
8602 # Passes both tests.
8603 ac_preproc_ok=:
8604 break
8606 rm -f conftest.err conftest.i conftest.$ac_ext
8608 done
8609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8610 rm -f conftest.i conftest.err conftest.$ac_ext
8611 if $ac_preproc_ok; then :
8612 break
8615 done
8616 ac_cv_prog_OBJCPP=$OBJCPP
8619 OBJCPP=$ac_cv_prog_OBJCPP
8620 else
8621 ac_cv_prog_OBJCPP=$OBJCPP
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8624 $as_echo "$OBJCPP" >&6; }
8625 ac_preproc_ok=false
8626 for ac_objc_preproc_warn_flag in '' yes
8628 # Use a header file that comes with gcc, so configuring glibc
8629 # with a fresh cross-compiler works.
8630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631 # <limits.h> exists even on freestanding compilers.
8632 # On the NeXT, cc -E runs the code through the compiler's parser,
8633 # not just through cpp. "Syntax error" is here to catch this case.
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #ifdef __STDC__
8637 # include <limits.h>
8638 #else
8639 # include <assert.h>
8640 #endif
8641 Syntax error
8642 _ACEOF
8643 if ac_fn_objc_try_cpp "$LINENO"; then :
8645 else
8646 # Broken: fails on valid input.
8647 continue
8649 rm -f conftest.err conftest.i conftest.$ac_ext
8651 # OK, works on sane cases. Now check whether nonexistent headers
8652 # can be detected and how.
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 #include <ac_nonexistent.h>
8656 _ACEOF
8657 if ac_fn_objc_try_cpp "$LINENO"; then :
8658 # Broken: success on invalid input.
8659 continue
8660 else
8661 # Passes both tests.
8662 ac_preproc_ok=:
8663 break
8665 rm -f conftest.err conftest.i conftest.$ac_ext
8667 done
8668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8669 rm -f conftest.i conftest.err conftest.$ac_ext
8670 if $ac_preproc_ok; then :
8672 else
8673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8675 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8676 See \`config.log' for more details" "$LINENO" 5; }
8679 ac_ext=m
8680 ac_cpp='$OBJCPP $CPPFLAGS'
8681 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8682 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8683 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8686 for ac_header in Metal/Metal.h
8687 do :
8688 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8689 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8690 cat >>confdefs.h <<_ACEOF
8691 #define HAVE_METAL_METAL_H 1
8692 _ACEOF
8696 done
8698 ac_ext=c
8699 ac_cpp='$CPP $CPPFLAGS'
8700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8704 LIBEXT="dylib"
8705 DLLFLAGS="$DLLFLAGS -fPIC"
8706 LDDLLFLAGS="-fPIC"
8707 COREFOUNDATION_LIBS="-framework CoreFoundation"
8709 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8711 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8713 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8715 CORESERVICES_LIBS="-framework CoreServices"
8717 APPKIT_LIBS="-framework AppKit"
8719 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8722 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8724 wine_can_build_preloader=yes
8725 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8727 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8728 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__Wl__no_new_main__e__main=yes
8739 else
8740 ac_cv_cflags__Wl__no_new_main__e__main=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8747 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8748 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8749 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8751 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8752 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8763 else
8764 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8771 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8772 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8773 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8774 else
8775 { $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
8776 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8777 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 ac_wine_try_cflags_saved=$CFLAGS
8781 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8784 int main(int argc, char **argv) { return 0; }
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8788 else
8789 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 { $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
8796 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8797 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8798 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8799 else
8800 wine_can_build_preloader=no
8803 else
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8805 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8806 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 int main(int argc, char **argv) { return 0; }
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8817 else
8818 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8825 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8826 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8827 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8828 else
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8830 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8831 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 ac_wine_try_cflags_saved=$CFLAGS
8835 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8838 int main(int argc, char **argv) { return 0; }
8839 _ACEOF
8840 if ac_fn_c_try_link "$LINENO"; then :
8841 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8842 else
8843 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8845 rm -f core conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 CFLAGS=$ac_wine_try_cflags_saved
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8850 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8851 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8852 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8853 else
8854 wine_can_build_preloader=no
8858 if test "$wine_can_build_preloader" = "yes"
8859 then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8861 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8862 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -Wl,-no_pie"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 int main(int argc, char **argv) { return 0; }
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 ac_cv_cflags__Wl__no_pie=yes
8873 else
8874 ac_cv_cflags__Wl__no_pie=no
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8881 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8882 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8883 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8885 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8886 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8887 else
8888 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8891 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8892 then
8893 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8896 if test "$ac_cv_header_Security_Security_h" = "yes"
8897 then
8898 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8900 ac_save_LIBS="$LIBS"
8901 LIBS="$LIBS $SECURITY_LIBS"
8902 for ac_func in SSLCopyPeerCertificates
8903 do :
8904 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8905 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8906 cat >>confdefs.h <<_ACEOF
8907 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8908 _ACEOF
8911 done
8913 LIBS="$ac_save_LIBS"
8915 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8916 then
8917 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8918 then
8919 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8921 else
8922 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8925 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8926 ac_save_LIBS="$LIBS"
8927 LIBS="$LIBS $COREAUDIO_LIBS"
8928 for ac_func in AUGraphAddNode
8929 do :
8930 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8931 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8932 cat >>confdefs.h <<_ACEOF
8933 #define HAVE_AUGRAPHADDNODE 1
8934 _ACEOF
8937 done
8939 LIBS="$ac_save_LIBS"
8941 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8942 then
8943 OPENAL_LIBS="-framework OpenAL"
8946 cat >>confdefs.h <<_ACEOF
8947 #define HAVE_OPENAL 1
8948 _ACEOF
8950 ac_cv_lib_openal=yes
8952 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8953 then
8954 OPENCL_LIBS="-framework OpenCL"
8956 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8958 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8959 then
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $IOKIT_LIBS"
8962 for ac_func in IOHIDManagerCreate
8963 do :
8964 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8965 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_IOHIDMANAGERCREATE 1
8968 _ACEOF
8971 done
8973 LIBS="$ac_save_LIBS"
8976 if test "x$with_quicktime" != "xno"
8977 then
8978 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8979 then
8980 ac_save_LIBS="$LIBS"
8981 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8983 $as_echo_n "checking for the QuickTime framework... " >&6; }
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8986 #include <QuickTime/ImageCompression.h>
8988 main ()
8990 CodecManagerVersion(NULL);
8992 return 0;
8994 _ACEOF
8995 if ac_fn_c_try_link "$LINENO"; then :
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8997 $as_echo "yes" >&6; }
8998 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9000 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9001 else
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9004 ac_cv_header_QuickTime_ImageCompression_h=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS="$ac_save_LIBS"
9011 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9012 case "x$with_quicktime" in
9013 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9014 xno) ;;
9015 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9016 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9017 esac
9021 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9022 then
9023 CARBON_LIBS="-framework Carbon"
9026 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9027 then
9028 METAL_LIBS="-framework Metal -framework QuartzCore"
9032 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9033 then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9035 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9036 ac_ext=m
9037 ac_cpp='$OBJCPP $CPPFLAGS'
9038 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9039 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9040 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <Metal/Metal.h>
9046 main ()
9048 id<MTLDevice> device; device.registryID;
9050 return 0;
9052 _ACEOF
9053 if ac_fn_objc_try_compile "$LINENO"; then :
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9055 $as_echo "yes" >&6; }
9057 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9059 else
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9072 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9073 then
9074 ac_save_LIBS="$LIBS"
9075 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9076 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9077 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9078 enable_winemac_drv=${enable_winemac_drv:-yes}
9081 LIBS="$ac_save_LIBS"
9084 if test "x$enable_win16" = "xyes"
9085 then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9087 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9088 if test "$cross_compiling" = yes; then :
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9090 $as_echo "cross-compiling, assuming yes" >&6; }
9091 else
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9094 asm(".text\n"
9095 "bad:\tnop;nop\n"
9096 "good:\tnop;nop\n\t"
9097 ".globl _testfunc\n"
9098 "_testfunc:\tcallw good");
9099 extern void testfunc();
9101 main ()
9103 unsigned short *p = (unsigned short *)testfunc;
9104 return p[0] != 0xe866 || p[1] != 0xfffa
9106 return 0;
9108 _ACEOF
9109 if ac_fn_c_try_run "$LINENO"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9111 $as_echo "yes" >&6; }
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9115 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9118 conftest.$ac_objext conftest.beam conftest.$ac_ext
9123 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9125 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9127 WINELOADER_DEPENDS="wine_info.plist"
9129 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9130 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9133 linux-android*)
9134 DLLFLAGS="$DLLFLAGS -fPIC"
9135 LDDLLFLAGS="-fPIC"
9136 LDEXECFLAGS="-Wl,-pie"
9137 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9139 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9140 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_wine_try_cflags_saved=$CFLAGS
9144 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 int main(int argc, char **argv) { return 0; }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9151 else
9152 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 CFLAGS=$ac_wine_try_cflags_saved
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9159 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9160 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9161 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9163 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9165 LIBWINE_SHAREDLIB="libwine.so"
9167 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9169 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9172 $as_echo_n "checking for -lEGL... " >&6; }
9173 if ${ac_cv_lib_soname_EGL+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 ac_check_soname_save_LIBS=$LIBS
9177 LIBS="-lEGL $LIBS"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9181 /* Override any GCC internal prototype to avoid an error.
9182 Use char because int might match the return type of a GCC
9183 builtin and then its argument prototype would still apply. */
9184 #ifdef __cplusplus
9185 extern "C"
9186 #endif
9187 char eglGetProcAddress ();
9189 main ()
9191 return eglGetProcAddress ();
9193 return 0;
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 case "$LIBEXT" in
9198 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9199 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'` ;;
9200 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9201 if ${ac_cv_lib_soname_EGL:+false} :; then :
9202 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9203 fi ;;
9204 esac
9205 else
9206 ac_cv_lib_soname_EGL=
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_soname_save_LIBS
9212 if ${ac_cv_lib_soname_EGL:+false} :; then :
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9214 $as_echo "not found" >&6; }
9216 else
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9218 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9220 cat >>confdefs.h <<_ACEOF
9221 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9222 _ACEOF
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9227 $as_echo_n "checking for -lGLESv2... " >&6; }
9228 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9229 $as_echo_n "(cached) " >&6
9230 else
9231 ac_check_soname_save_LIBS=$LIBS
9232 LIBS="-lGLESv2 $LIBS"
9233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9236 /* Override any GCC internal prototype to avoid an error.
9237 Use char because int might match the return type of a GCC
9238 builtin and then its argument prototype would still apply. */
9239 #ifdef __cplusplus
9240 extern "C"
9241 #endif
9242 char glFlush ();
9244 main ()
9246 return glFlush ();
9248 return 0;
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 case "$LIBEXT" in
9253 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9254 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'` ;;
9255 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9256 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9257 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9258 fi ;;
9259 esac
9260 else
9261 ac_cv_lib_soname_GLESv2=
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LIBS=$ac_check_soname_save_LIBS
9267 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9269 $as_echo "not found" >&6; }
9271 else
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9273 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9275 cat >>confdefs.h <<_ACEOF
9276 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9277 _ACEOF
9282 if test "x$exec_prefix" = xNONE
9283 then
9284 case $host_cpu in
9285 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9286 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9287 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9288 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9289 esac
9294 case $host_cpu in
9295 *i[3456789]86*)
9296 DLLFLAGS="$DLLFLAGS -fno-PIC"
9297 LDDLLFLAGS="-fno-PIC" ;;
9299 DLLFLAGS="$DLLFLAGS -fPIC"
9300 LDDLLFLAGS="-fPIC" ;;
9301 esac
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9303 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9304 if ${ac_cv_c_dll_gnuelf+:} false; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 ac_wine_try_cflags_saved=$CFLAGS
9308 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9311 void myfunc() {}
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9315 else
9316 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 CFLAGS=$ac_wine_try_cflags_saved
9321 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9322 ac_cv_c_dll_gnuelf="yes"
9323 else
9324 ac_cv_c_dll_gnuelf="no"
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9328 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9329 if test "$ac_cv_c_dll_gnuelf" = "yes"
9330 then
9331 LIBWINE_LDFLAGS="-shared"
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9333 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9334 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_wine_try_cflags_saved=$CFLAGS
9338 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9341 int main(int argc, char **argv) { return 0; }
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9345 else
9346 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 CFLAGS=$ac_wine_try_cflags_saved
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9353 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9354 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9355 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9356 else
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9358 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9359 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_wine_try_cflags_saved=$CFLAGS
9363 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9366 int main(int argc, char **argv) { return 0; }
9367 _ACEOF
9368 if ac_fn_c_try_link "$LINENO"; then :
9369 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9370 else
9371 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 CFLAGS=$ac_wine_try_cflags_saved
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9378 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9379 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9380 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9384 echo '{ global: *; };' >conftest.map
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9386 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9387 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_wine_try_cflags_saved=$CFLAGS
9391 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9394 int main(int argc, char **argv) { return 0; }
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9398 else
9399 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 CFLAGS=$ac_wine_try_cflags_saved
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9406 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9407 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9408 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9410 rm -f conftest.map
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9413 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9414 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9415 $as_echo_n "(cached) " >&6
9416 else
9417 ac_wine_try_cflags_saved=$CFLAGS
9418 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9421 int main(int argc, char **argv) { return 0; }
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"; then :
9424 ac_cv_cflags__Wl___export_dynamic=yes
9425 else
9426 ac_cv_cflags__Wl___export_dynamic=no
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 CFLAGS=$ac_wine_try_cflags_saved
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9433 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9434 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9435 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9437 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9439 case $host_cpu in
9440 *i[3456789]86* | x86_64 | *aarch64*)
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9442 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9443 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_wine_try_cflags_saved=$CFLAGS
9447 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9450 int main(int argc, char **argv) { return 0; }
9451 _ACEOF
9452 if ac_fn_c_try_link "$LINENO"; then :
9453 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9454 else
9455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9457 rm -f core conftest.err conftest.$ac_objext \
9458 conftest$ac_exeext conftest.$ac_ext
9459 CFLAGS=$ac_wine_try_cflags_saved
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9462 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9463 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9464 case $host_os in
9465 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9466 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9467 esac
9468 else
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9470 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9471 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_wine_try_cflags_saved=$CFLAGS
9475 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int main(int argc, char **argv) { return 0; }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9482 else
9483 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9490 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9491 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9492 case $host_os in
9493 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9494 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9495 esac
9497 # Extract the first word of "prelink", so it can be a program name with args.
9498 set dummy prelink; ac_word=$2
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9500 $as_echo_n "checking for $ac_word... " >&6; }
9501 if ${ac_cv_path_PRELINK+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 case $PRELINK in
9505 [\\/]* | ?:[\\/]*)
9506 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9510 for as_dir in /sbin /usr/sbin $PATH
9512 IFS=$as_save_IFS
9513 test -z "$as_dir" && as_dir=.
9514 for ac_exec_ext in '' $ac_executable_extensions; do
9515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9516 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9518 break 2
9520 done
9521 done
9522 IFS=$as_save_IFS
9524 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9526 esac
9528 PRELINK=$ac_cv_path_PRELINK
9529 if test -n "$PRELINK"; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9531 $as_echo "$PRELINK" >&6; }
9532 else
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9534 $as_echo "no" >&6; }
9538 if test "x$PRELINK" = xfalse
9539 then
9540 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9544 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9545 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 ac_wine_try_cflags_saved=$CFLAGS
9549 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 int main(int argc, char **argv) { return 0; }
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9556 else
9557 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 CFLAGS=$ac_wine_try_cflags_saved
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9564 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9565 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9566 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9569 esac
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9573 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9574 if ${ac_cv_c_dll_unixware+:} false; then :
9575 $as_echo_n "(cached) " >&6
9576 else
9577 ac_wine_try_cflags_saved=$CFLAGS
9578 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9581 void myfunc() {}
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"; then :
9584 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9585 else
9586 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 CFLAGS=$ac_wine_try_cflags_saved
9591 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9592 ac_cv_c_dll_unixware="yes"
9593 else
9594 ac_cv_c_dll_unixware="no"
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9598 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9599 if test "$ac_cv_c_dll_unixware" = "yes"
9600 then
9601 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9604 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9606 LIBWINE_DEPENDS="wine.map"
9608 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9609 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9611 esac
9613 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9614 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9615 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9616 enable_winemac_drv=${enable_winemac_drv:-no}
9617 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9620 if test "x$with_mingw" != xno
9621 then
9622 case "x$with_mingw" in
9623 x|xyes) case "$host_cpu" in
9624 aarch64*)
9625 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9626 arm*)
9627 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9628 i[3456789]86*)
9629 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
9630 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9631 mingw32-gcc" ;;
9632 x86_64)
9633 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
9634 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9636 ac_prefix_list="" ;;
9637 esac
9638 for ac_prog in $ac_prefix_list
9640 # Extract the first word of "$ac_prog", so it can be a program name with args.
9641 set dummy $ac_prog; ac_word=$2
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9643 $as_echo_n "checking for $ac_word... " >&6; }
9644 if ${ac_cv_prog_CROSSCC+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 if test -n "$CROSSCC"; then
9648 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9649 else
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651 for as_dir in $PATH
9653 IFS=$as_save_IFS
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_CROSSCC="$ac_prog"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 break 2
9661 done
9662 done
9663 IFS=$as_save_IFS
9667 CROSSCC=$ac_cv_prog_CROSSCC
9668 if test -n "$CROSSCC"; then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9670 $as_echo "$CROSSCC" >&6; }
9671 else
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9673 $as_echo "no" >&6; }
9677 test -n "$CROSSCC" && break
9678 done
9679 test -n "$CROSSCC" || CROSSCC="false"
9681 *) CROSSCC=$with_mingw ;;
9682 esac
9683 if test "$CROSSCC" != "false"
9684 then
9685 ac_save_CC="$CC"
9686 saved_CFLAGS=$CFLAGS
9687 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9689 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9693 CC="$CROSSCC"
9694 CFLAGS=$CROSSCFLAGS
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9696 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9697 if ${wine_cv_crosscc+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9704 main ()
9708 return 0;
9710 _ACEOF
9711 if ac_fn_c_try_compile "$LINENO"; then :
9712 wine_cv_crosscc=yes
9713 else
9714 wine_cv_crosscc=no
9716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9719 $as_echo "$wine_cv_crosscc" >&6; }
9720 if test $wine_cv_crosscc = yes
9721 then
9722 set x $CROSSCC
9723 shift
9724 while test $# -ge 1
9726 case "$1" in
9727 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9728 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9729 esac
9730 shift
9731 done
9733 llvm_target=$CROSSTARGET
9734 llvm_cflags="-fuse-ld=lld"
9735 if test -z "$llvm_target"
9736 then
9737 case $host_cpu in
9738 *i[3456789]86*) llvm_target=i686-windows ;;
9739 *) llvm_target=$host_cpu-windows ;;
9740 esac
9742 case $llvm_target in
9743 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9744 esac
9745 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9747 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9748 if eval \${$as_ac_var+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_wine_try_cflags_saved=$CFLAGS
9752 ac_wine_try_cflags_saved_cc=$CC
9753 ac_wine_try_cflags_saved_exeext=$ac_exeext
9754 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9755 CC="$CROSSCC"
9756 ac_exeext=".exe"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9759 int __cdecl mainCRTStartup(void) { return 0; }
9760 _ACEOF
9761 if ac_fn_c_try_link "$LINENO"; then :
9762 eval "$as_ac_var=yes"
9763 else
9764 eval "$as_ac_var=no"
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 CFLAGS=$ac_wine_try_cflags_saved
9769 CC=$ac_wine_try_cflags_saved_cc
9770 ac_exeext=$ac_wine_try_cflags_saved_exeext
9772 eval ac_res=\$$as_ac_var
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9774 $as_echo "$ac_res" >&6; }
9775 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9776 CROSSTARGET=$llvm_target
9777 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9778 DELAYLOADFLAG="-Wl,-delayload,"
9780 CFLAGS="$CFLAGS $llvm_cflags"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9784 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9785 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 ac_wine_try_cflags_saved=$CFLAGS
9789 ac_wine_try_cflags_saved_cc=$CC
9790 ac_wine_try_cflags_saved_exeext=$ac_exeext
9791 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9792 CC="$CROSSCC"
9793 ac_exeext=".exe"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9796 int __cdecl mainCRTStartup(void) { return 0; }
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 ac_cv_crosscflags__fno_strict_aliasing=yes
9800 else
9801 ac_cv_crosscflags__fno_strict_aliasing=no
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 CFLAGS=$ac_wine_try_cflags_saved
9806 CC=$ac_wine_try_cflags_saved_cc
9807 ac_exeext=$ac_wine_try_cflags_saved_exeext
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9810 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9811 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9812 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9815 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9816 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} 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 -Werror=unknown-warning-option"
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__Werror_unknown_warning_option=yes
9831 else
9832 ac_cv_crosscflags__Werror_unknown_warning_option=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__Werror_unknown_warning_option" >&5
9841 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9842 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9843 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9846 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9847 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} 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=ignored-optimization-argument"
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_ignored_optimization_argument=yes
9862 else
9863 ac_cv_crosscflags__Werror_ignored_optimization_argument=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_ignored_optimization_argument" >&5
9872 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9873 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9874 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9877 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9878 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} 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 -Wdeclaration-after-statement"
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__Wdeclaration_after_statement=yes
9893 else
9894 ac_cv_crosscflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
9903 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9904 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9905 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9908 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9909 if ${ac_cv_crosscflags__Wempty_body+:} 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 -Wempty-body"
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__Wempty_body=yes
9924 else
9925 ac_cv_crosscflags__Wempty_body=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__Wempty_body" >&5
9934 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9935 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9936 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9939 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9940 if ${ac_cv_crosscflags__Wignored_qualifiers+:} 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 -Wignored-qualifiers"
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__Wignored_qualifiers=yes
9955 else
9956 ac_cv_crosscflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
9965 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9966 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9967 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9970 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9971 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} 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 -Wpacked-not-aligned"
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__Wpacked_not_aligned=yes
9986 else
9987 ac_cv_crosscflags__Wpacked_not_aligned=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__Wpacked_not_aligned" >&5
9996 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9997 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9998 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10001 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10002 if ${ac_cv_crosscflags__Wpragma_pack+:} 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 -Wpragma-pack"
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__Wpragma_pack=yes
10017 else
10018 ac_cv_crosscflags__Wpragma_pack=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__Wpragma_pack" >&5
10027 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10028 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10029 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10032 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10033 if ${ac_cv_crosscflags__Wshift_overflow_2+:} 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 -Wshift-overflow=2"
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__Wshift_overflow_2=yes
10048 else
10049 ac_cv_crosscflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
10058 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10059 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10060 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10063 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10064 if ${ac_cv_crosscflags__Wstrict_prototypes+:} 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 -Wstrict-prototypes"
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__Wstrict_prototypes=yes
10079 else
10080 ac_cv_crosscflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
10089 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10090 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10091 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10094 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10095 if ${ac_cv_crosscflags__Wtype_limits+:} 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 -Wtype-limits"
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__Wtype_limits=yes
10110 else
10111 ac_cv_crosscflags__Wtype_limits=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__Wtype_limits" >&5
10120 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10121 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10122 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10125 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10126 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} 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 -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
10141 else
10142 ac_cv_crosscflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
10151 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10152 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10156 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10157 if ${ac_cv_crosscflags__Wvla+:} 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 -Wvla"
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__Wvla=yes
10172 else
10173 ac_cv_crosscflags__Wvla=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__Wvla" >&5
10182 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10183 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10187 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10188 if ${ac_cv_crosscflags__Wwrite_strings+:} 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 -Wwrite-strings"
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__Wwrite_strings=yes
10203 else
10204 ac_cv_crosscflags__Wwrite_strings=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__Wwrite_strings" >&5
10213 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10214 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10218 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10219 if ${ac_cv_crosscflags__Wpointer_arith+:} 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 -Wpointer-arith"
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__Wpointer_arith=yes
10234 else
10235 ac_cv_crosscflags__Wpointer_arith=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__Wpointer_arith" >&5
10244 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10245 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10249 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10250 if ${ac_cv_crosscflags__Wlogical_op+:} 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 -Wlogical-op"
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__Wlogical_op=yes
10265 else
10266 ac_cv_crosscflags__Wlogical_op=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__Wlogical_op" >&5
10275 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10276 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10277 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10280 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10281 if ${ac_cv_crosscflags__Wabsolute_value+:} 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 -Wabsolute-value"
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__Wabsolute_value=yes
10296 else
10297 ac_cv_crosscflags__Wabsolute_value=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__Wabsolute_value" >&5
10306 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10307 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10308 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10311 case $host_cpu in
10312 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10313 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10314 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10315 $as_echo_n "(cached) " >&6
10316 else
10317 ac_wine_try_cflags_saved=$CFLAGS
10318 ac_wine_try_cflags_saved_cc=$CC
10319 ac_wine_try_cflags_saved_exeext=$ac_exeext
10320 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10321 CC="$CROSSCC"
10322 ac_exeext=".exe"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 int __cdecl mainCRTStartup(void) { return 0; }
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10329 else
10330 ac_cv_crosscflags__fno_omit_frame_pointer=no
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 CFLAGS=$ac_wine_try_cflags_saved
10335 CC=$ac_wine_try_cflags_saved_cc
10336 ac_exeext=$ac_wine_try_cflags_saved_exeext
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10339 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10340 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10341 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10342 fi ;;
10343 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10344 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10345 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_wine_try_cflags_saved=$CFLAGS
10349 ac_wine_try_cflags_saved_cc=$CC
10350 ac_wine_try_cflags_saved_exeext=$ac_exeext
10351 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10352 CC="$CROSSCC"
10353 ac_exeext=".exe"
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 int __cdecl mainCRTStartup(void) { return 0; }
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"; then :
10359 ac_cv_crosscflags__Wno_format=yes
10360 else
10361 ac_cv_crosscflags__Wno_format=no
10363 rm -f core conftest.err conftest.$ac_objext \
10364 conftest$ac_exeext conftest.$ac_ext
10365 CFLAGS=$ac_wine_try_cflags_saved
10366 CC=$ac_wine_try_cflags_saved_cc
10367 ac_exeext=$ac_wine_try_cflags_saved_exeext
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10370 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10371 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10372 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10375 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10376 if ${ac_cv_crosscflags__Wformat_overflow+:} 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 -Wformat-overflow"
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__Wformat_overflow=yes
10391 else
10392 ac_cv_crosscflags__Wformat_overflow=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__Wformat_overflow" >&5
10401 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10402 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10403 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10406 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10407 if ${ac_cv_crosscflags__Wnonnull+:} 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 -Wnonnull"
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__Wnonnull=yes
10422 else
10423 ac_cv_crosscflags__Wnonnull=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__Wnonnull" >&5
10432 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10433 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10434 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10437 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10438 if ${ac_cv_crosscflags__mcx16+:} 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 -mcx16"
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__mcx16=yes
10453 else
10454 ac_cv_crosscflags__mcx16=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__mcx16" >&5
10463 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10464 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10465 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10466 fi ;;
10467 esac
10470 if test -z "$CROSSDEBUG"
10471 then
10472 for ac_flag in $CROSSCFLAGS; do
10473 case $ac_flag in
10474 -gdwarf*) CROSSDEBUG=dwarf ;;
10475 -gcodeview) CROSSDEBUG=pdb ;;
10476 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10477 esac
10478 done
10480 case $CROSSDEBUG in
10481 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10482 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10483 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10484 $as_echo_n "(cached) " >&6
10485 else
10486 ac_wine_try_cflags_saved=$CFLAGS
10487 ac_wine_try_cflags_saved_cc=$CC
10488 ac_wine_try_cflags_saved_exeext=$ac_exeext
10489 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10490 CC="$CROSSCC"
10491 ac_exeext=".exe"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10494 int __cdecl mainCRTStartup(void) { return 0; }
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 ac_cv_crosscflags__gdwarf_2=yes
10498 else
10499 ac_cv_crosscflags__gdwarf_2=no
10501 rm -f core conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 CFLAGS=$ac_wine_try_cflags_saved
10504 CC=$ac_wine_try_cflags_saved_cc
10505 ac_exeext=$ac_wine_try_cflags_saved_exeext
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10508 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10509 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10510 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10513 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10514 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_wine_try_cflags_saved=$CFLAGS
10518 ac_wine_try_cflags_saved_cc=$CC
10519 ac_wine_try_cflags_saved_exeext=$ac_exeext
10520 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10521 CC="$CROSSCC"
10522 ac_exeext=".exe"
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10525 int __cdecl mainCRTStartup(void) { return 0; }
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 ac_cv_crosscflags__gstrict_dwarf=yes
10529 else
10530 ac_cv_crosscflags__gstrict_dwarf=no
10532 rm -f core conftest.err conftest.$ac_objext \
10533 conftest$ac_exeext conftest.$ac_ext
10534 CFLAGS=$ac_wine_try_cflags_saved
10535 CC=$ac_wine_try_cflags_saved_cc
10536 ac_exeext=$ac_wine_try_cflags_saved_exeext
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10539 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10540 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10541 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10542 fi ;;
10543 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10544 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10545 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_wine_try_cflags_saved=$CFLAGS
10549 ac_wine_try_cflags_saved_cc=$CC
10550 ac_wine_try_cflags_saved_exeext=$ac_exeext
10551 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10552 CC="$CROSSCC"
10553 ac_exeext=".exe"
10554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10555 /* end confdefs.h. */
10556 int __cdecl mainCRTStartup(void) { return 0; }
10557 _ACEOF
10558 if ac_fn_c_try_link "$LINENO"; then :
10559 ac_cv_crosscflags__gcodeview=yes
10560 else
10561 ac_cv_crosscflags__gcodeview=no
10563 rm -f core conftest.err conftest.$ac_objext \
10564 conftest$ac_exeext conftest.$ac_ext
10565 CFLAGS=$ac_wine_try_cflags_saved
10566 CC=$ac_wine_try_cflags_saved_cc
10567 ac_exeext=$ac_wine_try_cflags_saved_exeext
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10570 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10571 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10572 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10573 fi ;;
10574 esac
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10577 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10578 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 ac_wine_try_cflags_saved=$CFLAGS
10582 ac_wine_try_cflags_saved_cc=$CC
10583 ac_wine_try_cflags_saved_exeext=$ac_exeext
10584 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10585 CC="$CROSSCC"
10586 ac_exeext=".exe"
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10589 int __cdecl mainCRTStartup(void) { return 0; }
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 ac_cv_crosscflags__fexcess_precision_standard=yes
10593 else
10594 ac_cv_crosscflags__fexcess_precision_standard=no
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 CFLAGS=$ac_wine_try_cflags_saved
10599 CC=$ac_wine_try_cflags_saved_cc
10600 ac_exeext=$ac_wine_try_cflags_saved_exeext
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10603 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10604 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10605 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10609 if test "x$enable_werror" = "xyes"
10610 then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10612 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10613 if ${ac_cv_crosscflags__Werror+:} false; then :
10614 $as_echo_n "(cached) " >&6
10615 else
10616 ac_wine_try_cflags_saved=$CFLAGS
10617 ac_wine_try_cflags_saved_cc=$CC
10618 ac_wine_try_cflags_saved_exeext=$ac_exeext
10619 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10620 CC="$CROSSCC"
10621 ac_exeext=".exe"
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10624 int __cdecl mainCRTStartup(void) { return 0; }
10625 _ACEOF
10626 if ac_fn_c_try_link "$LINENO"; then :
10627 ac_cv_crosscflags__Werror=yes
10628 else
10629 ac_cv_crosscflags__Werror=no
10631 rm -f core conftest.err conftest.$ac_objext \
10632 conftest$ac_exeext conftest.$ac_ext
10633 CFLAGS=$ac_wine_try_cflags_saved
10634 CC=$ac_wine_try_cflags_saved_cc
10635 ac_exeext=$ac_wine_try_cflags_saved_exeext
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10638 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10639 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10640 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10644 CFLAGS=$saved_CFLAGS
10645 CC="$ac_save_CC"
10648 if test "x$CROSSTARGET" = "x"; then :
10649 case "x$with_mingw" in
10650 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10651 xno) ;;
10652 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10653 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10654 esac
10659 if test "$ac_cv_header_pthread_h" = "yes"
10660 then
10661 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10662 if test "x$ac_cv_func_pthread_create" = xyes; then :
10664 else
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10666 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10667 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10668 $as_echo_n "(cached) " >&6
10669 else
10670 ac_check_lib_save_LIBS=$LIBS
10671 LIBS="-lpthread $LIBS"
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10673 /* end confdefs.h. */
10675 /* Override any GCC internal prototype to avoid an error.
10676 Use char because int might match the return type of a GCC
10677 builtin and then its argument prototype would still apply. */
10678 #ifdef __cplusplus
10679 extern "C"
10680 #endif
10681 char pthread_create ();
10683 main ()
10685 return pthread_create ();
10687 return 0;
10689 _ACEOF
10690 if ac_fn_c_try_link "$LINENO"; then :
10691 ac_cv_lib_pthread_pthread_create=yes
10692 else
10693 ac_cv_lib_pthread_pthread_create=no
10695 rm -f core conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 LIBS=$ac_check_lib_save_LIBS
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10700 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10701 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10702 PTHREAD_LIBS="-lpthread"
10709 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10710 case "x$with_pthread" in
10711 xno) ;;
10712 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10713 Wine cannot support threads without libpthread.
10714 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10715 esac
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10721 $as_echo_n "checking for X... " >&6; }
10724 # Check whether --with-x was given.
10725 if test "${with_x+set}" = set; then :
10726 withval=$with_x;
10729 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10730 if test "x$with_x" = xno; then
10731 # The user explicitly disabled X.
10732 have_x=disabled
10733 else
10734 case $x_includes,$x_libraries in #(
10735 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10736 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10737 $as_echo_n "(cached) " >&6
10738 else
10739 # One or both of the vars are not set, and there is no cached value.
10740 ac_x_includes=no ac_x_libraries=no
10741 rm -f -r conftest.dir
10742 if mkdir conftest.dir; then
10743 cd conftest.dir
10744 cat >Imakefile <<'_ACEOF'
10745 incroot:
10746 @echo incroot='${INCROOT}'
10747 usrlibdir:
10748 @echo usrlibdir='${USRLIBDIR}'
10749 libdir:
10750 @echo libdir='${LIBDIR}'
10751 _ACEOF
10752 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10754 for ac_var in incroot usrlibdir libdir; do
10755 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10756 done
10757 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10758 for ac_extension in a so sl dylib la dll; do
10759 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10760 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10761 ac_im_usrlibdir=$ac_im_libdir; break
10763 done
10764 # Screen out bogus values from the imake configuration. They are
10765 # bogus both because they are the default anyway, and because
10766 # using them would break gcc on systems where it needs fixed includes.
10767 case $ac_im_incroot in
10768 /usr/include) ac_x_includes= ;;
10769 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10770 esac
10771 case $ac_im_usrlibdir in
10772 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10773 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10774 esac
10776 cd ..
10777 rm -f -r conftest.dir
10780 # Standard set of common directories for X headers.
10781 # Check X11 before X11Rn because it is often a symlink to the current release.
10782 ac_x_header_dirs='
10783 /usr/X11/include
10784 /usr/X11R7/include
10785 /usr/X11R6/include
10786 /usr/X11R5/include
10787 /usr/X11R4/include
10789 /usr/include/X11
10790 /usr/include/X11R7
10791 /usr/include/X11R6
10792 /usr/include/X11R5
10793 /usr/include/X11R4
10795 /usr/local/X11/include
10796 /usr/local/X11R7/include
10797 /usr/local/X11R6/include
10798 /usr/local/X11R5/include
10799 /usr/local/X11R4/include
10801 /usr/local/include/X11
10802 /usr/local/include/X11R7
10803 /usr/local/include/X11R6
10804 /usr/local/include/X11R5
10805 /usr/local/include/X11R4
10807 /usr/X386/include
10808 /usr/x386/include
10809 /usr/XFree86/include/X11
10811 /usr/include
10812 /usr/local/include
10813 /usr/unsupported/include
10814 /usr/athena/include
10815 /usr/local/x11r5/include
10816 /usr/lpp/Xamples/include
10818 /usr/openwin/include
10819 /usr/openwin/share/include'
10821 if test "$ac_x_includes" = no; then
10822 # Guess where to find include files, by looking for Xlib.h.
10823 # First, try using that file with no special directory specified.
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 #include <X11/Xlib.h>
10827 _ACEOF
10828 if ac_fn_c_try_cpp "$LINENO"; then :
10829 # We can compile using X headers with no special include directory.
10830 ac_x_includes=
10831 else
10832 for ac_dir in $ac_x_header_dirs; do
10833 if test -r "$ac_dir/X11/Xlib.h"; then
10834 ac_x_includes=$ac_dir
10835 break
10837 done
10839 rm -f conftest.err conftest.i conftest.$ac_ext
10840 fi # $ac_x_includes = no
10842 if test "$ac_x_libraries" = no; then
10843 # Check for the libraries.
10844 # See if we find them without any special options.
10845 # Don't add to $LIBS permanently.
10846 ac_save_LIBS=$LIBS
10847 LIBS="-lX11 $LIBS"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10850 #include <X11/Xlib.h>
10852 main ()
10854 XrmInitialize ()
10856 return 0;
10858 _ACEOF
10859 if ac_fn_c_try_link "$LINENO"; then :
10860 LIBS=$ac_save_LIBS
10861 # We can link X programs with no special library path.
10862 ac_x_libraries=
10863 else
10864 LIBS=$ac_save_LIBS
10865 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10867 # Don't even attempt the hair of trying to link an X program!
10868 for ac_extension in a so sl dylib la dll; do
10869 if test -r "$ac_dir/libX11.$ac_extension"; then
10870 ac_x_libraries=$ac_dir
10871 break 2
10873 done
10874 done
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 fi # $ac_x_libraries = no
10880 case $ac_x_includes,$ac_x_libraries in #(
10881 no,* | *,no | *\'*)
10882 # Didn't find X, or a directory has "'" in its name.
10883 ac_cv_have_x="have_x=no";; #(
10885 # Record where we found X for the cache.
10886 ac_cv_have_x="have_x=yes\
10887 ac_x_includes='$ac_x_includes'\
10888 ac_x_libraries='$ac_x_libraries'"
10889 esac
10891 ;; #(
10892 *) have_x=yes;;
10893 esac
10894 eval "$ac_cv_have_x"
10895 fi # $with_x != no
10897 if test "$have_x" != yes; then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10899 $as_echo "$have_x" >&6; }
10900 no_x=yes
10901 else
10902 # If each of the values was on the command line, it overrides each guess.
10903 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10904 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10905 # Update the cache value to reflect the command line values.
10906 ac_cv_have_x="have_x=yes\
10907 ac_x_includes='$x_includes'\
10908 ac_x_libraries='$x_libraries'"
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10910 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10913 if test "$no_x" = yes; then
10914 # Not all programs may use this symbol, but it does not hurt to define it.
10916 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10918 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10919 else
10920 if test -n "$x_includes"; then
10921 X_CFLAGS="$X_CFLAGS -I$x_includes"
10924 # It would also be nice to do this for all -L options, not just this one.
10925 if test -n "$x_libraries"; then
10926 X_LIBS="$X_LIBS -L$x_libraries"
10927 # For Solaris; some versions of Sun CC require a space after -R and
10928 # others require no space. Words are not sufficient . . . .
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10930 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10931 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10932 ac_xsave_c_werror_flag=$ac_c_werror_flag
10933 ac_c_werror_flag=yes
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10938 main ()
10942 return 0;
10944 _ACEOF
10945 if ac_fn_c_try_link "$LINENO"; then :
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10948 X_LIBS="$X_LIBS -R$x_libraries"
10949 else
10950 LIBS="$ac_xsave_LIBS -R $x_libraries"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10955 main ()
10959 return 0;
10961 _ACEOF
10962 if ac_fn_c_try_link "$LINENO"; then :
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10964 $as_echo "yes" >&6; }
10965 X_LIBS="$X_LIBS -R $x_libraries"
10966 else
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10968 $as_echo "neither works" >&6; }
10970 rm -f core conftest.err conftest.$ac_objext \
10971 conftest$ac_exeext conftest.$ac_ext
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 ac_c_werror_flag=$ac_xsave_c_werror_flag
10976 LIBS=$ac_xsave_LIBS
10979 # Check for system-dependent libraries X programs must link with.
10980 # Do this before checking for the system-independent R6 libraries
10981 # (-lICE), since we may need -lsocket or whatever for X linking.
10983 if test "$ISC" = yes; then
10984 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10985 else
10986 # Martyn Johnson says this is needed for Ultrix, if the X
10987 # libraries were built with DECnet support. And Karl Berry says
10988 # the Alpha needs dnet_stub (dnet does not exist).
10989 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char XOpenDisplay ();
11001 main ()
11003 return XOpenDisplay ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11010 else
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11012 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11013 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11014 $as_echo_n "(cached) " >&6
11015 else
11016 ac_check_lib_save_LIBS=$LIBS
11017 LIBS="-ldnet $LIBS"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11024 #ifdef __cplusplus
11025 extern "C"
11026 #endif
11027 char dnet_ntoa ();
11029 main ()
11031 return dnet_ntoa ();
11033 return 0;
11035 _ACEOF
11036 if ac_fn_c_try_link "$LINENO"; then :
11037 ac_cv_lib_dnet_dnet_ntoa=yes
11038 else
11039 ac_cv_lib_dnet_dnet_ntoa=no
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 LIBS=$ac_check_lib_save_LIBS
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11046 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11047 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11048 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11051 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11053 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11054 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_lib_save_LIBS=$LIBS
11058 LIBS="-ldnet_stub $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char dnet_ntoa ();
11070 main ()
11072 return dnet_ntoa ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11079 else
11080 ac_cv_lib_dnet_stub_dnet_ntoa=no
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11087 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11088 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11089 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS="$ac_xsave_LIBS"
11098 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11099 # to get the SysV transport functions.
11100 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11101 # needs -lnsl.
11102 # The nsl library prevents programs from opening the X display
11103 # on Irix 5.2, according to T.E. Dickey.
11104 # The functions gethostbyname, getservbyname, and inet_addr are
11105 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11106 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11107 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11111 if test $ac_cv_func_gethostbyname = no; then
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11113 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11114 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11115 $as_echo_n "(cached) " >&6
11116 else
11117 ac_check_lib_save_LIBS=$LIBS
11118 LIBS="-lnsl $LIBS"
11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11125 #ifdef __cplusplus
11126 extern "C"
11127 #endif
11128 char gethostbyname ();
11130 main ()
11132 return gethostbyname ();
11134 return 0;
11136 _ACEOF
11137 if ac_fn_c_try_link "$LINENO"; then :
11138 ac_cv_lib_nsl_gethostbyname=yes
11139 else
11140 ac_cv_lib_nsl_gethostbyname=no
11142 rm -f core conftest.err conftest.$ac_objext \
11143 conftest$ac_exeext conftest.$ac_ext
11144 LIBS=$ac_check_lib_save_LIBS
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11147 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11148 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11152 if test $ac_cv_lib_nsl_gethostbyname = no; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11154 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11155 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lbsd $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char gethostbyname ();
11171 main ()
11173 return gethostbyname ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_bsd_gethostbyname=yes
11180 else
11181 ac_cv_lib_bsd_gethostbyname=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11188 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11189 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11190 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11196 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11197 # socket/setsockopt and other routines are undefined under SCO ODT
11198 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11199 # on later versions), says Simon Leinen: it contains gethostby*
11200 # variants that don't use the name server (or something). -lsocket
11201 # must be given before -lnsl if both are needed. We assume that
11202 # if connect needs -lnsl, so does gethostbyname.
11203 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11204 if test "x$ac_cv_func_connect" = xyes; then :
11208 if test $ac_cv_func_connect = no; then
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11210 $as_echo_n "checking for connect in -lsocket... " >&6; }
11211 if ${ac_cv_lib_socket_connect+:} false; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 ac_check_lib_save_LIBS=$LIBS
11215 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char connect ();
11227 main ()
11229 return connect ();
11231 return 0;
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_socket_connect=yes
11236 else
11237 ac_cv_lib_socket_connect=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11244 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11245 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11246 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11251 # Guillermo Gomez says -lposix is necessary on A/UX.
11252 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11253 if test "x$ac_cv_func_remove" = xyes; then :
11257 if test $ac_cv_func_remove = no; then
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11259 $as_echo_n "checking for remove in -lposix... " >&6; }
11260 if ${ac_cv_lib_posix_remove+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lposix $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char remove ();
11276 main ()
11278 return remove ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_posix_remove=yes
11285 else
11286 ac_cv_lib_posix_remove=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11293 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11294 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11300 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11301 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11302 if test "x$ac_cv_func_shmat" = xyes; then :
11306 if test $ac_cv_func_shmat = no; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11308 $as_echo_n "checking for shmat in -lipc... " >&6; }
11309 if ${ac_cv_lib_ipc_shmat+:} false; then :
11310 $as_echo_n "(cached) " >&6
11311 else
11312 ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-lipc $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char shmat ();
11325 main ()
11327 return shmat ();
11329 return 0;
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_ipc_shmat=yes
11334 else
11335 ac_cv_lib_ipc_shmat=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11342 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11343 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11344 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11350 # Check for libraries that X11R6 Xt/Xaw programs need.
11351 ac_save_LDFLAGS=$LDFLAGS
11352 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11353 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11354 # check for ICE first), but we must link in the order -lSM -lICE or
11355 # we get undefined symbols. So assume we have SM if we have ICE.
11356 # These have to be linked with before -lX11, unlike the other
11357 # libraries we check for below, so use a different variable.
11358 # John Interrante, Karl Berry
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11360 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11361 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11362 $as_echo_n "(cached) " >&6
11363 else
11364 ac_check_lib_save_LIBS=$LIBS
11365 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char IceConnectionNumber ();
11377 main ()
11379 return IceConnectionNumber ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_ICE_IceConnectionNumber=yes
11386 else
11387 ac_cv_lib_ICE_IceConnectionNumber=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11394 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11395 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11396 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11399 LDFLAGS=$ac_save_LDFLAGS
11404 if test "$have_x" = "yes"
11405 then
11406 ac_save_CPPFLAGS="$CPPFLAGS"
11407 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11410 $as_echo_n "checking for -lX11... " >&6; }
11411 if ${ac_cv_lib_soname_X11+:} false; then :
11412 $as_echo_n "(cached) " >&6
11413 else
11414 ac_check_soname_save_LIBS=$LIBS
11415 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11422 #ifdef __cplusplus
11423 extern "C"
11424 #endif
11425 char XCreateWindow ();
11427 main ()
11429 return XCreateWindow ();
11431 return 0;
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"; then :
11435 case "$LIBEXT" in
11436 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11437 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'` ;;
11438 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11439 if ${ac_cv_lib_soname_X11:+false} :; then :
11440 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11441 fi ;;
11442 esac
11443 else
11444 ac_cv_lib_soname_X11=
11446 rm -f core conftest.err conftest.$ac_objext \
11447 conftest$ac_exeext conftest.$ac_ext
11448 LIBS=$ac_check_soname_save_LIBS
11450 if ${ac_cv_lib_soname_X11:+false} :; then :
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11452 $as_echo "not found" >&6; }
11454 else
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11456 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11458 cat >>confdefs.h <<_ACEOF
11459 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11460 _ACEOF
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11465 $as_echo_n "checking for -lXext... " >&6; }
11466 if ${ac_cv_lib_soname_Xext+:} false; then :
11467 $as_echo_n "(cached) " >&6
11468 else
11469 ac_check_soname_save_LIBS=$LIBS
11470 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11477 #ifdef __cplusplus
11478 extern "C"
11479 #endif
11480 char XextCreateExtension ();
11482 main ()
11484 return XextCreateExtension ();
11486 return 0;
11488 _ACEOF
11489 if ac_fn_c_try_link "$LINENO"; then :
11490 case "$LIBEXT" in
11491 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11492 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'` ;;
11493 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11494 if ${ac_cv_lib_soname_Xext:+false} :; then :
11495 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11496 fi ;;
11497 esac
11498 else
11499 ac_cv_lib_soname_Xext=
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_soname_save_LIBS
11505 if ${ac_cv_lib_soname_Xext:+false} :; then :
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11507 $as_echo "not found" >&6; }
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11511 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11513 cat >>confdefs.h <<_ACEOF
11514 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11515 _ACEOF
11517 X_LIBS="$X_LIBS -lXext"
11519 X_LIBS="$X_LIBS -lX11"
11521 for ac_header in X11/Xlib.h \
11522 X11/XKBlib.h \
11523 X11/Xutil.h \
11524 X11/Xcursor/Xcursor.h \
11525 X11/extensions/shape.h \
11526 X11/extensions/XInput.h \
11527 X11/extensions/XInput2.h \
11528 X11/extensions/XShm.h \
11529 X11/extensions/Xcomposite.h \
11530 X11/extensions/Xfixes.h \
11531 X11/extensions/Xinerama.h \
11532 X11/extensions/Xrandr.h \
11533 X11/extensions/Xrender.h \
11534 X11/extensions/xf86vmode.h \
11535 X11/extensions/xf86vmproto.h
11536 do :
11537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11538 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11539 # include <X11/Xlib.h>
11540 #endif
11541 #ifdef HAVE_X11_XUTIL_H
11542 # include <X11/Xutil.h>
11543 #endif
11545 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11546 cat >>confdefs.h <<_ACEOF
11547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11548 _ACEOF
11552 done
11555 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11556 then
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11558 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11559 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11560 $as_echo_n "(cached) " >&6
11561 else
11562 ac_check_lib_save_LIBS=$LIBS
11563 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11570 #ifdef __cplusplus
11571 extern "C"
11572 #endif
11573 char XkbQueryExtension ();
11575 main ()
11577 return XkbQueryExtension ();
11579 return 0;
11581 _ACEOF
11582 if ac_fn_c_try_link "$LINENO"; then :
11583 ac_cv_lib_X11_XkbQueryExtension=yes
11584 else
11585 ac_cv_lib_X11_XkbQueryExtension=no
11587 rm -f core conftest.err conftest.$ac_objext \
11588 conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_lib_save_LIBS
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11592 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11593 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11595 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11601 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11602 then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11604 $as_echo_n "checking for -lXcursor... " >&6; }
11605 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11606 $as_echo_n "(cached) " >&6
11607 else
11608 ac_check_soname_save_LIBS=$LIBS
11609 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11616 #ifdef __cplusplus
11617 extern "C"
11618 #endif
11619 char XcursorImageLoadCursor ();
11621 main ()
11623 return XcursorImageLoadCursor ();
11625 return 0;
11627 _ACEOF
11628 if ac_fn_c_try_link "$LINENO"; then :
11629 case "$LIBEXT" in
11630 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11631 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'` ;;
11632 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11633 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11634 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11635 fi ;;
11636 esac
11637 else
11638 ac_cv_lib_soname_Xcursor=
11640 rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_soname_save_LIBS
11644 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11646 $as_echo "not found" >&6; }
11648 else
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11650 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11652 cat >>confdefs.h <<_ACEOF
11653 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11654 _ACEOF
11659 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11660 case "x$with_xcursor" in
11661 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11662 xno) ;;
11663 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11664 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11665 esac
11669 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11670 then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11672 $as_echo_n "checking for -lXi... " >&6; }
11673 if ${ac_cv_lib_soname_Xi+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_soname_save_LIBS=$LIBS
11677 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char XOpenDevice ();
11689 main ()
11691 return XOpenDevice ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 case "$LIBEXT" in
11698 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11699 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'` ;;
11700 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11701 if ${ac_cv_lib_soname_Xi:+false} :; then :
11702 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11703 fi ;;
11704 esac
11705 else
11706 ac_cv_lib_soname_Xi=
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_soname_save_LIBS
11712 if ${ac_cv_lib_soname_Xi:+false} :; then :
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11714 $as_echo "not found" >&6; }
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11718 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11720 cat >>confdefs.h <<_ACEOF
11721 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11722 _ACEOF
11727 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11728 case "x$with_xinput" in
11729 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11730 xno) ;;
11731 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11732 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11733 esac
11737 if test "x$ac_cv_lib_soname_Xi" != x
11738 then
11739 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11740 case "x$with_xinput2" in
11741 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11742 xno) ;;
11743 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11744 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11745 esac
11750 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11751 then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11753 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11754 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11755 $as_echo_n "(cached) " >&6
11756 else
11757 ac_check_lib_save_LIBS=$LIBS
11758 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char XShmQueryExtension ();
11770 main ()
11772 return XShmQueryExtension ();
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"; then :
11778 ac_cv_lib_Xext_XShmQueryExtension=yes
11779 else
11780 ac_cv_lib_Xext_XShmQueryExtension=no
11782 rm -f core conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_lib_save_LIBS
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11787 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11788 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11790 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11795 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11796 case "x$with_xshm" in
11797 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11800 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11801 esac
11805 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11806 then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11808 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11809 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11810 $as_echo_n "(cached) " >&6
11811 else
11812 ac_check_lib_save_LIBS=$LIBS
11813 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11820 #ifdef __cplusplus
11821 extern "C"
11822 #endif
11823 char XShapeQueryExtension ();
11825 main ()
11827 return XShapeQueryExtension ();
11829 return 0;
11831 _ACEOF
11832 if ac_fn_c_try_link "$LINENO"; then :
11833 ac_cv_lib_Xext_XShapeQueryExtension=yes
11834 else
11835 ac_cv_lib_Xext_XShapeQueryExtension=no
11837 rm -f core conftest.err conftest.$ac_objext \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11842 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11843 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11845 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11850 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11851 case "x$with_xshape" in
11852 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11853 xno) ;;
11854 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11855 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11856 esac
11860 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11861 then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11863 $as_echo_n "checking for -lXxf86vm... " >&6; }
11864 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_soname_save_LIBS=$LIBS
11868 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char XF86VidModeQueryExtension ();
11880 main ()
11882 return XF86VidModeQueryExtension ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 case "$LIBEXT" in
11889 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11890 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'` ;;
11891 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11892 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11893 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11894 fi ;;
11895 esac
11896 else
11897 ac_cv_lib_soname_Xxf86vm=
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_soname_save_LIBS
11903 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11905 $as_echo "not found" >&6; }
11907 else
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11909 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11911 cat >>confdefs.h <<_ACEOF
11912 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11913 _ACEOF
11918 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11919 case "x$with_xxf86vm" in
11920 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11921 xno) ;;
11922 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11923 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11924 esac
11928 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11929 then
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11931 $as_echo_n "checking for -lXrender... " >&6; }
11932 if ${ac_cv_lib_soname_Xrender+:} false; then :
11933 $as_echo_n "(cached) " >&6
11934 else
11935 ac_check_soname_save_LIBS=$LIBS
11936 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11940 /* Override any GCC internal prototype to avoid an error.
11941 Use char because int might match the return type of a GCC
11942 builtin and then its argument prototype would still apply. */
11943 #ifdef __cplusplus
11944 extern "C"
11945 #endif
11946 char XRenderQueryExtension ();
11948 main ()
11950 return XRenderQueryExtension ();
11952 return 0;
11954 _ACEOF
11955 if ac_fn_c_try_link "$LINENO"; then :
11956 case "$LIBEXT" in
11957 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11958 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'` ;;
11959 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11960 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11961 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11962 fi ;;
11963 esac
11964 else
11965 ac_cv_lib_soname_Xrender=
11967 rm -f core conftest.err conftest.$ac_objext \
11968 conftest$ac_exeext conftest.$ac_ext
11969 LIBS=$ac_check_soname_save_LIBS
11971 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11973 $as_echo "not found" >&6; }
11975 else
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11977 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11979 cat >>confdefs.h <<_ACEOF
11980 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11981 _ACEOF
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11984 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11985 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11986 $as_echo_n "(cached) " >&6
11987 else
11988 ac_check_lib_save_LIBS=$LIBS
11989 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11993 /* Override any GCC internal prototype to avoid an error.
11994 Use char because int might match the return type of a GCC
11995 builtin and then its argument prototype would still apply. */
11996 #ifdef __cplusplus
11997 extern "C"
11998 #endif
11999 char XRenderSetPictureTransform ();
12001 main ()
12003 return XRenderSetPictureTransform ();
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_link "$LINENO"; then :
12009 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12010 else
12011 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LIBS=$ac_check_lib_save_LIBS
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12018 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12019 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12021 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12026 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12027 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12028 $as_echo_n "(cached) " >&6
12029 else
12030 ac_check_lib_save_LIBS=$LIBS
12031 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12038 #ifdef __cplusplus
12039 extern "C"
12040 #endif
12041 char XRenderCreateLinearGradient ();
12043 main ()
12045 return XRenderCreateLinearGradient ();
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"; then :
12051 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12052 else
12053 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12055 rm -f core conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12057 LIBS=$ac_check_lib_save_LIBS
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12060 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12061 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12063 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12070 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12071 case "x$with_xrender" in
12072 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12073 xno) ;;
12074 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12075 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12076 esac
12080 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12081 then
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12084 #include <X11/Xlib.h>
12085 #include <X11/extensions/Xrandr.h>
12087 main ()
12089 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12091 return 0;
12093 _ACEOF
12094 if ac_fn_c_try_compile "$LINENO"; then :
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12096 $as_echo_n "checking for -lXrandr... " >&6; }
12097 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12098 $as_echo_n "(cached) " >&6
12099 else
12100 ac_check_soname_save_LIBS=$LIBS
12101 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 /* Override any GCC internal prototype to avoid an error.
12106 Use char because int might match the return type of a GCC
12107 builtin and then its argument prototype would still apply. */
12108 #ifdef __cplusplus
12109 extern "C"
12110 #endif
12111 char XRRQueryExtension ();
12113 main ()
12115 return XRRQueryExtension ();
12117 return 0;
12119 _ACEOF
12120 if ac_fn_c_try_link "$LINENO"; then :
12121 case "$LIBEXT" in
12122 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12123 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'` ;;
12124 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12125 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12126 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12127 fi ;;
12128 esac
12129 else
12130 ac_cv_lib_soname_Xrandr=
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_soname_save_LIBS
12136 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12138 $as_echo "not found" >&6; }
12140 else
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12142 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12144 cat >>confdefs.h <<_ACEOF
12145 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12146 _ACEOF
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 #include <X11/Xlib.h>
12151 #include <X11/extensions/Xrandr.h>
12153 main ()
12155 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_compile "$LINENO"; then :
12162 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12164 else
12165 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12172 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12173 case "x$with_xrandr" in
12174 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12175 xno) ;;
12176 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12177 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12178 esac
12182 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12183 then
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12186 #include <X11/Xlib.h>
12187 #include <X11/extensions/Xfixes.h>
12189 main ()
12191 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_compile "$LINENO"; then :
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12198 $as_echo_n "checking for -lXfixes... " >&6; }
12199 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12200 $as_echo_n "(cached) " >&6
12201 else
12202 ac_check_soname_save_LIBS=$LIBS
12203 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12207 /* Override any GCC internal prototype to avoid an error.
12208 Use char because int might match the return type of a GCC
12209 builtin and then its argument prototype would still apply. */
12210 #ifdef __cplusplus
12211 extern "C"
12212 #endif
12213 char XFixesQueryVersion ();
12215 main ()
12217 return XFixesQueryVersion ();
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_link "$LINENO"; then :
12223 case "$LIBEXT" in
12224 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12225 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'` ;;
12226 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12227 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12228 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12229 fi ;;
12230 esac
12231 else
12232 ac_cv_lib_soname_Xfixes=
12234 rm -f core conftest.err conftest.$ac_objext \
12235 conftest$ac_exeext conftest.$ac_ext
12236 LIBS=$ac_check_soname_save_LIBS
12238 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12240 $as_echo "not found" >&6; }
12242 else
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12244 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12246 cat >>confdefs.h <<_ACEOF
12247 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12248 _ACEOF
12253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12255 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12256 case "x$with_xfixes" in
12257 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12258 xno) ;;
12259 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12260 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12261 esac
12265 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12266 then
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 #include <X11/Xlib.h>
12270 #include <X11/extensions/Xinerama.h>
12272 main ()
12274 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_compile "$LINENO"; then :
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12281 $as_echo_n "checking for -lXinerama... " >&6; }
12282 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12283 $as_echo_n "(cached) " >&6
12284 else
12285 ac_check_soname_save_LIBS=$LIBS
12286 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 #ifdef __cplusplus
12294 extern "C"
12295 #endif
12296 char XineramaQueryScreens ();
12298 main ()
12300 return XineramaQueryScreens ();
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"; then :
12306 case "$LIBEXT" in
12307 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12308 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'` ;;
12309 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12310 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12311 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12312 fi ;;
12313 esac
12314 else
12315 ac_cv_lib_soname_Xinerama=
12317 rm -f core conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_soname_save_LIBS
12321 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12323 $as_echo "not found" >&6; }
12325 else
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12327 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12329 cat >>confdefs.h <<_ACEOF
12330 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12331 _ACEOF
12336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12338 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12339 case "x$with_xinerama" in
12340 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12341 xno) ;;
12342 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12343 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12344 esac
12348 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12349 then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12351 $as_echo_n "checking for -lXcomposite... " >&6; }
12352 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 ac_check_soname_save_LIBS=$LIBS
12356 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12363 #ifdef __cplusplus
12364 extern "C"
12365 #endif
12366 char XCompositeRedirectWindow ();
12368 main ()
12370 return XCompositeRedirectWindow ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"; then :
12376 case "$LIBEXT" in
12377 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12378 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'` ;;
12379 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12380 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12381 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12382 fi ;;
12383 esac
12384 else
12385 ac_cv_lib_soname_Xcomposite=
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LIBS=$ac_check_soname_save_LIBS
12391 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12393 $as_echo "not found" >&6; }
12395 else
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12397 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12399 cat >>confdefs.h <<_ACEOF
12400 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12401 _ACEOF
12406 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12407 case "x$with_xcomposite" in
12408 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12409 xno) ;;
12410 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12411 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12412 esac
12416 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12417 #include <X11/Xlib.h>
12418 #endif
12420 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12422 cat >>confdefs.h <<_ACEOF
12423 #define HAVE_XICCALLBACK_CALLBACK 1
12424 _ACEOF
12428 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12429 #include <X11/Xlib.h>
12430 #endif
12432 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12434 cat >>confdefs.h <<_ACEOF
12435 #define HAVE_XEVENT_XCOOKIE 1
12436 _ACEOF
12443 opengl_msg=""
12444 if test "x$with_opengl" != "xno"
12445 then
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12447 $as_echo_n "checking for -lGL... " >&6; }
12448 if ${ac_cv_lib_soname_GL+:} false; then :
12449 $as_echo_n "(cached) " >&6
12450 else
12451 ac_check_soname_save_LIBS=$LIBS
12452 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12456 /* Override any GCC internal prototype to avoid an error.
12457 Use char because int might match the return type of a GCC
12458 builtin and then its argument prototype would still apply. */
12459 #ifdef __cplusplus
12460 extern "C"
12461 #endif
12462 char glXCreateContext ();
12464 main ()
12466 return glXCreateContext ();
12468 return 0;
12470 _ACEOF
12471 if ac_fn_c_try_link "$LINENO"; then :
12472 case "$LIBEXT" in
12473 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12474 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'` ;;
12475 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12476 if ${ac_cv_lib_soname_GL:+false} :; then :
12477 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12478 fi ;;
12479 esac
12480 else
12481 ac_cv_lib_soname_GL=
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 LIBS=$ac_check_soname_save_LIBS
12487 if ${ac_cv_lib_soname_GL:+false} :; then :
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12489 $as_echo "not found" >&6; }
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12491 $as_echo_n "checking for -lGL... " >&6; }
12492 if ${ac_cv_lib_soname_GL+:} false; then :
12493 $as_echo_n "(cached) " >&6
12494 else
12495 ac_check_soname_save_LIBS=$LIBS
12496 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"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 /* Override any GCC internal prototype to avoid an error.
12501 Use char because int might match the return type of a GCC
12502 builtin and then its argument prototype would still apply. */
12503 #ifdef __cplusplus
12504 extern "C"
12505 #endif
12506 char glXCreateContext ();
12508 main ()
12510 return glXCreateContext ();
12512 return 0;
12514 _ACEOF
12515 if ac_fn_c_try_link "$LINENO"; then :
12516 case "$LIBEXT" in
12517 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12518 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'` ;;
12519 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12520 if ${ac_cv_lib_soname_GL:+false} :; then :
12521 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12522 fi ;;
12523 esac
12524 else
12525 ac_cv_lib_soname_GL=
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 LIBS=$ac_check_soname_save_LIBS
12531 if ${ac_cv_lib_soname_GL:+false} :; then :
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12533 $as_echo "not found" >&6; }
12534 if test -f /usr/X11R6/lib/libGL.a
12535 then
12536 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12537 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12538 else
12539 opengl_msg="No OpenGL library found on this system."
12541 else
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12543 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12547 _ACEOF
12549 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"
12551 else
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12553 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12555 cat >>confdefs.h <<_ACEOF
12556 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12557 _ACEOF
12559 OPENGL_LIBS="-lGL"
12561 if test "x$with_glu" != "xno"
12562 then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12564 $as_echo_n "checking for -lGLU... " >&6; }
12565 if ${ac_cv_lib_soname_GLU+:} false; then :
12566 $as_echo_n "(cached) " >&6
12567 else
12568 ac_check_soname_save_LIBS=$LIBS
12569 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12576 #ifdef __cplusplus
12577 extern "C"
12578 #endif
12579 char gluLookAt ();
12581 main ()
12583 return gluLookAt ();
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_link "$LINENO"; then :
12589 case "$LIBEXT" in
12590 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12591 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12592 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12593 if ${ac_cv_lib_soname_GLU:+false} :; then :
12594 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12595 fi ;;
12596 esac
12597 else
12598 ac_cv_lib_soname_GLU=
12600 rm -f core conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_soname_save_LIBS
12604 if ${ac_cv_lib_soname_GLU:+false} :; then :
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12606 $as_echo "not found" >&6; }
12608 else
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12610 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12612 cat >>confdefs.h <<_ACEOF
12613 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12614 _ACEOF
12618 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12619 case "x$with_glu" in
12620 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12621 xno) ;;
12622 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12623 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12624 esac
12629 if test "x$with_osmesa" != "xno"
12630 then
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12632 $as_echo_n "checking for -lOSMesa... " >&6; }
12633 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12634 $as_echo_n "(cached) " >&6
12635 else
12636 ac_check_soname_save_LIBS=$LIBS
12637 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12641 /* Override any GCC internal prototype to avoid an error.
12642 Use char because int might match the return type of a GCC
12643 builtin and then its argument prototype would still apply. */
12644 #ifdef __cplusplus
12645 extern "C"
12646 #endif
12647 char OSMesaGetProcAddress ();
12649 main ()
12651 return OSMesaGetProcAddress ();
12653 return 0;
12655 _ACEOF
12656 if ac_fn_c_try_link "$LINENO"; then :
12657 case "$LIBEXT" in
12658 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12659 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'` ;;
12660 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12661 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12662 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12663 fi ;;
12664 esac
12665 else
12666 ac_cv_lib_soname_OSMesa=
12668 rm -f core conftest.err conftest.$ac_objext \
12669 conftest$ac_exeext conftest.$ac_ext
12670 LIBS=$ac_check_soname_save_LIBS
12672 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12674 $as_echo "not found" >&6; }
12676 else
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12678 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12680 cat >>confdefs.h <<_ACEOF
12681 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12682 _ACEOF
12686 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12687 case "x$with_osmesa" in
12688 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12689 xno) ;;
12690 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12691 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12692 esac
12697 if test -n "$opengl_msg"; then :
12698 case "x$with_opengl" in
12699 x) as_fn_append wine_warnings "|$opengl_msg
12700 OpenGL and Direct3D won't be supported." ;;
12701 xno) ;;
12702 *) as_fn_error $? "$opengl_msg
12703 OpenGL and Direct3D won't be supported.
12704 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12705 esac
12709 CPPFLAGS="$ac_save_CPPFLAGS"
12710 else
12711 X_CFLAGS=""
12712 X_LIBS=""
12715 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12716 then
12717 if test "x$X_LIBS" = "x"; then :
12718 case "x$with_x" in
12719 xno) ;;
12720 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12721 without X support, which probably isn't what you want. You will need
12722 to install ${notice_platform}development packages of Xlib at the very least.
12723 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12724 esac
12725 enable_winex11_drv=${enable_winex11_drv:-no}
12727 else
12728 if test "x$X_LIBS" = "x"; then :
12729 case "x$with_x" in
12730 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12731 xno) ;;
12732 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12733 This is an error since --with-x was requested." "$LINENO" 5 ;;
12734 esac
12735 enable_winex11_drv=${enable_winex11_drv:-no}
12739 if test "$ac_cv_header_CL_cl_h" = "yes"
12740 then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12742 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12743 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 ac_check_lib_save_LIBS=$LIBS
12747 LIBS="-lOpenCL $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 char clGetPlatformInfo ();
12759 main ()
12761 return clGetPlatformInfo ();
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12768 else
12769 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12771 rm -f core conftest.err conftest.$ac_objext \
12772 conftest$ac_exeext conftest.$ac_ext
12773 LIBS=$ac_check_lib_save_LIBS
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12776 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12777 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12778 OPENCL_LIBS="-lOpenCL"
12783 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12784 case "x$with_opencl" in
12785 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12786 xno) ;;
12787 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12788 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12789 esac
12790 enable_opencl=${enable_opencl:-no}
12793 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12794 then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12796 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12797 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12798 $as_echo_n "(cached) " >&6
12799 else
12800 ac_check_lib_save_LIBS=$LIBS
12801 LIBS="-lpcap $LIBS"
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12808 #ifdef __cplusplus
12809 extern "C"
12810 #endif
12811 char pcap_create ();
12813 main ()
12815 return pcap_create ();
12817 return 0;
12819 _ACEOF
12820 if ac_fn_c_try_link "$LINENO"; then :
12821 ac_cv_lib_pcap_pcap_create=yes
12822 else
12823 ac_cv_lib_pcap_pcap_create=no
12825 rm -f core conftest.err conftest.$ac_objext \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12830 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12831 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12832 PCAP_LIBS="-lpcap"
12837 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12838 case "x$with_pcap" in
12839 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12840 xno) ;;
12841 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12842 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12843 esac
12844 enable_wpcap=${enable_wpcap:-no}
12848 if test "x$with_xml" != "xno"
12849 then
12850 if ${XML2_CFLAGS:+false} :; then :
12851 if ${PKG_CONFIG+:} false; then :
12852 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12855 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12856 if ${XML2_LIBS:+false} :; then :
12857 if ${PKG_CONFIG+:} false; then :
12858 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12861 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12862 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12864 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12865 ac_save_CPPFLAGS=$CPPFLAGS
12866 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12867 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12868 do :
12869 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12870 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12872 cat >>confdefs.h <<_ACEOF
12873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12874 _ACEOF
12878 done
12880 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"
12881 then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12883 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12884 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lxml2 $XML2_LIBS $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char xmlParseMemory ();
12900 main ()
12902 return xmlParseMemory ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_xml2_xmlParseMemory=yes
12909 else
12910 ac_cv_lib_xml2_xmlParseMemory=no
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12917 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12918 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12920 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12922 else
12923 XML2_LIBS=""
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12927 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12928 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_lib_save_LIBS=$LIBS
12932 LIBS="-lxml2 $XML2_LIBS $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char xmlReadMemory ();
12944 main ()
12946 return xmlReadMemory ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 ac_cv_lib_xml2_xmlReadMemory=yes
12953 else
12954 ac_cv_lib_xml2_xmlReadMemory=no
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_lib_save_LIBS
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12961 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12962 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12964 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12969 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12970 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12971 $as_echo_n "(cached) " >&6
12972 else
12973 ac_check_lib_save_LIBS=$LIBS
12974 LIBS="-lxml2 $XML2_LIBS $LIBS"
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12978 /* Override any GCC internal prototype to avoid an error.
12979 Use char because int might match the return type of a GCC
12980 builtin and then its argument prototype would still apply. */
12981 #ifdef __cplusplus
12982 extern "C"
12983 #endif
12984 char xmlNewDocPI ();
12986 main ()
12988 return xmlNewDocPI ();
12990 return 0;
12992 _ACEOF
12993 if ac_fn_c_try_link "$LINENO"; then :
12994 ac_cv_lib_xml2_xmlNewDocPI=yes
12995 else
12996 ac_cv_lib_xml2_xmlNewDocPI=no
12998 rm -f core conftest.err conftest.$ac_objext \
12999 conftest$ac_exeext conftest.$ac_ext
13000 LIBS=$ac_check_lib_save_LIBS
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13003 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13004 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13006 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13011 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13012 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-lxml2 $XML2_LIBS $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char xmlSchemaSetParserStructuredErrors ();
13028 main ()
13030 return xmlSchemaSetParserStructuredErrors ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13037 else
13038 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13045 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13046 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13048 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13053 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13054 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13055 $as_echo_n "(cached) " >&6
13056 else
13057 ac_check_lib_save_LIBS=$LIBS
13058 LIBS="-lxml2 $XML2_LIBS $LIBS"
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13062 /* Override any GCC internal prototype to avoid an error.
13063 Use char because int might match the return type of a GCC
13064 builtin and then its argument prototype would still apply. */
13065 #ifdef __cplusplus
13066 extern "C"
13067 #endif
13068 char xmlSchemaSetValidStructuredErrors ();
13070 main ()
13072 return xmlSchemaSetValidStructuredErrors ();
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_link "$LINENO"; then :
13078 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13079 else
13080 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13082 rm -f core conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13084 LIBS=$ac_check_lib_save_LIBS
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13087 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13088 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13090 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13095 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13096 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13097 $as_echo_n "(cached) " >&6
13098 else
13099 ac_check_lib_save_LIBS=$LIBS
13100 LIBS="-lxml2 $XML2_LIBS $LIBS"
13101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h. */
13104 /* Override any GCC internal prototype to avoid an error.
13105 Use char because int might match the return type of a GCC
13106 builtin and then its argument prototype would still apply. */
13107 #ifdef __cplusplus
13108 extern "C"
13109 #endif
13110 char xmlFirstElementChild ();
13112 main ()
13114 return xmlFirstElementChild ();
13116 return 0;
13118 _ACEOF
13119 if ac_fn_c_try_link "$LINENO"; then :
13120 ac_cv_lib_xml2_xmlFirstElementChild=yes
13121 else
13122 ac_cv_lib_xml2_xmlFirstElementChild=no
13124 rm -f core conftest.err conftest.$ac_objext \
13125 conftest$ac_exeext conftest.$ac_ext
13126 LIBS=$ac_check_lib_save_LIBS
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13129 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13130 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13132 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13136 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13138 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13140 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13144 else
13145 XML2_CFLAGS=""
13146 XML2_LIBS=""
13148 CPPFLAGS=$ac_save_CPPFLAGS
13151 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13152 case "x$with_xml" in
13153 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13154 xno) ;;
13155 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13156 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13157 esac
13161 if test "x$with_xslt" != "xno"
13162 then
13163 if ${XSLT_CFLAGS:+false} :; then :
13164 if ${PKG_CONFIG+:} false; then :
13165 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13168 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13169 if ${XSLT_LIBS:+false} :; then :
13170 if ${PKG_CONFIG+:} false; then :
13171 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13174 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13175 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13176 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13178 ac_save_CPPFLAGS=$CPPFLAGS
13179 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13180 for ac_header in libxslt/pattern.h libxslt/transform.h
13181 do :
13182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13183 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13184 # include <libxslt/pattern.h>
13185 #endif
13187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13188 cat >>confdefs.h <<_ACEOF
13189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13190 _ACEOF
13194 done
13196 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13197 then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13199 $as_echo_n "checking for -lxslt... " >&6; }
13200 if ${ac_cv_lib_soname_xslt+:} false; then :
13201 $as_echo_n "(cached) " >&6
13202 else
13203 ac_check_soname_save_LIBS=$LIBS
13204 LIBS="-lxslt $XSLT_LIBS $LIBS"
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13211 #ifdef __cplusplus
13212 extern "C"
13213 #endif
13214 char xsltCompilePattern ();
13216 main ()
13218 return xsltCompilePattern ();
13220 return 0;
13222 _ACEOF
13223 if ac_fn_c_try_link "$LINENO"; then :
13224 case "$LIBEXT" in
13225 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13226 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'` ;;
13227 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13228 if ${ac_cv_lib_soname_xslt:+false} :; then :
13229 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13230 fi ;;
13231 esac
13232 else
13233 ac_cv_lib_soname_xslt=
13235 rm -f core conftest.err conftest.$ac_objext \
13236 conftest$ac_exeext conftest.$ac_ext
13237 LIBS=$ac_check_soname_save_LIBS
13239 if ${ac_cv_lib_soname_xslt:+false} :; then :
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13241 $as_echo "not found" >&6; }
13243 else
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13245 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13247 cat >>confdefs.h <<_ACEOF
13248 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13249 _ACEOF
13253 else
13254 XSLT_CFLAGS=""
13256 CPPFLAGS=$ac_save_CPPFLAGS
13259 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13260 case "x$with_xslt" in
13261 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13262 xno) ;;
13263 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13264 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13265 esac
13269 if test "x$with_inotify" != "xno"
13270 then
13271 if ${INOTIFY_CFLAGS:+false} :; then :
13272 if ${PKG_CONFIG+:} false; then :
13273 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13277 if ${INOTIFY_LIBS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13284 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13285 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13286 ac_save_CPPFLAGS=$CPPFLAGS
13287 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13288 for ac_header in sys/inotify.h
13289 do :
13290 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13291 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13292 cat >>confdefs.h <<_ACEOF
13293 #define HAVE_SYS_INOTIFY_H 1
13294 _ACEOF
13298 done
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13301 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13302 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13303 $as_echo_n "(cached) " >&6
13304 else
13305 ac_check_lib_save_LIBS=$LIBS
13306 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13313 #ifdef __cplusplus
13314 extern "C"
13315 #endif
13316 char inotify_add_watch ();
13318 main ()
13320 return inotify_add_watch ();
13322 return 0;
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"; then :
13326 ac_cv_lib_inotify_inotify_add_watch=yes
13327 else
13328 ac_cv_lib_inotify_inotify_add_watch=no
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 LIBS=$ac_check_lib_save_LIBS
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13335 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13336 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13338 else
13339 INOTIFY_LIBS=""
13342 CPPFLAGS=$ac_save_CPPFLAGS
13345 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13346 case "x$with_inotify" in
13347 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13348 xno) ;;
13349 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13350 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13351 esac
13355 if test "x$with_dbus" != "xno"
13356 then
13357 if ${DBUS_CFLAGS:+false} :; then :
13358 if ${PKG_CONFIG+:} false; then :
13359 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13363 if ${DBUS_LIBS:+false} :; then :
13364 if ${PKG_CONFIG+:} false; then :
13365 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13371 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13372 ac_save_CPPFLAGS=$CPPFLAGS
13373 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13374 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13375 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13377 $as_echo_n "checking for -ldbus-1... " >&6; }
13378 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13379 $as_echo_n "(cached) " >&6
13380 else
13381 ac_check_soname_save_LIBS=$LIBS
13382 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13389 #ifdef __cplusplus
13390 extern "C"
13391 #endif
13392 char dbus_connection_close ();
13394 main ()
13396 return dbus_connection_close ();
13398 return 0;
13400 _ACEOF
13401 if ac_fn_c_try_link "$LINENO"; then :
13402 case "$LIBEXT" in
13403 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13404 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'` ;;
13405 *) 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'`
13406 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13407 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13408 fi ;;
13409 esac
13410 else
13411 ac_cv_lib_soname_dbus_1=
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_soname_save_LIBS
13417 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13419 $as_echo "not found" >&6; }
13420 DBUS_CFLAGS=""
13421 else
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13423 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13427 _ACEOF
13431 else
13432 DBUS_CFLAGS=""
13436 CPPFLAGS=$ac_save_CPPFLAGS
13439 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13440 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13441 case "x$with_dbus" in
13442 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13443 xno) ;;
13444 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13445 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13446 esac
13450 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13451 then
13452 if ${HAL_CFLAGS:+false} :; then :
13453 if ${PKG_CONFIG+:} false; then :
13454 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13458 if ${HAL_LIBS:+false} :; then :
13459 if ${PKG_CONFIG+:} false; then :
13460 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13464 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13465 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13466 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13467 ac_save_CPPFLAGS=$CPPFLAGS
13468 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13469 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13470 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13472 $as_echo_n "checking for -lhal... " >&6; }
13473 if ${ac_cv_lib_soname_hal+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
13476 ac_check_soname_save_LIBS=$LIBS
13477 LIBS="-lhal $HAL_LIBS $LIBS"
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13481 /* Override any GCC internal prototype to avoid an error.
13482 Use char because int might match the return type of a GCC
13483 builtin and then its argument prototype would still apply. */
13484 #ifdef __cplusplus
13485 extern "C"
13486 #endif
13487 char libhal_ctx_new ();
13489 main ()
13491 return libhal_ctx_new ();
13493 return 0;
13495 _ACEOF
13496 if ac_fn_c_try_link "$LINENO"; then :
13497 case "$LIBEXT" in
13498 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13499 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'` ;;
13500 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13501 if ${ac_cv_lib_soname_hal:+false} :; then :
13502 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13503 fi ;;
13504 esac
13505 else
13506 ac_cv_lib_soname_hal=
13508 rm -f core conftest.err conftest.$ac_objext \
13509 conftest$ac_exeext conftest.$ac_ext
13510 LIBS=$ac_check_soname_save_LIBS
13512 if ${ac_cv_lib_soname_hal:+false} :; then :
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13514 $as_echo "not found" >&6; }
13515 HAL_CFLAGS=""
13516 else
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13518 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13520 cat >>confdefs.h <<_ACEOF
13521 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13522 _ACEOF
13526 else
13527 HAL_CFLAGS=""
13531 CPPFLAGS=$ac_save_CPPFLAGS
13533 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13534 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13535 case "x$with_hal" in
13536 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13537 xno) ;;
13538 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13539 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13540 esac
13545 if test "x$with_gnutls" != "xno"
13546 then
13547 if ${GNUTLS_CFLAGS:+false} :; then :
13548 if ${PKG_CONFIG+:} false; then :
13549 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13553 if ${GNUTLS_LIBS:+false} :; then :
13554 if ${PKG_CONFIG+:} false; then :
13555 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13559 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13561 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13562 ac_save_CPPFLAGS=$CPPFLAGS
13563 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13564 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13565 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13568 #include <gnutls/gnutls.h>
13569 #include <gnutls/crypto.h>
13571 main ()
13573 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13575 return 0;
13577 _ACEOF
13578 if ac_fn_c_try_compile "$LINENO"; then :
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13580 $as_echo_n "checking for -lgnutls... " >&6; }
13581 if ${ac_cv_lib_soname_gnutls+:} false; then :
13582 $as_echo_n "(cached) " >&6
13583 else
13584 ac_check_soname_save_LIBS=$LIBS
13585 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13589 /* Override any GCC internal prototype to avoid an error.
13590 Use char because int might match the return type of a GCC
13591 builtin and then its argument prototype would still apply. */
13592 #ifdef __cplusplus
13593 extern "C"
13594 #endif
13595 char gnutls_global_init ();
13597 main ()
13599 return gnutls_global_init ();
13601 return 0;
13603 _ACEOF
13604 if ac_fn_c_try_link "$LINENO"; then :
13605 case "$LIBEXT" in
13606 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13607 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'` ;;
13608 *) 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'`
13609 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13610 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'`
13611 fi ;;
13612 esac
13613 else
13614 ac_cv_lib_soname_gnutls=
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_soname_save_LIBS
13620 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13622 $as_echo "not found" >&6; }
13623 GNUTLS_CFLAGS=""
13624 else
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13626 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13628 cat >>confdefs.h <<_ACEOF
13629 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13630 _ACEOF
13634 ac_wine_check_funcs_save_LIBS="$LIBS"
13635 LIBS="$LIBS $GNUTLS_LIBS"
13636 for ac_func in gnutls_cipher_init
13637 do :
13638 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13639 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13640 cat >>confdefs.h <<_ACEOF
13641 #define HAVE_GNUTLS_CIPHER_INIT 1
13642 _ACEOF
13644 else
13645 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13647 done
13649 LIBS="$ac_wine_check_funcs_save_LIBS"
13651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13652 else
13653 GNUTLS_CFLAGS=""
13657 CPPFLAGS=$ac_save_CPPFLAGS
13660 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13661 case "x$with_gnutls" in
13662 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13663 xno) ;;
13664 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13665 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13666 esac
13670 if test "x$with_sane" != "xno"
13671 then
13672 if ${SANE_CFLAGS:+false} :; then :
13673 if ${PKG_CONFIG+:} false; then :
13674 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13677 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13678 if ${SANE_LIBS:+false} :; then :
13679 if ${PKG_CONFIG+:} false; then :
13680 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13683 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13687 ac_save_CPPFLAGS=$CPPFLAGS
13688 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13689 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13690 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13692 $as_echo_n "checking for -lsane... " >&6; }
13693 if ${ac_cv_lib_soname_sane+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_check_soname_save_LIBS=$LIBS
13697 LIBS="-lsane $SANE_LIBS $LIBS"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13701 /* Override any GCC internal prototype to avoid an error.
13702 Use char because int might match the return type of a GCC
13703 builtin and then its argument prototype would still apply. */
13704 #ifdef __cplusplus
13705 extern "C"
13706 #endif
13707 char sane_init ();
13709 main ()
13711 return sane_init ();
13713 return 0;
13715 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 case "$LIBEXT" in
13718 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13719 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'` ;;
13720 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13721 if ${ac_cv_lib_soname_sane:+false} :; then :
13722 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13723 fi ;;
13724 esac
13725 else
13726 ac_cv_lib_soname_sane=
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 LIBS=$ac_check_soname_save_LIBS
13732 if ${ac_cv_lib_soname_sane:+false} :; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13734 $as_echo "not found" >&6; }
13735 SANE_CFLAGS=""
13736 else
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13738 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13740 cat >>confdefs.h <<_ACEOF
13741 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13742 _ACEOF
13746 else
13747 SANE_CFLAGS=""
13751 CPPFLAGS=$ac_save_CPPFLAGS
13754 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13755 case "x$with_sane" in
13756 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13757 xno) ;;
13758 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13759 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13760 esac
13764 if test "x$with_usb" != "xno"
13765 then
13766 if ${USB_CFLAGS:+false} :; then :
13767 if ${PKG_CONFIG+:} false; then :
13768 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13772 if ${USB_LIBS:+false} :; then :
13773 if ${PKG_CONFIG+:} false; then :
13774 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13778 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13779 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13780 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13781 ac_save_CPPFLAGS=$CPPFLAGS
13782 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13783 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13784 if test "x$ac_cv_header_libusb_h" = xyes; then :
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13786 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13787 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_check_lib_save_LIBS=$LIBS
13791 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13798 #ifdef __cplusplus
13799 extern "C"
13800 #endif
13801 char libusb_interrupt_event_handler ();
13803 main ()
13805 return libusb_interrupt_event_handler ();
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"; then :
13811 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13812 else
13813 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13815 rm -f core conftest.err conftest.$ac_objext \
13816 conftest$ac_exeext conftest.$ac_ext
13817 LIBS=$ac_check_lib_save_LIBS
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13820 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13821 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13823 else
13824 USB_LIBS=""
13827 else
13828 USB_LIBS=""
13832 CPPFLAGS=$ac_save_CPPFLAGS
13835 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13836 case "x$with_usb" in
13837 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13838 xno) ;;
13839 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13840 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13841 esac
13842 enable_wineusb_sys=${enable_wineusb_sys:-no}
13845 if test "x$with_v4l2" != "xno"
13846 then
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13848 $as_echo_n "checking for -lv4l2... " >&6; }
13849 if ${ac_cv_lib_soname_v4l2+:} false; then :
13850 $as_echo_n "(cached) " >&6
13851 else
13852 ac_check_soname_save_LIBS=$LIBS
13853 LIBS="-lv4l2 $LIBS"
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 #ifdef __cplusplus
13861 extern "C"
13862 #endif
13863 char v4l2_open ();
13865 main ()
13867 return v4l2_open ();
13869 return 0;
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 case "$LIBEXT" in
13874 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13875 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'` ;;
13876 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13877 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13878 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13879 fi ;;
13880 esac
13881 else
13882 ac_cv_lib_soname_v4l2=
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_soname_save_LIBS
13888 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13890 $as_echo "not found" >&6; }
13892 else
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13894 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13896 cat >>confdefs.h <<_ACEOF
13897 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13898 _ACEOF
13903 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13904 case "x$with_v4l2" in
13905 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13906 xno) ;;
13907 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13908 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13909 esac
13913 if test "x$with_gphoto" != "xno"
13914 then
13915 if ${GPHOTO2_CFLAGS:+false} :; then :
13916 if ${PKG_CONFIG+:} false; then :
13917 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13920 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13921 if ${GPHOTO2_LIBS:+false} :; then :
13922 if ${PKG_CONFIG+:} false; then :
13923 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13926 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13927 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13929 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13930 ac_save_CPPFLAGS=$CPPFLAGS
13931 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13932 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13933 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13935 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13936 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13937 $as_echo_n "(cached) " >&6
13938 else
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 #ifdef __cplusplus
13948 extern "C"
13949 #endif
13950 char gp_camera_new ();
13952 main ()
13954 return gp_camera_new ();
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 ac_cv_lib_gphoto2_gp_camera_new=yes
13961 else
13962 ac_cv_lib_gphoto2_gp_camera_new=no
13964 rm -f core conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13966 LIBS=$ac_check_lib_save_LIBS
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13969 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13970 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13972 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13974 else
13975 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13978 else
13979 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13983 CPPFLAGS=$ac_save_CPPFLAGS
13985 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13990 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13991 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13992 if ${PKG_CONFIG+:} false; then :
13993 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13996 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13997 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13998 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14000 ac_save_CPPFLAGS=$CPPFLAGS
14001 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14002 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14003 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14005 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14006 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_check_lib_save_LIBS=$LIBS
14010 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14014 /* Override any GCC internal prototype to avoid an error.
14015 Use char because int might match the return type of a GCC
14016 builtin and then its argument prototype would still apply. */
14017 #ifdef __cplusplus
14018 extern "C"
14019 #endif
14020 char gp_port_info_list_new ();
14022 main ()
14024 return gp_port_info_list_new ();
14026 return 0;
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14031 else
14032 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 LIBS=$ac_check_lib_save_LIBS
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14039 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14040 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14042 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14044 else
14045 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14048 else
14049 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14053 CPPFLAGS=$ac_save_CPPFLAGS
14056 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14057 case "x$with_gphoto" in
14058 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14059 xno) ;;
14060 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14061 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14062 esac
14065 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14066 case "x$with_gphoto" in
14067 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14068 xno) ;;
14069 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14070 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14071 esac
14076 if test "$ac_cv_header_resolv_h" = "yes"
14077 then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14079 $as_echo_n "checking for resolver library... " >&6; }
14080 if ${ac_cv_have_resolv+:} false; then :
14081 $as_echo_n "(cached) " >&6
14082 else
14083 ac_save_LIBS="$LIBS"
14084 for lib in '' -lresolv
14086 LIBS="$lib $ac_save_LIBS"
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14089 #ifdef HAVE_NETINET_IN_H
14090 #include <netinet/in.h>
14091 #endif
14092 #include <resolv.h>
14094 main ()
14096 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14098 return 0;
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_have_resolv=${lib:-"none required"}
14103 else
14104 ac_cv_have_resolv="not found"
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 test "x$ac_cv_have_resolv" = "xnot found" || break
14109 done
14110 LIBS="$ac_save_LIBS"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14113 $as_echo "$ac_cv_have_resolv" >&6; }
14115 case "$ac_cv_have_resolv" in
14116 "not found") ;;
14117 "none required")
14119 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14122 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14124 RESOLV_LIBS=$ac_cv_have_resolv
14126 esac
14128 if test "x$ac_cv_have_resolv" != "xnot found"
14129 then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14131 $as_echo_n "checking for res_getservers... " >&6; }
14132 if ${ac_cv_have_res_getservers+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_save_LIBS="$LIBS"
14136 LIBS="$RESOLV_LIBS $LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #include <resolv.h>
14141 main ()
14143 res_getservers(NULL, NULL, 0);
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_have_res_getservers=yes
14150 else
14151 ac_cv_have_res_getservers=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS="$ac_save_LIBS"
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14158 $as_echo "$ac_cv_have_res_getservers" >&6; }
14159 if test "$ac_cv_have_res_getservers" = "yes"
14160 then
14162 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14168 if test "x$with_cms" != "xno"
14169 then
14170 if ${LCMS2_CFLAGS:+false} :; then :
14171 if ${PKG_CONFIG+:} false; then :
14172 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14176 if ${LCMS2_LIBS:+false} :; then :
14177 if ${PKG_CONFIG+:} false; then :
14178 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14182 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14183 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14184 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14185 ac_save_CPPFLAGS=$CPPFLAGS
14186 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14187 for ac_header in lcms2.h
14188 do :
14189 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14190 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_LCMS2_H 1
14193 _ACEOF
14197 done
14199 if test "$ac_cv_header_lcms2_h" = "yes"
14200 then
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14202 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14203 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_check_lib_save_LIBS=$LIBS
14207 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 #ifdef __cplusplus
14215 extern "C"
14216 #endif
14217 char cmsOpenProfileFromFile ();
14219 main ()
14221 return cmsOpenProfileFromFile ();
14223 return 0;
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14228 else
14229 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 LIBS=$ac_check_lib_save_LIBS
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14236 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14237 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14239 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14241 else
14242 LCMS2_LIBS=""
14245 else
14246 LCMS2_CFLAGS=""
14247 LCMS2_LIBS=""
14249 CPPFLAGS=$ac_save_CPPFLAGS
14252 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14253 case "x$with_cms" in
14254 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14255 xno) ;;
14256 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14257 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14258 esac
14262 if test "x$with_freetype" != "xno"
14263 then
14264 if ${FREETYPE_CFLAGS:+false} :; then :
14265 if ${PKG_CONFIG+:} false; then :
14266 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14269 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14270 if ${FREETYPE_LIBS:+false} :; then :
14271 if ${PKG_CONFIG+:} false; then :
14272 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14275 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14276 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14277 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14278 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14279 ac_save_CPPFLAGS=$CPPFLAGS
14280 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14281 for ac_header in ft2build.h
14282 do :
14283 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14284 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14285 cat >>confdefs.h <<_ACEOF
14286 #define HAVE_FT2BUILD_H 1
14287 _ACEOF
14291 done
14293 if test "$ac_cv_header_ft2build_h" = "yes"
14294 then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14296 $as_echo_n "checking for -lfreetype... " >&6; }
14297 if ${ac_cv_lib_soname_freetype+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_check_soname_save_LIBS=$LIBS
14301 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 #ifdef __cplusplus
14309 extern "C"
14310 #endif
14311 char FT_Init_FreeType ();
14313 main ()
14315 return FT_Init_FreeType ();
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 case "$LIBEXT" in
14322 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14323 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'` ;;
14324 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14325 if ${ac_cv_lib_soname_freetype:+false} :; then :
14326 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14327 fi ;;
14328 esac
14329 else
14330 ac_cv_lib_soname_freetype=
14332 rm -f core conftest.err conftest.$ac_objext \
14333 conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_soname_save_LIBS
14336 if ${ac_cv_lib_soname_freetype:+false} :; then :
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14338 $as_echo "not found" >&6; }
14339 FREETYPE_LIBS=""
14340 else
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14342 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14344 cat >>confdefs.h <<_ACEOF
14345 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14346 _ACEOF
14349 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14351 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14352 #include FT_MODULE_H
14354 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14356 cat >>confdefs.h <<_ACEOF
14357 #define HAVE_FT_TRUETYPEENGINETYPE 1
14358 _ACEOF
14364 else
14365 FREETYPE_CFLAGS=""
14366 FREETYPE_LIBS=""
14368 CPPFLAGS=$ac_save_CPPFLAGS
14371 if test "x$ac_cv_lib_soname_freetype" = x; then :
14372 case "x$with_freetype" in
14373 xno) ;;
14374 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14375 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14376 esac
14377 enable_fonts=${enable_fonts:-no}
14380 ac_wine_check_funcs_save_LIBS="$LIBS"
14381 LIBS="$LIBS $PTHREAD_LIBS"
14382 for ac_func in \
14383 pthread_getthreadid_np
14384 do :
14385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14387 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14388 cat >>confdefs.h <<_ACEOF
14389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14390 _ACEOF
14393 done
14395 LIBS="$ac_wine_check_funcs_save_LIBS"
14397 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14398 then
14399 if test "$ac_cv_header_gettext_po_h" = "yes"
14400 then
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14402 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14403 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_check_lib_save_LIBS=$LIBS
14407 LIBS="-lgettextpo $LIBS"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 /* Override any GCC internal prototype to avoid an error.
14412 Use char because int might match the return type of a GCC
14413 builtin and then its argument prototype would still apply. */
14414 #ifdef __cplusplus
14415 extern "C"
14416 #endif
14417 char po_message_msgctxt ();
14419 main ()
14421 return po_message_msgctxt ();
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14428 else
14429 ac_cv_lib_gettextpo_po_message_msgctxt=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 LIBS=$ac_check_lib_save_LIBS
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14436 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14437 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14439 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14441 GETTEXTPO_LIBS="-lgettextpo"
14446 if test "x$GETTEXTPO_LIBS" = "x"; then :
14447 case "x$with_gettextpo" in
14448 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14449 xno) ;;
14450 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14451 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14452 esac
14455 if test "$srcdir" != .; then :
14456 case "x$with_gettextpo" in
14457 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14458 xno) ;;
14459 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14460 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14461 esac
14466 if test "x$with_pulse" != "xno";
14467 then
14468 if ${PULSE_CFLAGS:+false} :; then :
14469 if ${PKG_CONFIG+:} false; then :
14470 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14474 if ${PULSE_LIBS:+false} :; then :
14475 if ${PKG_CONFIG+:} false; then :
14476 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14481 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14482 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14483 ac_save_CPPFLAGS=$CPPFLAGS
14484 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14485 for ac_header in pulse/pulseaudio.h
14486 do :
14487 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14488 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14489 cat >>confdefs.h <<_ACEOF
14490 #define HAVE_PULSE_PULSEAUDIO_H 1
14491 _ACEOF
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14493 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14494 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 ac_check_lib_save_LIBS=$LIBS
14498 LIBS="-lpulse $PULSE_LIBS $LIBS"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 #ifdef __cplusplus
14506 extern "C"
14507 #endif
14508 char pa_stream_is_corked ();
14510 main ()
14512 return pa_stream_is_corked ();
14514 return 0;
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_lib_pulse_pa_stream_is_corked=yes
14519 else
14520 ac_cv_lib_pulse_pa_stream_is_corked=no
14522 rm -f core conftest.err conftest.$ac_objext \
14523 conftest$ac_exeext conftest.$ac_ext
14524 LIBS=$ac_check_lib_save_LIBS
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14527 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14528 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14530 else
14531 PULSE_LIBS=""
14534 else
14535 PULSE_LIBS=""
14538 done
14540 CPPFLAGS=$ac_save_CPPFLAGS
14543 if test -z "$PULSE_LIBS"; then :
14544 case "x$with_pulse" in
14545 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14546 xno) ;;
14547 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14548 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14549 esac
14550 enable_winepulse_drv=${enable_winepulse_drv:-no}
14553 if test "x$with_gstreamer" != "xno"
14554 then
14555 if ${GSTREAMER_CFLAGS:+false} :; then :
14556 if ${PKG_CONFIG+:} false; then :
14557 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14561 if ${GSTREAMER_LIBS:+false} :; then :
14562 if ${PKG_CONFIG+:} false; then :
14563 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14568 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14569 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14570 ac_save_CPPFLAGS=$CPPFLAGS
14571 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14572 ac_gst_incl=""
14573 for i in $GSTREAMER_CFLAGS
14575 case "$i" in
14576 -I*) ac_gst_incl="$ac_gst_incl $i";;
14577 esac
14578 done
14579 GSTREAMER_CFLAGS=$ac_gst_incl
14580 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14581 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14582 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14584 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 #include <gst/gst.h>
14589 main ()
14591 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_compile "$LINENO"; then :
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14598 $as_echo "yes" >&6; }
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14600 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14601 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14602 $as_echo_n "(cached) " >&6
14603 else
14604 ac_check_lib_save_LIBS=$LIBS
14605 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14609 /* Override any GCC internal prototype to avoid an error.
14610 Use char because int might match the return type of a GCC
14611 builtin and then its argument prototype would still apply. */
14612 #ifdef __cplusplus
14613 extern "C"
14614 #endif
14615 char gst_pad_new ();
14617 main ()
14619 return gst_pad_new ();
14621 return 0;
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"; then :
14625 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14626 else
14627 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14631 LIBS=$ac_check_lib_save_LIBS
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14634 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14635 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14639 else
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14641 $as_echo "no" >&6; }
14642 ac_glib2_broken=yes
14643 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649 CPPFLAGS=$ac_save_CPPFLAGS
14652 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14653 case "x$with_gstreamer" in
14654 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14655 xno) ;;
14656 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14657 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14658 esac
14661 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14663 ALSA_LIBS=""
14665 if test "x$with_alsa" != "xno"
14666 then
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14668 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14669 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_check_lib_save_LIBS=$LIBS
14673 LIBS="-lasound $LIBS"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 #ifdef __cplusplus
14681 extern "C"
14682 #endif
14683 char snd_pcm_hw_params_get_access_mask ();
14685 main ()
14687 return snd_pcm_hw_params_get_access_mask ();
14689 return 0;
14691 _ACEOF
14692 if ac_fn_c_try_link "$LINENO"; then :
14693 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14694 else
14695 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14697 rm -f core conftest.err conftest.$ac_objext \
14698 conftest$ac_exeext conftest.$ac_ext
14699 LIBS=$ac_check_lib_save_LIBS
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14702 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14703 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 #include <alsa/asoundlib.h>
14708 main ()
14710 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_compile "$LINENO"; then :
14716 ALSA_LIBS="-lasound"
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14722 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14724 if test "x$with_oss" != xno
14725 then
14726 ac_save_CPPFLAGS="$CPPFLAGS"
14727 if test -f /etc/oss.conf
14728 then
14729 . /etc/oss.conf
14731 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14732 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14733 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14734 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14735 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14737 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14739 cat >>confdefs.h <<_ACEOF
14740 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14741 _ACEOF
14743 OSS4_CFLAGS="$ac_oss_incl"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14746 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14747 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_check_lib_save_LIBS=$LIBS
14751 LIBS="-lossaudio $LIBS"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14758 #ifdef __cplusplus
14759 extern "C"
14760 #endif
14761 char _oss_ioctl ();
14763 main ()
14765 return _oss_ioctl ();
14767 return 0;
14769 _ACEOF
14770 if ac_fn_c_try_link "$LINENO"; then :
14771 ac_cv_lib_ossaudio__oss_ioctl=yes
14772 else
14773 ac_cv_lib_ossaudio__oss_ioctl=no
14775 rm -f core conftest.err conftest.$ac_objext \
14776 conftest$ac_exeext conftest.$ac_ext
14777 LIBS=$ac_check_lib_save_LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14780 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14781 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14782 OSS4_LIBS="-lossaudio"
14791 CPPFLAGS="$ac_save_CPPFLAGS"
14793 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14794 case "x$with_oss" in
14795 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14796 xno) ;;
14797 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14798 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14799 esac
14800 enable_wineoss_drv=${enable_wineoss_drv:-no}
14803 if test "x$with_udev" != "xno"
14804 then
14805 if ${UDEV_CFLAGS:+false} :; then :
14806 if ${PKG_CONFIG+:} false; then :
14807 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14811 if ${UDEV_LIBS:+false} :; then :
14812 if ${PKG_CONFIG+:} false; then :
14813 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14817 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14818 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14819 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14820 ac_save_CPPFLAGS=$CPPFLAGS
14821 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14822 for ac_header in libudev.h
14823 do :
14824 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14825 if test "x$ac_cv_header_libudev_h" = xyes; then :
14826 cat >>confdefs.h <<_ACEOF
14827 #define HAVE_LIBUDEV_H 1
14828 _ACEOF
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14830 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14831 if ${ac_cv_lib_udev_udev_new+:} false; then :
14832 $as_echo_n "(cached) " >&6
14833 else
14834 ac_check_lib_save_LIBS=$LIBS
14835 LIBS="-ludev $UDEV_LIBS $LIBS"
14836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14839 /* Override any GCC internal prototype to avoid an error.
14840 Use char because int might match the return type of a GCC
14841 builtin and then its argument prototype would still apply. */
14842 #ifdef __cplusplus
14843 extern "C"
14844 #endif
14845 char udev_new ();
14847 main ()
14849 return udev_new ();
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_lib_udev_udev_new=yes
14856 else
14857 ac_cv_lib_udev_udev_new=no
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 LIBS=$ac_check_lib_save_LIBS
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14864 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14865 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14867 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14869 else
14870 UDEV_LIBS=""
14873 else
14874 UDEV_LIBS=""
14877 done
14879 CPPFLAGS=$ac_save_CPPFLAGS
14882 if test "x$UDEV_LIBS" = "x"; then :
14883 case "x$with_udev" in
14884 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14885 xno) ;;
14886 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14887 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14888 esac
14892 if test "x$with_unwind" != xno
14893 then
14894 if ${UNWIND_CFLAGS:+false} :; then :
14895 if ${PKG_CONFIG+:} false; then :
14896 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14900 if ${UNWIND_LIBS:+false} :; then :
14901 if ${PKG_CONFIG+:} false; then :
14902 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14906 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14907 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14908 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14909 ac_save_CPPFLAGS=$CPPFLAGS
14910 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14912 $as_echo_n "checking for unw_step... " >&6; }
14913 if ${wine_cv_have_unw_step+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918 #define UNW_LOCAL_ONLY
14919 #include <libunwind.h>
14921 main ()
14923 unw_cursor_t cursor; unw_step( &cursor );
14925 return 0;
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 wine_cv_have_unw_step="yes"
14930 else
14931 wine_cv_have_unw_step="no"
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14937 $as_echo "$wine_cv_have_unw_step" >&6; }
14938 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14939 then
14940 save_libs=$LIBS
14941 LIBS="$UNWIND_LIBS $LIBS"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14943 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14944 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14949 #define UNW_LOCAL_ONLY
14950 #include <libunwind.h>
14952 main ()
14954 unw_cursor_t cursor; unw_step( &cursor );
14956 return 0;
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 wine_cv_have_libunwind_unw_step="yes"
14961 else
14962 wine_cv_have_libunwind_unw_step="no"
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14968 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14969 LIBS=$save_libs
14971 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14972 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14973 then
14975 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14978 CPPFLAGS=$ac_save_CPPFLAGS
14981 case $host in
14982 aarch64*|*-darwin*)
14983 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14984 case "x$with_unwind" in
14985 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14986 xno) ;;
14987 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14988 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14989 esac
14991 fi ;;
14992 esac
14994 if test "x$with_sdl" != "xno"
14995 then
14996 if ${SDL2_CFLAGS:+false} :; then :
14997 if ${PKG_CONFIG+:} false; then :
14998 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15002 if ${SDL2_LIBS:+false} :; then :
15003 if ${PKG_CONFIG+:} false; then :
15004 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15008 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15009 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15010 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15011 ac_save_CPPFLAGS=$CPPFLAGS
15012 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15013 for ac_header in SDL2/SDL.h
15014 do :
15015 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15016 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15017 cat >>confdefs.h <<_ACEOF
15018 #define HAVE_SDL2_SDL_H 1
15019 _ACEOF
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15021 $as_echo_n "checking for -lSDL2... " >&6; }
15022 if ${ac_cv_lib_soname_SDL2+:} false; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_check_soname_save_LIBS=$LIBS
15026 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15030 /* Override any GCC internal prototype to avoid an error.
15031 Use char because int might match the return type of a GCC
15032 builtin and then its argument prototype would still apply. */
15033 #ifdef __cplusplus
15034 extern "C"
15035 #endif
15036 char SDL_Init ();
15038 main ()
15040 return SDL_Init ();
15042 return 0;
15044 _ACEOF
15045 if ac_fn_c_try_link "$LINENO"; then :
15046 case "$LIBEXT" in
15047 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15048 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'` ;;
15049 *) 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'`
15050 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15051 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15052 fi ;;
15053 esac
15054 else
15055 ac_cv_lib_soname_SDL2=
15057 rm -f core conftest.err conftest.$ac_objext \
15058 conftest$ac_exeext conftest.$ac_ext
15059 LIBS=$ac_check_soname_save_LIBS
15061 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15063 $as_echo "not found" >&6; }
15065 else
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15067 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15069 cat >>confdefs.h <<_ACEOF
15070 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15071 _ACEOF
15077 done
15079 CPPFLAGS=$ac_save_CPPFLAGS
15082 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15083 case "x$with_sdl" in
15084 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15085 xno) ;;
15086 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15087 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15088 esac
15092 if test "x$with_faudio" != "xno"
15093 then
15094 if ${FAUDIO_CFLAGS:+false} :; then :
15095 if ${PKG_CONFIG+:} false; then :
15096 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15100 if ${FAUDIO_LIBS:+false} :; then :
15101 if ${PKG_CONFIG+:} false; then :
15102 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15106 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15107 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15108 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15109 ac_save_CPPFLAGS=$CPPFLAGS
15110 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15111 for ac_header in FAudio.h
15112 do :
15113 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15114 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15115 cat >>confdefs.h <<_ACEOF
15116 #define HAVE_FAUDIO_H 1
15117 _ACEOF
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15119 $as_echo_n "checking for -lFAudio... " >&6; }
15120 if ${ac_cv_lib_soname_FAudio+:} false; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 ac_check_soname_save_LIBS=$LIBS
15124 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15128 /* Override any GCC internal prototype to avoid an error.
15129 Use char because int might match the return type of a GCC
15130 builtin and then its argument prototype would still apply. */
15131 #ifdef __cplusplus
15132 extern "C"
15133 #endif
15134 char FAudioCreate ();
15136 main ()
15138 return FAudioCreate ();
15140 return 0;
15142 _ACEOF
15143 if ac_fn_c_try_link "$LINENO"; then :
15144 case "$LIBEXT" in
15145 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15146 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'` ;;
15147 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15148 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15149 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15150 fi ;;
15151 esac
15152 else
15153 ac_cv_lib_soname_FAudio=
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157 LIBS=$ac_check_soname_save_LIBS
15159 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15161 $as_echo "not found" >&6; }
15163 else
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15165 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15167 cat >>confdefs.h <<_ACEOF
15168 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15169 _ACEOF
15175 done
15177 ac_wine_check_funcs_save_LIBS="$LIBS"
15178 LIBS="$LIBS $FAUDIO_LIBS"
15179 for ac_func in FAudio_CommitOperationSet \
15180 F3DAudioInitialize8 \
15181 FAudioLinkedVersion \
15182 FAudioCreateReverb9WithCustomAllocatorEXT
15183 do :
15184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15186 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15187 cat >>confdefs.h <<_ACEOF
15188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15189 _ACEOF
15192 done
15194 LIBS="$ac_wine_check_funcs_save_LIBS"
15196 CPPFLAGS=$ac_save_CPPFLAGS
15199 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15200 case "x$with_faudio" in
15201 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15202 xno) ;;
15203 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15204 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15205 esac
15209 if test "x$with_capi" != "xno"
15210 then
15211 if ${CAPI20_CFLAGS:+false} :; then :
15212 if ${PKG_CONFIG+:} false; then :
15213 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15217 if ${CAPI20_LIBS:+false} :; then :
15218 if ${PKG_CONFIG+:} false; then :
15219 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15224 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15225 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15226 ac_save_CPPFLAGS=$CPPFLAGS
15227 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15228 for ac_header in capi20.h linux/capi.h
15229 do :
15230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15236 _ACEOF
15240 done
15242 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15243 then
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15245 $as_echo_n "checking for -lcapi20... " >&6; }
15246 if ${ac_cv_lib_soname_capi20+:} false; then :
15247 $as_echo_n "(cached) " >&6
15248 else
15249 ac_check_soname_save_LIBS=$LIBS
15250 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15254 /* Override any GCC internal prototype to avoid an error.
15255 Use char because int might match the return type of a GCC
15256 builtin and then its argument prototype would still apply. */
15257 #ifdef __cplusplus
15258 extern "C"
15259 #endif
15260 char capi20_register ();
15262 main ()
15264 return capi20_register ();
15266 return 0;
15268 _ACEOF
15269 if ac_fn_c_try_link "$LINENO"; then :
15270 case "$LIBEXT" in
15271 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15272 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'` ;;
15273 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15274 if ${ac_cv_lib_soname_capi20:+false} :; then :
15275 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15276 fi ;;
15277 esac
15278 else
15279 ac_cv_lib_soname_capi20=
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15283 LIBS=$ac_check_soname_save_LIBS
15285 if ${ac_cv_lib_soname_capi20:+false} :; then :
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15287 $as_echo "not found" >&6; }
15289 else
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15291 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15293 cat >>confdefs.h <<_ACEOF
15294 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15295 _ACEOF
15300 CPPFLAGS=$ac_save_CPPFLAGS
15303 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15304 case "x$with_capi" in
15305 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15306 xno) ;;
15307 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15308 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15309 esac
15313 if test "x$with_cups" != "xno"
15314 then
15315 if ${CUPS_CFLAGS:+false} :; then :
15316 if ${PKG_CONFIG+:} false; then :
15317 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15320 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15321 if ${CUPS_LIBS:+false} :; then :
15322 if ${PKG_CONFIG+:} false; then :
15323 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15326 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15327 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15328 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15329 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15330 ac_save_CPPFLAGS=$CPPFLAGS
15331 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15332 for ac_header in cups/cups.h cups/ppd.h
15333 do :
15334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15335 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15337 cat >>confdefs.h <<_ACEOF
15338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15339 _ACEOF
15343 done
15345 if test "$ac_cv_header_cups_cups_h" = "yes"
15346 then
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15348 $as_echo_n "checking for -lcups... " >&6; }
15349 if ${ac_cv_lib_soname_cups+:} false; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15352 ac_check_soname_save_LIBS=$LIBS
15353 LIBS="-lcups $CUPS_LIBS $LIBS"
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char cupsGetDefault ();
15365 main ()
15367 return cupsGetDefault ();
15369 return 0;
15371 _ACEOF
15372 if ac_fn_c_try_link "$LINENO"; then :
15373 case "$LIBEXT" in
15374 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15375 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'` ;;
15376 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15377 if ${ac_cv_lib_soname_cups:+false} :; then :
15378 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15379 fi ;;
15380 esac
15381 else
15382 ac_cv_lib_soname_cups=
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_check_soname_save_LIBS
15388 if ${ac_cv_lib_soname_cups:+false} :; then :
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15390 $as_echo "not found" >&6; }
15391 CUPS_LIBS=""
15392 else
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15394 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15396 cat >>confdefs.h <<_ACEOF
15397 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15398 _ACEOF
15402 else
15403 CUPS_CFLAGS=""
15404 CUPS_LIBS=""
15406 CPPFLAGS=$ac_save_CPPFLAGS
15409 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15410 case "x$with_cups" in
15411 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15412 xno) ;;
15413 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15414 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15415 esac
15419 if test "x$with_fontconfig" != "xno"
15420 then
15421 if ${FONTCONFIG_CFLAGS:+false} :; then :
15422 if ${PKG_CONFIG+:} false; then :
15423 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15426 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15427 if ${FONTCONFIG_LIBS:+false} :; then :
15428 if ${PKG_CONFIG+:} false; then :
15429 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15432 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15434 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15435 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15436 ac_save_CPPFLAGS=$CPPFLAGS
15437 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15438 for ac_header in fontconfig/fontconfig.h
15439 do :
15440 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15441 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15442 cat >>confdefs.h <<_ACEOF
15443 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15444 _ACEOF
15448 done
15450 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15451 then
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15453 $as_echo_n "checking for -lfontconfig... " >&6; }
15454 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15455 $as_echo_n "(cached) " >&6
15456 else
15457 ac_check_soname_save_LIBS=$LIBS
15458 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15462 /* Override any GCC internal prototype to avoid an error.
15463 Use char because int might match the return type of a GCC
15464 builtin and then its argument prototype would still apply. */
15465 #ifdef __cplusplus
15466 extern "C"
15467 #endif
15468 char FcInit ();
15470 main ()
15472 return FcInit ();
15474 return 0;
15476 _ACEOF
15477 if ac_fn_c_try_link "$LINENO"; then :
15478 case "$LIBEXT" in
15479 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15480 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'` ;;
15481 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15482 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15483 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15484 fi ;;
15485 esac
15486 else
15487 ac_cv_lib_soname_fontconfig=
15489 rm -f core conftest.err conftest.$ac_objext \
15490 conftest$ac_exeext conftest.$ac_ext
15491 LIBS=$ac_check_soname_save_LIBS
15493 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15495 $as_echo "not found" >&6; }
15496 FONTCONFIG_CFLAGS=""
15497 else
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15499 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15501 cat >>confdefs.h <<_ACEOF
15502 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15503 _ACEOF
15507 else
15508 FONTCONFIG_CFLAGS=""
15510 CPPFLAGS=$ac_save_CPPFLAGS
15513 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15514 case "x$with_fontconfig" in
15515 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15516 xno) ;;
15517 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15518 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15519 esac
15523 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15524 then
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15526 $as_echo_n "checking for -lgsm... " >&6; }
15527 if ${ac_cv_lib_soname_gsm+:} false; then :
15528 $as_echo_n "(cached) " >&6
15529 else
15530 ac_check_soname_save_LIBS=$LIBS
15531 LIBS="-lgsm $LIBS"
15532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15538 #ifdef __cplusplus
15539 extern "C"
15540 #endif
15541 char gsm_create ();
15543 main ()
15545 return gsm_create ();
15547 return 0;
15549 _ACEOF
15550 if ac_fn_c_try_link "$LINENO"; then :
15551 case "$LIBEXT" in
15552 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15553 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'` ;;
15554 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15555 if ${ac_cv_lib_soname_gsm:+false} :; then :
15556 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15557 fi ;;
15558 esac
15559 else
15560 ac_cv_lib_soname_gsm=
15562 rm -f core conftest.err conftest.$ac_objext \
15563 conftest$ac_exeext conftest.$ac_ext
15564 LIBS=$ac_check_soname_save_LIBS
15566 if ${ac_cv_lib_soname_gsm:+false} :; then :
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15568 $as_echo "not found" >&6; }
15570 else
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15572 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15574 cat >>confdefs.h <<_ACEOF
15575 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15576 _ACEOF
15581 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15582 case "x$with_gsm" in
15583 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15584 xno) ;;
15585 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15586 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15587 esac
15591 if test "x$with_krb5" != "xno"
15592 then
15593 if ${KRB5_CFLAGS:+false} :; then :
15594 if ${PKG_CONFIG+:} false; then :
15595 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15598 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15599 if ${KRB5_LIBS:+false} :; then :
15600 if ${PKG_CONFIG+:} false; then :
15601 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15604 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15606 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15607 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15608 ac_save_CPPFLAGS=$CPPFLAGS
15609 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15610 for ac_header in krb5/krb5.h
15611 do :
15612 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15613 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15614 cat >>confdefs.h <<_ACEOF
15615 #define HAVE_KRB5_KRB5_H 1
15616 _ACEOF
15620 done
15622 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15623 then
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15625 $as_echo_n "checking for -lkrb5... " >&6; }
15626 if ${ac_cv_lib_soname_krb5+:} false; then :
15627 $as_echo_n "(cached) " >&6
15628 else
15629 ac_check_soname_save_LIBS=$LIBS
15630 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h. */
15634 /* Override any GCC internal prototype to avoid an error.
15635 Use char because int might match the return type of a GCC
15636 builtin and then its argument prototype would still apply. */
15637 #ifdef __cplusplus
15638 extern "C"
15639 #endif
15640 char krb5_is_config_principal ();
15642 main ()
15644 return krb5_is_config_principal ();
15646 return 0;
15648 _ACEOF
15649 if ac_fn_c_try_link "$LINENO"; then :
15650 case "$LIBEXT" in
15651 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15652 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'` ;;
15653 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15654 if ${ac_cv_lib_soname_krb5:+false} :; then :
15655 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15656 fi ;;
15657 esac
15658 else
15659 ac_cv_lib_soname_krb5=
15661 rm -f core conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext conftest.$ac_ext
15663 LIBS=$ac_check_soname_save_LIBS
15665 if ${ac_cv_lib_soname_krb5:+false} :; then :
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15667 $as_echo "not found" >&6; }
15668 KRB5_CFLAGS=""
15669 else
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15671 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15673 cat >>confdefs.h <<_ACEOF
15674 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15675 _ACEOF
15679 else
15680 KRB5_CFLAGS=""
15682 CPPFLAGS=$ac_save_CPPFLAGS
15685 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15686 case "x$with_krb5" in
15687 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15688 xno) ;;
15689 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15690 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15691 esac
15694 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15696 if test "x$with_gssapi" != "xno"
15697 then
15698 if ${GSSAPI_CFLAGS:+false} :; then :
15699 if ${PKG_CONFIG+:} false; then :
15700 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15703 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15704 if ${GSSAPI_LIBS:+false} :; then :
15705 if ${PKG_CONFIG+:} false; then :
15706 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15709 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15711 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15712 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15713 ac_save_CPPFLAGS=$CPPFLAGS
15714 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15715 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15716 do :
15717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15718 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15719 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15720 cat >>confdefs.h <<_ACEOF
15721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15722 _ACEOF
15726 done
15728 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15729 then
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15731 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15732 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 ac_check_soname_save_LIBS=$LIBS
15736 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15740 /* Override any GCC internal prototype to avoid an error.
15741 Use char because int might match the return type of a GCC
15742 builtin and then its argument prototype would still apply. */
15743 #ifdef __cplusplus
15744 extern "C"
15745 #endif
15746 char gss_init_sec_context ();
15748 main ()
15750 return gss_init_sec_context ();
15752 return 0;
15754 _ACEOF
15755 if ac_fn_c_try_link "$LINENO"; then :
15756 case "$LIBEXT" in
15757 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15758 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'` ;;
15759 *) 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'`
15760 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15761 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15762 fi ;;
15763 esac
15764 else
15765 ac_cv_lib_soname_gssapi_krb5=
15767 rm -f core conftest.err conftest.$ac_objext \
15768 conftest$ac_exeext conftest.$ac_ext
15769 LIBS=$ac_check_soname_save_LIBS
15771 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15773 $as_echo "not found" >&6; }
15774 GSSAPI_CFLAGS=""
15775 else
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15777 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15779 cat >>confdefs.h <<_ACEOF
15780 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15781 _ACEOF
15785 else
15786 GSSAPI_CFLAGS=""
15788 CPPFLAGS=$ac_save_CPPFLAGS
15791 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15792 case "x$with_gssapi" in
15793 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15794 xno) ;;
15795 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15796 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15797 esac
15801 if test "x$with_jpeg" != "xno"
15802 then
15803 if ${JPEG_CFLAGS:+false} :; then :
15804 if ${PKG_CONFIG+:} false; then :
15805 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15809 if ${JPEG_LIBS:+false} :; then :
15810 if ${PKG_CONFIG+:} false; then :
15811 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15816 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15817 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15818 ac_save_CPPFLAGS=$CPPFLAGS
15819 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15820 for ac_header in jpeglib.h
15821 do :
15822 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15823 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_JPEGLIB_H 1
15826 _ACEOF
15830 done
15832 if test "$ac_cv_header_jpeglib_h" = "yes"
15833 then
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15835 $as_echo_n "checking for -ljpeg... " >&6; }
15836 if ${ac_cv_lib_soname_jpeg+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_check_soname_save_LIBS=$LIBS
15840 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 #ifdef __cplusplus
15848 extern "C"
15849 #endif
15850 char jpeg_start_decompress ();
15852 main ()
15854 return jpeg_start_decompress ();
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"; then :
15860 case "$LIBEXT" in
15861 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15862 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'` ;;
15863 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15864 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15865 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15866 fi ;;
15867 esac
15868 else
15869 ac_cv_lib_soname_jpeg=
15871 rm -f core conftest.err conftest.$ac_objext \
15872 conftest$ac_exeext conftest.$ac_ext
15873 LIBS=$ac_check_soname_save_LIBS
15875 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15877 $as_echo "not found" >&6; }
15878 JPEG_CFLAGS=""
15879 else
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15881 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15883 cat >>confdefs.h <<_ACEOF
15884 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15885 _ACEOF
15889 else
15890 JPEG_CFLAGS=""
15892 CPPFLAGS=$ac_save_CPPFLAGS
15895 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15896 case "x$with_jpeg" in
15897 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15898 xno) ;;
15899 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15900 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15901 esac
15905 if test "x$with_png" != "xno"
15906 then
15907 if ${PNG_CFLAGS:+false} :; then :
15908 if ${PKG_CONFIG+:} false; then :
15909 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15912 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15913 if ${PNG_LIBS:+false} :; then :
15914 if ${PKG_CONFIG+:} false; then :
15915 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15918 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15920 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15921 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15922 ac_save_CPPFLAGS=$CPPFLAGS
15923 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15924 for ac_header in png.h
15925 do :
15926 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15927 if test "x$ac_cv_header_png_h" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_PNG_H 1
15930 _ACEOF
15934 done
15936 if test "$ac_cv_header_png_h" = "yes"
15937 then
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15939 $as_echo_n "checking for -lpng... " >&6; }
15940 if ${ac_cv_lib_soname_png+:} false; then :
15941 $as_echo_n "(cached) " >&6
15942 else
15943 ac_check_soname_save_LIBS=$LIBS
15944 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15948 /* Override any GCC internal prototype to avoid an error.
15949 Use char because int might match the return type of a GCC
15950 builtin and then its argument prototype would still apply. */
15951 #ifdef __cplusplus
15952 extern "C"
15953 #endif
15954 char png_create_read_struct ();
15956 main ()
15958 return png_create_read_struct ();
15960 return 0;
15962 _ACEOF
15963 if ac_fn_c_try_link "$LINENO"; then :
15964 case "$LIBEXT" in
15965 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15966 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'` ;;
15967 *) 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'`
15968 if ${ac_cv_lib_soname_png:+false} :; then :
15969 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15970 fi ;;
15971 esac
15972 else
15973 ac_cv_lib_soname_png=
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 LIBS=$ac_check_soname_save_LIBS
15979 if ${ac_cv_lib_soname_png:+false} :; then :
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15981 $as_echo "not found" >&6; }
15982 PNG_CFLAGS=""
15983 else
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15985 $as_echo "$ac_cv_lib_soname_png" >&6; }
15987 cat >>confdefs.h <<_ACEOF
15988 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15989 _ACEOF
15993 else
15994 PNG_CFLAGS=""
15996 CPPFLAGS=$ac_save_CPPFLAGS
15999 if test "x$ac_cv_lib_soname_png" = "x"; then :
16000 case "x$with_png" in
16001 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16002 xno) ;;
16003 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16004 This is an error since --with-png was requested." "$LINENO" 5 ;;
16005 esac
16009 if test "x$with_tiff" != "xno"
16010 then
16011 if ${TIFF_CFLAGS:+false} :; then :
16012 if ${PKG_CONFIG+:} false; then :
16013 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16017 if ${TIFF_LIBS:+false} :; then :
16018 if ${PKG_CONFIG+:} false; then :
16019 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16024 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16025 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16026 ac_save_CPPFLAGS=$CPPFLAGS
16027 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16028 for ac_header in tiffio.h
16029 do :
16030 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16031 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_TIFFIO_H 1
16034 _ACEOF
16038 done
16040 if test "$ac_cv_header_tiffio_h" = "yes"
16041 then
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16043 $as_echo_n "checking for -ltiff... " >&6; }
16044 if ${ac_cv_lib_soname_tiff+:} false; then :
16045 $as_echo_n "(cached) " >&6
16046 else
16047 ac_check_soname_save_LIBS=$LIBS
16048 LIBS="-ltiff $TIFF_LIBS $LIBS"
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16052 /* Override any GCC internal prototype to avoid an error.
16053 Use char because int might match the return type of a GCC
16054 builtin and then its argument prototype would still apply. */
16055 #ifdef __cplusplus
16056 extern "C"
16057 #endif
16058 char TIFFClientOpen ();
16060 main ()
16062 return TIFFClientOpen ();
16064 return 0;
16066 _ACEOF
16067 if ac_fn_c_try_link "$LINENO"; then :
16068 case "$LIBEXT" in
16069 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16070 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'` ;;
16071 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16072 if ${ac_cv_lib_soname_tiff:+false} :; then :
16073 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16074 fi ;;
16075 esac
16076 else
16077 ac_cv_lib_soname_tiff=
16079 rm -f core conftest.err conftest.$ac_objext \
16080 conftest$ac_exeext conftest.$ac_ext
16081 LIBS=$ac_check_soname_save_LIBS
16083 if ${ac_cv_lib_soname_tiff:+false} :; then :
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16085 $as_echo "not found" >&6; }
16087 else
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16089 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16091 cat >>confdefs.h <<_ACEOF
16092 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16093 _ACEOF
16098 CPPFLAGS=$ac_save_CPPFLAGS
16101 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16102 case "x$with_tiff" in
16103 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16104 xno) ;;
16105 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16106 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16107 esac
16111 if test "x$with_mpg123" != "xno"
16112 then
16113 if ${MPG123_CFLAGS:+false} :; then :
16114 if ${PKG_CONFIG+:} false; then :
16115 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16119 if ${MPG123_LIBS:+false} :; then :
16120 if ${PKG_CONFIG+:} false; then :
16121 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16125 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16126 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16127 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16128 ac_save_CPPFLAGS=$CPPFLAGS
16129 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16130 for ac_header in mpg123.h
16131 do :
16132 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16133 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_MPG123_H 1
16136 _ACEOF
16140 done
16142 if test "$ac_cv_header_mpg123_h" = "yes"
16143 then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16145 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16146 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16147 $as_echo_n "(cached) " >&6
16148 else
16149 ac_check_lib_save_LIBS=$LIBS
16150 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 #ifdef __cplusplus
16158 extern "C"
16159 #endif
16160 char mpg123_feed ();
16162 main ()
16164 return mpg123_feed ();
16166 return 0;
16168 _ACEOF
16169 if ac_fn_c_try_link "$LINENO"; then :
16170 ac_cv_lib_mpg123_mpg123_feed=yes
16171 else
16172 ac_cv_lib_mpg123_mpg123_feed=no
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext conftest.$ac_ext
16176 LIBS=$ac_check_lib_save_LIBS
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16179 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16180 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16182 else
16183 MPG123_LIBS=""
16186 else
16187 MPG123_CFLAGS=""
16188 MPG123_LIBS=""
16190 CPPFLAGS=$ac_save_CPPFLAGS
16193 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16194 case "x$with_mpg123" in
16195 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16196 xno) ;;
16197 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16198 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16199 esac
16200 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16202 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16204 if test "$ac_cv_header_AL_al_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16207 $as_echo_n "checking for -lopenal... " >&6; }
16208 if ${ac_cv_lib_soname_openal+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_soname_save_LIBS=$LIBS
16212 LIBS="-lopenal $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char alGetSource3i ();
16224 main ()
16226 return alGetSource3i ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 case "$LIBEXT" in
16233 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16234 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'` ;;
16235 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16236 if ${ac_cv_lib_soname_openal:+false} :; then :
16237 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16238 fi ;;
16239 esac
16240 else
16241 ac_cv_lib_soname_openal=
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 LIBS=$ac_check_soname_save_LIBS
16247 if ${ac_cv_lib_soname_openal:+false} :; then :
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16249 $as_echo "not found" >&6; }
16251 else
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16253 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16255 cat >>confdefs.h <<_ACEOF
16256 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16257 _ACEOF
16259 OPENAL_LIBS="-lopenal"
16261 ac_cv_lib_openal=yes
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_OPENAL 1
16265 _ACEOF
16269 if test "x$ac_cv_lib_openal" != xyes; then :
16270 case "x$with_openal" in
16271 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16272 xno) ;;
16273 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16274 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16275 esac
16276 enable_openal32=${enable_openal32:-no}
16279 if test "x$ac_cv_lib_soname_FAudio" = "x"
16280 then
16281 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16282 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16283 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16284 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16285 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16286 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16287 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16288 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16289 enable_xactengine3_0=${enable_xactengine3_0:-no}
16290 enable_xactengine3_1=${enable_xactengine3_1:-no}
16291 enable_xactengine3_2=${enable_xactengine3_2:-no}
16292 enable_xactengine3_3=${enable_xactengine3_3:-no}
16293 enable_xactengine3_4=${enable_xactengine3_4:-no}
16294 enable_xactengine3_5=${enable_xactengine3_5:-no}
16295 enable_xactengine3_6=${enable_xactengine3_6:-no}
16296 enable_xactengine3_7=${enable_xactengine3_7:-no}
16297 enable_xapofx1_1=${enable_xapofx1_1:-no}
16298 enable_xapofx1_2=${enable_xapofx1_2:-no}
16299 enable_xapofx1_3=${enable_xapofx1_3:-no}
16300 enable_xapofx1_4=${enable_xapofx1_4:-no}
16301 enable_xapofx1_5=${enable_xapofx1_5:-no}
16302 enable_xaudio2_0=${enable_xaudio2_0:-no}
16303 enable_xaudio2_1=${enable_xaudio2_1:-no}
16304 enable_xaudio2_2=${enable_xaudio2_2:-no}
16305 enable_xaudio2_3=${enable_xaudio2_3:-no}
16306 enable_xaudio2_4=${enable_xaudio2_4:-no}
16307 enable_xaudio2_5=${enable_xaudio2_5:-no}
16308 enable_xaudio2_6=${enable_xaudio2_6:-no}
16309 enable_xaudio2_7=${enable_xaudio2_7:-no}
16310 enable_xaudio2_8=${enable_xaudio2_8:-no}
16311 enable_xaudio2_9=${enable_xaudio2_9:-no}
16314 if test "$ac_cv_header_kstat_h" = "yes"
16315 then
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16317 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16318 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16319 $as_echo_n "(cached) " >&6
16320 else
16321 ac_check_lib_save_LIBS=$LIBS
16322 LIBS="-lkstat $LIBS"
16323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16326 /* Override any GCC internal prototype to avoid an error.
16327 Use char because int might match the return type of a GCC
16328 builtin and then its argument prototype would still apply. */
16329 #ifdef __cplusplus
16330 extern "C"
16331 #endif
16332 char kstat_open ();
16334 main ()
16336 return kstat_open ();
16338 return 0;
16340 _ACEOF
16341 if ac_fn_c_try_link "$LINENO"; then :
16342 ac_cv_lib_kstat_kstat_open=yes
16343 else
16344 ac_cv_lib_kstat_kstat_open=no
16346 rm -f core conftest.err conftest.$ac_objext \
16347 conftest$ac_exeext conftest.$ac_ext
16348 LIBS=$ac_check_lib_save_LIBS
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16351 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16352 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16354 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16356 KSTAT_LIBS="-lkstat"
16362 if test "$ac_cv_header_libprocstat_h" = "yes"
16363 then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16365 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16366 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 ac_check_lib_save_LIBS=$LIBS
16370 LIBS="-lprocstat $LIBS"
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 #ifdef __cplusplus
16378 extern "C"
16379 #endif
16380 char procstat_open_sysctl ();
16382 main ()
16384 return procstat_open_sysctl ();
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 ac_cv_lib_procstat_procstat_open_sysctl=yes
16391 else
16392 ac_cv_lib_procstat_procstat_open_sysctl=no
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_lib_save_LIBS
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16399 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16400 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16402 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16404 PROCSTAT_LIBS="-lprocstat"
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16411 $as_echo_n "checking for -lodbc... " >&6; }
16412 if ${ac_cv_lib_soname_odbc+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 ac_check_soname_save_LIBS=$LIBS
16416 LIBS="-lodbc $LIBS"
16417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16420 /* Override any GCC internal prototype to avoid an error.
16421 Use char because int might match the return type of a GCC
16422 builtin and then its argument prototype would still apply. */
16423 #ifdef __cplusplus
16424 extern "C"
16425 #endif
16426 char SQLConnect ();
16428 main ()
16430 return SQLConnect ();
16432 return 0;
16434 _ACEOF
16435 if ac_fn_c_try_link "$LINENO"; then :
16436 case "$LIBEXT" in
16437 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16438 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'` ;;
16439 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16440 if ${ac_cv_lib_soname_odbc:+false} :; then :
16441 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16442 fi ;;
16443 esac
16444 else
16445 ac_cv_lib_soname_odbc=
16447 rm -f core conftest.err conftest.$ac_objext \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_soname_save_LIBS
16451 if ${ac_cv_lib_soname_odbc:+false} :; then :
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16453 $as_echo "not found" >&6; }
16454 cat >>confdefs.h <<_ACEOF
16455 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16456 _ACEOF
16458 else
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16460 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16462 cat >>confdefs.h <<_ACEOF
16463 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16464 _ACEOF
16469 if test "x$with_netapi" != "xno"
16470 then
16471 if ${NETAPI_CFLAGS:+false} :; then :
16472 if ${PKG_CONFIG+:} false; then :
16473 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16477 if ${NETAPI_LIBS:+false} :; then :
16478 if ${PKG_CONFIG+:} false; then :
16479 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16484 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16485 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16486 ac_save_CPPFLAGS=$CPPFLAGS
16487 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16489 $as_echo_n "checking for -lnetapi... " >&6; }
16490 if ${ac_cv_lib_soname_netapi+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 ac_check_soname_save_LIBS=$LIBS
16494 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16498 /* Override any GCC internal prototype to avoid an error.
16499 Use char because int might match the return type of a GCC
16500 builtin and then its argument prototype would still apply. */
16501 #ifdef __cplusplus
16502 extern "C"
16503 #endif
16504 char libnetapi_init ();
16506 main ()
16508 return libnetapi_init ();
16510 return 0;
16512 _ACEOF
16513 if ac_fn_c_try_link "$LINENO"; then :
16514 case "$LIBEXT" in
16515 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16516 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'` ;;
16517 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16518 if ${ac_cv_lib_soname_netapi:+false} :; then :
16519 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16520 fi ;;
16521 esac
16522 else
16523 ac_cv_lib_soname_netapi=
16525 rm -f core conftest.err conftest.$ac_objext \
16526 conftest$ac_exeext conftest.$ac_ext
16527 LIBS=$ac_check_soname_save_LIBS
16529 if ${ac_cv_lib_soname_netapi:+false} :; then :
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16531 $as_echo "not found" >&6; }
16532 cat >>confdefs.h <<_ACEOF
16533 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16534 _ACEOF
16536 else
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16538 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16540 cat >>confdefs.h <<_ACEOF
16541 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16542 _ACEOF
16546 CPPFLAGS=$ac_save_CPPFLAGS
16550 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16551 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16552 then
16553 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16556 if test "x$with_vulkan" != "xno"
16557 then
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16559 $as_echo_n "checking for -lvulkan... " >&6; }
16560 if ${ac_cv_lib_soname_vulkan+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 ac_check_soname_save_LIBS=$LIBS
16564 LIBS="-lvulkan $LIBS"
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16568 /* Override any GCC internal prototype to avoid an error.
16569 Use char because int might match the return type of a GCC
16570 builtin and then its argument prototype would still apply. */
16571 #ifdef __cplusplus
16572 extern "C"
16573 #endif
16574 char vkGetInstanceProcAddr ();
16576 main ()
16578 return vkGetInstanceProcAddr ();
16580 return 0;
16582 _ACEOF
16583 if ac_fn_c_try_link "$LINENO"; then :
16584 case "$LIBEXT" in
16585 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16586 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'` ;;
16587 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16588 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16589 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16590 fi ;;
16591 esac
16592 else
16593 ac_cv_lib_soname_vulkan=
16595 rm -f core conftest.err conftest.$ac_objext \
16596 conftest$ac_exeext conftest.$ac_ext
16597 LIBS=$ac_check_soname_save_LIBS
16599 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16601 $as_echo "not found" >&6; }
16603 else
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16605 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16607 cat >>confdefs.h <<_ACEOF
16608 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16609 _ACEOF
16613 if test "x$ac_cv_lib_soname_vulkan" = "x"
16614 then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16616 $as_echo_n "checking for -lMoltenVK... " >&6; }
16617 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16618 $as_echo_n "(cached) " >&6
16619 else
16620 ac_check_soname_save_LIBS=$LIBS
16621 LIBS="-lMoltenVK $LIBS"
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16625 /* Override any GCC internal prototype to avoid an error.
16626 Use char because int might match the return type of a GCC
16627 builtin and then its argument prototype would still apply. */
16628 #ifdef __cplusplus
16629 extern "C"
16630 #endif
16631 char vkGetInstanceProcAddr ();
16633 main ()
16635 return vkGetInstanceProcAddr ();
16637 return 0;
16639 _ACEOF
16640 if ac_fn_c_try_link "$LINENO"; then :
16641 case "$LIBEXT" in
16642 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16643 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'` ;;
16644 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16645 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16646 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16647 fi ;;
16648 esac
16649 else
16650 ac_cv_lib_soname_MoltenVK=
16652 rm -f core conftest.err conftest.$ac_objext \
16653 conftest$ac_exeext conftest.$ac_ext
16654 LIBS=$ac_check_soname_save_LIBS
16656 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16658 $as_echo "not found" >&6; }
16660 else
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16662 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16664 cat >>confdefs.h <<_ACEOF
16665 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16666 _ACEOF
16672 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16673 case "x$with_vulkan" in
16674 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16675 xno) ;;
16676 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16677 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16678 esac
16682 if test "x$with_vkd3d" != "xno"
16683 then
16684 if ${VKD3D_CFLAGS:+false} :; then :
16685 if ${PKG_CONFIG+:} false; then :
16686 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16690 if ${VKD3D_LIBS:+false} :; then :
16691 if ${PKG_CONFIG+:} false; then :
16692 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16697 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16698 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16699 ac_save_CPPFLAGS=$CPPFLAGS
16700 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16702 $as_echo_n "checking for -lvkd3d... " >&6; }
16703 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16704 $as_echo_n "(cached) " >&6
16705 else
16706 ac_check_soname_save_LIBS=$LIBS
16707 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16711 /* Override any GCC internal prototype to avoid an error.
16712 Use char because int might match the return type of a GCC
16713 builtin and then its argument prototype would still apply. */
16714 #ifdef __cplusplus
16715 extern "C"
16716 #endif
16717 char vkd3d_get_dxgi_format ();
16719 main ()
16721 return vkd3d_get_dxgi_format ();
16723 return 0;
16725 _ACEOF
16726 if ac_fn_c_try_link "$LINENO"; then :
16727 case "$LIBEXT" in
16728 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16729 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'` ;;
16730 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16731 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16732 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16733 fi ;;
16734 esac
16735 else
16736 ac_cv_lib_soname_vkd3d=
16738 rm -f core conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16740 LIBS=$ac_check_soname_save_LIBS
16742 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16744 $as_echo "not found" >&6; }
16746 else
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16748 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16750 cat >>confdefs.h <<_ACEOF
16751 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16752 _ACEOF
16756 CPPFLAGS=$ac_save_CPPFLAGS
16758 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16759 if ${PKG_CONFIG+:} false; then :
16760 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16764 if ${VKD3D_SHADER_LIBS:+false} :; then :
16765 if ${PKG_CONFIG+:} false; then :
16766 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16771 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16772 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16773 ac_save_CPPFLAGS=$CPPFLAGS
16774 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16776 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16777 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 ac_check_soname_save_LIBS=$LIBS
16781 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16785 /* Override any GCC internal prototype to avoid an error.
16786 Use char because int might match the return type of a GCC
16787 builtin and then its argument prototype would still apply. */
16788 #ifdef __cplusplus
16789 extern "C"
16790 #endif
16791 char vkd3d_shader_compile ();
16793 main ()
16795 return vkd3d_shader_compile ();
16797 return 0;
16799 _ACEOF
16800 if ac_fn_c_try_link "$LINENO"; then :
16801 case "$LIBEXT" in
16802 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16803 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'` ;;
16804 *) 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'`
16805 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16806 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16807 fi ;;
16808 esac
16809 else
16810 ac_cv_lib_soname_vkd3d_shader=
16812 rm -f core conftest.err conftest.$ac_objext \
16813 conftest$ac_exeext conftest.$ac_ext
16814 LIBS=$ac_check_soname_save_LIBS
16816 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16818 $as_echo "not found" >&6; }
16820 else
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16822 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16824 cat >>confdefs.h <<_ACEOF
16825 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16826 _ACEOF
16830 CPPFLAGS=$ac_save_CPPFLAGS
16833 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16834 case "x$with_vkd3d" in
16835 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16836 xno) ;;
16837 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16838 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16839 esac
16842 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16845 EXTRACFLAGS=""
16847 if test "x${GCC}" = "xyes"
16848 then
16849 EXTRACFLAGS="-Wall -pipe"
16851 saved_CFLAGS=$CFLAGS
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16853 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16854 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16855 $as_echo_n "(cached) " >&6
16856 else
16857 ac_wine_try_cflags_saved=$CFLAGS
16858 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16861 int main(int argc, char **argv) { return 0; }
16862 _ACEOF
16863 if ac_fn_c_try_link "$LINENO"; then :
16864 ac_cv_cflags__Werror_unknown_warning_option=yes
16865 else
16866 ac_cv_cflags__Werror_unknown_warning_option=no
16868 rm -f core conftest.err conftest.$ac_objext \
16869 conftest$ac_exeext conftest.$ac_ext
16870 CFLAGS=$ac_wine_try_cflags_saved
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16873 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16874 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16875 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16878 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16879 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 ac_wine_try_cflags_saved=$CFLAGS
16883 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 int main(int argc, char **argv) { return 0; }
16887 _ACEOF
16888 if ac_fn_c_try_link "$LINENO"; then :
16889 ac_cv_cflags__Werror_unused_command_line_argument=yes
16890 else
16891 ac_cv_cflags__Werror_unused_command_line_argument=no
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16895 CFLAGS=$ac_wine_try_cflags_saved
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16898 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16899 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16900 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16903 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16904 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16907 ac_wine_try_cflags_saved=$CFLAGS
16908 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 int main(int argc, char **argv) { return 0; }
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16915 else
16916 ac_cv_cflags__Werror_ignored_optimization_argument=no
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 CFLAGS=$ac_wine_try_cflags_saved
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16923 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16924 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16925 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16928 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16929 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 ac_wine_try_cflags_saved=$CFLAGS
16933 CFLAGS="$CFLAGS -fcf-protection=none"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 int main(int argc, char **argv) { return 0; }
16937 _ACEOF
16938 if ac_fn_c_try_link "$LINENO"; then :
16939 ac_cv_cflags__fcf_protection_none=yes
16940 else
16941 ac_cv_cflags__fcf_protection_none=no
16943 rm -f core conftest.err conftest.$ac_objext \
16944 conftest$ac_exeext conftest.$ac_ext
16945 CFLAGS=$ac_wine_try_cflags_saved
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16948 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16949 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16950 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16953 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16954 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 ac_wine_try_cflags_saved=$CFLAGS
16958 CFLAGS="$CFLAGS -fno-stack-protector"
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 int main(int argc, char **argv) { return 0; }
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 ac_cv_cflags__fno_stack_protector=yes
16965 else
16966 ac_cv_cflags__fno_stack_protector=no
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16970 CFLAGS=$ac_wine_try_cflags_saved
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16973 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16974 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16975 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16978 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16979 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 ac_wine_try_cflags_saved=$CFLAGS
16983 CFLAGS="$CFLAGS -fno-strict-aliasing"
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 int main(int argc, char **argv) { return 0; }
16987 _ACEOF
16988 if ac_fn_c_try_link "$LINENO"; then :
16989 ac_cv_cflags__fno_strict_aliasing=yes
16990 else
16991 ac_cv_cflags__fno_strict_aliasing=no
16993 rm -f core conftest.err conftest.$ac_objext \
16994 conftest$ac_exeext conftest.$ac_ext
16995 CFLAGS=$ac_wine_try_cflags_saved
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16998 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16999 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17000 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17003 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17004 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17005 $as_echo_n "(cached) " >&6
17006 else
17007 ac_wine_try_cflags_saved=$CFLAGS
17008 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17011 int main(int argc, char **argv) { return 0; }
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_cflags__Wdeclaration_after_statement=yes
17015 else
17016 ac_cv_cflags__Wdeclaration_after_statement=no
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17020 CFLAGS=$ac_wine_try_cflags_saved
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17023 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17024 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17025 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17028 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17029 if ${ac_cv_cflags__Wempty_body+:} false; then :
17030 $as_echo_n "(cached) " >&6
17031 else
17032 ac_wine_try_cflags_saved=$CFLAGS
17033 CFLAGS="$CFLAGS -Wempty-body"
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 int main(int argc, char **argv) { return 0; }
17037 _ACEOF
17038 if ac_fn_c_try_link "$LINENO"; then :
17039 ac_cv_cflags__Wempty_body=yes
17040 else
17041 ac_cv_cflags__Wempty_body=no
17043 rm -f core conftest.err conftest.$ac_objext \
17044 conftest$ac_exeext conftest.$ac_ext
17045 CFLAGS=$ac_wine_try_cflags_saved
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17048 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17049 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17050 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17053 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17054 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057 ac_wine_try_cflags_saved=$CFLAGS
17058 CFLAGS="$CFLAGS -Wignored-qualifiers"
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 int main(int argc, char **argv) { return 0; }
17062 _ACEOF
17063 if ac_fn_c_try_link "$LINENO"; then :
17064 ac_cv_cflags__Wignored_qualifiers=yes
17065 else
17066 ac_cv_cflags__Wignored_qualifiers=no
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17070 CFLAGS=$ac_wine_try_cflags_saved
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17073 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17074 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17075 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17078 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17079 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 ac_wine_try_cflags_saved=$CFLAGS
17083 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 int main(int argc, char **argv) { return 0; }
17087 _ACEOF
17088 if ac_fn_c_try_link "$LINENO"; then :
17089 ac_cv_cflags__Wpacked_not_aligned=yes
17090 else
17091 ac_cv_cflags__Wpacked_not_aligned=no
17093 rm -f core conftest.err conftest.$ac_objext \
17094 conftest$ac_exeext conftest.$ac_ext
17095 CFLAGS=$ac_wine_try_cflags_saved
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17098 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17099 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17100 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17103 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17104 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 ac_wine_try_cflags_saved=$CFLAGS
17108 CFLAGS="$CFLAGS -Wpragma-pack"
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 int main(int argc, char **argv) { return 0; }
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_cflags__Wpragma_pack=yes
17115 else
17116 ac_cv_cflags__Wpragma_pack=no
17118 rm -f core conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17120 CFLAGS=$ac_wine_try_cflags_saved
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17123 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17124 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17125 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17128 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17129 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 ac_wine_try_cflags_saved=$CFLAGS
17133 CFLAGS="$CFLAGS -Wshift-overflow=2"
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 int main(int argc, char **argv) { return 0; }
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 ac_cv_cflags__Wshift_overflow_2=yes
17140 else
17141 ac_cv_cflags__Wshift_overflow_2=no
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17145 CFLAGS=$ac_wine_try_cflags_saved
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17148 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17149 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17150 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17153 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17154 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 ac_wine_try_cflags_saved=$CFLAGS
17158 CFLAGS="$CFLAGS -Wstrict-prototypes"
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 int main(int argc, char **argv) { return 0; }
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"; then :
17164 ac_cv_cflags__Wstrict_prototypes=yes
17165 else
17166 ac_cv_cflags__Wstrict_prototypes=no
17168 rm -f core conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17170 CFLAGS=$ac_wine_try_cflags_saved
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17173 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17174 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17175 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17178 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17179 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 ac_wine_try_cflags_saved=$CFLAGS
17183 CFLAGS="$CFLAGS -Wtype-limits"
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17186 int main(int argc, char **argv) { return 0; }
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 ac_cv_cflags__Wtype_limits=yes
17190 else
17191 ac_cv_cflags__Wtype_limits=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17195 CFLAGS=$ac_wine_try_cflags_saved
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17198 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17199 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17200 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17203 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17204 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 ac_wine_try_cflags_saved=$CFLAGS
17208 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17211 int main(int argc, char **argv) { return 0; }
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"; then :
17214 ac_cv_cflags__Wunused_but_set_parameter=yes
17215 else
17216 ac_cv_cflags__Wunused_but_set_parameter=no
17218 rm -f core conftest.err conftest.$ac_objext \
17219 conftest$ac_exeext conftest.$ac_ext
17220 CFLAGS=$ac_wine_try_cflags_saved
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17223 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17224 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17225 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17228 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17229 if ${ac_cv_cflags__Wvla+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 ac_wine_try_cflags_saved=$CFLAGS
17233 CFLAGS="$CFLAGS -Wvla"
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 int main(int argc, char **argv) { return 0; }
17237 _ACEOF
17238 if ac_fn_c_try_link "$LINENO"; then :
17239 ac_cv_cflags__Wvla=yes
17240 else
17241 ac_cv_cflags__Wvla=no
17243 rm -f core conftest.err conftest.$ac_objext \
17244 conftest$ac_exeext conftest.$ac_ext
17245 CFLAGS=$ac_wine_try_cflags_saved
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17248 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17249 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17250 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17253 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17254 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 ac_wine_try_cflags_saved=$CFLAGS
17258 CFLAGS="$CFLAGS -Wwrite-strings"
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 int main(int argc, char **argv) { return 0; }
17262 _ACEOF
17263 if ac_fn_c_try_link "$LINENO"; then :
17264 ac_cv_cflags__Wwrite_strings=yes
17265 else
17266 ac_cv_cflags__Wwrite_strings=no
17268 rm -f core conftest.err conftest.$ac_objext \
17269 conftest$ac_exeext conftest.$ac_ext
17270 CFLAGS=$ac_wine_try_cflags_saved
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17273 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17274 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17275 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17278 if test -z "$CROSSTARGET"
17279 then
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17281 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17282 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 ac_wine_try_cflags_saved=$CFLAGS
17286 CFLAGS="$CFLAGS -fexcess-precision=standard"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 int main(int argc, char **argv) { return 0; }
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 ac_cv_cflags__fexcess_precision_standard=yes
17293 else
17294 ac_cv_cflags__fexcess_precision_standard=no
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17298 CFLAGS=$ac_wine_try_cflags_saved
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17301 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17302 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17303 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17309 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17310 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 ac_wine_try_cflags_saved=$CFLAGS
17314 CFLAGS="$CFLAGS -Wpointer-arith"
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 int main(int argc, char **argv) { return 0; }
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 ac_cv_cflags__Wpointer_arith=yes
17321 else
17322 ac_cv_cflags__Wpointer_arith=no
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17326 CFLAGS=$ac_wine_try_cflags_saved
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17329 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17330 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17331 saved_string_h_CFLAGS=$CFLAGS
17332 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17334 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17335 if ${ac_cv_c_string_h_warnings+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 #include <string.h>
17342 main ()
17346 return 0;
17348 _ACEOF
17349 if ac_fn_c_try_compile "$LINENO"; then :
17350 ac_cv_c_string_h_warnings=no
17351 else
17352 ac_cv_c_string_h_warnings=yes
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17357 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17358 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17359 CFLAGS=$saved_string_h_CFLAGS
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17363 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17364 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367 ac_wine_try_cflags_saved=$CFLAGS
17368 CFLAGS="$CFLAGS -Wlogical-op"
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 int main(int argc, char **argv) { return 0; }
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"; then :
17374 ac_cv_cflags__Wlogical_op=yes
17375 else
17376 ac_cv_cflags__Wlogical_op=no
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17380 CFLAGS=$ac_wine_try_cflags_saved
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17383 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17384 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17385 saved_string_h_CFLAGS=$CFLAGS
17386 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17388 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17389 if ${ac_cv_c_logicalop_noisy+:} false; then :
17390 $as_echo_n "(cached) " >&6
17391 else
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #include <string.h>
17395 char*f(const char *h,char n) {return strchr(h,n);}
17397 main ()
17401 return 0;
17403 _ACEOF
17404 if ac_fn_c_try_compile "$LINENO"; then :
17405 ac_cv_c_logicalop_noisy=no
17406 else
17407 ac_cv_c_logicalop_noisy=yes
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17412 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17413 CFLAGS=$saved_string_h_CFLAGS
17414 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17417 for ac_flag in $CFLAGS; do
17418 case $ac_flag in
17419 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17420 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17421 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 ac_wine_try_cflags_saved=$CFLAGS
17425 CFLAGS="$CFLAGS -gdwarf-2"
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 int main(int argc, char **argv) { return 0; }
17429 _ACEOF
17430 if ac_fn_c_try_link "$LINENO"; then :
17431 ac_cv_cflags__gdwarf_2=yes
17432 else
17433 ac_cv_cflags__gdwarf_2=no
17435 rm -f core conftest.err conftest.$ac_objext \
17436 conftest$ac_exeext conftest.$ac_ext
17437 CFLAGS=$ac_wine_try_cflags_saved
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17440 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17441 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17442 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17445 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17446 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 ac_wine_try_cflags_saved=$CFLAGS
17450 CFLAGS="$CFLAGS -gstrict-dwarf"
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 int main(int argc, char **argv) { return 0; }
17454 _ACEOF
17455 if ac_fn_c_try_link "$LINENO"; then :
17456 ac_cv_cflags__gstrict_dwarf=yes
17457 else
17458 ac_cv_cflags__gstrict_dwarf=no
17460 rm -f core conftest.err conftest.$ac_objext \
17461 conftest$ac_exeext conftest.$ac_ext
17462 CFLAGS=$ac_wine_try_cflags_saved
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17465 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17466 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17467 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17468 fi ;;
17469 esac
17470 done
17472 MSVCRTFLAGS=""
17474 case $host_os in
17475 mingw32*) ;;
17476 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17477 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17478 if ${ac_cv_cflags__fno_builtin+:} false; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17481 ac_wine_try_cflags_saved=$CFLAGS
17482 CFLAGS="$CFLAGS -fno-builtin"
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17485 int main(int argc, char **argv) { return 0; }
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 ac_cv_cflags__fno_builtin=yes
17489 else
17490 ac_cv_cflags__fno_builtin=no
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 CFLAGS=$ac_wine_try_cflags_saved
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17497 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17498 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17499 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17502 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17503 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_wine_try_cflags_saved=$CFLAGS
17507 CFLAGS="$CFLAGS -fshort-wchar"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 int main(int argc, char **argv) { return 0; }
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_cflags__fshort_wchar=yes
17514 else
17515 ac_cv_cflags__fshort_wchar=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 CFLAGS=$ac_wine_try_cflags_saved
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17522 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17523 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17524 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17525 fi ;;
17526 esac
17528 case $host_cpu in
17529 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17530 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17531 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 ac_wine_try_cflags_saved=$CFLAGS
17535 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 int main(int argc, char **argv) { return 0; }
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_cflags__fno_omit_frame_pointer=yes
17542 else
17543 ac_cv_cflags__fno_omit_frame_pointer=no
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17547 CFLAGS=$ac_wine_try_cflags_saved
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17550 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17551 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17552 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17553 fi ;;
17554 *x86_64*)
17555 case $host_os in
17556 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17557 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17558 if ${ac_cv_cflags__Wno_format+:} false; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561 ac_wine_try_cflags_saved=$CFLAGS
17562 CFLAGS="$CFLAGS -Wno-format"
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565 int main(int argc, char **argv) { return 0; }
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568 ac_cv_cflags__Wno_format=yes
17569 else
17570 ac_cv_cflags__Wno_format=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17574 CFLAGS=$ac_wine_try_cflags_saved
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17577 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17578 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17579 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17580 fi ;;
17581 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17582 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17583 if ${ac_cv_cflags__mabi_ms+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 ac_wine_try_cflags_saved=$CFLAGS
17587 CFLAGS="$CFLAGS -mabi=ms"
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 int main(int argc, char **argv) { return 0; }
17591 _ACEOF
17592 if ac_fn_c_try_link "$LINENO"; then :
17593 ac_cv_cflags__mabi_ms=yes
17594 else
17595 ac_cv_cflags__mabi_ms=no
17597 rm -f core conftest.err conftest.$ac_objext \
17598 conftest$ac_exeext conftest.$ac_ext
17599 CFLAGS=$ac_wine_try_cflags_saved
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17602 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17603 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17604 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17605 fi ;;
17606 esac ;;
17607 esac
17609 CFLAGS=$saved_CFLAGS
17611 if test "x$enable_werror" = "xyes"
17612 then
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17614 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17615 if ${ac_cv_cflags__Werror+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 ac_wine_try_cflags_saved=$CFLAGS
17619 CFLAGS="$CFLAGS -Werror"
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 int main(int argc, char **argv) { return 0; }
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"; then :
17625 ac_cv_cflags__Werror=yes
17626 else
17627 ac_cv_cflags__Werror=no
17629 rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631 CFLAGS=$ac_wine_try_cflags_saved
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17634 $as_echo "$ac_cv_cflags__Werror" >&6; }
17635 if test "x$ac_cv_cflags__Werror" = xyes; then :
17636 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17643 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17644 if ${ac_cv_c_fortify_enabled+:} false; then :
17645 $as_echo_n "(cached) " >&6
17646 else
17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17649 #include <string.h>
17651 main ()
17653 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17654 #error Fortify enabled
17655 #endif
17657 return 0;
17659 _ACEOF
17660 if ac_fn_c_try_compile "$LINENO"; then :
17661 ac_cv_c_fortify_enabled=no
17662 else
17663 ac_cv_c_fortify_enabled=yes
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17668 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17669 if test "$ac_cv_c_fortify_enabled" = yes
17670 then
17671 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17676 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17677 if ${ac_cv_c_cfi_support+:} false; then :
17678 $as_echo_n "(cached) " >&6
17679 else
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17684 main ()
17688 return 0;
17690 _ACEOF
17691 if ac_fn_c_try_compile "$LINENO"; then :
17692 ac_cv_c_cfi_support="yes"
17693 else
17694 ac_cv_c_cfi_support="no"
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17699 $as_echo "$ac_cv_c_cfi_support" >&6; }
17700 if test "$ac_cv_c_cfi_support" = "yes"
17701 then
17702 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17703 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17704 else
17705 if test "x$enable_win64" = "xyes"
17706 then
17707 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17712 case $build_os in
17713 cygwin*|mingw32*) TOOLSEXT=".exe"
17715 esac
17717 case $host_os in
17718 linux*)
17719 case $host_cpu in
17720 *i[3456789]86*|x86_64*|*aarch64*)
17721 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17722 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17724 esac
17726 esac
17729 ac_save_CFLAGS="$CFLAGS"
17730 CFLAGS="$CFLAGS $BUILTINFLAG"
17731 for ac_func in \
17732 __res_get_state \
17733 __res_getservers \
17734 _spawnvp \
17735 epoll_create \
17736 ffs \
17737 finite \
17738 finitef \
17739 fnmatch \
17740 fork \
17741 fpclass \
17742 fstatfs \
17743 fstatvfs \
17744 futimens \
17745 futimes \
17746 futimesat \
17747 getattrlist \
17748 getauxval \
17749 getifaddrs \
17750 getopt_long_only \
17751 getrandom \
17752 kqueue \
17753 lstat \
17754 mach_continuous_time \
17755 pipe2 \
17756 poll \
17757 port_create \
17758 prctl \
17759 pread \
17760 proc_pidinfo \
17761 pwrite \
17762 readdir \
17763 readlink \
17764 sched_yield \
17765 select \
17766 setproctitle \
17767 setprogname \
17768 settimeofday \
17769 sigprocmask \
17770 statfs \
17771 statvfs \
17772 strnlen \
17773 strtold \
17774 symlink \
17775 sysinfo \
17776 tcdrain \
17777 thr_kill2 \
17778 usleep
17780 do :
17781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17783 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17784 cat >>confdefs.h <<_ACEOF
17785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17786 _ACEOF
17789 done
17791 CFLAGS="$ac_save_CFLAGS"
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17794 $as_echo_n "checking for library containing dlopen... " >&6; }
17795 if ${ac_cv_search_dlopen+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 ac_func_search_save_LIBS=$LIBS
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17802 /* Override any GCC internal prototype to avoid an error.
17803 Use char because int might match the return type of a GCC
17804 builtin and then its argument prototype would still apply. */
17805 #ifdef __cplusplus
17806 extern "C"
17807 #endif
17808 char dlopen ();
17810 main ()
17812 return dlopen ();
17814 return 0;
17816 _ACEOF
17817 for ac_lib in '' dl; do
17818 if test -z "$ac_lib"; then
17819 ac_res="none required"
17820 else
17821 ac_res=-l$ac_lib
17822 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17824 if ac_fn_c_try_link "$LINENO"; then :
17825 ac_cv_search_dlopen=$ac_res
17827 rm -f core conftest.err conftest.$ac_objext \
17828 conftest$ac_exeext
17829 if ${ac_cv_search_dlopen+:} false; then :
17830 break
17832 done
17833 if ${ac_cv_search_dlopen+:} false; then :
17835 else
17836 ac_cv_search_dlopen=no
17838 rm conftest.$ac_ext
17839 LIBS=$ac_func_search_save_LIBS
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17842 $as_echo "$ac_cv_search_dlopen" >&6; }
17843 ac_res=$ac_cv_search_dlopen
17844 if test "$ac_res" != no; then :
17845 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17849 ac_wine_check_funcs_save_LIBS="$LIBS"
17850 LIBS="$LIBS $DL_LIBS"
17851 for ac_func in dladdr dlinfo
17852 do :
17853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17855 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17856 cat >>confdefs.h <<_ACEOF
17857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17858 _ACEOF
17861 done
17863 LIBS="$ac_wine_check_funcs_save_LIBS"
17865 if test "$ac_cv_func_poll" = no
17866 then
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17868 $as_echo_n "checking for poll in -lpoll... " >&6; }
17869 if ${ac_cv_lib_poll_poll+:} false; then :
17870 $as_echo_n "(cached) " >&6
17871 else
17872 ac_check_lib_save_LIBS=$LIBS
17873 LIBS="-lpoll $LIBS"
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 #ifdef __cplusplus
17881 extern "C"
17882 #endif
17883 char poll ();
17885 main ()
17887 return poll ();
17889 return 0;
17891 _ACEOF
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_lib_poll_poll=yes
17894 else
17895 ac_cv_lib_poll_poll=no
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17899 LIBS=$ac_check_lib_save_LIBS
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17902 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17903 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17904 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17905 POLL_LIBS="-lpoll"
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17912 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17913 if ${ac_cv_search_gethostbyname+:} false; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916 ac_func_search_save_LIBS=$LIBS
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17920 /* Override any GCC internal prototype to avoid an error.
17921 Use char because int might match the return type of a GCC
17922 builtin and then its argument prototype would still apply. */
17923 #ifdef __cplusplus
17924 extern "C"
17925 #endif
17926 char gethostbyname ();
17928 main ()
17930 return gethostbyname ();
17932 return 0;
17934 _ACEOF
17935 for ac_lib in '' nsl; do
17936 if test -z "$ac_lib"; then
17937 ac_res="none required"
17938 else
17939 ac_res=-l$ac_lib
17940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17942 if ac_fn_c_try_link "$LINENO"; then :
17943 ac_cv_search_gethostbyname=$ac_res
17945 rm -f core conftest.err conftest.$ac_objext \
17946 conftest$ac_exeext
17947 if ${ac_cv_search_gethostbyname+:} false; then :
17948 break
17950 done
17951 if ${ac_cv_search_gethostbyname+:} false; then :
17953 else
17954 ac_cv_search_gethostbyname=no
17956 rm conftest.$ac_ext
17957 LIBS=$ac_func_search_save_LIBS
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17960 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17961 ac_res=$ac_cv_search_gethostbyname
17962 if test "$ac_res" != no; then :
17963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17969 $as_echo_n "checking for library containing connect... " >&6; }
17970 if ${ac_cv_search_connect+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 ac_func_search_save_LIBS=$LIBS
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17977 /* Override any GCC internal prototype to avoid an error.
17978 Use char because int might match the return type of a GCC
17979 builtin and then its argument prototype would still apply. */
17980 #ifdef __cplusplus
17981 extern "C"
17982 #endif
17983 char connect ();
17985 main ()
17987 return connect ();
17989 return 0;
17991 _ACEOF
17992 for ac_lib in '' socket; do
17993 if test -z "$ac_lib"; then
17994 ac_res="none required"
17995 else
17996 ac_res=-l$ac_lib
17997 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17999 if ac_fn_c_try_link "$LINENO"; then :
18000 ac_cv_search_connect=$ac_res
18002 rm -f core conftest.err conftest.$ac_objext \
18003 conftest$ac_exeext
18004 if ${ac_cv_search_connect+:} false; then :
18005 break
18007 done
18008 if ${ac_cv_search_connect+:} false; then :
18010 else
18011 ac_cv_search_connect=no
18013 rm conftest.$ac_ext
18014 LIBS=$ac_func_search_save_LIBS
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18017 $as_echo "$ac_cv_search_connect" >&6; }
18018 ac_res=$ac_cv_search_connect
18019 if test "$ac_res" != no; then :
18020 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18026 $as_echo_n "checking for library containing inet_aton... " >&6; }
18027 if ${ac_cv_search_inet_aton+:} false; then :
18028 $as_echo_n "(cached) " >&6
18029 else
18030 ac_func_search_save_LIBS=$LIBS
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 /* Override any GCC internal prototype to avoid an error.
18035 Use char because int might match the return type of a GCC
18036 builtin and then its argument prototype would still apply. */
18037 #ifdef __cplusplus
18038 extern "C"
18039 #endif
18040 char inet_aton ();
18042 main ()
18044 return inet_aton ();
18046 return 0;
18048 _ACEOF
18049 for ac_lib in '' resolv; do
18050 if test -z "$ac_lib"; then
18051 ac_res="none required"
18052 else
18053 ac_res=-l$ac_lib
18054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18056 if ac_fn_c_try_link "$LINENO"; then :
18057 ac_cv_search_inet_aton=$ac_res
18059 rm -f core conftest.err conftest.$ac_objext \
18060 conftest$ac_exeext
18061 if ${ac_cv_search_inet_aton+:} false; then :
18062 break
18064 done
18065 if ${ac_cv_search_inet_aton+:} false; then :
18067 else
18068 ac_cv_search_inet_aton=no
18070 rm conftest.$ac_ext
18071 LIBS=$ac_func_search_save_LIBS
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18074 $as_echo "$ac_cv_search_inet_aton" >&6; }
18075 ac_res=$ac_cv_search_inet_aton
18076 if test "$ac_res" != no; then :
18077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18082 for ac_func in \
18083 getaddrinfo \
18084 getnameinfo \
18085 getnetbyname \
18086 getservbyport \
18088 do :
18089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18092 cat >>confdefs.h <<_ACEOF
18093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18094 _ACEOF
18097 done
18100 case $host_os in
18101 darwin*|macosx*) ;;
18102 *) ac_save_LIBS=$LIBS
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18104 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18105 if ${ac_cv_search_clock_gettime+:} false; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18108 ac_func_search_save_LIBS=$LIBS
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18115 #ifdef __cplusplus
18116 extern "C"
18117 #endif
18118 char clock_gettime ();
18120 main ()
18122 return clock_gettime ();
18124 return 0;
18126 _ACEOF
18127 for ac_lib in '' rt; do
18128 if test -z "$ac_lib"; then
18129 ac_res="none required"
18130 else
18131 ac_res=-l$ac_lib
18132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18134 if ac_fn_c_try_link "$LINENO"; then :
18135 ac_cv_search_clock_gettime=$ac_res
18137 rm -f core conftest.err conftest.$ac_objext \
18138 conftest$ac_exeext
18139 if ${ac_cv_search_clock_gettime+:} false; then :
18140 break
18142 done
18143 if ${ac_cv_search_clock_gettime+:} false; then :
18145 else
18146 ac_cv_search_clock_gettime=no
18148 rm conftest.$ac_ext
18149 LIBS=$ac_func_search_save_LIBS
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18152 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18153 ac_res=$ac_cv_search_clock_gettime
18154 if test "$ac_res" != no; then :
18155 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18157 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18159 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18163 LIBS=$ac_save_LIBS
18165 esac
18167 if test "x$with_ldap" != "xno"
18168 then
18169 if ${LDAP_CFLAGS:+false} :; then :
18170 if ${PKG_CONFIG+:} false; then :
18171 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18175 if ${LDAP_LIBS:+false} :; then :
18176 if ${PKG_CONFIG+:} false; then :
18177 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18181 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18182 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18183 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18184 ac_save_CPPFLAGS=$CPPFLAGS
18185 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18186 for ac_header in ldap.h lber.h
18187 do :
18188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18189 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18191 cat >>confdefs.h <<_ACEOF
18192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18193 _ACEOF
18197 done
18199 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18200 then
18201 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18203 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18205 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18206 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18209 ac_check_lib_save_LIBS=$LIBS
18210 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18217 #ifdef __cplusplus
18218 extern "C"
18219 #endif
18220 char ldap_initialize ();
18222 main ()
18224 return ldap_initialize ();
18226 return 0;
18228 _ACEOF
18229 if ac_fn_c_try_link "$LINENO"; then :
18230 ac_cv_lib_ldap_r_ldap_initialize=yes
18231 else
18232 ac_cv_lib_ldap_r_ldap_initialize=no
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18236 LIBS=$ac_check_lib_save_LIBS
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18239 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18240 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18242 $as_echo_n "checking for ber_init in -llber... " >&6; }
18243 if ${ac_cv_lib_lber_ber_init+:} false; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18246 ac_check_lib_save_LIBS=$LIBS
18247 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18251 /* Override any GCC internal prototype to avoid an error.
18252 Use char because int might match the return type of a GCC
18253 builtin and then its argument prototype would still apply. */
18254 #ifdef __cplusplus
18255 extern "C"
18256 #endif
18257 char ber_init ();
18259 main ()
18261 return ber_init ();
18263 return 0;
18265 _ACEOF
18266 if ac_fn_c_try_link "$LINENO"; then :
18267 ac_cv_lib_lber_ber_init=yes
18268 else
18269 ac_cv_lib_lber_ber_init=no
18271 rm -f core conftest.err conftest.$ac_objext \
18272 conftest$ac_exeext conftest.$ac_ext
18273 LIBS=$ac_check_lib_save_LIBS
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18276 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18277 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18279 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18281 else
18282 LDAP_LIBS=""
18285 else
18286 LDAP_LIBS=""
18289 else
18290 LDAP_LIBS=""
18293 ac_wine_check_funcs_save_LIBS="$LIBS"
18294 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18295 for ac_func in \
18296 ldap_count_references \
18297 ldap_first_reference \
18298 ldap_next_reference \
18299 ldap_parse_reference \
18300 ldap_parse_sort_control \
18301 ldap_parse_sortresponse_control \
18302 ldap_parse_vlv_control \
18303 ldap_parse_vlvresponse_control
18304 do :
18305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18308 cat >>confdefs.h <<_ACEOF
18309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18310 _ACEOF
18313 done
18315 LIBS="$ac_wine_check_funcs_save_LIBS"
18316 else
18317 LDAP_LIBS=""
18319 CPPFLAGS=$ac_save_CPPFLAGS
18322 if test "x$LDAP_LIBS" = "x"; then :
18323 case "x$with_ldap" in
18324 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18325 xno) ;;
18326 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18327 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18328 esac
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18333 $as_echo_n "checking for sched_setaffinity... " >&6; }
18334 if ${wine_cv_have_sched_setaffinity+:} false; then :
18335 $as_echo_n "(cached) " >&6
18336 else
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339 #define _GNU_SOURCE
18340 #include <sched.h>
18342 main ()
18344 sched_setaffinity(0, 0, 0);
18346 return 0;
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 wine_cv_have_sched_setaffinity=yes
18351 else
18352 wine_cv_have_sched_setaffinity=no
18354 rm -f core conftest.err conftest.$ac_objext \
18355 conftest$ac_exeext conftest.$ac_ext
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18358 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18359 if test "$wine_cv_have_sched_setaffinity" = "yes"
18360 then
18362 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18367 $as_echo_n "checking for fallocate... " >&6; }
18368 if ${wine_cv_have_fallocate+:} false; then :
18369 $as_echo_n "(cached) " >&6
18370 else
18371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18373 #define _GNU_SOURCE
18374 #include <fcntl.h>
18376 main ()
18378 fallocate(-1, 0, 0, 0);
18380 return 0;
18382 _ACEOF
18383 if ac_fn_c_try_link "$LINENO"; then :
18384 wine_cv_have_fallocate=yes
18385 else
18386 wine_cv_have_fallocate=no
18388 rm -f core conftest.err conftest.$ac_objext \
18389 conftest$ac_exeext conftest.$ac_ext
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18392 $as_echo "$wine_cv_have_fallocate" >&6; }
18393 if test "$wine_cv_have_fallocate" = "yes"
18394 then
18396 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18402 $as_echo_n "checking for inline... " >&6; }
18403 if ${ac_cv_c_inline+:} false; then :
18404 $as_echo_n "(cached) " >&6
18405 else
18406 ac_cv_c_inline=no
18407 for ac_kw in inline __inline__ __inline; do
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 #ifndef __cplusplus
18411 typedef int foo_t;
18412 static $ac_kw foo_t static_foo () {return 0; }
18413 $ac_kw foo_t foo () {return 0; }
18414 #endif
18416 _ACEOF
18417 if ac_fn_c_try_compile "$LINENO"; then :
18418 ac_cv_c_inline=$ac_kw
18420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18421 test "$ac_cv_c_inline" != no && break
18422 done
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18426 $as_echo "$ac_cv_c_inline" >&6; }
18428 case $ac_cv_c_inline in
18429 inline | yes) ;;
18431 case $ac_cv_c_inline in
18432 no) ac_val=;;
18433 *) ac_val=$ac_cv_c_inline;;
18434 esac
18435 cat >>confdefs.h <<_ACEOF
18436 #ifndef __cplusplus
18437 #define inline $ac_val
18438 #endif
18439 _ACEOF
18441 esac
18443 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18444 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18446 cat >>confdefs.h <<_ACEOF
18447 #define HAVE_FSBLKCNT_T 1
18448 _ACEOF
18452 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18453 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_FSFILCNT_T 1
18457 _ACEOF
18462 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18463 #include <signal.h>
18465 if test "x$ac_cv_type_sigset_t" = xyes; then :
18467 cat >>confdefs.h <<_ACEOF
18468 #define HAVE_SIGSET_T 1
18469 _ACEOF
18474 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18476 if test "x$ac_cv_type_request_sense" = xyes; then :
18478 cat >>confdefs.h <<_ACEOF
18479 #define HAVE_REQUEST_SENSE 1
18480 _ACEOF
18486 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18487 #ifdef HAVE_SYS_SOCKET_H
18488 #include <sys/socket.h>
18489 #endif
18490 #ifdef HAVE_SYS_SOCKETVAR_H
18491 #include <sys/socketvar.h>
18492 #endif
18493 #ifdef HAVE_NET_ROUTE_H
18494 #include <net/route.h>
18495 #endif
18496 #ifdef HAVE_NETINET_IN_H
18497 #include <netinet/in.h>
18498 #endif
18499 #ifdef HAVE_NETINET_IN_SYSTM_H
18500 #include <netinet/in_systm.h>
18501 #endif
18502 #ifdef HAVE_NETINET_IP_H
18503 #include <netinet/ip.h>
18504 #endif
18505 #ifdef HAVE_NETINET_IN_PCB_H
18506 #include <netinet/in_pcb.h>
18507 #endif
18509 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18511 cat >>confdefs.h <<_ACEOF
18512 #define HAVE_STRUCT_XINPGEN 1
18513 _ACEOF
18519 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18520 #include <linux/input.h>
18521 #endif
18523 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18525 cat >>confdefs.h <<_ACEOF
18526 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18527 _ACEOF
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18534 $as_echo_n "checking for if_nameindex... " >&6; }
18535 if ${wine_cv_have_if_nameindex+:} false; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #ifdef HAVE_SYS_TYPES_H
18541 #include <sys/types.h>
18542 #endif
18543 #ifdef HAVE_SYS_SOCKET_H
18544 #include <sys/socket.h>
18545 #endif
18546 #ifdef HAVE_NET_IF_H
18547 # include <net/if.h>
18548 #endif
18550 main ()
18552 struct if_nameindex *p = if_nameindex(); return p->if_index;
18554 return 0;
18556 _ACEOF
18557 if ac_fn_c_try_link "$LINENO"; then :
18558 wine_cv_have_if_nameindex=yes
18559 else
18560 wine_cv_have_if_nameindex=no
18562 rm -f core conftest.err conftest.$ac_objext \
18563 conftest$ac_exeext conftest.$ac_ext
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18566 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18567 if test "$wine_cv_have_if_nameindex" = "yes"
18568 then
18570 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18575 $as_echo_n "checking for sigaddset... " >&6; }
18576 if ${wine_cv_have_sigaddset+:} false; then :
18577 $as_echo_n "(cached) " >&6
18578 else
18579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581 #include <signal.h>
18583 main ()
18585 sigset_t set; sigaddset(&set,SIGTERM);
18587 return 0;
18589 _ACEOF
18590 if ac_fn_c_try_link "$LINENO"; then :
18591 wine_cv_have_sigaddset=yes
18592 else
18593 wine_cv_have_sigaddset=no
18595 rm -f core conftest.err conftest.$ac_objext \
18596 conftest$ac_exeext conftest.$ac_ext
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18599 $as_echo "$wine_cv_have_sigaddset" >&6; }
18600 if test "$wine_cv_have_sigaddset" = "yes"
18601 then
18603 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18609 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18610 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 #include <netdb.h>
18617 main ()
18620 char *name=0;
18621 struct hostent he;
18622 struct hostent *result;
18623 char *buf=0;
18624 int bufsize=0;
18625 int errnr;
18626 char *addr=0;
18627 int addrlen=0;
18628 int addrtype=0;
18629 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18630 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18633 return 0;
18635 _ACEOF
18636 if ac_fn_c_try_link "$LINENO"; then :
18637 wine_cv_linux_gethostbyname_r_6=yes
18638 else
18639 wine_cv_linux_gethostbyname_r_6=no
18642 rm -f core conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18647 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18648 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18649 then
18651 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18655 if test "$ac_cv_header_linux_joystick_h" = "yes"
18656 then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18658 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18659 if ${wine_cv_linux_joystick_22_api+:} false; then :
18660 $as_echo_n "(cached) " >&6
18661 else
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18665 #include <sys/ioctl.h>
18666 #include <sys/types.h>
18667 #include <linux/joystick.h>
18669 struct js_event blub;
18670 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18671 #error "no 2.2 header"
18672 #endif
18675 main ()
18677 /*empty*/
18679 return 0;
18681 _ACEOF
18682 if ac_fn_c_try_compile "$LINENO"; then :
18683 wine_cv_linux_joystick_22_api=yes
18684 else
18685 wine_cv_linux_joystick_22_api=no
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18691 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18692 if test "$wine_cv_linux_joystick_22_api" = "yes"
18693 then
18695 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18701 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18702 #ifdef HAVE_SYS_PARAM_H
18703 # include <sys/param.h>
18704 #endif
18705 #ifdef HAVE_SYS_MOUNT_H
18706 # include <sys/mount.h>
18707 #endif
18708 #ifdef HAVE_SYS_VFS_H
18709 # include <sys/vfs.h>
18710 #endif
18711 #ifdef HAVE_SYS_STATFS_H
18712 # include <sys/statfs.h>
18713 #endif
18715 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STRUCT_STATFS_F_BFREE 1
18719 _ACEOF
18723 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18724 #ifdef HAVE_SYS_PARAM_H
18725 # include <sys/param.h>
18726 #endif
18727 #ifdef HAVE_SYS_MOUNT_H
18728 # include <sys/mount.h>
18729 #endif
18730 #ifdef HAVE_SYS_VFS_H
18731 # include <sys/vfs.h>
18732 #endif
18733 #ifdef HAVE_SYS_STATFS_H
18734 # include <sys/statfs.h>
18735 #endif
18737 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18741 _ACEOF
18745 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18746 #ifdef HAVE_SYS_PARAM_H
18747 # include <sys/param.h>
18748 #endif
18749 #ifdef HAVE_SYS_MOUNT_H
18750 # include <sys/mount.h>
18751 #endif
18752 #ifdef HAVE_SYS_VFS_H
18753 # include <sys/vfs.h>
18754 #endif
18755 #ifdef HAVE_SYS_STATFS_H
18756 # include <sys/statfs.h>
18757 #endif
18759 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18761 cat >>confdefs.h <<_ACEOF
18762 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18763 _ACEOF
18767 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18768 #ifdef HAVE_SYS_PARAM_H
18769 # include <sys/param.h>
18770 #endif
18771 #ifdef HAVE_SYS_MOUNT_H
18772 # include <sys/mount.h>
18773 #endif
18774 #ifdef HAVE_SYS_VFS_H
18775 # include <sys/vfs.h>
18776 #endif
18777 #ifdef HAVE_SYS_STATFS_H
18778 # include <sys/statfs.h>
18779 #endif
18781 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_STATFS_F_FFREE 1
18785 _ACEOF
18789 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18790 #ifdef HAVE_SYS_PARAM_H
18791 # include <sys/param.h>
18792 #endif
18793 #ifdef HAVE_SYS_MOUNT_H
18794 # include <sys/mount.h>
18795 #endif
18796 #ifdef HAVE_SYS_VFS_H
18797 # include <sys/vfs.h>
18798 #endif
18799 #ifdef HAVE_SYS_STATFS_H
18800 # include <sys/statfs.h>
18801 #endif
18803 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18805 cat >>confdefs.h <<_ACEOF
18806 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18807 _ACEOF
18811 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18814 #endif
18815 #ifdef HAVE_SYS_MOUNT_H
18816 # include <sys/mount.h>
18817 #endif
18818 #ifdef HAVE_SYS_VFS_H
18819 # include <sys/vfs.h>
18820 #endif
18821 #ifdef HAVE_SYS_STATFS_H
18822 # include <sys/statfs.h>
18823 #endif
18825 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18829 _ACEOF
18835 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18836 #include <sys/statvfs.h>
18837 #endif
18839 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18843 _ACEOF
18849 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18850 #include <dirent.h>
18851 #endif
18853 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18857 _ACEOF
18863 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18864 #ifdef HAVE_SYS_SOCKET_H
18865 # include <sys/socket.h>
18866 #endif
18867 #ifdef HAVE_SYS_UN_H
18868 # include <sys/un.h>
18869 #endif
18871 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18875 _ACEOF
18879 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18880 #ifdef HAVE_SYS_SOCKET_H
18881 # include <sys/socket.h>
18882 #endif
18883 #ifdef HAVE_SYS_UN_H
18884 # include <sys/un.h>
18885 #endif
18887 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18891 _ACEOF
18895 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18896 #ifdef HAVE_SYS_SOCKET_H
18897 # include <sys/socket.h>
18898 #endif
18899 #ifdef HAVE_SYS_UN_H
18900 # include <sys/un.h>
18901 #endif
18903 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18907 _ACEOF
18913 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18914 #ifdef HAVE_SCSI_SG_H
18915 #include <scsi/sg.h>
18916 #endif
18918 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_SCSIREQ_T_CMD 1
18922 _ACEOF
18926 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>
18927 #ifdef HAVE_SCSI_SG_H
18928 #include <scsi/sg.h>
18929 #endif
18931 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18935 _ACEOF
18941 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18943 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18945 cat >>confdefs.h <<_ACEOF
18946 #define HAVE_SIGINFO_T_SI_FD 1
18947 _ACEOF
18953 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18954 #ifdef HAVE_SYS_MTIO_H
18955 #include <sys/mtio.h>
18956 #endif
18958 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18962 _ACEOF
18966 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18967 #ifdef HAVE_SYS_MTIO_H
18968 #include <sys/mtio.h>
18969 #endif
18971 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18975 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18980 #ifdef HAVE_SYS_MTIO_H
18981 #include <sys/mtio.h>
18982 #endif
18984 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18988 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18995 #include <getopt.h>
18996 #endif
18998 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_OPTION_NAME 1
19002 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19009 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19018 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STAT_ST_MTIM 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19027 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19031 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19036 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_STAT_ST_CTIM 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19045 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19049 _ACEOF
19053 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19054 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_STAT_ST_ATIM 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19063 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19067 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19072 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19076 _ACEOF
19080 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19081 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19085 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19090 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19094 _ACEOF
19098 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19099 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19103 _ACEOF
19107 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19108 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19112 _ACEOF
19118 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
19119 #include <sys/types.h>
19120 #endif
19121 #ifdef HAVE_NETINET_IN_H
19122 #include <netinet/in.h>
19123 #endif
19125 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19129 _ACEOF
19135 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19136 #include <sys/types.h>
19137 #endif
19138 #ifdef HAVE_NETINET_IN_H
19139 #include <netinet/in.h>
19140 #endif
19141 #ifdef HAVE_RESOLV_H
19142 #include <resolv.h>
19143 #endif
19145 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT___RES_STATE 1
19149 _ACEOF
19155 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
19156 #include <resolv.h>
19157 #endif
19159 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19163 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19170 #include <sys/types.h>
19171 #endif
19172 #ifdef HAVE_NETINET_IN_H
19173 # include <netinet/in.h>
19174 #endif
19175 #ifdef HAVE_ARPA_NAMESER_H
19176 # include <arpa/nameser.h>
19177 #endif
19179 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_NS_MSG__MSG_PTR 1
19183 _ACEOF
19189 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19190 #include <sys/types.h>
19191 #endif
19192 #ifdef HAVE_NETINET_IN_H
19193 #include <netinet/in.h>
19194 #endif
19195 #ifdef HAVE_NETINET_IP_H
19196 #include <netinet/ip.h>
19197 #endif
19198 #ifdef HAVE_NETINET_IP_ICMP_H
19199 #include <netinet/ip_icmp.h>
19200 #endif
19201 #ifdef HAVE_NETINET_ICMP_VAR_H
19202 #include <netinet/icmp_var.h>
19203 #endif
19205 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19207 cat >>confdefs.h <<_ACEOF
19208 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19209 _ACEOF
19215 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19216 #include <sys/types.h>
19217 #endif
19218 #ifdef HAVE_ALIAS_H
19219 #include <alias.h>
19220 #endif
19221 #ifdef HAVE_SYS_SOCKET_H
19222 #include <sys/socket.h>
19223 #endif
19224 #ifdef HAVE_SYS_SOCKETVAR_H
19225 #include <sys/socketvar.h>
19226 #endif
19227 #ifdef HAVE_SYS_TIMEOUT_H
19228 #include <sys/timeout.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_H
19231 #include <netinet/in.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IN_SYSTM_H
19234 #include <netinet/in_systm.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IP_H
19237 #include <netinet/ip.h>
19238 #endif
19239 #ifdef HAVE_NETINET_IP_VAR_H
19240 #include <netinet/ip_var.h>
19241 #endif
19242 #ifdef HAVE_NETINET_IP_ICMP_H
19243 #include <netinet/ip_icmp.h>
19244 #endif
19245 #ifdef HAVE_NETINET_ICMP_VAR_H
19246 #include <netinet/icmp_var.h>
19247 #endif
19249 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19251 cat >>confdefs.h <<_ACEOF
19252 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19253 _ACEOF
19259 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19260 #include <sys/types.h>
19261 #endif
19262 #ifdef HAVE_SYS_SOCKETVAR_H
19263 #include <sys/socketvar.h>
19264 #endif
19265 #ifdef HAVE_NETINET_IN_H
19266 #include <netinet/in.h>
19267 #endif
19268 #ifdef HAVE_NETINET_IP_VAR_H
19269 #include <netinet/ip_var.h>
19270 #endif
19272 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19276 _ACEOF
19282 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
19283 #include <netinet/ip_var.h>
19284 #endif
19286 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19288 cat >>confdefs.h <<_ACEOF
19289 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19290 _ACEOF
19296 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19297 #include <sys/types.h>
19298 #endif
19299 #ifdef HAVE_SYS_SOCKETVAR_H
19300 #include <sys/socketvar.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19305 #ifdef HAVE_NETINET_TCP_H
19306 #include <netinet/tcp.h>
19307 #endif
19308 #ifdef HAVE_NETINET_TCP_VAR_H
19309 #include <netinet/tcp_var.h>
19310 #endif
19312 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19314 cat >>confdefs.h <<_ACEOF
19315 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19316 _ACEOF
19322 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
19323 #include <netinet/tcp_var.h>
19324 #endif
19326 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19330 _ACEOF
19336 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19337 #include <sys/types.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IN_H
19340 #include <netinet/in.h>
19341 #endif
19342 #ifdef HAVE_NETINET_IP_VAR_H
19343 #include <netinet/ip_var.h>
19344 #endif
19345 #ifdef HAVE_NETINET_UDP_H
19346 #include <netinet/udp.h>
19347 #endif
19348 #ifdef HAVE_NETINET_UDP_VAR_H
19349 #include <netinet/udp_var.h>
19350 #endif
19352 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19354 cat >>confdefs.h <<_ACEOF
19355 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19356 _ACEOF
19362 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19363 #include <sys/types.h>
19364 #endif
19365 #ifdef HAVE_NET_IF_H
19366 # include <net/if.h>
19367 #endif
19369 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19371 cat >>confdefs.h <<_ACEOF
19372 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19373 _ACEOF
19379 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19380 # include <sys/sysinfo.h>
19381 #endif
19383 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19385 cat >>confdefs.h <<_ACEOF
19386 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19387 _ACEOF
19391 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19392 # include <sys/sysinfo.h>
19393 #endif
19395 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19397 cat >>confdefs.h <<_ACEOF
19398 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19399 _ACEOF
19405 ac_save_LIBS="$LIBS"
19406 LIBS="$LIBS -lm"
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19408 $as_echo_n "checking for isfinite... " >&6; }
19409 if ${ac_cv_have_isfinite+:} false; then :
19410 $as_echo_n "(cached) " >&6
19411 else
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19414 #define _GNU_SOURCE
19415 #include <math.h>
19417 main ()
19419 float f = 0.0; return isfinite(f)
19421 return 0;
19423 _ACEOF
19424 if ac_fn_c_try_link "$LINENO"; then :
19425 ac_cv_have_isfinite="yes"
19426 else
19427 ac_cv_have_isfinite="no"
19429 rm -f core conftest.err conftest.$ac_objext \
19430 conftest$ac_exeext conftest.$ac_ext
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19433 $as_echo "$ac_cv_have_isfinite" >&6; }
19434 if test "$ac_cv_have_isfinite" = "yes"
19435 then
19437 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19442 $as_echo_n "checking for isinf... " >&6; }
19443 if ${ac_cv_have_isinf+:} false; then :
19444 $as_echo_n "(cached) " >&6
19445 else
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #include <math.h>
19450 main ()
19452 float f = 0.0; return isinf(f)
19454 return 0;
19456 _ACEOF
19457 if ac_fn_c_try_link "$LINENO"; then :
19458 ac_cv_have_isinf="yes"
19459 else
19460 ac_cv_have_isinf="no"
19462 rm -f core conftest.err conftest.$ac_objext \
19463 conftest$ac_exeext conftest.$ac_ext
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19466 $as_echo "$ac_cv_have_isinf" >&6; }
19467 if test "$ac_cv_have_isinf" = "yes"
19468 then
19470 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19475 $as_echo_n "checking for isnan... " >&6; }
19476 if ${ac_cv_have_isnan+:} false; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481 #include <math.h>
19483 main ()
19485 float f = 0.0; return isnan(f)
19487 return 0;
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"; then :
19491 ac_cv_have_isnan="yes"
19492 else
19493 ac_cv_have_isnan="no"
19495 rm -f core conftest.err conftest.$ac_objext \
19496 conftest$ac_exeext conftest.$ac_ext
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19499 $as_echo "$ac_cv_have_isnan" >&6; }
19500 if test "$ac_cv_have_isnan" = "yes"
19501 then
19503 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19507 for ac_func in \
19508 acosh \
19509 acoshf \
19510 asinh \
19511 asinhf \
19512 atanh \
19513 atanhf \
19514 cbrt \
19515 cbrtf \
19516 erf \
19517 erfc \
19518 erfcf \
19519 erff \
19520 exp2 \
19521 exp2f \
19522 expm1 \
19523 expm1f \
19524 fma \
19525 fmaf \
19526 ilogb \
19527 ilogbf \
19528 j0 \
19529 j1 \
19530 jn \
19531 lgamma \
19532 lgammaf \
19533 llrint \
19534 llrintf \
19535 llround \
19536 llroundf \
19537 log1p \
19538 log1pf \
19539 log2 \
19540 log2f \
19541 lrint \
19542 lrintf \
19543 lround \
19544 lroundf \
19545 nearbyint \
19546 nearbyintf \
19547 nexttoward \
19548 nexttowardf \
19549 remainder \
19550 remainderf \
19551 remquo \
19552 remquof \
19553 rint \
19554 rintf \
19555 round \
19556 roundf \
19557 tgamma \
19558 tgammaf \
19559 trunc \
19560 truncf \
19561 y0 \
19562 y1 \
19565 do :
19566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19568 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19569 cat >>confdefs.h <<_ACEOF
19570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19571 _ACEOF
19574 done
19576 LIBS="$ac_save_LIBS"
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19579 $as_echo_n "checking for __builtin_popcount... " >&6; }
19580 if ${ac_cv_have___builtin_popcount+:} false; then :
19581 $as_echo_n "(cached) " >&6
19582 else
19583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19584 /* end confdefs.h. */
19587 main ()
19589 return __builtin_popcount(1)
19591 return 0;
19593 _ACEOF
19594 if ac_fn_c_try_link "$LINENO"; then :
19595 ac_cv_have___builtin_popcount="yes"
19596 else
19597 ac_cv_have___builtin_popcount="no"
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext conftest.$ac_ext
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19603 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19604 if test "$ac_cv_have___builtin_popcount" = "yes"
19605 then
19607 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19612 $as_echo_n "checking for __clear_cache... " >&6; }
19613 if ${ac_cv_have___clear_cache+:} false; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19620 main ()
19622 __clear_cache((void*)0, (void*)0); return 0;
19624 return 0;
19626 _ACEOF
19627 if ac_fn_c_try_link "$LINENO"; then :
19628 ac_cv_have___clear_cache="yes"
19629 else
19630 ac_cv_have___clear_cache="no"
19632 rm -f core conftest.err conftest.$ac_objext \
19633 conftest$ac_exeext conftest.$ac_ext
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19636 $as_echo "$ac_cv_have___clear_cache" >&6; }
19637 if test "$ac_cv_have___clear_cache" = "yes"
19638 then
19640 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19645 case $host_cpu in
19646 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19647 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19648 if ${ac_cv_cpp_def___i386__+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #ifndef __i386__
19655 #endif
19656 _ACEOF
19657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19658 $EGREP "yes" >/dev/null 2>&1; then :
19659 ac_cv_cpp_def___i386__=yes
19660 else
19661 ac_cv_cpp_def___i386__=no
19663 rm -f conftest*
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19667 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19668 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19669 CFLAGS="$CFLAGS -D__i386__"
19670 LINTFLAGS="$LINTFLAGS -D__i386__"
19671 fi ;;
19672 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19673 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19674 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #ifndef __x86_64__
19681 #endif
19682 _ACEOF
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev/null 2>&1; then :
19685 ac_cv_cpp_def___x86_64__=yes
19686 else
19687 ac_cv_cpp_def___x86_64__=no
19689 rm -f conftest*
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19693 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19694 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19695 CFLAGS="$CFLAGS -D__x86_64__"
19696 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19697 fi ;;
19698 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19699 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19700 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19705 #ifndef __sparc64__
19707 #endif
19708 _ACEOF
19709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19710 $EGREP "yes" >/dev/null 2>&1; then :
19711 ac_cv_cpp_def___sparc64__=yes
19712 else
19713 ac_cv_cpp_def___sparc64__=no
19715 rm -f conftest*
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19719 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19720 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19721 CFLAGS="$CFLAGS -D__sparc64__"
19722 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19723 fi ;;
19724 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19725 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19726 if ${ac_cv_cpp_def___sparc__+:} false; then :
19727 $as_echo_n "(cached) " >&6
19728 else
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 #ifndef __sparc__
19733 #endif
19734 _ACEOF
19735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19736 $EGREP "yes" >/dev/null 2>&1; then :
19737 ac_cv_cpp_def___sparc__=yes
19738 else
19739 ac_cv_cpp_def___sparc__=no
19741 rm -f conftest*
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19745 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19746 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19747 CFLAGS="$CFLAGS -D__sparc__"
19748 LINTFLAGS="$LINTFLAGS -D__sparc__"
19749 fi ;;
19750 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19751 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19752 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19753 $as_echo_n "(cached) " >&6
19754 else
19755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19756 /* end confdefs.h. */
19757 #ifndef __powerpc64__
19759 #endif
19760 _ACEOF
19761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19762 $EGREP "yes" >/dev/null 2>&1; then :
19763 ac_cv_cpp_def___powerpc64__=yes
19764 else
19765 ac_cv_cpp_def___powerpc64__=no
19767 rm -f conftest*
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19771 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19772 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19773 CFLAGS="$CFLAGS -D__powerpc64__"
19774 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19775 fi ;;
19776 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19777 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19778 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19779 $as_echo_n "(cached) " >&6
19780 else
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 #ifndef __powerpc__
19785 #endif
19786 _ACEOF
19787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19788 $EGREP "yes" >/dev/null 2>&1; then :
19789 ac_cv_cpp_def___powerpc__=yes
19790 else
19791 ac_cv_cpp_def___powerpc__=no
19793 rm -f conftest*
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19797 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19798 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19799 CFLAGS="$CFLAGS -D__powerpc__"
19800 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19801 fi ;;
19802 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19803 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19804 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #ifndef __aarch64__
19811 #endif
19812 _ACEOF
19813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19814 $EGREP "yes" >/dev/null 2>&1; then :
19815 ac_cv_cpp_def___aarch64__=yes
19816 else
19817 ac_cv_cpp_def___aarch64__=no
19819 rm -f conftest*
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19823 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19824 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19825 CFLAGS="$CFLAGS -D__aarch64__"
19826 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19827 fi ;;
19828 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19829 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19830 if ${ac_cv_cpp_def___arm__+:} false; then :
19831 $as_echo_n "(cached) " >&6
19832 else
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h. */
19835 #ifndef __arm__
19837 #endif
19838 _ACEOF
19839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19840 $EGREP "yes" >/dev/null 2>&1; then :
19841 ac_cv_cpp_def___arm__=yes
19842 else
19843 ac_cv_cpp_def___arm__=no
19845 rm -f conftest*
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19849 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19850 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19851 CFLAGS="$CFLAGS -D__arm__"
19852 LINTFLAGS="$LINTFLAGS -D__arm__"
19853 fi ;;
19854 esac
19856 case $host_vendor in
19857 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19858 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19859 if ${ac_cv_cpp_def___sun__+:} false; then :
19860 $as_echo_n "(cached) " >&6
19861 else
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #ifndef __sun__
19866 #endif
19867 _ACEOF
19868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19869 $EGREP "yes" >/dev/null 2>&1; then :
19870 ac_cv_cpp_def___sun__=yes
19871 else
19872 ac_cv_cpp_def___sun__=no
19874 rm -f conftest*
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19878 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19879 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19880 CFLAGS="$CFLAGS -D__sun__"
19881 LINTFLAGS="$LINTFLAGS -D__sun__"
19882 fi ;;
19883 esac
19889 ac_config_commands="$ac_config_commands include/stamp-h"
19891 $as_echo_n "creating Makefile rules..." >&6
19893 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19894 OPENGL_LIBS = $OPENGL_LIBS
19895 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19896 IOKIT_LIBS = $IOKIT_LIBS
19897 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19898 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19899 CORESERVICES_LIBS = $CORESERVICES_LIBS
19900 APPKIT_LIBS = $APPKIT_LIBS
19901 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19902 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19903 SECURITY_LIBS = $SECURITY_LIBS
19904 COREAUDIO_LIBS = $COREAUDIO_LIBS
19905 OPENAL_LIBS = $OPENAL_LIBS
19906 OPENCL_LIBS = $OPENCL_LIBS
19907 QUICKTIME_LIBS = $QUICKTIME_LIBS
19908 CARBON_LIBS = $CARBON_LIBS
19909 METAL_LIBS = $METAL_LIBS
19910 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19911 PTHREAD_LIBS = $PTHREAD_LIBS
19912 X_CFLAGS = $X_CFLAGS
19913 X_PRE_LIBS = $X_PRE_LIBS
19914 X_LIBS = $X_LIBS
19915 X_EXTRA_LIBS = $X_EXTRA_LIBS
19916 PCAP_LIBS = $PCAP_LIBS
19917 XML2_CFLAGS = $XML2_CFLAGS
19918 XML2_LIBS = $XML2_LIBS
19919 XSLT_CFLAGS = $XSLT_CFLAGS
19920 XSLT_LIBS = $XSLT_LIBS
19921 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19922 INOTIFY_LIBS = $INOTIFY_LIBS
19923 DBUS_CFLAGS = $DBUS_CFLAGS
19924 DBUS_LIBS = $DBUS_LIBS
19925 HAL_CFLAGS = $HAL_CFLAGS
19926 HAL_LIBS = $HAL_LIBS
19927 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19928 GNUTLS_LIBS = $GNUTLS_LIBS
19929 SANE_CFLAGS = $SANE_CFLAGS
19930 SANE_LIBS = $SANE_LIBS
19931 USB_CFLAGS = $USB_CFLAGS
19932 USB_LIBS = $USB_LIBS
19933 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19934 GPHOTO2_LIBS = $GPHOTO2_LIBS
19935 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19936 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19937 RESOLV_LIBS = $RESOLV_LIBS
19938 LCMS2_CFLAGS = $LCMS2_CFLAGS
19939 LCMS2_LIBS = $LCMS2_LIBS
19940 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19941 FREETYPE_LIBS = $FREETYPE_LIBS
19942 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19943 PULSE_CFLAGS = $PULSE_CFLAGS
19944 PULSE_LIBS = $PULSE_LIBS
19945 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19946 GSTREAMER_LIBS = $GSTREAMER_LIBS
19947 ALSA_LIBS = $ALSA_LIBS
19948 OSS4_CFLAGS = $OSS4_CFLAGS
19949 OSS4_LIBS = $OSS4_LIBS
19950 UDEV_CFLAGS = $UDEV_CFLAGS
19951 UDEV_LIBS = $UDEV_LIBS
19952 UNWIND_CFLAGS = $UNWIND_CFLAGS
19953 UNWIND_LIBS = $UNWIND_LIBS
19954 SDL2_CFLAGS = $SDL2_CFLAGS
19955 SDL2_LIBS = $SDL2_LIBS
19956 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19957 FAUDIO_LIBS = $FAUDIO_LIBS
19958 CAPI20_CFLAGS = $CAPI20_CFLAGS
19959 CAPI20_LIBS = $CAPI20_LIBS
19960 CUPS_CFLAGS = $CUPS_CFLAGS
19961 CUPS_LIBS = $CUPS_LIBS
19962 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19963 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19964 KRB5_CFLAGS = $KRB5_CFLAGS
19965 KRB5_LIBS = $KRB5_LIBS
19966 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19967 GSSAPI_LIBS = $GSSAPI_LIBS
19968 JPEG_CFLAGS = $JPEG_CFLAGS
19969 JPEG_LIBS = $JPEG_LIBS
19970 PNG_CFLAGS = $PNG_CFLAGS
19971 PNG_LIBS = $PNG_LIBS
19972 TIFF_CFLAGS = $TIFF_CFLAGS
19973 TIFF_LIBS = $TIFF_LIBS
19974 MPG123_CFLAGS = $MPG123_CFLAGS
19975 MPG123_LIBS = $MPG123_LIBS
19976 KSTAT_LIBS = $KSTAT_LIBS
19977 PROCSTAT_LIBS = $PROCSTAT_LIBS
19978 NETAPI_CFLAGS = $NETAPI_CFLAGS
19979 NETAPI_LIBS = $NETAPI_LIBS
19980 VKD3D_CFLAGS = $VKD3D_CFLAGS
19981 VKD3D_LIBS = $VKD3D_LIBS
19982 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19983 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19984 POLL_LIBS = $POLL_LIBS
19985 RT_LIBS = $RT_LIBS
19986 LDAP_CFLAGS = $LDAP_CFLAGS
19987 LDAP_LIBS = $LDAP_LIBS
19992 wine_fn_append_rule "
19993 # Rules automatically generated by configure
19995 .INIT: Makefile
19996 .MAKEFILEDEPS:
19997 all: Makefile
19998 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19999 @./config.status Make.tmp Makefile
20000 depend: \$(MAKEDEP)
20001 \$(MAKEDEP)
20002 dummy:
20003 .PHONY: depend dummy"
20005 ac_config_links="$ac_config_links wine:tools/winewrapper"
20006 wine_fn_config_symlink wine
20007 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20008 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20009 wine_fn_config_symlink wine64
20012 wine_fn_config_makefile dlls/acledit enable_acledit
20013 wine_fn_config_makefile dlls/aclui enable_aclui
20014 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20015 wine_fn_config_makefile dlls/activeds enable_activeds
20016 wine_fn_config_makefile dlls/activeds/tests enable_tests
20017 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20018 wine_fn_config_makefile dlls/adsiid enable_adsiid
20019 wine_fn_config_makefile dlls/adsldp enable_adsldp
20020 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20021 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20022 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20023 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20024 wine_fn_config_makefile dlls/advpack enable_advpack
20025 wine_fn_config_makefile dlls/advpack/tests enable_tests
20026 wine_fn_config_makefile dlls/amsi enable_amsi
20027 wine_fn_config_makefile dlls/amstream enable_amstream
20028 wine_fn_config_makefile dlls/amstream/tests enable_tests
20029 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20032 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20034 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20039 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20051 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20053 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20054 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20055 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20057 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20062 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20063 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20065 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20066 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20086 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20090 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20091 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20100 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20101 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20102 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20115 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20116 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20157 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20189 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20221 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20225 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20229 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20235 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20237 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20243 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20248 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20254 wine_fn_config_makefile dlls/apphelp enable_apphelp
20255 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20256 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20257 wine_fn_config_makefile dlls/atl enable_atl
20258 wine_fn_config_makefile dlls/atl/tests enable_tests
20259 wine_fn_config_makefile dlls/atl100 enable_atl100
20260 wine_fn_config_makefile dlls/atl100/tests enable_tests
20261 wine_fn_config_makefile dlls/atl110 enable_atl110
20262 wine_fn_config_makefile dlls/atl80 enable_atl80
20263 wine_fn_config_makefile dlls/atl80/tests enable_tests
20264 wine_fn_config_makefile dlls/atl90 enable_atl90
20265 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20266 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20267 wine_fn_config_makefile dlls/atmlib enable_atmlib
20268 wine_fn_config_makefile dlls/authz enable_authz
20269 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20270 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20271 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20272 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20273 wine_fn_config_makefile dlls/avrt enable_avrt
20274 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20275 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20276 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20277 wine_fn_config_makefile dlls/browseui enable_browseui
20278 wine_fn_config_makefile dlls/browseui/tests enable_tests
20279 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20280 wine_fn_config_makefile dlls/cabinet enable_cabinet
20281 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20282 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20283 wine_fn_config_makefile dlls/cards enable_cards
20284 wine_fn_config_makefile dlls/cdosys enable_cdosys
20285 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20286 wine_fn_config_makefile dlls/clusapi enable_clusapi
20287 wine_fn_config_makefile dlls/combase enable_combase
20288 wine_fn_config_makefile dlls/combase/tests enable_tests
20289 wine_fn_config_makefile dlls/comcat enable_comcat
20290 wine_fn_config_makefile dlls/comcat/tests enable_tests
20291 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20292 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20293 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20294 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20295 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20296 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20297 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20298 wine_fn_config_makefile dlls/compstui enable_compstui
20299 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20300 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20301 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20302 wine_fn_config_makefile dlls/connect enable_connect
20303 wine_fn_config_makefile dlls/credui enable_credui
20304 wine_fn_config_makefile dlls/credui/tests enable_tests
20305 wine_fn_config_makefile dlls/crtdll enable_crtdll
20306 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20307 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20308 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20309 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20310 wine_fn_config_makefile dlls/cryptext enable_cryptext
20311 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20312 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20313 wine_fn_config_makefile dlls/cryptui enable_cryptui
20314 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20315 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20316 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20317 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20318 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20319 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20320 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20321 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20322 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20323 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20324 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20325 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20326 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20327 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20328 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20329 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20330 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20331 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20332 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20333 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20334 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20335 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20336 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20337 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20338 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20339 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20340 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20341 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20342 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20343 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20344 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20345 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20346 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20347 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20348 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20349 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20350 wine_fn_config_makefile dlls/d3dim enable_d3dim
20351 wine_fn_config_makefile dlls/d3drm enable_d3drm
20352 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20353 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20354 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20355 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20356 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20357 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20358 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20359 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20360 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20361 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20362 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20363 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20364 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20365 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20366 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20367 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20368 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20369 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20370 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20371 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20372 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20373 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20374 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20375 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20376 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20377 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20378 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20379 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20380 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20381 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20382 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20383 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20384 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20385 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20386 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20387 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20388 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20389 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20390 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20391 wine_fn_config_makefile dlls/davclnt enable_davclnt
20392 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20393 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20394 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20395 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20396 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20397 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20398 wine_fn_config_makefile dlls/ddraw enable_ddraw
20399 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20400 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20401 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20402 wine_fn_config_makefile dlls/devenum enable_devenum
20403 wine_fn_config_makefile dlls/devenum/tests enable_tests
20404 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20405 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20406 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20407 wine_fn_config_makefile dlls/difxapi enable_difxapi
20408 wine_fn_config_makefile dlls/dinput enable_dinput
20409 wine_fn_config_makefile dlls/dinput/tests enable_tests
20410 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20411 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20412 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20413 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20414 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20415 wine_fn_config_makefile dlls/dispex enable_dispex
20416 wine_fn_config_makefile dlls/dispex/tests enable_tests
20417 wine_fn_config_makefile dlls/display.drv16 enable_win16
20418 wine_fn_config_makefile dlls/dmband enable_dmband
20419 wine_fn_config_makefile dlls/dmband/tests enable_tests
20420 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20421 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20422 wine_fn_config_makefile dlls/dmime enable_dmime
20423 wine_fn_config_makefile dlls/dmime/tests enable_tests
20424 wine_fn_config_makefile dlls/dmloader enable_dmloader
20425 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20426 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20427 wine_fn_config_makefile dlls/dmscript enable_dmscript
20428 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20429 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20430 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20431 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20432 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20433 wine_fn_config_makefile dlls/dmusic enable_dmusic
20434 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20435 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20436 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20437 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20438 wine_fn_config_makefile dlls/dplay enable_dplay
20439 wine_fn_config_makefile dlls/dplayx enable_dplayx
20440 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20441 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20442 wine_fn_config_makefile dlls/dpnet enable_dpnet
20443 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20444 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20445 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20446 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20447 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20448 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20449 wine_fn_config_makefile dlls/drmclien enable_drmclien
20450 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20451 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20452 wine_fn_config_makefile dlls/dsound enable_dsound
20453 wine_fn_config_makefile dlls/dsound/tests enable_tests
20454 wine_fn_config_makefile dlls/dsquery enable_dsquery
20455 wine_fn_config_makefile dlls/dssenh enable_dssenh
20456 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20457 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20458 wine_fn_config_makefile dlls/dswave enable_dswave
20459 wine_fn_config_makefile dlls/dswave/tests enable_tests
20460 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20461 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20462 wine_fn_config_makefile dlls/dwrite enable_dwrite
20463 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20464 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20465 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20466 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20467 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20468 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20469 wine_fn_config_makefile dlls/dxgi enable_dxgi
20470 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20471 wine_fn_config_makefile dlls/dxguid enable_dxguid
20472 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20473 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20474 wine_fn_config_makefile dlls/esent enable_esent
20475 wine_fn_config_makefile dlls/evr enable_evr
20476 wine_fn_config_makefile dlls/evr/tests enable_tests
20477 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20478 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20479 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20480 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20481 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20482 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20483 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20484 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20485 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20486 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20487 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20488 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20489 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20490 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20491 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20492 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20493 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20494 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20497 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20498 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20499 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20500 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20501 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20502 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20503 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20504 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20505 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20506 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20507 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20508 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20509 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20510 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20511 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20512 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20513 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20514 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20515 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20516 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20517 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20518 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20519 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
20520 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20521 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20522 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20530 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20531 wine_fn_config_makefile dlls/faultrep enable_faultrep
20532 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20533 wine_fn_config_makefile dlls/feclient enable_feclient
20534 wine_fn_config_makefile dlls/fltlib enable_fltlib
20535 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20536 wine_fn_config_makefile dlls/fntcache enable_fntcache
20537 wine_fn_config_makefile dlls/fontsub enable_fontsub
20538 wine_fn_config_makefile dlls/fusion enable_fusion
20539 wine_fn_config_makefile dlls/fusion/tests enable_tests
20540 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20541 wine_fn_config_makefile dlls/gameux enable_gameux
20542 wine_fn_config_makefile dlls/gameux/tests enable_tests
20543 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20544 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20545 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20546 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20547 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20548 wine_fn_config_makefile dlls/glu32 enable_glu32
20549 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20550 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20551 wine_fn_config_makefile dlls/hal enable_hal
20552 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20553 wine_fn_config_makefile dlls/hid enable_hid
20554 wine_fn_config_makefile dlls/hid/tests enable_tests
20555 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20556 wine_fn_config_makefile dlls/hlink enable_hlink
20557 wine_fn_config_makefile dlls/hlink/tests enable_tests
20558 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20559 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20560 wine_fn_config_makefile dlls/http.sys enable_http_sys
20561 wine_fn_config_makefile dlls/httpapi enable_httpapi
20562 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20563 wine_fn_config_makefile dlls/iccvid enable_iccvid
20564 wine_fn_config_makefile dlls/icmp enable_icmp
20565 wine_fn_config_makefile dlls/ieframe enable_ieframe
20566 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20567 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20568 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20569 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20570 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20571 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20572 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20573 wine_fn_config_makefile dlls/imm32 enable_imm32
20574 wine_fn_config_makefile dlls/imm32/tests enable_tests
20575 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20576 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20577 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20578 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20579 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20580 wine_fn_config_makefile dlls/infosoft enable_infosoft
20581 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20582 wine_fn_config_makefile dlls/initpki enable_initpki
20583 wine_fn_config_makefile dlls/inkobj enable_inkobj
20584 wine_fn_config_makefile dlls/inseng enable_inseng
20585 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20586 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20587 wine_fn_config_makefile dlls/iprop enable_iprop
20588 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20589 wine_fn_config_makefile dlls/itircl enable_itircl
20590 wine_fn_config_makefile dlls/itss enable_itss
20591 wine_fn_config_makefile dlls/itss/tests enable_tests
20592 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20593 wine_fn_config_makefile dlls/jscript enable_jscript
20594 wine_fn_config_makefile dlls/jscript/tests enable_tests
20595 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20596 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20597 wine_fn_config_makefile dlls/kerberos enable_kerberos
20598 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20599 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20600 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20601 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20602 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20603 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20604 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20605 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20606 wine_fn_config_makefile dlls/ksuser enable_ksuser
20607 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20608 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20609 wine_fn_config_makefile dlls/loadperf enable_loadperf
20610 wine_fn_config_makefile dlls/localspl enable_localspl
20611 wine_fn_config_makefile dlls/localspl/tests enable_tests
20612 wine_fn_config_makefile dlls/localui enable_localui
20613 wine_fn_config_makefile dlls/localui/tests enable_tests
20614 wine_fn_config_makefile dlls/lz32 enable_lz32
20615 wine_fn_config_makefile dlls/lz32/tests enable_tests
20616 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20617 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20618 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20619 wine_fn_config_makefile dlls/mapistub enable_mapistub
20620 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20621 wine_fn_config_makefile dlls/mcicda enable_mcicda
20622 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20623 wine_fn_config_makefile dlls/mciseq enable_mciseq
20624 wine_fn_config_makefile dlls/mciwave enable_mciwave
20625 wine_fn_config_makefile dlls/mf enable_mf
20626 wine_fn_config_makefile dlls/mf/tests enable_tests
20627 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20628 wine_fn_config_makefile dlls/mferror enable_mferror
20629 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20630 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20631 wine_fn_config_makefile dlls/mfplat enable_mfplat
20632 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20633 wine_fn_config_makefile dlls/mfplay enable_mfplay
20634 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20635 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20636 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20637 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20638 wine_fn_config_makefile dlls/midimap enable_midimap
20639 wine_fn_config_makefile dlls/mlang enable_mlang
20640 wine_fn_config_makefile dlls/mlang/tests enable_tests
20641 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20642 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20643 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20644 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20645 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20646 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20647 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20648 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20649 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20650 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20651 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20652 wine_fn_config_makefile dlls/mpr enable_mpr
20653 wine_fn_config_makefile dlls/mpr/tests enable_tests
20654 wine_fn_config_makefile dlls/mprapi enable_mprapi
20655 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20656 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20657 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20658 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20659 wine_fn_config_makefile dlls/msado15 enable_msado15
20660 wine_fn_config_makefile dlls/msado15/tests enable_tests
20661 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20662 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20663 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20664 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20665 wine_fn_config_makefile dlls/mscms enable_mscms
20666 wine_fn_config_makefile dlls/mscms/tests enable_tests
20667 wine_fn_config_makefile dlls/mscoree enable_mscoree
20668 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20669 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20670 wine_fn_config_makefile dlls/msctf enable_msctf
20671 wine_fn_config_makefile dlls/msctf/tests enable_tests
20672 wine_fn_config_makefile dlls/msctfp enable_msctfp
20673 wine_fn_config_makefile dlls/msdaps enable_msdaps
20674 wine_fn_config_makefile dlls/msdelta enable_msdelta
20675 wine_fn_config_makefile dlls/msdmo enable_msdmo
20676 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20677 wine_fn_config_makefile dlls/msdrm enable_msdrm
20678 wine_fn_config_makefile dlls/msftedit enable_msftedit
20679 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20680 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20681 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20682 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20683 wine_fn_config_makefile dlls/mshtml enable_mshtml
20684 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20685 wine_fn_config_makefile dlls/msi enable_msi
20686 wine_fn_config_makefile dlls/msi/tests enable_tests
20687 wine_fn_config_makefile dlls/msident enable_msident
20688 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20689 wine_fn_config_makefile dlls/msimsg enable_msimsg
20690 wine_fn_config_makefile dlls/msimtf enable_msimtf
20691 wine_fn_config_makefile dlls/msisip enable_msisip
20692 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20693 wine_fn_config_makefile dlls/msls31 enable_msls31
20694 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20695 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20696 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20697 wine_fn_config_makefile dlls/msports enable_msports
20698 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20699 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20700 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20701 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20702 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20703 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20704 wine_fn_config_makefile dlls/mstask enable_mstask
20705 wine_fn_config_makefile dlls/mstask/tests enable_tests
20706 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20707 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20708 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20709 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20710 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20711 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20712 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20713 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20714 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20715 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20716 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20717 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20718 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20719 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20720 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20721 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20722 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20723 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20724 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20725 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20726 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20727 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20728 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20729 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20730 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20731 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20732 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20733 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20734 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20735 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20736 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20737 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20738 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20739 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20740 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20741 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20742 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20743 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20744 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20745 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20746 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20747 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20748 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20749 wine_fn_config_makefile dlls/mswsock enable_mswsock
20750 wine_fn_config_makefile dlls/msxml enable_msxml
20751 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20752 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20753 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20754 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20755 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20756 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20757 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20758 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20759 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20760 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20761 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20762 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20763 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20764 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20765 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20766 wine_fn_config_makefile dlls/netprofm enable_netprofm
20767 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20768 wine_fn_config_makefile dlls/newdev enable_newdev
20769 wine_fn_config_makefile dlls/ninput enable_ninput
20770 wine_fn_config_makefile dlls/ninput/tests enable_tests
20771 wine_fn_config_makefile dlls/normaliz enable_normaliz
20772 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20773 wine_fn_config_makefile dlls/npptools enable_npptools
20774 wine_fn_config_makefile dlls/ntdll enable_ntdll
20775 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20776 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20777 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20778 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20779 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20780 wine_fn_config_makefile dlls/ntprint enable_ntprint
20781 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20782 wine_fn_config_makefile dlls/objsel enable_objsel
20783 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20784 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20785 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20786 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20787 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20788 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20789 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20790 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20791 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20792 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20793 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20794 wine_fn_config_makefile dlls/ole32 enable_ole32
20795 wine_fn_config_makefile dlls/ole32/tests enable_tests
20796 wine_fn_config_makefile dlls/oleacc enable_oleacc
20797 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20798 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20799 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20800 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20801 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20802 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20803 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20804 wine_fn_config_makefile dlls/oledlg enable_oledlg
20805 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20806 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20807 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20808 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20809 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20810 wine_fn_config_makefile dlls/opcservices enable_opcservices
20811 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20812 wine_fn_config_makefile dlls/openal32 enable_openal32
20813 wine_fn_config_makefile dlls/opencl enable_opencl
20814 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20815 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20816 wine_fn_config_makefile dlls/packager enable_packager
20817 wine_fn_config_makefile dlls/packager/tests enable_tests
20818 wine_fn_config_makefile dlls/pdh enable_pdh
20819 wine_fn_config_makefile dlls/pdh/tests enable_tests
20820 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20821 wine_fn_config_makefile dlls/pidgen enable_pidgen
20822 wine_fn_config_makefile dlls/powrprof enable_powrprof
20823 wine_fn_config_makefile dlls/printui enable_printui
20824 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20825 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20826 wine_fn_config_makefile dlls/propsys enable_propsys
20827 wine_fn_config_makefile dlls/propsys/tests enable_tests
20828 wine_fn_config_makefile dlls/psapi enable_psapi
20829 wine_fn_config_makefile dlls/psapi/tests enable_tests
20830 wine_fn_config_makefile dlls/pstorec enable_pstorec
20831 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20832 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20833 wine_fn_config_makefile dlls/qasf enable_qasf
20834 wine_fn_config_makefile dlls/qasf/tests enable_tests
20835 wine_fn_config_makefile dlls/qcap enable_qcap
20836 wine_fn_config_makefile dlls/qcap/tests enable_tests
20837 wine_fn_config_makefile dlls/qdvd enable_qdvd
20838 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20839 wine_fn_config_makefile dlls/qedit enable_qedit
20840 wine_fn_config_makefile dlls/qedit/tests enable_tests
20841 wine_fn_config_makefile dlls/qmgr enable_qmgr
20842 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20843 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20844 wine_fn_config_makefile dlls/quartz enable_quartz
20845 wine_fn_config_makefile dlls/quartz/tests enable_tests
20846 wine_fn_config_makefile dlls/query enable_query
20847 wine_fn_config_makefile dlls/qwave enable_qwave
20848 wine_fn_config_makefile dlls/qwave/tests enable_tests
20849 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20850 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20851 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20852 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20853 wine_fn_config_makefile dlls/regapi enable_regapi
20854 wine_fn_config_makefile dlls/resutils enable_resutils
20855 wine_fn_config_makefile dlls/riched20 enable_riched20
20856 wine_fn_config_makefile dlls/riched20/tests enable_tests
20857 wine_fn_config_makefile dlls/riched32 enable_riched32
20858 wine_fn_config_makefile dlls/riched32/tests enable_tests
20859 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20860 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20861 wine_fn_config_makefile dlls/rsabase enable_rsabase
20862 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20863 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20864 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20865 wine_fn_config_makefile dlls/rtutils enable_rtutils
20866 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20867 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20868 wine_fn_config_makefile dlls/samlib enable_samlib
20869 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20870 wine_fn_config_makefile dlls/sapi enable_sapi
20871 wine_fn_config_makefile dlls/sapi/tests enable_tests
20872 wine_fn_config_makefile dlls/sas enable_sas
20873 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20874 wine_fn_config_makefile dlls/sccbase enable_sccbase
20875 wine_fn_config_makefile dlls/schannel enable_schannel
20876 wine_fn_config_makefile dlls/schannel/tests enable_tests
20877 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20878 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20879 wine_fn_config_makefile dlls/scrobj enable_scrobj
20880 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20881 wine_fn_config_makefile dlls/scrrun enable_scrrun
20882 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20883 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20884 wine_fn_config_makefile dlls/sechost enable_sechost
20885 wine_fn_config_makefile dlls/secur32 enable_secur32
20886 wine_fn_config_makefile dlls/secur32/tests enable_tests
20887 wine_fn_config_makefile dlls/security enable_security
20888 wine_fn_config_makefile dlls/sensapi enable_sensapi
20889 wine_fn_config_makefile dlls/serialui enable_serialui
20890 wine_fn_config_makefile dlls/serialui/tests enable_tests
20891 wine_fn_config_makefile dlls/setupapi enable_setupapi
20892 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20893 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20894 wine_fn_config_makefile dlls/sfc enable_sfc
20895 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20896 wine_fn_config_makefile dlls/shcore enable_shcore
20897 wine_fn_config_makefile dlls/shcore/tests enable_tests
20898 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20899 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20900 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20901 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20902 wine_fn_config_makefile dlls/shell32 enable_shell32
20903 wine_fn_config_makefile dlls/shell32/tests enable_tests
20904 wine_fn_config_makefile dlls/shfolder enable_shfolder
20905 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20906 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20907 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20908 wine_fn_config_makefile dlls/slc enable_slc
20909 wine_fn_config_makefile dlls/slc/tests enable_tests
20910 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20911 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20912 wine_fn_config_makefile dlls/softpub enable_softpub
20913 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20914 wine_fn_config_makefile dlls/spoolss enable_spoolss
20915 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20916 wine_fn_config_makefile dlls/srclient enable_srclient
20917 wine_fn_config_makefile dlls/sspicli enable_sspicli
20918 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20919 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20920 wine_fn_config_makefile dlls/sti enable_sti
20921 wine_fn_config_makefile dlls/sti/tests enable_tests
20922 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20923 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20924 wine_fn_config_makefile dlls/strmbase enable_strmbase
20925 wine_fn_config_makefile dlls/strmdll enable_strmdll
20926 wine_fn_config_makefile dlls/strmiids enable_strmiids
20927 wine_fn_config_makefile dlls/svrapi enable_svrapi
20928 wine_fn_config_makefile dlls/sxs enable_sxs
20929 wine_fn_config_makefile dlls/sxs/tests enable_tests
20930 wine_fn_config_makefile dlls/system.drv16 enable_win16
20931 wine_fn_config_makefile dlls/t2embed enable_t2embed
20932 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20933 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20934 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20935 wine_fn_config_makefile dlls/taskschd enable_taskschd
20936 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20937 wine_fn_config_makefile dlls/tdh enable_tdh
20938 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20939 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20940 wine_fn_config_makefile dlls/traffic enable_traffic
20941 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20942 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20943 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20944 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20945 wine_fn_config_makefile dlls/tzres enable_tzres
20946 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20947 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20948 wine_fn_config_makefile dlls/uianimation enable_uianimation
20949 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20950 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20951 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20952 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20953 wine_fn_config_makefile dlls/unicows enable_unicows
20954 wine_fn_config_makefile dlls/updspapi enable_updspapi
20955 wine_fn_config_makefile dlls/url enable_url
20956 wine_fn_config_makefile dlls/urlmon enable_urlmon
20957 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20958 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20959 wine_fn_config_makefile dlls/user.exe16 enable_win16
20960 wine_fn_config_makefile dlls/user32 enable_user32
20961 wine_fn_config_makefile dlls/user32/tests enable_tests
20962 wine_fn_config_makefile dlls/userenv enable_userenv
20963 wine_fn_config_makefile dlls/userenv/tests enable_tests
20964 wine_fn_config_makefile dlls/usp10 enable_usp10
20965 wine_fn_config_makefile dlls/usp10/tests enable_tests
20966 wine_fn_config_makefile dlls/utildll enable_utildll
20967 wine_fn_config_makefile dlls/uuid enable_uuid
20968 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20969 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20970 wine_fn_config_makefile dlls/vbscript enable_vbscript
20971 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20972 wine_fn_config_makefile dlls/vcomp enable_vcomp
20973 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20974 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20975 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20976 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20977 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20978 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20979 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20980 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20981 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20982 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20983 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20984 wine_fn_config_makefile dlls/version enable_version
20985 wine_fn_config_makefile dlls/version/tests enable_tests
20986 wine_fn_config_makefile dlls/vga enable_vga
20987 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20988 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20989 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20990 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20991 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20992 wine_fn_config_makefile dlls/vssapi enable_vssapi
20993 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20994 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20995 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20996 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20997 wine_fn_config_makefile dlls/w32skrnl enable_win16
20998 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20999 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21000 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21001 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21002 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21003 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21004 wine_fn_config_makefile dlls/wdscore enable_wdscore
21005 wine_fn_config_makefile dlls/webservices enable_webservices
21006 wine_fn_config_makefile dlls/webservices/tests enable_tests
21007 wine_fn_config_makefile dlls/wer enable_wer
21008 wine_fn_config_makefile dlls/wer/tests enable_tests
21009 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21010 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21011 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21012 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21013 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21014 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21015 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21016 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21017 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21018 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21019 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21020 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21021 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21022 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21023 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21024 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21025 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21026 wine_fn_config_makefile dlls/wined3d enable_wined3d
21027 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21028 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21029 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21030 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21031 wine_fn_config_makefile dlls/winemapi enable_winemapi
21032 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21033 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21034 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21035 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21036 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21037 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21038 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21039 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21040 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21041 wine_fn_config_makefile dlls/wing32 enable_wing32
21042 wine_fn_config_makefile dlls/winhttp enable_winhttp
21043 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21044 wine_fn_config_makefile dlls/wininet enable_wininet
21045 wine_fn_config_makefile dlls/wininet/tests enable_tests
21046 wine_fn_config_makefile dlls/winmm enable_winmm
21047 wine_fn_config_makefile dlls/winmm/tests enable_tests
21048 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21049 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21050 wine_fn_config_makefile dlls/winscard enable_winscard
21051 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21052 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21053 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21054 wine_fn_config_makefile dlls/winsta enable_winsta
21055 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21056 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21057 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21058 wine_fn_config_makefile dlls/wintrust enable_wintrust
21059 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21060 wine_fn_config_makefile dlls/winusb enable_winusb
21061 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21062 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21063 wine_fn_config_makefile dlls/wlanui enable_wlanui
21064 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21065 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21066 wine_fn_config_makefile dlls/wmasf enable_wmasf
21067 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21068 wine_fn_config_makefile dlls/wmi enable_wmi
21069 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21070 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21071 wine_fn_config_makefile dlls/wmp enable_wmp
21072 wine_fn_config_makefile dlls/wmp/tests enable_tests
21073 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21074 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21075 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21076 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21077 wine_fn_config_makefile dlls/wow32 enable_win16
21078 wine_fn_config_makefile dlls/wpc enable_wpc
21079 wine_fn_config_makefile dlls/wpc/tests enable_tests
21080 wine_fn_config_makefile dlls/wpcap enable_wpcap
21081 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21082 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21083 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21084 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21085 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21086 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21087 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21088 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21089 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21090 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21091 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21092 wine_fn_config_makefile dlls/wuapi enable_wuapi
21093 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21094 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21095 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21096 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21097 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21098 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21099 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21100 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21101 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21102 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21103 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21104 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21105 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21106 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21107 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21108 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21109 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21110 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21111 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21112 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21113 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21114 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21115 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21116 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21117 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21118 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21119 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21120 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21121 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21122 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21123 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21124 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21125 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21126 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21127 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21128 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21129 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21130 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21131 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21132 wine_fn_config_makefile dlls/xmllite enable_xmllite
21133 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21134 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21135 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21136 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21137 wine_fn_config_makefile fonts enable_fonts
21138 wine_fn_config_makefile include enable_include
21139 wine_fn_config_makefile libs/port enable_port
21140 wine_fn_config_makefile libs/wine enable_wine
21141 wine_fn_config_makefile libs/wpp enable_wpp
21142 wine_fn_config_makefile loader enable_loader
21143 wine_fn_config_makefile nls enable_nls
21144 wine_fn_config_makefile po enable_po
21145 wine_fn_config_makefile programs/arp enable_arp
21146 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21147 wine_fn_config_makefile programs/attrib enable_attrib
21148 wine_fn_config_makefile programs/cabarc enable_cabarc
21149 wine_fn_config_makefile programs/cacls enable_cacls
21150 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21151 wine_fn_config_makefile programs/clock enable_clock
21152 wine_fn_config_makefile programs/cmd enable_cmd
21153 wine_fn_config_makefile programs/cmd/tests enable_tests
21154 wine_fn_config_makefile programs/conhost enable_conhost
21155 wine_fn_config_makefile programs/conhost/tests enable_tests
21156 wine_fn_config_makefile programs/control enable_control
21157 wine_fn_config_makefile programs/cscript enable_cscript
21158 wine_fn_config_makefile programs/dism enable_dism
21159 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21160 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21161 wine_fn_config_makefile programs/eject enable_eject
21162 wine_fn_config_makefile programs/expand enable_expand
21163 wine_fn_config_makefile programs/explorer enable_explorer
21164 wine_fn_config_makefile programs/extrac32 enable_extrac32
21165 wine_fn_config_makefile programs/fc enable_fc
21166 wine_fn_config_makefile programs/find enable_find
21167 wine_fn_config_makefile programs/find/tests enable_tests
21168 wine_fn_config_makefile programs/findstr enable_findstr
21169 wine_fn_config_makefile programs/fsutil enable_fsutil
21170 wine_fn_config_makefile programs/fsutil/tests enable_tests
21171 wine_fn_config_makefile programs/hh enable_hh
21172 wine_fn_config_makefile programs/hostname enable_hostname
21173 wine_fn_config_makefile programs/icacls enable_icacls
21174 wine_fn_config_makefile programs/icinfo enable_icinfo
21175 wine_fn_config_makefile programs/iexplore enable_iexplore
21176 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21177 wine_fn_config_makefile programs/lodctr enable_lodctr
21178 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21179 wine_fn_config_makefile programs/mshta enable_mshta
21180 wine_fn_config_makefile programs/msidb enable_msidb
21181 wine_fn_config_makefile programs/msiexec enable_msiexec
21182 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21183 wine_fn_config_makefile programs/net enable_net
21184 wine_fn_config_makefile programs/netsh enable_netsh
21185 wine_fn_config_makefile programs/netstat enable_netstat
21186 wine_fn_config_makefile programs/ngen enable_ngen
21187 wine_fn_config_makefile programs/notepad enable_notepad
21188 wine_fn_config_makefile programs/oleview enable_oleview
21189 wine_fn_config_makefile programs/ping enable_ping
21190 wine_fn_config_makefile programs/plugplay enable_plugplay
21191 wine_fn_config_makefile programs/powershell enable_powershell
21192 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21193 wine_fn_config_makefile programs/progman enable_progman
21194 wine_fn_config_makefile programs/reg enable_reg
21195 wine_fn_config_makefile programs/reg/tests enable_tests
21196 wine_fn_config_makefile programs/regasm enable_regasm
21197 wine_fn_config_makefile programs/regedit enable_regedit
21198 wine_fn_config_makefile programs/regedit/tests enable_tests
21199 wine_fn_config_makefile programs/regini enable_regini
21200 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21201 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21202 wine_fn_config_makefile programs/rpcss enable_rpcss
21203 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21204 wine_fn_config_makefile programs/rundll32 enable_rundll32
21205 wine_fn_config_makefile programs/sc enable_sc
21206 wine_fn_config_makefile programs/schtasks enable_schtasks
21207 wine_fn_config_makefile programs/schtasks/tests enable_tests
21208 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21209 wine_fn_config_makefile programs/secedit enable_secedit
21210 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21211 wine_fn_config_makefile programs/services enable_services
21212 wine_fn_config_makefile programs/services/tests enable_tests
21213 wine_fn_config_makefile programs/shutdown enable_shutdown
21214 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21215 wine_fn_config_makefile programs/start enable_start
21216 wine_fn_config_makefile programs/subst enable_subst
21217 wine_fn_config_makefile programs/svchost enable_svchost
21218 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21219 wine_fn_config_makefile programs/taskkill enable_taskkill
21220 wine_fn_config_makefile programs/tasklist enable_tasklist
21221 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21222 wine_fn_config_makefile programs/termsv enable_termsv
21223 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21224 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21225 wine_fn_config_makefile programs/view enable_view
21226 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21227 wine_fn_config_makefile programs/where enable_where
21228 wine_fn_config_makefile programs/whoami enable_whoami
21229 wine_fn_config_makefile programs/wineboot enable_wineboot
21230 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21231 wine_fn_config_makefile programs/winecfg enable_winecfg
21232 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21233 wine_fn_config_makefile programs/winedbg enable_winedbg
21234 wine_fn_config_makefile programs/winedevice enable_winedevice
21235 wine_fn_config_makefile programs/winefile enable_winefile
21236 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21237 wine_fn_config_makefile programs/winemine enable_winemine
21238 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21239 wine_fn_config_makefile programs/winepath enable_winepath
21240 wine_fn_config_makefile programs/winetest enable_winetest
21241 wine_fn_config_makefile programs/winevdm enable_win16
21242 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21243 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21244 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21245 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21246 wine_fn_config_makefile programs/winver enable_winver
21247 wine_fn_config_makefile programs/wmic enable_wmic
21248 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21249 wine_fn_config_makefile programs/wordpad enable_wordpad
21250 wine_fn_config_makefile programs/write enable_write
21251 wine_fn_config_makefile programs/wscript enable_wscript
21252 wine_fn_config_makefile programs/wscript/tests enable_tests
21253 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21254 wine_fn_config_makefile programs/wusa enable_wusa
21255 wine_fn_config_makefile programs/xcopy enable_xcopy
21256 wine_fn_config_makefile programs/xcopy/tests enable_tests
21257 wine_fn_config_makefile server enable_server
21258 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21265 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21266 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21269 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21270 wine_fn_append_file CONFIGURE_TARGETS "tags"
21271 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21272 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21273 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21274 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21275 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21276 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21278 if test "x$enable_tools" != xno
21279 then
21280 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21281 ac_config_commands="$ac_config_commands tools/makedep"
21285 ac_config_commands="$ac_config_commands Makefile"
21288 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21292 if test "x$enable_maintainer_mode" = xyes
21293 then
21294 wine_fn_append_rule "configure: configure.ac aclocal.m4
21295 autoconf --warnings=all
21296 include/config.h.in: include/stamp-h.in
21297 include/stamp-h.in: configure.ac aclocal.m4
21298 autoheader --warnings=all
21299 @echo timestamp > \$@"
21302 if test "x$enable_tools" != xno
21303 then
21304 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21305 @./config.status tools/makedep
21306 Makefile: tools/makedep$ac_exeext"
21307 else
21308 wine_fn_append_rule "\$(MAKEDEP):
21309 @echo \"You need to run make in $TOOLSDIR first\" && false"
21312 if test -n "$with_wine64"
21313 then
21314 case "$with_wine64" in
21315 /*) reldir="" ;;
21316 *) reldir="../" ;;
21317 esac
21318 rm -f fonts server 2>/dev/null
21319 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21320 loader/wine64 loader/wine64-preloader:
21321 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21322 $with_wine64/loader/wine:
21323 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21324 $with_wine64/loader/wine-preloader:
21325 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21326 clean::
21327 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21328 else
21329 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21330 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21331 fonts \
21332 loader/wine.inf \
21333 loader/winebus.inf \
21334 loader/winehid.inf \
21335 loader/wineusb.inf \
21336 nls \
21337 programs/msidb/msidb \
21338 programs/msiexec/msiexec \
21339 programs/notepad/notepad \
21340 programs/regedit/regedit \
21341 programs/regsvr32/regsvr32 \
21342 programs/wineboot/wineboot \
21343 programs/winecfg/winecfg \
21344 programs/wineconsole/wineconsole \
21345 programs/winedbg/winedbg \
21346 programs/winefile/winefile \
21347 programs/winemine/winemine \
21348 programs/winepath/winepath \
21349 server/wineserver"
21351 case $host_os in
21352 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21353 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21354 esac
21357 $as_echo " done" >&6
21358 cat >confcache <<\_ACEOF
21359 # This file is a shell script that caches the results of configure
21360 # tests run on this system so they can be shared between configure
21361 # scripts and configure runs, see configure's option --config-cache.
21362 # It is not useful on other systems. If it contains results you don't
21363 # want to keep, you may remove or edit it.
21365 # config.status only pays attention to the cache file if you give it
21366 # the --recheck option to rerun configure.
21368 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21369 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21370 # following values.
21372 _ACEOF
21374 # The following way of writing the cache mishandles newlines in values,
21375 # but we know of no workaround that is simple, portable, and efficient.
21376 # So, we kill variables containing newlines.
21377 # Ultrix sh set writes to stderr and can't be redirected directly,
21378 # and sets the high bit in the cache file unless we assign to the vars.
21380 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21381 eval ac_val=\$$ac_var
21382 case $ac_val in #(
21383 *${as_nl}*)
21384 case $ac_var in #(
21385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21387 esac
21388 case $ac_var in #(
21389 _ | IFS | as_nl) ;; #(
21390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21391 *) { eval $ac_var=; unset $ac_var;} ;;
21392 esac ;;
21393 esac
21394 done
21396 (set) 2>&1 |
21397 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21398 *${as_nl}ac_space=\ *)
21399 # `set' does not quote correctly, so add quotes: double-quote
21400 # substitution turns \\\\ into \\, and sed turns \\ into \.
21401 sed -n \
21402 "s/'/'\\\\''/g;
21403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21404 ;; #(
21406 # `set' quotes correctly as required by POSIX, so do not add quotes.
21407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21409 esac |
21410 sort
21412 sed '
21413 /^ac_cv_env_/b end
21414 t clear
21415 :clear
21416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21417 t end
21418 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21419 :end' >>confcache
21420 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21421 if test -w "$cache_file"; then
21422 if test "x$cache_file" != "x/dev/null"; then
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21424 $as_echo "$as_me: updating cache $cache_file" >&6;}
21425 if test ! -f "$cache_file" || test -h "$cache_file"; then
21426 cat confcache >"$cache_file"
21427 else
21428 case $cache_file in #(
21429 */* | ?:*)
21430 mv -f confcache "$cache_file"$$ &&
21431 mv -f "$cache_file"$$ "$cache_file" ;; #(
21433 mv -f confcache "$cache_file" ;;
21434 esac
21437 else
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21439 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21442 rm -f confcache
21444 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21445 # Let make expand exec_prefix.
21446 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21448 DEFS=-DHAVE_CONFIG_H
21450 ac_libobjs=
21451 ac_ltlibobjs=
21453 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21454 # 1. Remove the extension, and $U if already installed.
21455 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21456 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21457 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21458 # will be set to the directory where LIBOBJS objects are built.
21459 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21460 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21461 done
21462 LIBOBJS=$ac_libobjs
21464 LTLIBOBJS=$ac_ltlibobjs
21468 : "${CONFIG_STATUS=./config.status}"
21469 ac_write_fail=0
21470 ac_clean_files_save=$ac_clean_files
21471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21473 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21474 as_write_fail=0
21475 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21476 #! $SHELL
21477 # Generated by $as_me.
21478 # Run this file to recreate the current configuration.
21479 # Compiler output produced by configure, useful for debugging
21480 # configure, is in config.log if it exists.
21482 debug=false
21483 ac_cs_recheck=false
21484 ac_cs_silent=false
21486 SHELL=\${CONFIG_SHELL-$SHELL}
21487 export SHELL
21488 _ASEOF
21489 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21490 ## -------------------- ##
21491 ## M4sh Initialization. ##
21492 ## -------------------- ##
21494 # Be more Bourne compatible
21495 DUALCASE=1; export DUALCASE # for MKS sh
21496 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21497 emulate sh
21498 NULLCMD=:
21499 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21500 # is contrary to our usage. Disable this feature.
21501 alias -g '${1+"$@"}'='"$@"'
21502 setopt NO_GLOB_SUBST
21503 else
21504 case `(set -o) 2>/dev/null` in #(
21505 *posix*) :
21506 set -o posix ;; #(
21507 *) :
21509 esac
21513 as_nl='
21515 export as_nl
21516 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21517 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21519 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21520 # Prefer a ksh shell builtin over an external printf program on Solaris,
21521 # but without wasting forks for bash or zsh.
21522 if test -z "$BASH_VERSION$ZSH_VERSION" \
21523 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21524 as_echo='print -r --'
21525 as_echo_n='print -rn --'
21526 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21527 as_echo='printf %s\n'
21528 as_echo_n='printf %s'
21529 else
21530 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21531 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21532 as_echo_n='/usr/ucb/echo -n'
21533 else
21534 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21535 as_echo_n_body='eval
21536 arg=$1;
21537 case $arg in #(
21538 *"$as_nl"*)
21539 expr "X$arg" : "X\\(.*\\)$as_nl";
21540 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21541 esac;
21542 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21544 export as_echo_n_body
21545 as_echo_n='sh -c $as_echo_n_body as_echo'
21547 export as_echo_body
21548 as_echo='sh -c $as_echo_body as_echo'
21551 # The user is always right.
21552 if test "${PATH_SEPARATOR+set}" != set; then
21553 PATH_SEPARATOR=:
21554 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21555 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21556 PATH_SEPARATOR=';'
21561 # IFS
21562 # We need space, tab and new line, in precisely that order. Quoting is
21563 # there to prevent editors from complaining about space-tab.
21564 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21565 # splitting by setting IFS to empty value.)
21566 IFS=" "" $as_nl"
21568 # Find who we are. Look in the path if we contain no directory separator.
21569 as_myself=
21570 case $0 in #((
21571 *[\\/]* ) as_myself=$0 ;;
21572 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21573 for as_dir in $PATH
21575 IFS=$as_save_IFS
21576 test -z "$as_dir" && as_dir=.
21577 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21578 done
21579 IFS=$as_save_IFS
21582 esac
21583 # We did not find ourselves, most probably we were run as `sh COMMAND'
21584 # in which case we are not to be found in the path.
21585 if test "x$as_myself" = x; then
21586 as_myself=$0
21588 if test ! -f "$as_myself"; then
21589 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21590 exit 1
21593 # Unset variables that we do not need and which cause bugs (e.g. in
21594 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21595 # suppresses any "Segmentation fault" message there. '((' could
21596 # trigger a bug in pdksh 5.2.14.
21597 for as_var in BASH_ENV ENV MAIL MAILPATH
21598 do eval test x\${$as_var+set} = xset \
21599 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21600 done
21601 PS1='$ '
21602 PS2='> '
21603 PS4='+ '
21605 # NLS nuisances.
21606 LC_ALL=C
21607 export LC_ALL
21608 LANGUAGE=C
21609 export LANGUAGE
21611 # CDPATH.
21612 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21615 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21616 # ----------------------------------------
21617 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21618 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21619 # script with STATUS, using 1 if that was 0.
21620 as_fn_error ()
21622 as_status=$1; test $as_status -eq 0 && as_status=1
21623 if test "$4"; then
21624 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21625 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21627 $as_echo "$as_me: error: $2" >&2
21628 as_fn_exit $as_status
21629 } # as_fn_error
21632 # as_fn_set_status STATUS
21633 # -----------------------
21634 # Set $? to STATUS, without forking.
21635 as_fn_set_status ()
21637 return $1
21638 } # as_fn_set_status
21640 # as_fn_exit STATUS
21641 # -----------------
21642 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21643 as_fn_exit ()
21645 set +e
21646 as_fn_set_status $1
21647 exit $1
21648 } # as_fn_exit
21650 # as_fn_unset VAR
21651 # ---------------
21652 # Portably unset VAR.
21653 as_fn_unset ()
21655 { eval $1=; unset $1;}
21657 as_unset=as_fn_unset
21658 # as_fn_append VAR VALUE
21659 # ----------------------
21660 # Append the text in VALUE to the end of the definition contained in VAR. Take
21661 # advantage of any shell optimizations that allow amortized linear growth over
21662 # repeated appends, instead of the typical quadratic growth present in naive
21663 # implementations.
21664 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21665 eval 'as_fn_append ()
21667 eval $1+=\$2
21669 else
21670 as_fn_append ()
21672 eval $1=\$$1\$2
21674 fi # as_fn_append
21676 # as_fn_arith ARG...
21677 # ------------------
21678 # Perform arithmetic evaluation on the ARGs, and store the result in the
21679 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21680 # must be portable across $(()) and expr.
21681 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21682 eval 'as_fn_arith ()
21684 as_val=$(( $* ))
21686 else
21687 as_fn_arith ()
21689 as_val=`expr "$@" || test $? -eq 1`
21691 fi # as_fn_arith
21694 if expr a : '\(a\)' >/dev/null 2>&1 &&
21695 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21696 as_expr=expr
21697 else
21698 as_expr=false
21701 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21702 as_basename=basename
21703 else
21704 as_basename=false
21707 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21708 as_dirname=dirname
21709 else
21710 as_dirname=false
21713 as_me=`$as_basename -- "$0" ||
21714 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21715 X"$0" : 'X\(//\)$' \| \
21716 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21717 $as_echo X/"$0" |
21718 sed '/^.*\/\([^/][^/]*\)\/*$/{
21719 s//\1/
21722 /^X\/\(\/\/\)$/{
21723 s//\1/
21726 /^X\/\(\/\).*/{
21727 s//\1/
21730 s/.*/./; q'`
21732 # Avoid depending upon Character Ranges.
21733 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21734 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21735 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21736 as_cr_digits='0123456789'
21737 as_cr_alnum=$as_cr_Letters$as_cr_digits
21739 ECHO_C= ECHO_N= ECHO_T=
21740 case `echo -n x` in #(((((
21741 -n*)
21742 case `echo 'xy\c'` in
21743 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21744 xy) ECHO_C='\c';;
21745 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21746 ECHO_T=' ';;
21747 esac;;
21749 ECHO_N='-n';;
21750 esac
21752 rm -f conf$$ conf$$.exe conf$$.file
21753 if test -d conf$$.dir; then
21754 rm -f conf$$.dir/conf$$.file
21755 else
21756 rm -f conf$$.dir
21757 mkdir conf$$.dir 2>/dev/null
21759 if (echo >conf$$.file) 2>/dev/null; then
21760 if ln -s conf$$.file conf$$ 2>/dev/null; then
21761 as_ln_s='ln -s'
21762 # ... but there are two gotchas:
21763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21765 # In both cases, we have to default to `cp -pR'.
21766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21767 as_ln_s='cp -pR'
21768 elif ln conf$$.file conf$$ 2>/dev/null; then
21769 as_ln_s=ln
21770 else
21771 as_ln_s='cp -pR'
21773 else
21774 as_ln_s='cp -pR'
21776 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21777 rmdir conf$$.dir 2>/dev/null
21780 # as_fn_mkdir_p
21781 # -------------
21782 # Create "$as_dir" as a directory, including parents if necessary.
21783 as_fn_mkdir_p ()
21786 case $as_dir in #(
21787 -*) as_dir=./$as_dir;;
21788 esac
21789 test -d "$as_dir" || eval $as_mkdir_p || {
21790 as_dirs=
21791 while :; do
21792 case $as_dir in #(
21793 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21794 *) as_qdir=$as_dir;;
21795 esac
21796 as_dirs="'$as_qdir' $as_dirs"
21797 as_dir=`$as_dirname -- "$as_dir" ||
21798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21799 X"$as_dir" : 'X\(//\)[^/]' \| \
21800 X"$as_dir" : 'X\(//\)$' \| \
21801 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21802 $as_echo X"$as_dir" |
21803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21804 s//\1/
21807 /^X\(\/\/\)[^/].*/{
21808 s//\1/
21811 /^X\(\/\/\)$/{
21812 s//\1/
21815 /^X\(\/\).*/{
21816 s//\1/
21819 s/.*/./; q'`
21820 test -d "$as_dir" && break
21821 done
21822 test -z "$as_dirs" || eval "mkdir $as_dirs"
21823 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21826 } # as_fn_mkdir_p
21827 if mkdir -p . 2>/dev/null; then
21828 as_mkdir_p='mkdir -p "$as_dir"'
21829 else
21830 test -d ./-p && rmdir ./-p
21831 as_mkdir_p=false
21835 # as_fn_executable_p FILE
21836 # -----------------------
21837 # Test if FILE is an executable regular file.
21838 as_fn_executable_p ()
21840 test -f "$1" && test -x "$1"
21841 } # as_fn_executable_p
21842 as_test_x='test -x'
21843 as_executable_p=as_fn_executable_p
21845 # Sed expression to map a string onto a valid CPP name.
21846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21848 # Sed expression to map a string onto a valid variable name.
21849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21852 exec 6>&1
21853 ## ----------------------------------- ##
21854 ## Main body of $CONFIG_STATUS script. ##
21855 ## ----------------------------------- ##
21856 _ASEOF
21857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21860 # Save the log message, to keep $0 and so on meaningful, and to
21861 # report actual input values of CONFIG_FILES etc. instead of their
21862 # values after options handling.
21863 ac_log="
21864 This file was extended by Wine $as_me 5.17, which was
21865 generated by GNU Autoconf 2.69. Invocation command line was
21867 CONFIG_FILES = $CONFIG_FILES
21868 CONFIG_HEADERS = $CONFIG_HEADERS
21869 CONFIG_LINKS = $CONFIG_LINKS
21870 CONFIG_COMMANDS = $CONFIG_COMMANDS
21871 $ $0 $@
21873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21876 _ACEOF
21878 case $ac_config_files in *"
21879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21880 esac
21882 case $ac_config_headers in *"
21883 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21884 esac
21887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21888 # Files that config.status was made for.
21889 config_files="$ac_config_files"
21890 config_headers="$ac_config_headers"
21891 config_links="$ac_config_links"
21892 config_commands="$ac_config_commands"
21894 _ACEOF
21896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21897 ac_cs_usage="\
21898 \`$as_me' instantiates files and other configuration actions
21899 from templates according to the current configuration. Unless the files
21900 and actions are specified as TAGs, all are instantiated by default.
21902 Usage: $0 [OPTION]... [TAG]...
21904 -h, --help print this help, then exit
21905 -V, --version print version number and configuration settings, then exit
21906 --config print configuration, then exit
21907 -q, --quiet, --silent
21908 do not print progress messages
21909 -d, --debug don't remove temporary files
21910 --recheck update $as_me by reconfiguring in the same conditions
21911 --file=FILE[:TEMPLATE]
21912 instantiate the configuration file FILE
21913 --header=FILE[:TEMPLATE]
21914 instantiate the configuration header FILE
21916 Configuration files:
21917 $config_files
21919 Configuration headers:
21920 $config_headers
21922 Configuration links:
21923 $config_links
21925 Configuration commands:
21926 $config_commands
21928 Report bugs to <wine-devel@winehq.org>.
21929 Wine home page: <https://www.winehq.org>."
21931 _ACEOF
21932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21933 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21934 ac_cs_version="\\
21935 Wine config.status 5.17
21936 configured by $0, generated by GNU Autoconf 2.69,
21937 with options \\"\$ac_cs_config\\"
21939 Copyright (C) 2012 Free Software Foundation, Inc.
21940 This config.status script is free software; the Free Software Foundation
21941 gives unlimited permission to copy, distribute and modify it."
21943 ac_pwd='$ac_pwd'
21944 srcdir='$srcdir'
21945 test -n "\$AWK" || AWK=awk
21946 _ACEOF
21948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21949 # The default lists apply if the user does not specify any file.
21950 ac_need_defaults=:
21951 while test $# != 0
21953 case $1 in
21954 --*=?*)
21955 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21956 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21957 ac_shift=:
21959 --*=)
21960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21961 ac_optarg=
21962 ac_shift=:
21965 ac_option=$1
21966 ac_optarg=$2
21967 ac_shift=shift
21969 esac
21971 case $ac_option in
21972 # Handling of the options.
21973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21974 ac_cs_recheck=: ;;
21975 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21976 $as_echo "$ac_cs_version"; exit ;;
21977 --config | --confi | --conf | --con | --co | --c )
21978 $as_echo "$ac_cs_config"; exit ;;
21979 --debug | --debu | --deb | --de | --d | -d )
21980 debug=: ;;
21981 --file | --fil | --fi | --f )
21982 $ac_shift
21983 case $ac_optarg in
21984 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21985 '') as_fn_error $? "missing file argument" ;;
21986 esac
21987 as_fn_append CONFIG_FILES " '$ac_optarg'"
21988 ac_need_defaults=false;;
21989 --header | --heade | --head | --hea )
21990 $ac_shift
21991 case $ac_optarg in
21992 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21993 esac
21994 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21995 ac_need_defaults=false;;
21996 --he | --h)
21997 # Conflict between --help and --header
21998 as_fn_error $? "ambiguous option: \`$1'
21999 Try \`$0 --help' for more information.";;
22000 --help | --hel | -h )
22001 $as_echo "$ac_cs_usage"; exit ;;
22002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22003 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22004 ac_cs_silent=: ;;
22006 # This is an error.
22007 -*) as_fn_error $? "unrecognized option: \`$1'
22008 Try \`$0 --help' for more information." ;;
22010 *) as_fn_append ac_config_targets " $1"
22011 ac_need_defaults=false ;;
22013 esac
22014 shift
22015 done
22017 ac_configure_extra_args=
22019 if $ac_cs_silent; then
22020 exec 6>/dev/null
22021 ac_configure_extra_args="$ac_configure_extra_args --silent"
22024 _ACEOF
22025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22026 if \$ac_cs_recheck; then
22027 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22028 shift
22029 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22030 CONFIG_SHELL='$SHELL'
22031 export CONFIG_SHELL
22032 exec "\$@"
22035 _ACEOF
22036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22037 exec 5>>config.log
22039 echo
22040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22041 ## Running $as_me. ##
22042 _ASBOX
22043 $as_echo "$ac_log"
22044 } >&5
22046 _ACEOF
22047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22049 # INIT-COMMANDS
22051 wine_fn_output_makedep ()
22053 as_dir=tools; as_fn_mkdir_p
22054 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22056 wine_fn_output_makefile ()
22058 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22059 `cat $wine_rules_file`
22060 _WINE_EOF
22061 as_fn_error $? "could not create Makefile" "$LINENO" 5
22064 _ACEOF
22066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22068 # Handling of arguments.
22069 for ac_config_target in $ac_config_targets
22071 case $ac_config_target in
22072 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22073 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22074 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22075 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22076 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22077 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22078 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22080 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22081 esac
22082 done
22085 # If the user did not use the arguments to specify the items to instantiate,
22086 # then the envvar interface is used. Set only those that are not.
22087 # We use the long form for the default assignment because of an extremely
22088 # bizarre bug on SunOS 4.1.3.
22089 if $ac_need_defaults; then
22090 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22091 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22092 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22093 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22096 # Have a temporary directory for convenience. Make it in the build tree
22097 # simply because there is no reason against having it here, and in addition,
22098 # creating and moving files from /tmp can sometimes cause problems.
22099 # Hook for its removal unless debugging.
22100 # Note that there is a small window in which the directory will not be cleaned:
22101 # after its creation but before its name has been assigned to `$tmp'.
22102 $debug ||
22104 tmp= ac_tmp=
22105 trap 'exit_status=$?
22106 : "${ac_tmp:=$tmp}"
22107 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22109 trap 'as_fn_exit 1' 1 2 13 15
22111 # Create a (secure) tmp directory for tmp files.
22114 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22115 test -d "$tmp"
22116 } ||
22118 tmp=./conf$$-$RANDOM
22119 (umask 077 && mkdir "$tmp")
22120 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22121 ac_tmp=$tmp
22123 # Set up the scripts for CONFIG_FILES section.
22124 # No need to generate them if there are no CONFIG_FILES.
22125 # This happens for instance with `./config.status config.h'.
22126 if test -n "$CONFIG_FILES"; then
22129 ac_cr=`echo X | tr X '\015'`
22130 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22131 # But we know of no other shell where ac_cr would be empty at this
22132 # point, so we can use a bashism as a fallback.
22133 if test "x$ac_cr" = x; then
22134 eval ac_cr=\$\'\\r\'
22136 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22137 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22138 ac_cs_awk_cr='\\r'
22139 else
22140 ac_cs_awk_cr=$ac_cr
22143 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22144 _ACEOF
22148 echo "cat >conf$$subs.awk <<_ACEOF" &&
22149 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22150 echo "_ACEOF"
22151 } >conf$$subs.sh ||
22152 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22153 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22154 ac_delim='%!_!# '
22155 for ac_last_try in false false false false false :; do
22156 . ./conf$$subs.sh ||
22157 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22159 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22160 if test $ac_delim_n = $ac_delim_num; then
22161 break
22162 elif $ac_last_try; then
22163 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22164 else
22165 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22167 done
22168 rm -f conf$$subs.sh
22170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22171 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22172 _ACEOF
22173 sed -n '
22175 s/^/S["/; s/!.*/"]=/
22178 s/^[^!]*!//
22179 :repl
22180 t repl
22181 s/'"$ac_delim"'$//
22182 t delim
22185 s/\(.\{148\}\)..*/\1/
22186 t more1
22187 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22190 b repl
22191 :more1
22192 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22195 s/.\{148\}//
22196 t nl
22197 :delim
22199 s/\(.\{148\}\)..*/\1/
22200 t more2
22201 s/["\\]/\\&/g; s/^/"/; s/$/"/
22204 :more2
22205 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22208 s/.\{148\}//
22209 t delim
22210 ' <conf$$subs.awk | sed '
22211 /^[^""]/{
22213 s/\n//
22215 ' >>$CONFIG_STATUS || ac_write_fail=1
22216 rm -f conf$$subs.awk
22217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22218 _ACAWK
22219 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22220 for (key in S) S_is_set[key] = 1
22221 FS = "\a"
22225 line = $ 0
22226 nfields = split(line, field, "@")
22227 substed = 0
22228 len = length(field[1])
22229 for (i = 2; i < nfields; i++) {
22230 key = field[i]
22231 keylen = length(key)
22232 if (S_is_set[key]) {
22233 value = S[key]
22234 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22235 len += length(value) + length(field[++i])
22236 substed = 1
22237 } else
22238 len += 1 + keylen
22241 print line
22244 _ACAWK
22245 _ACEOF
22246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22247 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22248 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22249 else
22251 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22252 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22253 _ACEOF
22255 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22256 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22257 # trailing colons and then remove the whole line if VPATH becomes empty
22258 # (actually we leave an empty line to preserve line numbers).
22259 if test "x$srcdir" = x.; then
22260 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22262 s///
22263 s/^/:/
22264 s/[ ]*$/:/
22265 s/:\$(srcdir):/:/g
22266 s/:\${srcdir}:/:/g
22267 s/:@srcdir@:/:/g
22268 s/^:*//
22269 s/:*$//
22271 s/\(=[ ]*\).*/\1/
22273 s/\n//
22274 s/^[^=]*=[ ]*$//
22278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22279 fi # test -n "$CONFIG_FILES"
22281 # Set up the scripts for CONFIG_HEADERS section.
22282 # No need to generate them if there are no CONFIG_HEADERS.
22283 # This happens for instance with `./config.status Makefile'.
22284 if test -n "$CONFIG_HEADERS"; then
22285 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22286 BEGIN {
22287 _ACEOF
22289 # Transform confdefs.h into an awk script `defines.awk', embedded as
22290 # here-document in config.status, that substitutes the proper values into
22291 # config.h.in to produce config.h.
22293 # Create a delimiter string that does not exist in confdefs.h, to ease
22294 # handling of long lines.
22295 ac_delim='%!_!# '
22296 for ac_last_try in false false :; do
22297 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22298 if test -z "$ac_tt"; then
22299 break
22300 elif $ac_last_try; then
22301 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22302 else
22303 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22305 done
22307 # For the awk script, D is an array of macro values keyed by name,
22308 # likewise P contains macro parameters if any. Preserve backslash
22309 # newline sequences.
22311 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22312 sed -n '
22313 s/.\{148\}/&'"$ac_delim"'/g
22314 t rset
22315 :rset
22316 s/^[ ]*#[ ]*define[ ][ ]*/ /
22317 t def
22319 :def
22320 s/\\$//
22321 t bsnl
22322 s/["\\]/\\&/g
22323 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22324 D["\1"]=" \3"/p
22325 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22327 :bsnl
22328 s/["\\]/\\&/g
22329 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22330 D["\1"]=" \3\\\\\\n"\\/p
22331 t cont
22332 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22333 t cont
22335 :cont
22337 s/.\{148\}/&'"$ac_delim"'/g
22338 t clear
22339 :clear
22340 s/\\$//
22341 t bsnlc
22342 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22344 :bsnlc
22345 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22346 b cont
22347 ' <confdefs.h | sed '
22348 s/'"$ac_delim"'/"\\\
22349 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22352 for (key in D) D_is_set[key] = 1
22353 FS = "\a"
22355 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22356 line = \$ 0
22357 split(line, arg, " ")
22358 if (arg[1] == "#") {
22359 defundef = arg[2]
22360 mac1 = arg[3]
22361 } else {
22362 defundef = substr(arg[1], 2)
22363 mac1 = arg[2]
22365 split(mac1, mac2, "(") #)
22366 macro = mac2[1]
22367 prefix = substr(line, 1, index(line, defundef) - 1)
22368 if (D_is_set[macro]) {
22369 # Preserve the white space surrounding the "#".
22370 print prefix "define", macro P[macro] D[macro]
22371 next
22372 } else {
22373 # Replace #undef with comments. This is necessary, for example,
22374 # in the case of _POSIX_SOURCE, which is predefined and required
22375 # on some systems where configure will not decide to define it.
22376 if (defundef == "undef") {
22377 print "/*", prefix defundef, macro, "*/"
22378 next
22382 { print }
22383 _ACAWK
22384 _ACEOF
22385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22386 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22387 fi # test -n "$CONFIG_HEADERS"
22390 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22391 shift
22392 for ac_tag
22394 case $ac_tag in
22395 :[FHLC]) ac_mode=$ac_tag; continue;;
22396 esac
22397 case $ac_mode$ac_tag in
22398 :[FHL]*:*);;
22399 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22400 :[FH]-) ac_tag=-:-;;
22401 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22402 esac
22403 ac_save_IFS=$IFS
22404 IFS=:
22405 set x $ac_tag
22406 IFS=$ac_save_IFS
22407 shift
22408 ac_file=$1
22409 shift
22411 case $ac_mode in
22412 :L) ac_source=$1;;
22413 :[FH])
22414 ac_file_inputs=
22415 for ac_f
22417 case $ac_f in
22418 -) ac_f="$ac_tmp/stdin";;
22419 *) # Look for the file first in the build tree, then in the source tree
22420 # (if the path is not absolute). The absolute path cannot be DOS-style,
22421 # because $ac_f cannot contain `:'.
22422 test -f "$ac_f" ||
22423 case $ac_f in
22424 [\\/$]*) false;;
22425 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22426 esac ||
22427 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22428 esac
22429 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22430 as_fn_append ac_file_inputs " '$ac_f'"
22431 done
22433 # Let's still pretend it is `configure' which instantiates (i.e., don't
22434 # use $as_me), people would be surprised to read:
22435 # /* config.h. Generated by config.status. */
22436 configure_input='Generated from '`
22437 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22438 `' by configure.'
22439 if test x"$ac_file" != x-; then
22440 configure_input="$ac_file. $configure_input"
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22442 $as_echo "$as_me: creating $ac_file" >&6;}
22444 # Neutralize special characters interpreted by sed in replacement strings.
22445 case $configure_input in #(
22446 *\&* | *\|* | *\\* )
22447 ac_sed_conf_input=`$as_echo "$configure_input" |
22448 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22449 *) ac_sed_conf_input=$configure_input;;
22450 esac
22452 case $ac_tag in
22453 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22455 esac
22457 esac
22459 ac_dir=`$as_dirname -- "$ac_file" ||
22460 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22461 X"$ac_file" : 'X\(//\)[^/]' \| \
22462 X"$ac_file" : 'X\(//\)$' \| \
22463 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22464 $as_echo X"$ac_file" |
22465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22466 s//\1/
22469 /^X\(\/\/\)[^/].*/{
22470 s//\1/
22473 /^X\(\/\/\)$/{
22474 s//\1/
22477 /^X\(\/\).*/{
22478 s//\1/
22481 s/.*/./; q'`
22482 as_dir="$ac_dir"; as_fn_mkdir_p
22483 ac_builddir=.
22485 case "$ac_dir" in
22486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22488 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22489 # A ".." for each directory in $ac_dir_suffix.
22490 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22491 case $ac_top_builddir_sub in
22492 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22493 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22494 esac ;;
22495 esac
22496 ac_abs_top_builddir=$ac_pwd
22497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22498 # for backward compatibility:
22499 ac_top_builddir=$ac_top_build_prefix
22501 case $srcdir in
22502 .) # We are building in place.
22503 ac_srcdir=.
22504 ac_top_srcdir=$ac_top_builddir_sub
22505 ac_abs_top_srcdir=$ac_pwd ;;
22506 [\\/]* | ?:[\\/]* ) # Absolute name.
22507 ac_srcdir=$srcdir$ac_dir_suffix;
22508 ac_top_srcdir=$srcdir
22509 ac_abs_top_srcdir=$srcdir ;;
22510 *) # Relative name.
22511 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22512 ac_top_srcdir=$ac_top_build_prefix$srcdir
22513 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22514 esac
22515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22518 case $ac_mode in
22521 # CONFIG_FILE
22524 _ACEOF
22526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22527 # If the template does not know about datarootdir, expand it.
22528 # FIXME: This hack should be removed a few years after 2.60.
22529 ac_datarootdir_hack=; ac_datarootdir_seen=
22530 ac_sed_dataroot='
22531 /datarootdir/ {
22535 /@datadir@/p
22536 /@docdir@/p
22537 /@infodir@/p
22538 /@localedir@/p
22539 /@mandir@/p'
22540 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22541 *datarootdir*) ac_datarootdir_seen=yes;;
22542 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22544 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22545 _ACEOF
22546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22547 ac_datarootdir_hack='
22548 s&@datadir@&$datadir&g
22549 s&@docdir@&$docdir&g
22550 s&@infodir@&$infodir&g
22551 s&@localedir@&$localedir&g
22552 s&@mandir@&$mandir&g
22553 s&\\\${datarootdir}&$datarootdir&g' ;;
22554 esac
22555 _ACEOF
22557 # Neutralize VPATH when `$srcdir' = `.'.
22558 # Shell code in configure.ac might set extrasub.
22559 # FIXME: do we really want to maintain this feature?
22560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22561 ac_sed_extra="$ac_vpsub
22562 $extrasub
22563 _ACEOF
22564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22567 s|@configure_input@|$ac_sed_conf_input|;t t
22568 s&@top_builddir@&$ac_top_builddir_sub&;t t
22569 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22570 s&@srcdir@&$ac_srcdir&;t t
22571 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22572 s&@top_srcdir@&$ac_top_srcdir&;t t
22573 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22574 s&@builddir@&$ac_builddir&;t t
22575 s&@abs_builddir@&$ac_abs_builddir&;t t
22576 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22577 $ac_datarootdir_hack
22579 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22580 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22582 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22583 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22584 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22585 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22587 which seems to be undefined. Please make sure it is defined" >&5
22588 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22589 which seems to be undefined. Please make sure it is defined" >&2;}
22591 rm -f "$ac_tmp/stdin"
22592 case $ac_file in
22593 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22594 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22595 esac \
22596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22600 # CONFIG_HEADER
22602 if test x"$ac_file" != x-; then
22604 $as_echo "/* $configure_input */" \
22605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22606 } >"$ac_tmp/config.h" \
22607 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22608 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22610 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22611 else
22612 rm -f "$ac_file"
22613 mv "$ac_tmp/config.h" "$ac_file" \
22614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22616 else
22617 $as_echo "/* $configure_input */" \
22618 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22619 || as_fn_error $? "could not create -" "$LINENO" 5
22624 # CONFIG_LINK
22627 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22629 else
22630 # Prefer the file from the source tree if names are identical.
22631 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22632 ac_source=$srcdir/$ac_source
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22636 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22638 if test ! -r "$ac_source"; then
22639 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22641 rm -f "$ac_file"
22643 # Try a relative symlink, then a hard link, then a copy.
22644 case $ac_source in
22645 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22646 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22647 esac
22648 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22649 ln "$ac_source" "$ac_file" 2>/dev/null ||
22650 cp -p "$ac_source" "$ac_file" ||
22651 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22654 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22655 $as_echo "$as_me: executing $ac_file commands" >&6;}
22657 esac
22660 case $ac_file$ac_mode in
22661 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22662 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22663 "Makefile":C) wine_fn_output_makefile Makefile ;;
22665 esac
22666 done # for ac_tag
22669 as_fn_exit 0
22670 _ACEOF
22671 ac_clean_files=$ac_clean_files_save
22673 test $ac_write_fail = 0 ||
22674 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22677 # configure is writing to config.log, and then calls config.status.
22678 # config.status does its own redirection, appending to config.log.
22679 # Unfortunately, on DOS this fails, as config.log is still kept open
22680 # by configure, so config.status won't be able to write to it; its
22681 # output is simply discarded. So we exec the FD to /dev/null,
22682 # effectively closing config.log, so it can be properly (re)opened and
22683 # appended to by config.status. When coming back to configure, we
22684 # need to make the FD available again.
22685 if test "$no_create" != yes; then
22686 ac_cs_success=:
22687 ac_config_status_args=
22688 test "$silent" = yes &&
22689 ac_config_status_args="$ac_config_status_args --quiet"
22690 exec 5>/dev/null
22691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22692 exec 5>>config.log
22693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22694 # would make configure fail if this is the last instruction.
22695 $ac_cs_success || as_fn_exit 1
22697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22703 if test "$no_create" = "yes"
22704 then
22705 exit 0
22708 ac_save_IFS="$IFS"
22709 if test "x$wine_notices" != x; then
22710 echo >&6
22711 IFS="|"
22712 for msg in $wine_notices; do
22713 IFS="$ac_save_IFS"
22714 if ${msg:+false} :; then :
22716 else
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22718 $as_echo "$as_me: $msg" >&6;}
22720 done
22722 IFS="|"
22723 for msg in $wine_warnings; do
22724 IFS="$ac_save_IFS"
22725 if ${msg:+false} :; then :
22727 else
22728 echo >&2
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22730 $as_echo "$as_me: WARNING: $msg" >&2;}
22732 done
22733 IFS="$ac_save_IFS"
22735 $as_echo "
22736 $as_me: Finished. Do '${ac_make}' to compile Wine.
22737 " >&6